/* =================================================
   2929 GLOBAL — global.css
   Author: Clinton Osunbor (clintonosunbor.com)
   Loads on ALL pages.
   Sections:
   1. Colour Tokens
   2. Navigation
   3. Solid Nav (shop, product, cart, checkout pages)
   4. Desktop Mega Menu
   5. Mobile Menu
   6. Footer
   7. Responsive — Tablet (max 900px)
   8. Responsive — Mobile (max 600px)
   ================================================= */


/* =================================================
   1. COLOUR TOKENS
   ================================================= */

:root {
    --c-black:    #000000;
    --c-white:    #ffffff;
    --c-grey:     #6b6b6b;
    --c-white-60: rgba(255, 255, 255, 0.6);
    --c-white-45: rgba(255, 255, 255, 0.45);
    --c-white-40: rgba(255, 255, 255, 0.4);
    --c-white-15: rgba(255, 255, 255, 0.15);
    --c-white-10: rgba(255, 255, 255, 0.1);
    --c-white-08: rgba(255, 255, 255, 0.08);
}


/* =================================================
   2. NAVIGATION
   ================================================= */

.twoninetwo-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 64px;
    background: #000000;
    transition: background 0.3s ease;
}

/* Transparent state — home page hero only, applied via JS */
.twoninetwo-nav.is-transparent {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.3) 60%,
        transparent 100%
    ) !important;
}

/* Solid black — scrolled state on home page */
.twoninetwo-nav.is-scrolled {
    background: #000000;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Nav columns */
.twoninetwo-nav__left,
.twoninetwo-nav__right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}

.twoninetwo-nav__right {
    justify-content: flex-end;
}

/* Menu button */
.twoninetwo-nav__menu-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Hamburger lines via pseudo-element */
.twoninetwo-nav__menu-btn::before {
    content: '';
    display: block;
    width: 18px;
    height: 1.5px;
    background: #ffffff;
    box-shadow: 0 5px 0 #ffffff, 0 -5px 0 #ffffff;
}

/* Logo */
.twoninetwo-nav__logo {
    flex: 0 0 auto;
    text-align: center;
}

.twoninetwo-nav__logo a {
    text-decoration: none;
}

.twoninetwo-nav__logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.twoninetwo-nav__logo-text {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #ffffff;
    text-transform: uppercase;
}

/* Icon buttons — search, account, cart */
.twoninetwo-nav__icon-btn {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    transition: opacity 0.2s ease !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Remove all hover backgrounds on nav elements */
.twoninetwo-nav__icon-btn:hover,
.twoninetwo-nav__icon-btn:focus,
.twoninetwo-nav__menu-btn:hover,
.twoninetwo-nav__menu-btn:focus,
.twoninetwo-nav a:hover,
.twoninetwo-nav button:hover {
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Cart count badge */
.twoninetwo-nav__cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #ffffff;
    color: #000000;
    font-size: 9px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =================================================
   3. SOLID NAV
   White background — shop, product, cart, checkout pages.
   Applied via .twoninetwo-nav--solid class in header.php.
   ================================================= */

.twoninetwo-nav--solid {
    background: #ffffff !important;
    border-bottom: 1px solid #e8e8e8;
}

.twoninetwo-nav--solid .twoninetwo-nav__menu-btn,
.twoninetwo-nav--solid .twoninetwo-nav__menu-btn::before,
.twoninetwo-nav--solid .twoninetwo-nav__logo-text,
.twoninetwo-nav--solid .twoninetwo-nav__icon-btn {
    color: #000000;
    background: none !important;
    box-shadow: none !important;
}

.twoninetwo-nav--solid .twoninetwo-nav__menu-btn::before {
    background: #000000;
    box-shadow: 0 5px 0 #000000, 0 -5px 0 #000000;
}

.twoninetwo-nav--solid .twoninetwo-nav__cart-count {
    background: #000000;
    color: #ffffff;
}

.twoninetwo-nav--solid .twoninetwo-nav__logo img {
    filter: none;
}


/* =================================================
   4. DESKTOP MEGA MENU
   Full-width dropdown, white background.
   Opens on hover via global.js.
   Hidden on mobile.
   ================================================= */

.twoninetwo-mega {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 998;
    pointer-events: none;
}

.admin-bar .twoninetwo-mega {
    top: 96px;
}

.twoninetwo-mega.is-open {
    pointer-events: all;
}

.twoninetwo-mega__inner {
    background: #ffffff;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 32px 40px 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    position: relative;
    z-index: 2;
}

.twoninetwo-mega.is-open .twoninetwo-mega__inner {
    opacity: 1;
    pointer-events: all;
}

/* Columns — one per category */
.twoninetwo-mega__cols {
    display: flex;
    gap: 0;
    align-items: flex-start;
}

.twoninetwo-mega__col {
    flex: 1;
    padding: 0 24px;
    border-right: 1px solid #f0f0f0;
}

.twoninetwo-mega__col:first-child { padding-left: 0; }
.twoninetwo-mega__col:last-child  { border-right: none; }

/* Category image */
.twoninetwo-mega__col-image-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f5f5f5;
}

.twoninetwo-mega__col-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.twoninetwo-mega__col-image-wrap:hover .twoninetwo-mega__col-image {
    transform: scale(1.03);
}

/* Category title */
.twoninetwo-mega__col-title {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
    transition: opacity 0.15s ease;
}

.twoninetwo-mega__col-title:hover {
    opacity: 0.5;
}

/* Subcategory links */
.twoninetwo-mega__subcats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
}

