/* ============================================================
   FLEXTRIBE — Component Stylesheet
   All reusable UI components matching the UI reference
   ============================================================ */

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.flex-max-w {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .flex-max-w { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .flex-max-w { padding-left: 2rem; padding-right: 2rem; }
}

.flex-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (min-width: 768px) {
    .flex-section { padding-top: 6rem; padding-bottom: 6rem; }
}

/* ============================================================
   ELEMENTOR HEADER — Glass morphism effect
   ============================================================ */
.elementor-location-header {
    background: rgba(255,255,255,0.65) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
/* Reset background on all child containers inside header */
.elementor-location-header .e-con,
.elementor-location-header .elementor-section,
.elementor-location-header .elementor-container {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
}
/* Header height — desktop 95px, mobile 70px */
.elementor-location-header > .e-con,
.elementor-location-header > .elementor-section {
    min-height: 95px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
@media (max-width: 767px) {
    .elementor-location-header > .e-con,
    .elementor-location-header > .elementor-section {
        min-height: 70px !important;
    }
}

/* ============================================================
   ELEMENTOR HEADER NAV — WordPress Menu widget + Nav Menu widget
   ============================================================ */

/* WordPress Menu widget: make it a horizontal flex nav */
.elementor-location-header .elementor-widget-wp-widget-nav_menu .menu,
.elementor-location-header .elementor-widget-wp-widget-nav_menu .nav-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
}
.elementor-location-header .elementor-widget-wp-widget-nav_menu {
    display: flex !important;
    align-items: center !important;
}
.elementor-location-header .elementor-widget-wp-widget-nav_menu .widget_nav_menu {
    display: flex !important;
    align-items: center !important;
}
.elementor-location-header .elementor-widget-wp-widget-nav_menu .menu-item {
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.elementor-location-header .elementor-widget-wp-widget-nav_menu .menu-item a {
    display: block !important;
    color: var(--flex-charcoal) !important;
    font-family: var(--flex-font-heading) !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
    padding: 0.5rem 0.875rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: color 0.2s !important;
}
.elementor-location-header .elementor-widget-wp-widget-nav_menu .menu-item a:hover,
.elementor-location-header .elementor-widget-wp-widget-nav_menu .menu-item.current-menu-item a {
    color: var(--flex-orange) !important;
}

/* Elementor Nav Menu widget (if used instead) */
.elementor-location-header .elementor-nav-menu--main .elementor-item {
    opacity: 1 !important;
    visibility: visible !important;
    color: var(--flex-charcoal) !important;
}
.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
.elementor-location-header .elementor-nav-menu--main .elementor-item.elementor-item-active {
    color: var(--flex-orange) !important;
}
.elementor-location-header .elementor-nav-menu--main {
    overflow: visible !important;
}

/* ============================================================
   ADMIN BAR — Elementor sticky/fixed header fix
   Elementor sets position:fixed; top:0 via inline JS which ignores
   the 32px body margin WordPress adds for the admin bar.
   !important overrides inline styles.
   ============================================================ */

/* Elementor sticky effect (JS adds this class when header "sticks") */
.admin-bar .elementor-sticky--active,
.admin-bar .e-con.elementor-sticky--active,
.admin-bar .elementor-section.elementor-sticky--active {
    top: 32px !important;
}

/* Elementor fixed positioning (set directly in Advanced settings) */
.admin-bar .elementor-location-header[style*="position: fixed"],
.admin-bar .elementor-location-header[style*="position:fixed"],
.admin-bar .e-con[style*="position: fixed"],
.admin-bar .elementor-section[style*="position: fixed"] {
    top: 32px !important;
}

/* Hello Elementor parent theme header wrapper */
.admin-bar .site-header,
.admin-bar header.elementor-location-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar .elementor-sticky--active,
    .admin-bar .e-con.elementor-sticky--active,
    .admin-bar .elementor-section.elementor-sticky--active,
    .admin-bar .elementor-location-header[style*="position: fixed"],
    .admin-bar .e-con[style*="position: fixed"],
    .admin-bar .site-header,
    .admin-bar header.elementor-location-header {
        top: 46px !important;
    }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.flex-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(209, 211, 212, 0.2);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: 5rem;
}
@media (min-width: 768px) {
    .flex-nav { height: 6rem; }
}

.flex-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.flex-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    cursor: pointer;
}
.flex-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--flex-charcoal);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flex-white);
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
    flex-shrink: 0;
}
.flex-logo:hover .flex-logo-icon {
    background-color: var(--flex-orange);
}
@media (min-width: 768px) {
    .flex-logo-icon { width: 3rem; height: 3rem; font-size: 1.5rem; }
}
.flex-logo-name {
    font-family: var(--flex-font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    line-height: 1;
    color: var(--flex-charcoal);
}
@media (min-width: 768px) {
    .flex-logo-name { font-size: 1.5rem; }
}
.flex-logo-sub {
    font-family: var(--flex-font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--flex-light);
    font-weight: 700;
    margin-top: 0.25rem;
    display: block;
}

/* Nav links */
.flex-nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2.5rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .flex-nav-links { display: flex; }
}
.flex-nav-links a {
    font-family: var(--flex-font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--flex-charcoal);
    text-decoration: none;
    transition: color 0.2s;
}
.flex-nav-links a:hover,
.flex-nav-links a.active {
    color: var(--flex-orange);
}
.flex-nav-links a.active {
    font-weight: 700;
}

/* Cart icon */
.flex-nav-cart {
    position: relative;
    color: var(--flex-charcoal);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
    text-decoration: none;
}
.flex-nav-cart:hover { color: var(--flex-orange); }
.flex-nav-cart svg { width: 1.5rem; height: 1.5rem; display: block; }
.flex-cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--flex-orange);
    color: var(--flex-white);
    font-size: 0.625rem;
    font-weight: 700;
    font-family: var(--flex-font-heading);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--flex-white);
}

