/* ==========================================================================
   LUXURY EDITORIAL MOBILE SIDEBAR DRAWER (AMEENA HAUTE COUTURE)
   ========================================================================== */

/* 1. Offcanvas Drawer Base */
.mobile-sidemenu-drawer {
    width: 325px !important;
    max-width: 86vw !important;
    background-color: #FFFFFF !important;
    color: #181715 !important;
    border-right: 1px solid #ECE7DF !important;
    box-shadow: 16px 0 45px rgba(24, 23, 21, 0.14) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Offcanvas Backdrop */
.offcanvas-backdrop.show {
    background-color: rgba(24, 23, 21, 0.48) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* 2. Drawer Header */
.mobile-drawer-header {
    background: #FFFFFF;
    padding: 16px 20px;
    border-bottom: 1px solid #ECE7DF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
}

.mobile-drawer-brand .drawer-logo {
    max-height: 38px;
    width: auto;
    object-fit: contain;
}

.mobile-drawer-brand .drawer-brand-text {
    font-family: 'Cinzel', 'Plus Jakarta Sans', serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #181715;
    text-decoration: none;
    text-transform: uppercase;
}

.btn-close-drawer {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ECE7DF;
    background: #FAF8F5;
    color: #181715;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.btn-close-drawer:hover {
    background: #B38E5D;
    color: #FFFFFF;
    border-color: #B38E5D;
    transform: rotate(90deg);
}

/* 3. Drawer Body */
.mobile-drawer-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* 4. Quick Action Shortcuts Grid */
.mobile-drawer-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px 16px;
    background: #FAF8F5;
    border-bottom: 1px solid #ECE7DF;
}

.drawer-shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 4px;
    background: #FFFFFF;
    border: 1px solid #ECE7DF;
    border-radius: 10px;
    text-decoration: none;
    color: #181715;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.drawer-shortcut-item:hover {
    border-color: #B38E5D;
    color: #B38E5D;
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(179, 142, 93, 0.12);
}

.shortcut-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #B38E5D;
    height: 22px;
}

.shortcut-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #181715;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}