.twoninetwo-mega__subcat-link {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #6b6b6b;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.15s ease;
    display: block;
}

.twoninetwo-mega__subcat-link:hover {
    color: #000000;
}

/* Secondary column — no image */
.twoninetwo-mega__col--secondary .twoninetwo-mega__col-image-wrap {
    display: none;
}

/* Overlay */
.twoninetwo-mega__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
    pointer-events: none;
}

.twoninetwo-mega.is-open .twoninetwo-mega__overlay {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 900px) {
    .twoninetwo-mega {
        display: none !important;
    }
}


/* =================================================
   5. MOBILE MENU
   Two-level slide panel, full screen.
   Hidden by default — shown by global.js only.
   ================================================= */

.twoninetwo-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1001;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    display: none;
}

.twoninetwo-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: all;
    display: block;
}

/* Dark overlay behind panel */
.twoninetwo-mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.twoninetwo-mobile-menu.is-open .twoninetwo-mobile-menu__overlay {
    opacity: 1;
}

/* Panel */
.twoninetwo-mobile-menu__panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: #ffffff;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    visibility: hidden;
}

.twoninetwo-mobile-menu__panel.is-active {
    transform: translateX(0);
    visibility: visible;
}

/* Level 2 panel slides in from the right */
.twoninetwo-mobile-menu__panel--l2 {
    transform: translateX(100%);
}

.twoninetwo-mobile-menu__panel--l2.is-active {
    transform: translateX(0);
}

/* Header row */
.twoninetwo-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.twoninetwo-mobile-menu__header-title {
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1a1a;
}

/* Close button — hidden until menu is open */
.twoninetwo-mobile-menu__close {
    display: none !important;
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s;
}

.twoninetwo-mobile-menu.is-open .twoninetwo-mobile-menu__close {
    display: flex !important;
}

.twoninetwo-mobile-menu__close:hover {
    opacity: 0.5;
}

/* Back button */
.twoninetwo-mobile-menu__back {
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: opacity 0.15s;
}

.twoninetwo-mobile-menu__back:hover {
    opacity: 0.5;
}

/* Search bar */
.twoninetwo-mobile-menu__search {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
}

.twoninetwo-mobile-menu__search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #1a1a1a;
}

.twoninetwo-mobile-menu__search-input::placeholder {
    color: #a8a8a8;
}

.twoninetwo-mobile-menu__search-btn {
    background: none;
    border: none;
    color: #a8a8a8;
    cursor: pointer;
    padding: 4px;
    display: flex;
}

/* Section label */
.twoninetwo-mobile-menu__section-label {
    font-family: "Outfit", sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a8a8a8;
    padding: 20px 20px 8px;
}

/* Menu items */
.twoninetwo-mobile-menu__list {
    display: flex;
    flex-direction: column;
}

.twoninetwo-mobile-menu__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-decoration: none;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.twoninetwo-mobile-menu__item:hover {
    background: #fafafa;
}

.twoninetwo-mobile-menu__item--secondary {
    color: #a8a8a8;
    font-size: 11px;
}