/* Mobile menu */
.flex-mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--flex-white);
    border-top: 1px solid rgba(209,211,212,0.2);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1);
    z-index: 998;
}
.flex-mobile-menu.open { display: block; }
.flex-mobile-menu a {
    display: block;
    padding: 1rem 1.25rem;
    font-family: var(--flex-font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--flex-charcoal);
    text-decoration: none;
    border-bottom: 1px solid rgba(209,211,212,0.1);
    transition: color 0.2s;
}
.flex-mobile-menu a:hover,
.flex-mobile-menu a.active { color: var(--flex-orange); }
.flex-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
@media (min-width: 1024px) { .flex-hamburger { display: none; } }
.flex-hamburger span {
    display: block;
    width: 1.5rem;
    height: 2px;
    background-color: var(--flex-charcoal);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.flex-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-color: var(--flex-white);
    overflow: hidden;
}
@media (min-width: 1024px) {
    .flex-hero { padding-top: 10rem; padding-bottom: 6rem; }
}

.flex-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
@media (min-width: 1024px) {
    .flex-hero-grid {
        grid-template-columns: 5fr 7fr;
    }
}

.flex-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--flex-offwhite);
    border: 1px solid rgba(209,211,212,0.5);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.flex-hero-pill-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--flex-orange);
    flex-shrink: 0;
}
.flex-hero-pill-text {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--flex-charcoal);
}

.flex-hero-heading {
    font-family: var(--flex-font-heading);
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--flex-charcoal);
    margin: 0;
}
@media (min-width: 1024px) {
    .flex-hero-heading { font-size: 4.5rem; }
}
.flex-hero-heading .accent {
    color: var(--flex-orange);
    font-style: italic;
}

.flex-hero-body {
    font-family: var(--flex-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}
@media (min-width: 768px) {
    .flex-hero-body { font-size: 1.125rem; }
}

.flex-built-for {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(209,211,212,0.3);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    align-items: center;
    font-family: var(--flex-font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--flex-charcoal);
}
.flex-built-for .label { color: #9ca3af; }
.flex-built-for .dot  { color: var(--flex-orange); }

/* ============================================================
   MARQUEE TICKER SECTION
   ============================================================ */
.flex-ticker-wrap {
    background-color: var(--flex-charcoal);
    color: var(--flex-white);
    padding: 1rem 0;
    overflow: hidden;
    border-top: 1px solid var(--flex-charcoal);
    border-bottom: 1px solid var(--flex-charcoal);
}
.flex-ticker-inner {
    white-space: nowrap;
    display: flex;
    width: 200%;
    animation: flex-marquee 30s linear infinite;
    font-family: var(--flex-font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .flex-ticker-inner { font-size: 0.875rem; }
}
.flex-ticker-item { margin: 0 1.5rem; }
.flex-ticker-dot  { color: var(--flex-orange); }

/* ============================================================
   PRODUCT CARDS (shop / related / homepage)
   ============================================================ */
.flex-product-card {
    background-color: var(--flex-white);
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: var(--flex-radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--flex-shadow-card);
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s ease;
}
.flex-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--flex-shadow-lift);
}

.flex-product-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: var(--flex-offwhite);
}
.flex-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.flex-product-card:hover .flex-product-card-img img {
    transform: scale(1.05);
}
.flex-product-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.flex-product-card-body {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
@media (min-width: 768px) {
    .flex-product-card-body { padding: 1.5rem 2rem; }
}

.flex-product-card-sku {
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    display: block;
}

.flex-product-card-title {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--flex-charcoal);
    margin: 0 0 1rem;
}
.flex-product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.flex-product-card-title a:hover { color: var(--flex-orange); }

.flex-product-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(209,211,212,0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-product-card-price {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--flex-charcoal);
}
.flex-product-card-pack {
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    display: block;
    margin-top: 0.125rem;
}

.flex-product-card-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: var(--flex-offwhite);
    border: 1px solid rgba(209,211,212,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    color: var(--flex-charcoal);
    flex-shrink: 0;
}
.flex-product-card-btn:hover {
    background-color: var(--flex-orange);
    color: var(--flex-white);
    border-color: var(--flex-orange);
}
.flex-product-card-btn svg { width: 1.25rem; height: 1.25rem; }

/* ============================================================
   FEATURE CARDS (Why Us — N° 01 to N° 06)
   ============================================================ */
.flex-feature-card {
    background-color: var(--flex-white);
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: var(--flex-radius-card);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--flex-shadow-card);
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s ease;
}
.flex-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--flex-shadow-lift);
}
.flex-feature-num {
    font-family: var(--flex-font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 1rem;
    display: block;
}
.flex-feature-title {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--flex-charcoal);
    margin: 0 0 0.75rem;
}
.flex-feature-body {
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}
.flex-feature-plus {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(209,211,212,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1rem;
    align-self: flex-end;
    margin-top: 1.5rem;
}

/* ============================================================
   FOUNDER / STORY SECTION
   ============================================================ */
.flex-blockquote {
    border-left: 4px solid var(--flex-orange);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
}
.flex-blockquote p {
    font-family: var(--flex-font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
    color: var(--flex-charcoal);
    line-height: 1.6;
    margin: 0;
}
@media (min-width: 768px) {
    .flex-blockquote p { font-size: 1.5rem; }
}

.flex-founder-sig {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(209,211,212,0.3);
}
.flex-founder-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--flex-orange), #d97529);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--flex-white);
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(243,146,77,0.3);
    flex-shrink: 0;
}
.flex-founder-name {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--flex-charcoal);
}
.flex-founder-role {
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-top: 0.125rem;
    display: block;
}

/* ============================================================
   WHOLESALE / CTA DARK SECTION
   ============================================================ */
.flex-cta-dark {
    background: linear-gradient(135deg, var(--flex-charcoal) 0%, var(--flex-charcoal-dk) 100%);
    border-radius: 3rem;
    padding: 2.5rem;
    color: var(--flex-white);
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.4);
}
@media (min-width: 768px) {
    .flex-cta-dark { padding: 5rem; }
}
.flex-cta-dark-glow {
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 16rem;
    height: 16rem;
    background-color: var(--flex-orange);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
}

