/* ============================================================
   FLEXTRIBE — Cart (loads on every page for drawer + cart page)
   Cart page layout, cart item cards, drawer, mini-cart, WC overrides
   ============================================================ */

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

/* Page header (cart + any page using fxt-page-header) */
.fxt-page-header {
    background: var(--flex-offwhite);
    border-bottom: 1px solid rgba(209,211,212,0.25);
    padding: 4rem 0 3rem;
    margin-bottom: 0;
    position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .fxt-page-header { padding-top: 4rem; } }
@media (max-width: 767px)  { .fxt-page-header { padding-top: 3rem; } }

.fxt-page-header-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 1rem;
    position: relative; z-index: 1;
}
@media (min-width: 640px)  { .fxt-page-header-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .fxt-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: 1.125rem; font-weight: 700;
    color: #414042; margin: 0.75rem 0 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;
    }
}

.fxt-cart-left { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; width: 100%; }
.fxt-cart-right { position: sticky; top: 7rem; align-self: flex-start; min-width: 0; width: 100%; }

/* 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;
    width: 100%; min-width: 0; box-sizing: border-box;
}
@media (max-width: 640px) {
    .fxt-cart-item-card { padding: 1rem; gap: 0.875rem; border-radius: 1.25rem; align-items: center; }
    .fxt-ci-img { width: 5rem; min-width: 5rem; }
    .fxt-ci-line-total { font-size: 1rem; }
}
.fxt-cart-item-card:hover {
    border-color: rgba(65,64,66,0.3);
    box-shadow: 0 4px 12px rgba(0,0,0,0.07);
}

.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; }

.fxt-ci-info { flex: 1; min-width: 0; }
.fxt-ci-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.fxt-ci-row1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.fxt-ci-row1 .fxt-ci-name { margin: 0; flex: 1; min-width: 0; }
.fxt-ci-row3 { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.375rem; }
.fxt-ci-row3 .fxt-ci-line-total { margin-left: auto; }
.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;
}
.fxt-ci-name a { color: inherit; text-decoration: none; transition: color 0.2s; }
.fxt-ci-name a:hover { color: var(--flex-orange); }

.fxt-ci-actions { display: none; } /* replaced by fxt-ci-body layout */
.fxt-ci-line-total {
    font-family: var(--flex-font-heading);
    font-weight: 800; font-size: 1.125rem; color: var(--flex-charcoal);
    white-space: nowrap; flex-shrink: 0;
}
.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 {
    width: 16px !important; text-align: center;
    font-family: var(--flex-font-mono);
    font-weight: 700; font-size: 0.75rem;
    color: var(--flex-charcoal);
    background: none; border: none !important; outline: none; box-shadow: none !important;
    padding: 0 !important; margin: 0; -moz-appearance: textfield;
}
.fxt-qty-val::-webkit-outer-spin-button,
.fxt-qty-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Remove button */
.fxt-ci-remove {
    background: none !important; color: #D1D3D4 !important;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; flex-shrink: 0; padding: 0;
    transition: color 0.2s;
}
.fxt-ci-remove:hover { background: none !important; color: #F3924D !important; }
.fxt-ci-remove svg { width: 1.125rem; height: 1.125rem; }

/* Continue shopping */
.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 cart */
.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 page */
.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;
}
.woocommerce-cart .woocommerce-error li::before { color: #F3924D !important; }
.woocommerce-cart-form td.product-remove a { color: #F3924D !important; }
.woocommerce-cart-form td.product-remove a:hover { color: #e08442 !important; }

/* Cart & checkout inputs */
.woocommerce-cart .woocommerce input {
    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 {
    border-color: var(--flex-orange) !important;
    box-shadow: 0 0 0 4px rgba(243,146,77,0.1) !important;
    outline: none !important;
}

/* Hide WC default cart table */
.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; }

/* ============================================================
   MINI-CART DRAWER — Elementor cart popup redesign
   ============================================================ */
.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;
}
.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; }
.elementor-menu-cart__products { padding: 1.25rem 1.75rem !important; scrollbar-width: thin; }

.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; }

.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; }

.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;
}

.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; }

.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; }

.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; }

.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; }

.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;
}
.woocommerce-mini-cart.cart_list li a img { margin: 0 !important; border-radius: 0; }
.woocommerce-mini-cart__total { padding: 0 !important; margin: 0 !important; border: none !important; display: none; }
.woocommerce-mini-cart__buttons { display: none !important; }

/* ============================================================
   CUSTOM CART DRAWER (slide-out panel)
   ============================================================ */
.elementor-menu-cart__main,
.elementor-menu-cart__main.elementor-active { display: none !important; }
.elementor-menu-cart__close-button-custom,
body > .elementor-overlay { display: none !important; }

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

#fxt-cart-drawer {
    position: fixed; top: 0; right: 0; height: 100%;
    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); }

.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; }
}

body.fxt-drawer-open { overflow: hidden !important; }

.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;
}
.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: #414042; transition: color 0.2s, background 0.2s; flex-shrink: 0;
    border: 1px solid rgba(209,211,212,0.6);
}
.fxt-drawer-close-btn:hover { color: #F3924D; background: rgba(209,211,212,0.3); border-color: #F3924D; }
.fxt-drawer-close-btn svg { width: 1.25rem; height: 1.25rem; }

.fxt-drawer-inner { display: flex; flex-direction: column; flex: 1; overflow: hidden; min-height: 0; }

.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;
}

.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; }

.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: rgba(209,211,212,0.9) !important;
    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: #F3924D !important; }
.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; }

.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 {
    width: 40px !important; text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700; font-size: 0.65rem; color: #414042;
    background: none; border: none !important; outline: none; box-shadow: none !important;
    padding: 0 !important; margin: 0; -moz-appearance: textfield;
}
.fxt-drawer-qty-val::-webkit-outer-spin-button,
.fxt-drawer-qty-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.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; }

.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;
}
/* Free shipping progress — drawer */
.fxt-drawer-ship-progress { padding-bottom: 0.25rem; }
.fxt-drawer-ship-msg {
    font-family: 'Poppins', sans-serif; font-size: 0.8rem; color: #414042;
    margin: 0 0 0.5rem; line-height: 1.4;
}
.fxt-drawer-ship-track {
    height: 5px; background: rgba(209,211,212,0.4); border-radius: 99px; overflow: hidden;
}
.fxt-drawer-ship-fill {
    height: 100%; border-radius: 99px;
    transition: width 0.4s ease, background 0.3s ease;
}

.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; }

/* ============================================================
   WOOCOMMERCE GLOBAL OVERRIDES (brand red → orange)
   ============================================================ */
.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;
}
.woocommerce .stock.out-of-stock { color: #F3924D !important; }
.woocommerce .stock.in-stock     { color: #16a34a !important; }
.woocommerce-error,
.woocommerce-message,
.woocommerce-info { border-top-color: #F3924D !important; }
.woocommerce form .form-row .required { color: #F3924D !important; }

/* Legacy flex- cart components (from original flextribe.css) */
.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; }

.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); }
.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);
}