/* Divider */
.twoninetwo-mobile-menu__divider {
    height: 1px;
    background: #e8e8e8;
    margin: 8px 0;
}

/* Category image on level 2 */
.twoninetwo-mobile-menu__cat-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
}

@media (min-width: 901px) {
    .twoninetwo-mobile-menu {
        display: none !important;
    }
}


/* =================================================
   6. FOOTER
   ================================================= */

.twoninetwo-footer {
    background: #000000;
    padding: 80px 40px 60px;
}

.twoninetwo-footer__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

.twoninetwo-footer__newsletter {
    width: 100%;
    text-align: center;
}

.twoninetwo-footer__newsletter-label {
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 24px;
}

.twoninetwo-footer__newsletter-title {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1.3;
    margin: 0 0 48px;
}

.twoninetwo-footer__newsletter-form {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.twoninetwo-footer__newsletter-row {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    width: 100%;
}

/* Input wrapper */
.twoninetwo-footer__input-wrap {
    flex: 1;
    position: relative;
    padding-bottom: 6px !important;
    border: none !important;
    border-bottom: 1px solid var(--c-white-40) !important;
}

/* Floating label */
.twoninetwo-footer__input-label {
    position: absolute;
    left: 0;
    top: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: var(--c-white-45);
    letter-spacing: 0.02em;
    pointer-events: none;
    transition: top 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.twoninetwo-footer__newsletter-input:focus + .twoninetwo-footer__input-label,
.twoninetwo-footer__newsletter-input:not(:placeholder-shown) + .twoninetwo-footer__input-label {
    top: -16px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-white-60);
}

/* Email input */
.twoninetwo-footer__newsletter-input {
    width: 100%;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -webkit-box-shadow: none !important;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #ffffff !important;
    padding: 4px 0 !important;
    letter-spacing: 0.02em;
}

.twoninetwo-footer__newsletter-input::placeholder {
    color: transparent;
}

/* Autofill override */
.twoninetwo-footer__newsletter-input:-webkit-autofill,
.twoninetwo-footer__newsletter-input:-webkit-autofill:hover,
.twoninetwo-footer__newsletter-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #000000 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
}

/* Subscribe button */
.twoninetwo-footer__newsletter-btn {
    flex-shrink: 0;
    background: transparent !important;
    border: none;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    cursor: pointer;
    padding: 8px 0 20px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    transition: letter-spacing 0.25s ease, opacity 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.twoninetwo-footer__newsletter-btn:hover {
    letter-spacing: 0.12em;
    opacity: 0.8;
    background: transparent !important;
}

/* Bottom row */
.twoninetwo-footer__bottom {
    width: 100%;
    padding-top: 24px;
}

.twoninetwo-footer__bottom-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

/* Footer logo */
.twoninetwo-footer__logo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
    align-self: flex-start;
    padding-top: 16px;
}

.twoninetwo-footer__logo a {
    text-decoration: none;
}

.twoninetwo-footer__logo-text {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #ffffff;
    line-height: 1;
}

.twoninetwo-footer__logo .custom-logo {
    filter: brightness( 0 ) invert( 1 );
    max-height: 32px;
    width: auto;
}

.twoninetwo-footer__social {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin-top: 8px;
}

.twoninetwo-footer__social-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.twoninetwo-footer__social-link:hover {
    color: #ffffff;
}


/* =================================================
   7. RESPONSIVE — TABLET (max 900px)
   ================================================= */

@media (max-width: 900px) {

    .twoninetwo-nav {
        padding: 0 20px;
    }

    .admin-bar .twoninetwo-nav {
        top: 46px;
    }

    .twoninetwo-footer {
        padding: 40px 20px;
    }

    .twoninetwo-footer__links {
        gap: 20px;
    }
}

/* Remove admin bar gap on mobile */
.admin-bar .twoninetwo-nav {
    top: 0 !important;
}

@media (max-width: 782px) {
    #wpadminbar {
        display: none !important;
    }
    html {
        margin-top: 0 !important;
    }
}


/* =================================================
   8. RESPONSIVE — MOBILE (max 600px)
   ================================================= */