.flex-stat-pair {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.flex-stat-val {
    font-family: var(--flex-font-heading);
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--flex-white);
    display: block;
}
.flex-stat-label {
    font-family: var(--flex-font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    display: block;
    margin-top: 0.125rem;
}
.flex-stat-divider {
    width: 1px;
    height: 2.5rem;
    background-color: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* B2B Quote form (dark bg version) */
.flex-quote-form {
    background-color: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 1.5rem;
    padding: 2rem 2.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.flex-footer {
    background-color: var(--flex-charcoal);
    color: var(--flex-white);
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    border-top: 8px solid var(--flex-orange);
    margin-top: auto;
}

.flex-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (min-width: 768px) {
    .flex-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
    .flex-footer-grid { grid-template-columns: 2fr 1fr 1fr 2fr; gap: 4rem; }
}

.flex-footer-tagline {
    font-family: var(--flex-font-heading);
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: var(--flex-white);
}
.flex-footer-tagline .accent {
    color: var(--flex-orange);
    font-style: italic;
}
.flex-footer-desc {
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.6;
    margin: 0;
}

.flex-footer-col-heading {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--flex-white);
    margin: 0 0 1.5rem;
}

.flex-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.flex-footer-links a {
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}
.flex-footer-links a:hover { color: var(--flex-orange); }

.flex-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    font-family: var(--flex-font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #6b7280;
}
@media (min-width: 768px) {
    .flex-footer-bottom { flex-direction: row; }
}
.flex-footer-legal {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.flex-footer-legal a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.flex-footer-legal a:hover { color: var(--flex-white); }

/* ============================================================
   PRODUCT DETAIL PAGE (PDP)
   ============================================================ */

/* Gallery */
.flex-pdp-gallery {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
}
@media (min-width: 768px) {
    .flex-pdp-gallery { flex-direction: row; }
}

.flex-pdp-thumbs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .flex-pdp-thumbs {
        flex-direction: column;
        overflow-x: visible;
        overflow-y: auto;
        width: 6rem;
        flex-shrink: 0;
        padding-bottom: 0;
    }
}

.flex-pdp-thumb {
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    overflow: hidden;
    background-color: var(--flex-offwhite);
    flex-shrink: 0;
    cursor: pointer;
    transition: border-color 0.2s;
}
@media (min-width: 768px) {
    .flex-pdp-thumb { width: 100%; height: 6rem; }
}
.flex-pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.flex-pdp-thumb:hover img,
.flex-pdp-thumb.active img { opacity: 1; }
.flex-pdp-thumb.active { border-color: var(--flex-charcoal); }

.flex-pdp-main-img {
    flex-grow: 1;
    aspect-ratio: 4/5;
    border-radius: var(--flex-radius-card);
    background-color: var(--flex-offwhite);
    border: 1px solid rgba(209,211,212,0.3);
    overflow: hidden;
    position: relative;
    box-shadow: var(--flex-shadow-card);
}
.flex-pdp-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 1rem;
    border-radius: var(--flex-radius-card);
    transition: opacity 0.2s, transform 0.7s ease;
}
.flex-pdp-main-img:hover img { transform: scale(1.05); }
.flex-pdp-img-tag {
    position: absolute;
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    background-color: rgba(255,255,255,0.85);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: #6b7280;
}
.flex-pdp-img-tag.top-left  { top: 1rem; left: 1rem; }
.flex-pdp-img-tag.bot-right { bottom: 1rem; right: 1rem; }

/* PDP Price block */
.flex-pdp-price-block {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(209,211,212,0.3);
    border-bottom: 1px solid rgba(209,211,212,0.3);
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}
.flex-pdp-price {
    font-family: var(--flex-font-heading);
    font-weight: 300;
    font-size: 2.5rem;
    letter-spacing: -0.025em;
    color: var(--flex-charcoal);
}
.flex-pdp-price-meta {
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
}

/* PDP Specs grid */
.flex-pdp-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(209,211,212,0.3);
    margin-top: 1.5rem;
}
.flex-pdp-spec {
    padding: 1rem;
}
.flex-pdp-spec:nth-child(odd)  { border-right: 1px solid rgba(209,211,212,0.3); }
.flex-pdp-spec:nth-child(-n+2) { border-bottom: 1px solid rgba(209,211,212,0.3); }
.flex-pdp-spec-label {
    font-family: var(--flex-font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    display: block;
    margin-bottom: 0.25rem;
}
.flex-pdp-spec-val {
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--flex-charcoal);
}

/* Pack quantity tiers */
.flex-pack-tiers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 480px) {
    .flex-pack-tiers { grid-template-columns: repeat(3, 1fr); }
}
.flex-pack-tier {
    position: relative;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(209,211,212,0.5);
    border-radius: var(--flex-radius-btn);
    text-align: center;
    background-color: var(--flex-white);
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}
.flex-pack-tier:hover { border-color: var(--flex-charcoal); }
.flex-pack-tier.active {
    background-color: var(--flex-charcoal);
    border-color: var(--flex-charcoal);
    color: var(--flex-white);
    box-shadow: 0 4px 6px -1px rgba(65,64,66,0.2);
}
.flex-pack-tier-save {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--flex-orange);
    color: var(--flex-white);
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.5rem;
    padding: 0.2rem 0.4rem;
    border-bottom-left-radius: 0.375rem;
}
.flex-pack-tier-units {
    font-family: var(--flex-font-heading);
    font-weight: 600;
    font-size: 1rem;
    display: block;
}
.flex-pack-tier-packs {
    font-family: var(--flex-font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
    display: block;
    margin-top: 0.25rem;
}
.flex-pack-tier.active .flex-pack-tier-packs { color: rgba(255,255,255,0.6); }

/* ============================================================
   CART PAGE
   ============================================================ */
.flex-cart-item {
    background-color: var(--flex-white);
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: var(--flex-radius-card);
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--flex-shadow-card);
    transition: border-color 0.2s;
}
@media (min-width: 640px) {
    .flex-cart-item { flex-direction: row; align-items: flex-start; }
}
.flex-cart-item:hover { border-color: rgba(65,64,66,0.3); }

.flex-cart-item-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 1rem;
    background-color: var(--flex-offwhite);
    border: 1px solid rgba(209,211,212,0.3);
    overflow: hidden;
    flex-shrink: 0;
}
@media (min-width: 640px) {
    .flex-cart-item-img { width: 7rem; }
}
.flex-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    mix-blend-mode: multiply;
}

.flex-cart-item-del {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: #fef2f2;
    color: #ef4444;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    flex-shrink: 0;
}
.flex-cart-item-del:hover {
    background-color: #ef4444;
    color: var(--flex-white);
}
.flex-cart-item-del svg { width: 1rem; height: 1rem; }

/* Order summary box */
.flex-order-summary {
    background-color: var(--flex-white);
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: var(--flex-radius-card-lg);
    padding: 1.5rem 2rem;
    box-shadow: 0 20px 25px -5px rgba(209,211,212,0.2);
    position: sticky;
    top: 8rem;
}