.shortcut-label {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

/* 5. Search Area */
.mobile-drawer-search {
    padding: 12px 16px;
    background: #FFFFFF;
    border-bottom: 1px solid #ECE7DF;
}

.drawer-search-form {
    display: flex;
    align-items: center;
    background: #FAF8F5;
    border: 1px solid #ECE7DF;
    border-radius: 50px;
    padding: 3px 5px 3px 14px;
    transition: all 0.25s ease;
}

.drawer-search-form:focus-within {
    border-color: #B38E5D;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(179, 142, 93, 0.15);
}

.drawer-search-icon {
    color: #8C7A6B;
    font-size: 13px;
    margin-right: 6px;
}

.drawer-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #181715;
    flex: 1;
    padding: 7px 4px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

.drawer-search-input::placeholder {
    color: #A1A1AA;
    font-size: 12.5px;
}

.drawer-search-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #B38E5D;
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.drawer-search-btn:hover {
    background: #181715;
    transform: scale(1.06);
}

/* 6. Section Title */
.drawer-nav-section-title {
    padding: 14px 18px 6px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', 'Plus Jakarta Sans', serif;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8C7A6B;
}

.drawer-nav-title-line {
    flex: 1;
    height: 1px;
    background: #ECE7DF;
}

/* 7. Sidebar Navigation List */
.sidebar-nav {
    padding: 4px 12px 8px 12px !important;
}

.sidebar-item {
    margin-bottom: 3px;
}

.sidebar-link-parent {
    padding: 2px 0;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.sidebar-link {
    color: #181715 !important;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    flex-grow: 1;
    position: relative;
}

.sidebar-link:hover {
    color: #B38E5D !important;
    background-color: #FAF8F5;
    transform: translateX(2px);
}

.sidebar-link.active {
    color: #B38E5D !important;
    background-color: #FAF8F5;
    font-weight: 600;
    border-left: 3px solid #B38E5D;
}

.sidebar-link-text {
    flex-grow: 1;
    letter-spacing: -0.01em;
}

.sidebar-child-count {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    background: #FAF8F5;
    border: 1px solid #ECE7DF;
    color: #8C7A6B;
    margin-left: 8px;
    line-height: 1;
}

.badge-drawer-pill {
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 8px;
    background: #181715;
    color: #FFFFFF;
    border-radius: 20px;
    letter-spacing: 0.06em;
    margin-left: auto;
}

.sidebar-link-highlight {
    color: #B38E5D !important;
    font-weight: 600;
}

/* Accordion Expand Button */
.drawer-accordion-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #FAF8F5;
    border: 1px solid #ECE7DF;
    color: #181715 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 6px;
    flex-shrink: 0;
    cursor: pointer;
}

.drawer-accordion-btn:hover {
    background: #F7F3EB;
    border-color: #B38E5D;
    color: #B38E5D !important;
}

.drawer-accordion-btn:not(.collapsed) {
    background: #F7F3EB;
    border-color: #B38E5D;
    color: #B38E5D !important;
}

.drawer-accordion-btn i {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 11px;
}

.drawer-accordion-btn:not(.collapsed) i {
    transform: rotate(180deg);
}

/* Sub-navigation (Dropdown Submenu) */
.sidebar-subnav {
    background-color: #FAF8F5 !important;
    border: 1px solid #ECE7DF !important;
    border-left: 2.5px solid #B38E5D !important;
    margin-left: 20px !important;
    margin-right: 4px !important;
    margin-top: 4px !important;
    margin-bottom: 8px !important;
    padding: 6px 8px !important;
    border-radius: 0 10px 10px 0;
}

.sidebar-subitem {
    margin-bottom: 2px;
}

.sidebar-sublink {
    color: #52525B !important;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    padding: 7px 10px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.sidebar-sublink i {
    font-size: 8px;
    color: #8C7A6B;
    transition: color 0.2s ease;
}

.sidebar-sublink:hover {
    color: #B38E5D !important;
    background-color: #FFFFFF;
    transform: translateX(2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.sidebar-sublink:hover i {
    color: #B38E5D;
}

.sidebar-subitem-all .sidebar-sublink {
    font-weight: 600;
    color: #181715 !important;
    border-bottom: 1px dashed #ECE7DF;
    margin-bottom: 4px;
    padding-bottom: 8px;
}

.sidebar-subitem-all .sidebar-sublink i {
    font-size: 11px;
}

/* 8. Trust & Delivery Strip */
.drawer-trust-strip {
    margin: 10px 14px 14px 14px;
    padding: 12px 14px;
    background: #FAF8F5;
    border: 1px solid #ECE7DF;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 11.5px;
    color: #78716C;
    font-weight: 500;
}

.trust-pill i {
    color: #B38E5D;
    font-size: 13px;
    flex-shrink: 0;
}

/* 9. Contact & Support Footer */
.mobile-drawer-footer {
    padding: 16px 18px;
    border-top: 1px solid #ECE7DF;
    background: #FFFFFF;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-footer-btn {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.22s ease;
    width: 100%;
}

.drawer-btn-phone {
    background: #FAF8F5;
    border: 1px solid #ECE7DF;
    color: #181715 !important;
}

.drawer-btn-phone i {
    color: #B38E5D;
    font-size: 13px;
}

.drawer-btn-phone:hover {
    background: #181715;
    border-color: #181715;
    color: #FFFFFF !important;
}

.drawer-btn-phone:hover i {
    color: #FFFFFF;
}

.drawer-btn-whatsapp {
    background: #25D366;
    border: none;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.drawer-btn-whatsapp i {
    font-size: 16px;
}

.drawer-btn-whatsapp:hover {
    background: #1EBE5D;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38);
    transform: translateY(-1px);
    color: #FFFFFF !important;
}

.drawer-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.drawer-social-label {
    font-size: 11px;
    font-weight: 600;
    color: #8C7A6B;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.drawer-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FAF8F5;
    border: 1px solid #ECE7DF;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #181715;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.drawer-social-btn:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #FFFFFF;
}