@media (max-width: 600px) {

    .twoninetwo-footer {
        padding: 60px 20px 40px;
    }

    .twoninetwo-footer__newsletter-title {
        font-size: 18px;
    }

    .twoninetwo-footer__newsletter-row {
        flex-direction: row !important;
        align-items: flex-end !important;
        gap: 12px !important;
    }

    .twoninetwo-footer__input-wrap {
        flex: 1;
        width: auto;
    }

    .twoninetwo-footer__newsletter-btn {
        padding: 8px 0 20px;
        align-self: flex-end;
        flex-shrink: 0;
    }
}

/* ================================================= 
   PAGE CONTENT OFFSET
   Pushes page content below the fixed nav (64px height).
   Applied to all pages using header.php.
   ================================================= */

.twoninetwo-page-content {
    padding-top: 64px;
}

/* Admin bar adds 32px on desktop, 46px on tablet */
.admin-bar .twoninetwo-page-content {
    padding-top: 96px;
}

@media (max-width: 900px) {
    .admin-bar .twoninetwo-page-content {
        padding-top: 110px;
    }
}

/* =================================================
   SEARCH OVERLAY
   ================================================= */

.twoninetwo-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: #ffffff;
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.twoninetwo-search-overlay.is-open {
    display: flex;
    opacity: 1;
}

/* Top bar */
.twoninetwo-search-overlay__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 64px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.twoninetwo-search-overlay__heading {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: #000000;
}

.twoninetwo-search-overlay__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease;
}

.twoninetwo-search-overlay__close:hover {
    opacity: 0.5;
}

/* Category tabs */
.twoninetwo-search-overlay__cats {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 32px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 32px !important;
    gap: 0 !important;
}

.twoninetwo-search-overlay__cats::-webkit-scrollbar {
    display: none;
}

.twoninetwo-search-cat {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #a8a8a8;
    cursor: pointer;
    padding: 16px 20px 14px 0;
    margin-right: 8px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.twoninetwo-search-cat.is-active {
    color: #000000;
    font-weight: 500;
    border-bottom-color: #000000;
}

.twoninetwo-search-cat:hover {
    color: #000000;
}

/* Search input area */
.twoninetwo-search-overlay__body {
    padding: 32px;
    flex: 1;
    overflow-y: auto;
}

.twoninetwo-search-overlay__input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.twoninetwo-search-overlay__icon {
    color: #a8a8a8;
    flex-shrink: 0;
}

.twoninetwo-search-overlay__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0.02em;
    padding: 4px 0;
}

.twoninetwo-search-overlay__input::placeholder {
    color: #a8a8a8;
}

.twoninetwo-search-overlay__clear {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #a8a8a8;
    display: none;
    align-items: center;
    transition: opacity 0.15s ease;
    flex-shrink: 0;
}

.twoninetwo-search-overlay__clear:hover {
    opacity: 0.5;
}

.twoninetwo-search-overlay__clear.is-visible {
    display: flex;
}

/* Results */
.twoninetwo-search-overlay__results {
    display: flex;
    flex-direction: column;
}

.twoninetwo-search-result {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.twoninetwo-search-result:hover {
    opacity: 0.6;
}

.twoninetwo-search-result__image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
}

.twoninetwo-search-result__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.twoninetwo-search-result__name {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #000000;
}

.twoninetwo-search-result__price {
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    color: #6b6b6b;
}

.twoninetwo-search-overlay__no-results {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    color: #a8a8a8;
    padding: 16px 0;
}