.flex-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    color: #6b7280;
}
.flex-summary-row + .flex-summary-row { margin-top: 1rem; }
.flex-summary-row span:last-child {
    font-weight: 500;
    color: var(--flex-charcoal);
}
.flex-summary-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(209,211,212,0.4);
    margin: 1.5rem 0;
}
.flex-summary-total-label {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--flex-charcoal);
}
.flex-summary-total-val {
    font-family: var(--flex-font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--flex-charcoal);
}

/* Payment icons */
.flex-pay-icon {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border: 1px solid rgba(209,211,212,0.5);
    border-radius: 0.25rem;
    font-family: var(--flex-font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    background-color: var(--flex-offwhite);
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.flex-checkout-nav {
    background-color: var(--flex-white);
    border-bottom: 1px solid rgba(209,211,212,0.3);
    position: sticky;
    top: 0;
    z-index: 999;
    height: 5rem;
}
@media (min-width: 768px) {
    .flex-checkout-nav { height: 6rem; }
}

.flex-checkout-section {
    background-color: var(--flex-white);
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: var(--flex-radius-card);
    padding: 1.5rem 2rem;
    box-shadow: var(--flex-shadow-card);
}
.flex-checkout-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}
.flex-checkout-section-title {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--flex-charcoal);
    margin: 0;
}
@media (min-width: 768px) {
    .flex-checkout-section-title { font-size: 1.875rem; }
}
.flex-checkout-section-num {
    font-family: var(--flex-font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
}

/* Card mockup */
.flex-card-mockup {
    background: linear-gradient(135deg, var(--flex-charcoal) 0%, var(--flex-charcoal-dk) 100%);
    color: var(--flex-white);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.3);
    margin-bottom: 2rem;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (min-width: 640px) {
    .flex-card-mockup { aspect-ratio: 21/9; padding: 2rem; }
}
.flex-card-mockup-glow {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 16rem;
    height: 16rem;
    background-color: rgba(243,146,77,0.3);
    border-radius: 50%;
    filter: blur(3rem);
    pointer-events: none;
}
.flex-card-mockup-chip {
    width: 2.5rem;
    height: 1.75rem;
    border-radius: 0.25rem;
    background-color: rgba(255,255,255,0.2);
}
.flex-card-mockup-brand {
    font-family: var(--flex-font-heading);
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.05em;
    color: var(--flex-orange);
}
.flex-card-mockup-number {
    font-family: var(--flex-font-mono);
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
@media (min-width: 640px) {
    .flex-card-mockup-number { font-size: 1.5rem; }
}
.flex-card-mockup-label {
    font-family: var(--flex-font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.25rem;
    display: block;
}
.flex-card-mockup-val {
    font-family: var(--flex-font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

/* SSL badge */
.flex-ssl-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    font-weight: 700;
    background-color: var(--flex-offwhite);
    border: 1px solid rgba(209,211,212,0.3);
    border-radius: 0.75rem;
    padding: 0.75rem;
}
.flex-ssl-badge svg { width: 0.75rem; height: 0.75rem; color: var(--flex-charcoal); }

/* ============================================================
   ORDER COMPLETE PAGE
   ============================================================ */
@keyframes flex-pop {
    0%   { transform: scale(0.4); opacity: 0; }
    60%  { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.flex-success-icon {
    animation: flex-pop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.flex-order-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(209,211,212,0.3);
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
}
.flex-order-detail-row:last-child { border-bottom: none; }
.flex-order-detail-label { color: #6b7280; }
.flex-order-detail-val {
    font-weight: 600;
    color: var(--flex-charcoal);
    text-align: right;
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */

/* Shop page */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}
@media (min-width: 640px) {
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
}
.woocommerce ul.products li.product {
    background-color: var(--flex-white);
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: var(--flex-radius-card);
    overflow: hidden;
    margin: 0 !important;
    transition: transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.3s ease;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: var(--flex-shadow-lift);
}
.woocommerce ul.products li.product a img {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    margin: 0 !important;
    transition: transform 0.7s ease;
}
.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: var(--flex-charcoal) !important;
    padding: 1rem 1.5rem 0 !important;
}
.woocommerce ul.products li.product .price {
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    color: var(--flex-charcoal) !important;
    padding: 0.5rem 1.5rem !important;
}
.woocommerce ul.products li.product .button {
    margin: 0.5rem 1.5rem 1.5rem !important;
    border-radius: var(--flex-radius-btn) !important;
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    background-color: var(--flex-charcoal) !important;
    color: var(--flex-white) !important;
    transition: background-color 0.2s !important;
}
.woocommerce ul.products li.product .button:hover {
    background-color: var(--flex-orange) !important;
}

/* Single product */
.woocommerce div.product .product_title {
    font-family: var(--flex-font-heading) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--flex-charcoal) !important;
    font-family: var(--flex-font-heading) !important;
    font-size: 2rem !important;
    font-weight: 300 !important;
}

/* Cart & Checkout inputs */
.woocommerce-cart .woocommerce input,
.woocommerce-checkout .woocommerce input,
.woocommerce-checkout .woocommerce select,
.woocommerce-checkout .woocommerce textarea {
    border-radius: var(--flex-radius-btn) !important;
    border: 1px solid rgba(209,211,212,0.4) !important;
    background-color: var(--flex-offwhite) !important;
    font-family: var(--flex-font-body) !important;
    padding: 0.875rem 1rem !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.woocommerce-cart .woocommerce input:focus,
.woocommerce-checkout .woocommerce input:focus,
.woocommerce-checkout .woocommerce select:focus,
.woocommerce-checkout .woocommerce textarea:focus {
    border-color: var(--flex-orange) !important;
    box-shadow: 0 0 0 4px rgba(243,146,77,0.1) !important;
    outline: none !important;
}

/* Place order button */
#place_order,
.woocommerce #payment #place_order {
    background-color: var(--flex-orange) !important;
    color: var(--flex-white) !important;
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border-radius: var(--flex-radius-btn) !important;
    padding: 1.125rem 2rem !important;
    width: 100% !important;
    border: none !important;
    box-shadow: var(--flex-shadow-orange) !important;
    transition: background-color 0.2s !important;
}
#place_order:hover {
    background-color: var(--flex-orange-dk) !important;
}

/* ============================================================
   UTILITY — Page top padding (accounts for fixed nav)
   ============================================================ */
.flex-page-top {
    padding-top: 5rem;
}
@media (min-width: 768px) {
    .flex-page-top { padding-top: 6rem; }
}

/* ============================================================
   RESPONSIVE — hide/show helpers
   ============================================================ */
@media (max-width: 1023px) { .flex-desktop-only { display: none !important; } }
@media (min-width: 1024px) { .flex-mobile-only  { display: none !important; } }

/* ============================================================
   CART PAGE — Full page layout
   ============================================================ */

/* Page header */
.fxt-cart-page-header {
    background: var(--flex-offwhite);
    border-bottom: 1px solid rgba(209,211,212,0.25);
    padding: 8rem 0 2.5rem;
    margin-bottom: 0;
}
@media (min-width: 1024px) {
    .fxt-cart-page-header { padding-top: 10rem; }
}
.fxt-cart-page-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px)  { .fxt-cart-page-header-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .fxt-cart-page-header-inner { padding: 0 2rem; } }

.fxt-cart-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 1.75rem;
}
.fxt-cart-breadcrumb a { color: inherit; text-decoration: none; transition: color 0.2s; }
.fxt-cart-breadcrumb a:hover { color: var(--flex-charcoal); }
.fxt-cart-breadcrumb span { color: rgba(209,211,212,0.9); }
.fxt-cart-breadcrumb .current { color: var(--flex-charcoal); font-weight: 600; }

.fxt-cart-step-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--flex-orange);
    margin-bottom: 0.75rem;
}
.fxt-cart-step-label .dot {
    width: 6px;
    height: 6px;
    background: var(--flex-orange);
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.fxt-cart-page-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.fxt-cart-page-h1 {
    font-family: var(--flex-font-heading);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.025em;
    color: var(--flex-charcoal);
    margin: 0;
    line-height: 1.05;
}
.fxt-cart-page-h1 em {
    color: var(--flex-orange);
    font-style: italic;
}
.fxt-cart-page-subtitle {
    font-family: var(--flex-font-body);
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

/* Main grid */
.fxt-cart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: start;
    padding: 3rem 0 5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px)  { .fxt-cart-grid { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) {
    .fxt-cart-grid {
        grid-template-columns: 8fr 4fr;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Left column */
.fxt-cart-left {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Right column */
.fxt-cart-right {
    position: sticky;
    top: 7rem;
    align-self: flex-start;
}

/* Item card */
.fxt-cart-item-card {
    background: #fff;
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: 2rem;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.125rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fxt-cart-item-card:hover {
    border-color: rgba(65,64,66,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

/* Item image */
.fxt-ci-img {
    width: 6.5rem;
    min-width: 6.5rem;
    aspect-ratio: 1;
    border-radius: 1rem;
    background: var(--flex-offwhite);
    border: 1px solid rgba(209,211,212,0.3);
    overflow: hidden;
    flex-shrink: 0;
}
.fxt-ci-img a { display: block; width: 100%; height: 100%; }
.fxt-ci-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Item info */
.fxt-ci-info {
    flex: 1;
    min-width: 0;
}
.fxt-ci-meta {
    display: block;
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fxt-ci-name {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--flex-charcoal);
    margin: 0 0 0.25rem;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.fxt-ci-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.fxt-ci-name a:hover { color: var(--flex-orange); }

/* Item actions */
.fxt-ci-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.875rem;
    flex-shrink: 0;
}
.fxt-ci-line-total {
    font-family: var(--flex-font-heading);
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--flex-charcoal);
}
.fxt-ci-controls {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

/* Qty stepper */
.fxt-qty-stepper {
    display: flex;
    align-items: center;
    border: 1px solid rgba(209,211,212,0.8);
    border-radius: 0.875rem;
    background: var(--flex-offwhite);
    height: 2.375rem;
    overflow: hidden;
}
.fxt-qty-btn {
    width: 2rem;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}
.fxt-qty-btn:hover { color: var(--flex-charcoal); background: rgba(209,211,212,0.2); }
.fxt-qty-val {
    min-width: 2rem;
    text-align: center;
    font-family: var(--flex-font-mono);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--flex-charcoal);
    display: block;
}

/* Remove button */
.fxt-ci-remove {
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 0.75rem;
    background: #fef2f2;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.fxt-ci-remove:hover { background: #ef4444; color: #fff; }
.fxt-ci-remove svg { width: 0.9375rem; height: 0.9375rem; }

/* Continue shopping link */
.fxt-cart-continue a {
    font-family: var(--flex-font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: color 0.2s;
}
.fxt-cart-continue a:hover { color: var(--flex-orange); }

/* Coupon form */
.fxt-coupon-form {
    background: #fff;
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: 2rem;
    padding: 1.125rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.fxt-coupon-form > svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #9ca3af;
    flex-shrink: 0;
}
.fxt-coupon-input {
    flex: 1;
    background: var(--flex-offwhite);
    border: 1px solid rgba(209,211,212,0.5) !important;
    color: var(--flex-charcoal);
    font-size: 0.875rem;
    border-radius: 0.875rem !important;
    outline: none !important;
    padding: 0.75rem 1rem !important;
    font-family: var(--flex-font-body) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    min-width: 0;
}
.fxt-coupon-input:focus {
    border-color: var(--flex-orange) !important;
    box-shadow: 0 0 0 3px rgba(243,146,77,0.1) !important;
}
.fxt-coupon-btn {
    background: var(--flex-charcoal);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0.875rem;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.075em;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.fxt-coupon-btn:hover { background: #000; }

/* Order Summary card */
.fxt-order-summary {
    background: #fff;
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: 2rem;
    padding: 1.75rem 2rem;
    box-shadow: 0 20px 25px -5px rgba(209,211,212,0.2);
}
.fxt-summary-title {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.375rem;
    color: var(--flex-charcoal);
    margin: 0 0 1.5rem;
}
.fxt-summary-lines {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}
.fxt-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    color: #6b7280;
}
.fxt-summary-row span:last-child { font-weight: 500; color: var(--flex-charcoal); }
.fxt-summary-coupon { color: #16a34a; }
.fxt-summary-coupon span:last-child { color: #16a34a; }
.fxt-summary-divider {
    width: 100%;
    height: 1px;
    background: rgba(209,211,212,0.4);
    margin: 1.5rem 0;
}
.fxt-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
}
.fxt-summary-total-label {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--flex-charcoal);
}
.fxt-summary-total-val {
    font-family: var(--flex-font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--flex-charcoal);
}

/* Free shipping progress */
.fxt-ship-progress-box {
    background: var(--flex-offwhite);
    border-radius: 0.875rem;
    padding: 0.875rem 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(209,211,212,0.3);
}
.fxt-ship-progress-label {
    font-family: var(--flex-font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--flex-charcoal);
    margin-bottom: 0.5rem;
}
.fxt-ship-progress-track {
    width: 100%;
    height: 0.375rem;
    background: rgba(209,211,212,0.4);
    border-radius: 999px;
    overflow: hidden;
}
.fxt-ship-progress-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.5s ease;
}

/* Checkout CTA */
.fxt-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--flex-orange);
    color: #fff;
    padding: 1.0625rem 1.5rem;
    border-radius: 0.875rem;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(243,146,77,0.2);
    transition: background 0.2s;
    margin-bottom: 1.25rem;
}
.fxt-checkout-btn:hover { background: var(--flex-orange-dk); color: #fff; }

/* Payment icons */
.fxt-payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.375rem;
}

/* Empty state */
.fxt-cart-empty {
    max-width: 46rem;
    margin: 3rem auto 5rem;
    background: #fff;
    border: 1px solid rgba(209,211,212,0.4);
    border-radius: 2.5rem;
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fxt-cart-empty-icon {
    width: 5rem;
    height: 5rem;
    background: var(--flex-offwhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(209,211,212,0.5);
    margin-bottom: 1.5rem;
    color: var(--flex-light);
}
.fxt-cart-empty-icon svg { width: 2.5rem; height: 2.5rem; }
.fxt-cart-empty h3 {
    font-family: var(--flex-font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--flex-charcoal);
    margin: 0 0 1rem;
}
.fxt-cart-empty p {
    font-family: var(--flex-font-body);
    color: #6b7280;
    margin: 0 0 2rem;
    max-width: 26rem;
    line-height: 1.6;
}
.fxt-btn-dark {
    display: inline-block;
    background: var(--flex-charcoal);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 0.875rem;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s;
}
.fxt-btn-dark:hover { background: #000; color: #fff; }

/* WC notices inside cart */
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info {
    border-radius: 1rem;
    font-family: var(--flex-font-body);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ============================================================
   MINI-CART DRAWER — Elementor cart popup redesign
   ============================================================ */

/* Override Elementor's cart popup wrapper */
.elementor-menu-cart__main {
    border-radius: 0 0 0 2rem !important;
    box-shadow: -20px 0 60px rgba(0,0,0,0.12) !important;
    border: none !important;
}

/* Drawer header */
.elementor-menu-cart__header {
    padding: 1.5rem 1.75rem !important;
    border-bottom: 1px solid rgba(209,211,212,0.3) !important;
    background: #fff !important;
}
.elementor-menu-cart__header-title {
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--flex-charcoal) !important;
}
.elementor-menu-cart__close-button {
    color: var(--flex-charcoal) !important;
    opacity: 0.6;
    transition: opacity 0.2s !important;
}
.elementor-menu-cart__close-button:hover { opacity: 1 !important; }

/* Drawer products list (mini-cart items) */
.elementor-menu-cart__products {
    padding: 1.25rem 1.75rem !important;
    scrollbar-width: thin;
}

/* Each mini-cart item */
.fxt-mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding-bottom: 0.875rem;
    margin-bottom: 0.875rem;
    border-bottom: 1px solid rgba(209,211,212,0.25);
    position: relative;
    list-style: none !important;
}
.fxt-mini-cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Mini-cart image */
.fxt-mini-img {
    width: 4.25rem;
    min-width: 4.25rem;
    aspect-ratio: 1;
    border-radius: 0.75rem;
    background: var(--flex-offwhite);
    border: 1px solid rgba(209,211,212,0.3);
    overflow: hidden;
    flex-shrink: 0;
}
.fxt-mini-img a { display: block; width: 100%; height: 100%; }
.fxt-mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Mini-cart item info */
.fxt-mini-info { flex: 1; min-width: 0; }
.fxt-mini-name {
    display: block;
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--flex-charcoal);
    text-decoration: none;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
}
a.fxt-mini-name:hover { color: var(--flex-orange); }
.fxt-mini-qty {
    font-family: var(--flex-font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    color: #9ca3af;
    display: block;
}

/* Mini-cart remove button */
.fxt-mini-remove {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 1.75rem !important;
    height: 1.75rem !important;
    border-radius: 0.5rem !important;
    background: #fef2f2 !important;
    color: #ef4444 !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s !important;
    position: static !important;
    top: auto !important;
    right: auto !important;
    line-height: 1 !important;
}
.fxt-mini-remove:hover { background: #ef4444 !important; color: #fff !important; }

/* Subtotal area */
.elementor-menu-cart__subtotal {
    padding: 1.25rem 1.75rem !important;
    border-top: 1px solid rgba(209,211,212,0.3) !important;
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    color: var(--flex-charcoal) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.elementor-menu-cart__subtotal .woocommerce-Price-amount {
    font-size: 1.25rem;
}

/* Drawer CTA buttons */
.elementor-menu-cart__footer-buttons {
    padding: 0 1.75rem 1.75rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.625rem !important;
}
.elementor-menu-cart__view-cart-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--flex-offwhite) !important;
    color: var(--flex-charcoal) !important;
    border: 1px solid rgba(209,211,212,0.6) !important;
    border-radius: 0.875rem !important;
    padding: 0.875rem 1.5rem !important;
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    text-decoration: none !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.elementor-menu-cart__view-cart-button:hover {
    background: rgba(209,211,212,0.3) !important;
    border-color: var(--flex-charcoal) !important;
}
.elementor-menu-cart__checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--flex-orange) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0.875rem !important;
    padding: 1rem 1.5rem !important;
    font-family: var(--flex-font-heading) !important;
    font-weight: 700 !important;
    font-size: 0.9375rem !important;
    text-decoration: none !important;
    box-shadow: 0 8px 15px -3px rgba(243,146,77,0.25) !important;
    transition: background 0.2s !important;
}
.elementor-menu-cart__checkout-button:hover {
    background: var(--flex-orange-dk) !important;
    color: #fff !important;
}

/* Mini-cart empty state */
.fxt-mini-empty {
    text-align: center;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fxt-mini-empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--flex-offwhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(209,211,212,0.3);
    margin-bottom: 1rem;
    color: var(--flex-light);
}
.fxt-mini-empty-icon svg { width: 1.5rem; height: 1.5rem; }
.fxt-mini-empty-title {
    font-family: var(--flex-font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--flex-charcoal);
    margin: 0 0 0.375rem;
}
.fxt-mini-empty-sub {
    font-family: var(--flex-font-body);
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0;
}

/* Override WC default mini-cart list styling */
.woocommerce-mini-cart.cart_list {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.woocommerce-mini-cart.cart_list .woocommerce-mini-cart-item {
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    background: none !important;
}
/* Hide WC default thumbnail wrapping */
.woocommerce-mini-cart.cart_list li a img {
    margin: 0 !important;
    border-radius: 0;
}

/* Subtotal line in WC mini-cart total */
.woocommerce-mini-cart__total {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    display: none; /* Hidden — Elementor handles subtotal display */
}
.woocommerce-mini-cart__buttons {
    display: none !important; /* Hidden — Elementor handles buttons */
}

/* WooCommerce cart page table (hide if present) */
.woocommerce-cart-form .shop_table { display: none !important; }

/* cart page background */
.woocommerce-cart #page,
.woocommerce-cart .site-main,
.woocommerce-cart article.page {
    background: var(--flex-offwhite) !important;
}
.woocommerce-cart .entry-content {
    padding: 0 !important;
    max-width: none !important;
}
.woocommerce-cart .woocommerce {
    background: var(--flex-offwhite) !important;
    max-width: none !important;
}

/* ============================================================
   CUSTOM CART DRAWER
   ============================================================ */

/* Hide Elementor's built-in mini-cart popup and its overlay — our drawer replaces it */
.elementor-menu-cart__main,
.elementor-menu-cart__main.elementor-active { display: none !important; }
/* Hide any Elementor-generated overlay for the cart popup */
.elementor-menu-cart__close-button-custom,
body > .elementor-overlay { display: none !important; }

/* Overlay */
#fxt-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(65, 64, 66, 0.6);
    backdrop-filter: blur(4px);
    top: 0;
    -webkit-backdrop-filter: blur(4px);
    z-index: 10060;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
#fxt-drawer-overlay.fxt-open {
    opacity: 1;
    pointer-events: all;
}

/* Drawer panel */
#fxt-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
}

/* Admin bar offset for drawer + overlay */
.admin-bar #fxt-cart-drawer {
    top: 32px !important;
    height: calc(100% - 32px) !important;
}
.admin-bar #fxt-drawer-overlay {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    .admin-bar #fxt-cart-drawer {
        top: 46px !important;
        height: calc(100% - 46px) !important;
    }
    .admin-bar #fxt-drawer-overlay {
        top: 46px !important;
    }
}

#fxt-cart-drawer {
    width: 100%;
    max-width: 420px;
    background: #F8F9FA;
    z-index: 10070;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}
#fxt-cart-drawer.fxt-open { transform: translateX(0); }

/* Body scroll lock */
body.fxt-drawer-open { overflow: hidden !important; }

/* ── Header ── */
.fxt-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(209, 211, 212, 0.3);
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.fxt-drawer-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.fxt-drawer-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.375rem;
    color: #414042;
    margin: 0;
}
.fxt-drawer-count-chip {
    background: #414042;
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 999px;
    display: inline-block;
    line-height: 1.6;
}
/* ============================================================
   PRODUCT CARDS — Global (used on shop page + homepage widget)
   ============================================================ */

.fxt-product-card {
    background: #FFFFFF;
    border-radius: 2rem;
    border: 1px solid rgba(209,211,212,0.4);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s cubic-bezier(.175,.885,.32,1.275), box-shadow .3s ease;
}
.fxt-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.10), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.fxt-card-img {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #F8F9FA;
    overflow: hidden;
    text-decoration: none;
}
.fxt-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
    display: block;
}
.fxt-product-card:hover .fxt-card-img img {
    transform: scale(1.05);
}

