/* ============================================================
   Slide-Out Drawer Menu
   ============================================================ */


/* ============================================================
   Overlay
   ============================================================ */

#ff-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.ff-drawer-open #ff-drawer-overlay {
    opacity: 1;
    visibility: visible;
}

/* ============================================================
   Drawer Panel
   ============================================================ */

#ff-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 350px;
    max-width: 100vw;
    height: 100%;
    background: #2b2b2b;
    color: #fff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.ff-drawer-open #ff-drawer {
    transform: translateX(0);
}

/* ============================================================
   Drawer Header
   ============================================================ */

.ff-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ff-drawer-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f8b233;
    font-family: 'Poppins', sans-serif;
}

#ff-drawer-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

#ff-drawer-close:hover {
    opacity: 1;
}

/* ============================================================
   Drawer Nav
   ============================================================ */

.ff-drawer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ff-drawer-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ff-drawer-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s, color 0.2s;
}

.ff-drawer-nav li a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #f8b233;
}

.ff-chevron {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1;
    flex-shrink: 0;
}

.ff-drawer-nav li a:hover .ff-chevron {
    color: #f8b233;
}

/* ============================================================
   Hamburger → X animation when drawer is open.
   Slick Menu applied this via its own class; we add ours here.
   ============================================================ */

body.ff-drawer-open .sm-trigger-164 span:nth-child(1) {
    top: 10px;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

body.ff-drawer-open .sm-trigger-164 span:nth-child(2) {
    opacity: 0;
    left: -30px;
}

body.ff-drawer-open .sm-trigger-164 span:nth-child(3) {
    opacity: 0;
    left: 30px;
}

body.ff-drawer-open .sm-trigger-164 span:nth-child(4) {
    top: 10px;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