@media (max-width: 600px) {
    .twoninetwo-search-overlay__top,
    .twoninetwo-search-overlay__cats,
    .twoninetwo-search-overlay__body {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Override Astra's global button hover colour on custom buttons */
.twoninetwo-search-cat:hover,
.twoninetwo-search-cat:focus,
.twoninetwo-search-cat:active,
.twoninetwo-nav__menu-btn:hover,
.twoninetwo-nav__menu-btn:focus,
.twoninetwo-nav__icon-btn:hover,
.twoninetwo-nav__icon-btn:focus,
.twoninetwo-mobile-menu__close:hover,
.twoninetwo-mobile-menu__close:focus,
.twoninetwo-mobile-menu__back:hover,
.twoninetwo-mobile-menu__back:focus,
.twoninetwo-mobile-menu__item:hover,
.twoninetwo-mobile-menu__item:focus,
.twoninetwo-mobile-gallery-prev:hover,
.twoninetwo-mobile-gallery-prev:focus,
.twoninetwo-mobile-gallery-next:hover,
.twoninetwo-mobile-gallery-next:focus,
.twoninetwo-search-overlay__close:hover,
.twoninetwo-search-overlay__close:focus,
.twoninetwo-search-overlay__clear:hover,
.twoninetwo-search-overlay__clear:focus,
.twoninetwo-footer__newsletter-btn:hover,
.twoninetwo-footer__newsletter-btn:focus {
    background-color: transparent !important;
    background: transparent !important;
    color: inherit !important;
    border-color: transparent !important;
}

.twoninetwo-search-cat {
    width: fit-content !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 0 14px 0 !important;
    margin-right: 28px !important;
}

.twoninetwo-search-cat.is-active {
    border-bottom: 2px solid #000000 !important;
}

/* First tab — no left gap */
.twoninetwo-search-cat:first-child {
    margin-left: 0 !important;
}

/* =================================================
   CART DRAWER
   ================================================= */

.twoninetwo-cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 1200;
    pointer-events: none;
    visibility: hidden;
}

.twoninetwo-cart-drawer.is-open {
    pointer-events: all;
    visibility: visible;
}

/* Dark overlay */
.twoninetwo-cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.twoninetwo-cart-drawer.is-open .twoninetwo-cart-drawer__overlay {
    opacity: 1;
}

/* Drawer panel */
.twoninetwo-cart-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    overflow: hidden;
}

.twoninetwo-cart-drawer.is-open .twoninetwo-cart-drawer__panel {
    transform: translateX(0);
}

/* Header */
.twoninetwo-cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.twoninetwo-cart-drawer__title {
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #000000;
}

.twoninetwo-cart-drawer__count {
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #6b6b6b;
    margin-left: 8px;
    flex: 1;
}

.twoninetwo-cart-drawer__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #000000;
    display: flex;
    align-items: center;
    transition: opacity 0.15s ease;
}

.twoninetwo-cart-drawer__close:hover {
    opacity: 0.5;
    background: none !important;
}

/* Items list */
.twoninetwo-cart-drawer__items {
    flex: 1;
    overflow-y: auto;
    padding: 0 24px;
    scrollbar-width: none;
}

.twoninetwo-cart-drawer__items::-webkit-scrollbar {
    display: none;
}

/* Individual item */
.twoninetwo-cart-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.twoninetwo-cart-item__image {
    width: 88px;
    height: 110px;
    object-fit: cover;
    display: block;
    background: #f5f5f5;
}

.twoninetwo-cart-item__details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.twoninetwo-cart-item__name {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    letter-spacing: 0.02em;
    line-height: 1.4;
    margin: 0 0 4px;
}

.twoninetwo-cart-item__meta {
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    color: #6b6b6b;
    letter-spacing: 0.04em;
    margin: 0 0 12px;
    line-height: 1.6;
}

.twoninetwo-cart-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Quantity controls */
.twoninetwo-cart-item__qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e8e8e8;
}

.twoninetwo-cart-item__qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #000000;
    transition: opacity 0.15s ease;
    padding: 0;
}

.twoninetwo-cart-item__qty-btn:hover {
    opacity: 0.5;
    background: none !important;
}

.twoninetwo-cart-item__qty-num {
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #000000;
    width: 28px;
    text-align: center;
    border-left: 1px solid #e8e8e8;
    border-right: 1px solid #e8e8e8;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.twoninetwo-cart-item__price {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #000000;
}

.twoninetwo-cart-item__remove {
    font-family: "Outfit", sans-serif;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a8a8;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.15s ease;
    margin-top: 8px;
    display: inline-block;
}

.twoninetwo-cart-item__remove:hover {
    color: #000000;
    background: none !important;
}