.fxt-badge {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 10;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 6px;
    color: #FFFFFF;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.fxt-badge-orange { background: #F3924D; }
.fxt-badge-dark   { background: #414042; }

.fxt-card-body {
    padding: 1.75rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.fxt-card-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 8px;
    display: block;
}
.fxt-card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #414042;
    margin: 0 0 auto 0;
    padding-bottom: 1rem;
}
.fxt-card-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}
.fxt-card-body h3 a:hover { color: #F3924D; }

.fxt-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(209,211,212,0.3);
    margin-top: auto;
}
.fxt-price-wrap { display: flex; flex-direction: column; }
.fxt-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: #414042;
    display: block;
}
.fxt-price .woocommerce-Price-amount,
.fxt-price .woocommerce-Price-currencySymbol {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
}
.fxt-pack {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #9ca3af;
    display: block;
    margin-top: 3px;
}
.fxt-atc-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #F8F9FA;
    color: #414042;
    border: 1px solid rgba(209,211,212,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    text-decoration: none;
    flex-shrink: 0;
}
.fxt-atc-btn:hover {
    background: #F3924D;
    color: #FFFFFF;
    border-color: #F3924D;
}
.fxt-atc-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.fxt-drawer-close-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #F8F9FA;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.fxt-drawer-close-btn:hover { color: #414042; background: rgba(209, 211, 212, 0.3); }
.fxt-drawer-close-btn svg { width: 1.25rem; height: 1.25rem; }