/* Footer */
.twoninetwo-cart-drawer__footer {
    padding: 20px 24px 32px;
    border-top: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.twoninetwo-cart-drawer__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.twoninetwo-cart-drawer__subtotal-label {
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #000000;
}

.twoninetwo-cart-drawer__subtotal-value {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}

.twoninetwo-cart-drawer__shipping-note {
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    color: #a8a8a8;
    letter-spacing: 0.04em;
    margin: 0 0 20px;
}

.twoninetwo-cart-drawer__checkout-btn {
    display: block;
    width: 100%;
    background: #000000;
    color: #ffffff;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 18px;
    margin-bottom: 12px;
    transition: opacity 0.15s ease;
}

.twoninetwo-cart-drawer__checkout-btn:hover {
    opacity: 0.85;
    background: #000000 !important;
    color: #ffffff;
}

.twoninetwo-cart-drawer__continue {
    display: block;
    width: 100%;
    background: none;
    border: none;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b6b6b;
    cursor: pointer;
    text-align: center;
    padding: 8px;
    text-decoration: underline;
    transition: color 0.15s ease;
}

.twoninetwo-cart-drawer__continue:hover {
    color: #000000;
    background: none !important;
}

/* Empty state */
.twoninetwo-cart-drawer__empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    gap: 20px;
}

.twoninetwo-cart-drawer__empty-text {
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    color: #6b6b6b;
    letter-spacing: 0.04em;
    margin: 0;
}

.twoninetwo-cart-drawer__shop-link {
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
    transition: opacity 0.15s ease;
}

.twoninetwo-cart-drawer__shop-link:hover {
    opacity: 0.5;
}

/* Loading state */
.twoninetwo-cart-drawer__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    font-family: "Outfit", sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: #a8a8a8;
}

@media (max-width: 480px) {
    .twoninetwo-cart-drawer__panel {
        max-width: 100%;
    }
}