/* ── Dynamic inner wrapper ── */
.fxt-drawer-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* ── Free shipping progress ── */
.fxt-drawer-progress {
    background: #fff;
    padding: 1.125rem 1.5rem;
    border-bottom: 1px solid rgba(209, 211, 212, 0.2);
    flex-shrink: 0;
}
.fxt-drawer-progress-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 700;
    color: #414042;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    flex-wrap: wrap;
}
.fxt-dp-amt { color: #F3924D; font-weight: 700; }
.fxt-drawer-progress-track {
    width: 100%;
    height: 0.375rem;
    background: rgba(209, 211, 212, 0.4);
    border-radius: 999px;
    overflow: hidden;
}
.fxt-drawer-progress-fill {
    height: 100%;
    background: #F3924D;
    border-radius: 999px;
    transition: width 0.5s ease;
    min-width: 2px;
}

/* ── Items area (scrollable) ── */
.fxt-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.375rem;
    background: #F8F9FA;
    scrollbar-width: thin;
    scrollbar-color: rgba(209, 211, 212, 0.6) transparent;
    min-height: 0;
}
.fxt-drawer-items::-webkit-scrollbar { width: 4px; }
.fxt-drawer-items::-webkit-scrollbar-track { background: transparent; }
.fxt-drawer-items::-webkit-scrollbar-thumb { background: rgba(209, 211, 212, 0.6); border-radius: 2px; }

/* ── Single item row ── */
.fxt-drawer-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}
.fxt-drawer-item-img {
    width: 5rem;
    min-width: 5rem;
    height: 5rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(209, 211, 212, 0.4);
    background: #fff;
    overflow: hidden;
    flex-shrink: 0;
}
.fxt-drawer-item-img a { display: block; width: 100%; height: 100%; }
.fxt-drawer-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
    opacity: 0.9;
}
.fxt-drawer-item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.fxt-drawer-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.fxt-drawer-item-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: #414042;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    flex: 1;
}
.fxt-drawer-item-name a { color: inherit; text-decoration: none; transition: color 0.2s; }
.fxt-drawer-item-name a:hover { color: #F3924D; }
.fxt-drawer-item-del {
    color: #d1d5db;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.125rem;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.fxt-drawer-item-del:hover { color: #ef4444; }
.fxt-drawer-item-del svg { width: 1rem; height: 1rem; }
.fxt-drawer-item-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.575rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9ca3af;
}
.fxt-drawer-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.25rem;
}
.fxt-drawer-item-price {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.875rem;
    color: #414042;
}

/* ── Drawer qty stepper ── */
.fxt-drawer-qty {
    display: flex;
    align-items: center;
    border: 1px solid rgba(209, 211, 212, 0.8);
    border-radius: 0.625rem;
    background: #fff;
    height: 1.875rem;
    overflow: hidden;
    transition: opacity 0.2s;
}
.fxt-drawer-qty-btn {
    width: 1.5rem;
    height: 100%;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.2s;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}