/* Search overlay category tabs — fix active state */
.twoninetwo-search-cat {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-bottom: 4px solid transparent !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

.twoninetwo-search-cat.is-active {
    background: none !important;
    background-color: transparent !important;
    border-bottom: 4px solid #000000 !important;
    border-radius: 0 !important;
}

.twoninetwo-search-cat:hover,
.twoninetwo-search-cat:focus,
.twoninetwo-search-cat:active {
    background: none !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Search overlay close button — remove background */
.twoninetwo-search-overlay__close:hover,
.twoninetwo-search-overlay__close:focus,
.twoninetwo-search-overlay__close:active {
    background: none !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Mega menu — accordion subcategory */
.twoninetwo-mega__subcat-item {
    display: flex;
    flex-direction: column;
}

.twoninetwo-mega__subcat-item .twoninetwo-mega__subcat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.twoninetwo-mega__subcat-arrow {
    font-size: 14px;
    color: #a8a8a8;
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

/* Children — hidden by default with smooth height transition */
.twoninetwo-mega__subcat-children {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
    overflow: hidden;
}

.twoninetwo-mega__subcat-children-inner {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-left: 0;
}

/* Expand on hover */
.twoninetwo-mega__subcat-item.has-children:hover .twoninetwo-mega__subcat-children {
    grid-template-rows: 1fr;
}

.twoninetwo-mega__subcat-item.has-children:hover .twoninetwo-mega__subcat-arrow {
    transform: rotate(90deg);
}

/* Child links */
.twoninetwo-mega__subcat-link--child {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    color: #6b6b6b;
    padding: 6px 0 6px 12px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.twoninetwo-mega__subcat-link--child:hover {
    color: #000000;
}

/* Increase font sizes across mega menu */
.twoninetwo-mega__col-title {
    font-size: 13px;
    letter-spacing: 0.14em;
}

.twoninetwo-mega__subcat-link {
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 6px 0;
}

.twoninetwo-mega__subcat-link--child {
    padding-left: 16px;
    font-size: 12px;
    color: #a8a8a8;
    letter-spacing: 0.04em;
    border-left: 1px solid #e8e8e8;
    margin-left: 4px;
}

/* Mega menu — panel fade in */
.twoninetwo-mega {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.twoninetwo-mega.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Staggered reveal — each col animates in sequence */
.twoninetwo-mega__col {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.twoninetwo-mega.is-open .twoninetwo-mega__col:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__col:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__col:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__col:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Staggered reveal — each subcat link animates in sequence */
.twoninetwo-mega__subcat-link {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.15s ease;
}

.twoninetwo-mega.is-open .twoninetwo-mega__subcat-link:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__subcat-link:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__subcat-link:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__subcat-link:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__subcat-link:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__subcat-link:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

/* Col title also animates in */
.twoninetwo-mega__col-title {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.twoninetwo-mega.is-open .twoninetwo-mega__col:nth-child(1) .twoninetwo-mega__col-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.05s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__col:nth-child(2) .twoninetwo-mega__col-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__col:nth-child(3) .twoninetwo-mega__col-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.twoninetwo-mega.is-open .twoninetwo-mega__col:nth-child(4) .twoninetwo-mega__col-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* Reset animation when menu closes */
.twoninetwo-mega:not(.is-open) .twoninetwo-mega__col {
    opacity: 0;
    transform: translateY(12px);
    transition-delay: 0s;
}

.twoninetwo-mega:not(.is-open) .twoninetwo-mega__subcat-link {
    opacity: 0;
    transform: translateY(8px);
    transition-delay: 0s;
}

.twoninetwo-mega:not(.is-open) .twoninetwo-mega__col-title {
    opacity: 0;
    transform: translateY(8px);
    transition-delay: 0s;
}
/* =================================================
   FOOTER ACCORDIONS
   ================================================= */

.twoninetwo-footer__accordion {
    flex: 1;
    border-top: 1px solid rgba( 255, 255, 255, 0.15 );
}

.twoninetwo-footer__accordion-toggle {
     width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Outfit", sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    text-align: left;
}

.twoninetwo-footer__accordion-toggle:focus,
.twoninetwo-footer__accordion-toggle:active,
.twoninetwo-footer__accordion-toggle:focus-visible {
    background: none !important;
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}

.twoninetwo-footer__accordion-toggle svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    opacity: 0.6;
}

.twoninetwo-footer__accordion.is-open .twoninetwo-footer__accordion-toggle svg {
    transform: rotate( 180deg );
}

.twoninetwo-footer__accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.twoninetwo-footer__accordion.is-open .twoninetwo-footer__accordion-content {
    max-height: 300px;
    opacity: 1;
    padding: 4px 0 20px;
}

.twoninetwo-footer__accordion-content a {
    font-family: "Outfit", sans-serif;
    font-size: 13px;
    color: rgba( 255, 255, 255, 0.6 );
    text-decoration: none;
    transition: color 0.15s ease;
}

.twoninetwo-footer__accordion-content a:hover {
    color: #ffffff;
}

/* =================================================
   DESKTOP — always expanded, evenly spaced
   ================================================= */

@media ( min-width: 769px ) {

    .twoninetwo-footer__bottom-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 60px;
    }

    .twoninetwo-footer__accordion {
        flex: 1;
    }

    .twoninetwo-footer__accordion-toggle {
        cursor: default;
        pointer-events: none;
    }

    .twoninetwo-footer__accordion-toggle svg {
        display: none;
    }

    .twoninetwo-footer__accordion-content {
        max-height: none !important;
        opacity: 1 !important;
        padding: 4px 0 20px !important;
        overflow: visible;
        transition: none;
    }

    .twoninetwo-footer__logo-text {
        font-size: 32px;
    }

    .twoninetwo-footer__social {
        justify-content: flex-end;
        margin-top: 0;
    }
    
    /* Hide mobile logo on desktop */
.twoninetwo-footer__logo--mobile {
    display: none !important;
}
}

/* =================================================
   MOBILE — accordion behaviour, full width borders
   ================================================= */

@media ( max-width: 768px ) {

    .twoninetwo-footer__bottom-row {
    flex-direction: column;
        gap: 0;
        margin-bottom: 0;
}

    .twoninetwo-footer__accordion {
        width: 100%;
        border-top: 1px solid rgba( 255, 255, 255, 0.15 );
        border-bottom: 1px solid rgba( 255, 255, 255, 0.15 );
        margin-bottom: -1px;
    }

    /*.twoninetwo-footer__logo {*/
    /*    flex: 0 0 auto;*/
    /*padding: 0 12px;*/
    /*align-self: flex-start;*/
    /*}*/

    /*.twoninetwo-footer__logo-text {*/
    /*    font-size: 40px;*/
    /*    line-height: 1;*/
    /*}*/
    
    
     /* Hide desktop logo on mobile */
    .twoninetwo-footer__logo--desktop {
        display: none !important;
    }
    
      /* Show mobile logo below accordions */
    .twoninetwo-footer__logo--mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 32px 0 16px;
        width: 100%;
    }

    .twoninetwo-footer__social {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        margin-top: 8px;
    }
}

button:focus,
button:active,
button:focus-visible {
    background-color: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}