.fxt-drawer-qty-btn:hover { color: #414042; }
.fxt-drawer-qty-val {
    min-width: 1.5rem;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.65rem;
    color: #414042;
}

/* ── Empty state ── */
.fxt-drawer-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}
.fxt-drawer-empty-icon {
    width: 4rem;
    height: 4rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(209, 211, 212, 0.3);
    margin-bottom: 1rem;
    color: #D1D3D4;
}
.fxt-drawer-empty-icon svg { width: 2rem; height: 2rem; }
.fxt-drawer-empty-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #414042;
    margin: 0 0 0.375rem;
}
.fxt-drawer-empty-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8125rem;
    color: #9ca3af;
    margin: 0;
}

/* ── Footer ── */
.fxt-drawer-footer {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border-top: 1px solid rgba(209, 211, 212, 0.3);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.fxt-drawer-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 0.25rem;
}
.fxt-drawer-subtotal-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.0625rem;
    color: #414042;
    display: block;
    line-height: 1.2;
}
.fxt-drawer-tax-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #9ca3af;
    display: block;
    margin-top: 0.25rem;
    font-weight: 400;
}
.fxt-drawer-subtotal-val {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #414042;
}
.fxt-drawer-view-bag {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FA;
    color: #414042;
    border: 1px solid rgba(209, 211, 212, 0.8);
    border-radius: 0.875rem;
    padding: 0.875rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    text-align: center;
}
.fxt-drawer-view-bag:hover { background: rgba(209, 211, 212, 0.2); border-color: #414042; color: #414042; }
.fxt-drawer-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #F3924D;
    color: #fff !important;
    border-radius: 0.875rem;
    padding: 1rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    box-shadow: 0 8px 15px -3px rgba(243, 146, 77, 0.25);
    transition: background 0.2s;
    text-align: center;
}
.fxt-drawer-checkout:hover { background: #e08442; color: #fff !important; }

/* ============================================================
   OVERRIDE WooCommerce RED → Orange (brand consistency)
   ============================================================ */

/* WC variation notice / error borders → orange */
.woocommerce .woocommerce-variation-add-to-cart-disabled,
.woocommerce .variations td,
.woocommerce form.variations_form .variations select:invalid,
.woocommerce .single_variation_wrap .woocommerce-variation-description { color: inherit; }

/* WooCommerce form error highlight borders */
.woocommerce-invalid input,
.woocommerce-invalid select,
.woocommerce-invalid textarea {
    border-color: #F3924D !important;
    box-shadow: 0 0 0 3px rgba(243,146,77,0.1) !important;
}

/* WC stock / out-of-stock colour */
.woocommerce .stock.out-of-stock { color: #F3924D !important; }
.woocommerce .stock.in-stock     { color: #16a34a !important; }

/* WC notices (error → orange border) */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    border-top-color: #F3924D !important;
}

/* WooCommerce required field red → orange */
.woocommerce form .form-row .required { color: #F3924D !important; }

/* Remove buttons — brand them orange instead of red */
.fxt-ci-remove { background: rgba(243,146,77,0.08) !important; color: #F3924D !important; }
.fxt-ci-remove:hover { background: #F3924D !important; color: #fff !important; }
.fxt-drawer-item-del { color: rgba(209,211,212,0.9) !important; }
.fxt-drawer-item-del:hover { color: #F3924D !important; }

/* Single product — variation selection prompt border (WC adds these) */
.woocommerce .variations td select,
.woocommerce form.cart .variations select {
    border-color: rgba(209,211,212,0.5) !important;
}
.woocommerce .variations td select:focus,
.woocommerce form.cart .variations select:focus {
    border-color: #F3924D !important;
}

/* WooCommerce qty input border */
.woocommerce .quantity input.qty {
    border-color: rgba(209,211,212,0.5) !important;
}
.woocommerce .quantity input.qty:focus {
    border-color: #F3924D !important;
    box-shadow: 0 0 0 3px rgba(243,146,77,0.1) !important;
}

/* Shop page — WooCommerce sale badge */
.woocommerce span.onsale {
    background-color: #F3924D !important;
    min-height: auto;
    line-height: 1.6;
}

/* Coupon error / success notices */
.woocommerce-cart .woocommerce-error li::before { color: #F3924D !important; }

/* Cart remove link (default WC table layout) */
.woocommerce-cart-form td.product-remove a { color: #F3924D !important; }
.woocommerce-cart-form td.product-remove a:hover { color: #e08442 !important; }
