/* ============================================================================
   FORTRESS THEME — Structured Corporate E-Commerce Stylesheet
   Navy (#1B2A4A) + Steel Gray (#6B7280) + Gold (#C9A94E) on White
   Sharp edges, grid-heavy layouts, strong horizontal rules
   ============================================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 15px; }
body { font-family: var(--ft-font-body); color: var(--ft-color-text); background: var(--ft-color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ft-color-link); text-decoration: none; transition: color var(--ft-transition); }
a:hover { color: var(--ft-color-link-hover); }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ft-font-heading); font-weight: 700; line-height: 1.2; color: var(--ft-color-text); letter-spacing: -0.01em; }
h1 { font-size: 2.2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
hr { border: none; border-top: 2px solid var(--ft-color-border); }

/* --- SKIP LINK --- */
.ft-skip-link { position: absolute; top: -100%; left: 50%; transform: translateX(-50%); z-index: 9999; padding: 10px 24px; background: var(--ft-color-primary); color: #fff; border-radius: var(--ft-radius-sm); font-weight: 700; }
.ft-skip-link:focus { top: 12px; }

/* --- UTILITY --- */
.ft-container { width: 100%; max-width: var(--ft-max-width); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .ft-container { padding: 0 32px; } }
.ft-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- BUTTONS --- */
.ft-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 24px; font-weight: 600; font-size: 0.88rem; border-radius: var(--ft-radius-sm); transition: all var(--ft-transition); white-space: nowrap; text-decoration: none; cursor: pointer; border: 2px solid transparent; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.04em; }
.ft-btn:hover { text-decoration: none; }
.ft-btn--primary { background: var(--ft-color-primary); border-color: var(--ft-color-primary); color: #fff; }
.ft-btn--primary:hover { background: #152240; border-color: #152240; }
.ft-btn--secondary { background: var(--ft-color-secondary); border-color: var(--ft-color-secondary); color: #fff; }
.ft-btn--secondary:hover { background: #4B5563; border-color: #4B5563; }
.ft-btn--accent { background: var(--ft-color-accent); border-color: var(--ft-color-accent); color: #1B2A4A; font-weight: 700; }
.ft-btn--accent:hover { background: var(--ft-color-accent-hover); border-color: var(--ft-color-accent-hover); }
.ft-btn--outline { background: transparent; border: 2px solid var(--ft-color-border); color: var(--ft-color-text); }
.ft-btn--outline:hover { border-color: var(--ft-color-primary); color: var(--ft-color-primary); }
.ft-btn--ghost { background: transparent; color: var(--ft-color-primary); }
.ft-btn--ghost:hover { background: var(--ft-color-primary-light); }
.ft-btn--lg { padding: 14px 36px; font-size: 0.95rem; }
.ft-btn--sm { padding: 6px 14px; font-size: 0.78rem; }
.ft-btn--full { width: 100%; }
.ft-btn--disabled, .ft-btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.ft-btn--icon { padding: 8px; border-radius: var(--ft-radius-sm); }

/* --- BADGES --- */
.ft-badge { display: inline-block; padding: 3px 10px; font-size: 0.68rem; font-weight: 700; border-radius: var(--ft-radius-sm); text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.4; }
.ft-badge--deal { background: #7F1D1D; color: #fff; }
.ft-badge--soldout { background: #6B7280; color: #fff; }
.ft-badge--custom { background: var(--ft-color-accent); color: #1B2A4A; }
.ft-badge--gang-sheet { background: #1B2A4A; color: #C9A94E; }
.ft-badge--new { background: var(--ft-color-primary); color: #fff; }

/* --- SPINNER --- */
.ft-spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: ft-spin 0.6s linear infinite; }
@keyframes ft-spin { to { transform: rotate(360deg); } }

/* ============================================================================
   ANNOUNCEMENT BAR
   ============================================================================ */
.ft-announcement { background: var(--ft-announcement-bg); color: var(--ft-announcement-text); text-align: center; padding: 10px 16px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; }
.ft-announcement p { margin: 0; }

/* ============================================================================
   HEADER
   ============================================================================ */
.ft-header { position: sticky; top: 0; z-index: 1000; }
.ft-header--scrolled .ft-header__accent { background: var(--ft-color-accent); }
.ft-header__main { background: var(--ft-color-primary); }
.ft-header__accent { height: 3px; background: var(--ft-color-accent); }

/* Top bar */
.ft-header__top { display: flex; align-items: center; gap: 16px; height: var(--ft-header-height); }
.ft-header__menu-btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--ft-radius-sm); color: #fff; }
.ft-header__menu-btn:hover { background: rgba(255,255,255,0.1); }
@media (min-width: 1024px) { .ft-header__menu-btn { display: none; } }

/* Logo */
.ft-header__logo { flex-shrink: 0; display: flex; align-items: center; }
.ft-header__logo img { height: 36px; width: auto; }
.ft-header__logo-text { font-family: var(--ft-font-heading); font-size: 1.4rem; font-weight: 700; color: #fff; letter-spacing: 0.06em; text-transform: uppercase; }
.ft-header__logo-text:hover { text-decoration: none; color: var(--ft-color-accent); }

/* Search */
.ft-header__search { flex: 1; min-width: 0; max-width: 560px; margin: 0 auto; display: none; }
@media (min-width: 640px) { .ft-header__search { display: block; } }
.ft-search-form { position: relative; }
.ft-search-form__wrap { display: flex; border: 1px solid rgba(255,255,255,0.2); border-radius: var(--ft-radius-sm); overflow: hidden; transition: border-color var(--ft-transition); height: 40px; background: rgba(255,255,255,0.08); }
.ft-search-form__wrap:focus-within { border-color: var(--ft-color-accent); background: rgba(255,255,255,0.12); }
.ft-search-form__input { flex: 1; min-width: 0; padding: 0 14px; border: none; outline: none; font-size: 0.88rem; background: transparent; color: #fff; }
.ft-search-form__input::placeholder { color: rgba(255,255,255,0.5); }
.ft-search-form__btn { width: 40px; background: var(--ft-color-accent); color: #1B2A4A; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: none; cursor: pointer; }
.ft-search-form__btn:hover { background: var(--ft-color-accent-hover); }

/* Header actions */
.ft-header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.ft-header__action { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--ft-radius-sm); color: rgba(255,255,255,0.85); text-decoration: none; white-space: nowrap; transition: background var(--ft-transition); }
.ft-header__action:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.ft-header__action-text { display: none; font-size: 0.82rem; line-height: 1.2; }
@media (min-width: 768px) { .ft-header__action-text { display: block; } }
.ft-header__action-small { color: rgba(255,255,255,0.6); font-size: 0.72rem; }
.ft-header__action-bold { font-weight: 700; font-size: 0.85rem; color: #fff; }
.ft-header__action--desktop { display: none; }
@media (min-width: 1024px) { .ft-header__action--desktop { display: flex; } }

/* Cart button */
.ft-header__cart-btn { position: relative; display: flex; align-items: center; gap: 4px; padding: 8px 10px; color: #fff; border-radius: var(--ft-radius-sm); }
.ft-header__cart-btn:hover { background: rgba(255,255,255,0.1); }
.ft-header__cart-icon { position: relative; }
.ft-header__cart-count { position: absolute; top: -6px; right: -8px; background: var(--ft-color-accent); color: #1B2A4A; font-size: 0.68rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: var(--ft-radius-full); display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.ft-header__cart-label { font-weight: 600; font-size: 0.82rem; display: none; color: #fff; }
@media (min-width: 768px) { .ft-header__cart-label { display: block; } }

/* ============================================================================
   NAVIGATION BAR + MEGA MENU
   ============================================================================ */
.ft-nav { background: #152240; display: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (min-width: 1024px) { .ft-nav { display: block; } }
.ft-nav__inner { display: flex; align-items: center; height: var(--ft-nav-height); gap: 0; }

/* Nav trigger (All Departments button) */
.ft-nav__mega-trigger { display: flex; align-items: center; gap: 8px; padding: 0 20px; height: 100%; background: var(--ft-color-accent); color: #1B2A4A; font-weight: 700; font-size: 0.82rem; cursor: pointer; border: none; white-space: nowrap; transition: background var(--ft-transition); text-transform: uppercase; letter-spacing: 0.04em; }
.ft-nav__mega-trigger:hover { background: var(--ft-color-accent-hover); }
.ft-nav__mega-trigger svg { flex-shrink: 0; }

/* Nav links */
.ft-nav__links { display: flex; align-items: center; height: 100%; gap: 0; flex: 1; }
.ft-nav__link { display: flex; align-items: center; height: 100%; padding: 0 16px; color: #CBD5E1; font-size: 0.88rem; font-weight: 500; text-decoration: none; transition: all var(--ft-transition); white-space: nowrap; position: relative; }
.ft-nav__link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.ft-nav__link--accent { color: var(--ft-color-accent); font-weight: 700; }
.ft-nav__link--accent:hover { color: var(--ft-color-accent); background: rgba(201,169,78,0.1); }

/* ---- MEGA MENU PANEL ---- */
.ft-mega { position: absolute; top: 100%; left: 0; right: 0; background: var(--ft-color-bg); border-top: 2px solid var(--ft-color-accent); box-shadow: var(--ft-shadow-xl); z-index: 999; opacity: 0; visibility: hidden; transition: all var(--ft-transition-slow); }
.ft-mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.ft-mega__inner { display: grid; grid-template-columns: 240px 1fr 280px; gap: 0; max-width: var(--ft-max-width); margin: 0 auto; min-height: 380px; }

/* Left sidebar: categories */
.ft-mega__categories { background: var(--ft-color-bg-alt); border-right: 1px solid var(--ft-color-border); padding: 16px 0; }
.ft-mega__cat-title { padding: 0 20px 12px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ft-color-text-light); }
.ft-mega__cat-link { display: flex; align-items: center; gap: 10px; padding: 10px 20px; color: var(--ft-color-text); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: all var(--ft-transition); border-left: 3px solid transparent; }
.ft-mega__cat-link:hover, .ft-mega__cat-link.is-active { background: var(--ft-color-bg); color: var(--ft-color-primary); border-left-color: var(--ft-color-primary); }
.ft-mega__cat-link svg { flex-shrink: 0; color: var(--ft-color-text-light); }
.ft-mega__cat-link:hover svg, .ft-mega__cat-link.is-active svg { color: var(--ft-color-primary); }
.ft-mega__cat-count { margin-left: auto; font-size: 0.75rem; color: var(--ft-color-text-light); background: var(--ft-color-bg); padding: 2px 8px; border-radius: var(--ft-radius-full); }

/* Center: collection grid */
.ft-mega__content { padding: 24px 32px; }
.ft-mega__content-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; color: var(--ft-color-secondary); }
.ft-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ft-mega__card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 16px; border-radius: var(--ft-radius-md); border: 1px solid var(--ft-color-border); text-decoration: none; color: var(--ft-color-text); transition: all var(--ft-transition); }
.ft-mega__card:hover { border-color: var(--ft-color-primary); color: var(--ft-color-text); }
.ft-mega__card-img { width: 80px; height: 80px; border-radius: var(--ft-radius-sm); background: var(--ft-color-bg-alt); margin-bottom: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ft-mega__card-img img { width: 100%; height: 100%; object-fit: cover; }
.ft-mega__card-name { font-weight: 600; font-size: 0.88rem; }
.ft-mega__card-count { font-size: 0.78rem; color: var(--ft-color-text-light); margin-top: 2px; }

/* Right sidebar: featured promo */
.ft-mega__promo { background: var(--ft-color-bg-alt); border-left: 1px solid var(--ft-color-border); padding: 24px; display: flex; flex-direction: column; }
.ft-mega__promo-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ft-color-primary); margin-bottom: 12px; }
.ft-mega__promo-card { flex: 1; background: var(--ft-color-bg); border-radius: var(--ft-radius-md); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--ft-color-border); }
.ft-mega__promo-img { height: 160px; background: linear-gradient(135deg, var(--ft-color-primary), var(--ft-color-secondary)); display: flex; align-items: center; justify-content: center; }
.ft-mega__promo-img img { width: 100%; height: 100%; object-fit: cover; }
.ft-mega__promo-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.ft-mega__promo-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.ft-mega__promo-text { font-size: 0.85rem; color: var(--ft-color-text-light); margin-bottom: 12px; flex: 1; }
.ft-mega__promo-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.88rem; color: var(--ft-color-primary); }
.ft-mega__promo-link:hover { color: var(--ft-color-link-hover); }

/* Mega close row */
.ft-mega__close-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; border-top: 1px solid var(--ft-color-border); background: var(--ft-color-bg-alt); }
.ft-mega__view-all { font-weight: 600; font-size: 0.88rem; color: var(--ft-color-primary); display: flex; align-items: center; gap: 6px; }
.ft-mega__close-btn { font-size: 0.85rem; color: var(--ft-color-text-light); display: flex; align-items: center; gap: 4px; cursor: pointer; }
.ft-mega__close-btn:hover { color: var(--ft-color-text); }

/* Mega overlay */
.ft-mega__overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.3); z-index: 998; display: none; }
.ft-mega__overlay.is-open { display: block; opacity: 1; visibility: visible; }

/* Nav wrapper (relative for mega positioning) */
.ft-nav__wrap { position: relative; }

/* ============================================================================
   MOBILE MENU
   ============================================================================ */
.ft-mobile-menu { position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 85vw; background: var(--ft-color-bg); z-index: 2000; transform: translateX(-100%); transition: transform var(--ft-transition-slow); overflow-y: auto; display: none; }
.ft-mobile-menu.is-open { display: block; transform: translateX(0); }
.ft-mobile-menu__overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.5); z-index: 1999; display: none; }
.ft-mobile-menu__overlay.is-open { display: block; opacity: 1; visibility: visible; }

.ft-mobile-menu__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: var(--ft-color-primary); color: #fff; }
.ft-mobile-menu__title { font-weight: 700; font-size: 1.1rem; }
.ft-mobile-menu__close { color: #fff; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }

.ft-mobile-menu__search { padding: 12px 16px; border-bottom: 1px solid var(--ft-color-border); }
.ft-mobile-menu__search input { width: 100%; padding: 10px 14px; border: 2px solid var(--ft-color-border); border-radius: var(--ft-radius-full); font-size: 0.9rem; outline: none; }
.ft-mobile-menu__search input:focus { border-color: var(--ft-color-primary); }

.ft-mobile-menu__section { padding: 12px 0; border-bottom: 1px solid var(--ft-color-border); }
.ft-mobile-menu__section-title { padding: 0 20px 8px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ft-color-text-light); }
.ft-mobile-menu__link { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: var(--ft-color-text); font-size: 0.95rem; font-weight: 500; text-decoration: none; }
.ft-mobile-menu__link:hover { background: var(--ft-color-bg-alt); color: var(--ft-color-primary); }
.ft-mobile-menu__link svg { flex-shrink: 0; color: var(--ft-color-text-light); }
.ft-mobile-menu__link--accent { color: var(--ft-color-primary); font-weight: 600; }

/* ============================================================================
   CART DRAWER
   ============================================================================ */
.ft-cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 90vw; background: var(--ft-color-bg); z-index: 2000; transform: translateX(100%); transition: transform var(--ft-transition-slow); display: flex; flex-direction: column; box-shadow: var(--ft-shadow-xl); }
.ft-cart-drawer.is-open { transform: translateX(0); }
.ft-cart-drawer__overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.5); z-index: 1999; opacity: 0; visibility: hidden; transition: all var(--ft-transition-slow); }
.ft-cart-drawer__overlay.is-open { opacity: 1; visibility: visible; }

.ft-cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--ft-color-border); flex-shrink: 0; }
.ft-cart-drawer__title { font-weight: 700; font-size: 1.15rem; }
.ft-cart-drawer__count { font-size: 0.85rem; color: var(--ft-color-text-light); font-weight: 400; }
.ft-cart-drawer__close { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: var(--ft-radius-sm); color: var(--ft-color-text-light); }
.ft-cart-drawer__close:hover { background: var(--ft-color-bg-alt); color: var(--ft-color-text); }

.ft-cart-drawer__items { flex: 1; overflow-y: auto; padding: 16px 20px; }
.ft-cart-drawer__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 12px; text-align: center; color: var(--ft-color-text-light); }
.ft-cart-drawer__empty svg { color: var(--ft-color-border); }

.ft-cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--ft-color-border); }
.ft-cart-item:last-child { border-bottom: none; }
.ft-cart-item__image { width: 72px; height: 72px; border-radius: var(--ft-radius-sm); overflow: hidden; flex-shrink: 0; background: var(--ft-color-bg-alt); }
.ft-cart-item__image img { width: 100%; height: 100%; object-fit: cover; }
.ft-cart-item__info { flex: 1; min-width: 0; }
.ft-cart-item__title { font-weight: 600; font-size: 0.88rem; color: var(--ft-color-text); text-decoration: none; display: block; margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ft-cart-item__title:hover { color: var(--ft-color-primary); }
.ft-cart-item__variant { font-size: 0.78rem; color: var(--ft-color-text-light); }
.ft-cart-item__price-line { font-weight: 700; font-size: 0.9rem; margin: 4px 0; }
.ft-cart-item__controls { display: flex; align-items: center; gap: 10px; }
.ft-cart-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--ft-color-border); border-radius: var(--ft-radius-sm); overflow: hidden; }
.ft-cart-item__qty button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--ft-color-text-light); }
.ft-cart-item__qty button:hover { background: var(--ft-color-bg-alt); color: var(--ft-color-text); }
.ft-cart-item__qty span { padding: 0 8px; font-size: 0.85rem; font-weight: 600; min-width: 24px; text-align: center; }
.ft-cart-item__remove { font-size: 0.78rem; color: var(--ft-color-error); cursor: pointer; font-weight: 500; }
.ft-cart-item__remove:hover { text-decoration: underline; }
.ft-cart-item__badge { display: inline-block; padding: 1px 6px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; border-radius: 9999px; color: #fff; margin-bottom: 2px; }
.ft-cart-item__badge--bags { background: #8b5cf6; }
.ft-cart-item__badge--designer { background: var(--ft-color-primary); }
.ft-cart-item__image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ft-color-text-light); background: var(--ft-color-bg-alt); border-radius: var(--ft-radius-sm); }

.ft-cart-drawer__footer { border-top: 1px solid var(--ft-color-border); padding: 16px 20px; flex-shrink: 0; background: var(--ft-color-bg-alt); }
.ft-cart-drawer__subtotal { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.ft-cart-drawer__subtotal-label { font-weight: 600; }
.ft-cart-drawer__subtotal-price { font-weight: 800; font-size: 1.15rem; color: var(--ft-color-primary); }
.ft-cart-drawer__shipping-note { font-size: 0.78rem; color: var(--ft-color-text-light); margin-bottom: 12px; }

/* ============================================================================
   TOAST NOTIFICATIONS
   ============================================================================ */
.ft-toast { position: fixed; bottom: max(24px, env(safe-area-inset-bottom, 24px)); right: 24px; z-index: 9999; padding: 14px 24px; border-radius: var(--ft-radius-md); font-weight: 600; font-size: 0.9rem; color: #fff; background: var(--ft-color-secondary); box-shadow: var(--ft-shadow-lg); transform: translateY(120%); opacity: 0; transition: all var(--ft-transition-slow); pointer-events: none; }
.ft-toast.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.ft-toast--success { background: var(--ft-color-primary); }
.ft-toast--error { background: var(--ft-color-error); }

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.ft-hero { padding: 0; }

/* Full-bleed banner */
.ft-hero__banner { position: relative; overflow: hidden; min-height: 380px; display: flex; align-items: center; }
@media (min-width: 768px) { .ft-hero__banner { min-height: 480px; } }
.ft-hero__bg-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ft-hero__bg-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, #1B2A4A 0%, #0F1A30 100%); }
.ft-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,42,74,0.92) 0%, rgba(27,42,74,0.6) 50%, rgba(27,42,74,0.3) 100%); z-index: 1; }
.ft-hero__content { position: relative; z-index: 2; padding: 48px 0; color: #fff; max-width: 560px; }
@media (min-width: 768px) { .ft-hero__content { padding: 64px 0; } }
.ft-hero__overline { display: inline-block; background: var(--ft-color-accent); color: #1B2A4A; font-weight: 700; font-size: 0.72rem; padding: 5px 14px; border-radius: var(--ft-radius-sm); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.ft-hero__title { font-size: 2.2rem; font-weight: 700; line-height: 1.12; margin-bottom: 16px; color: #fff; letter-spacing: -0.01em; }
@media (min-width: 768px) { .ft-hero__title { font-size: 3rem; } }
.ft-hero__subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.75); margin-bottom: 32px; line-height: 1.7; max-width: 440px; }
.ft-hero__cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.ft-hero__cta-secondary { border-color: rgba(255,255,255,0.3); color: #fff; }
.ft-hero__cta-secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }

/* Quick-links horizontal strip */
.ft-hero__quicklinks { background: var(--ft-color-bg); border-bottom: 2px solid var(--ft-color-border); }
.ft-hero__quicklinks-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ft-hero__quicklinks-grid { grid-template-columns: repeat(4, 1fr); } }
.ft-hero__qlink { display: flex; align-items: center; gap: 14px; padding: 20px 16px; border-right: 1px solid var(--ft-color-border); text-decoration: none; color: var(--ft-color-text); transition: background var(--ft-transition); }
.ft-hero__qlink:last-child { border-right: none; }
.ft-hero__qlink:hover { background: var(--ft-color-bg-alt); }
.ft-hero__qlink-icon { width: 48px; height: 48px; border-radius: var(--ft-radius-sm); overflow: hidden; flex-shrink: 0; background: var(--ft-color-bg-alt); display: flex; align-items: center; justify-content: center; color: var(--ft-color-text-light); }
.ft-hero__qlink-icon img { width: 100%; height: 100%; object-fit: cover; }
.ft-hero__qlink-text { display: flex; flex-direction: column; min-width: 0; }
.ft-hero__qlink-title { font-weight: 700; font-size: 0.88rem; line-height: 1.3; }
.ft-hero__qlink-action { font-size: 0.75rem; font-weight: 600; color: var(--ft-color-accent); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }

/* ============================================================================
   PRODUCT GRID / CARDS
   ============================================================================ */
.ft-product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .ft-product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ft-product-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.ft-product-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .ft-product-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.ft-product-grid--5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .ft-product-grid--5 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ft-product-grid--5 { grid-template-columns: repeat(5, 1fr); } }

/* Product Card */
.ft-card { background: var(--ft-color-bg); overflow: hidden; border: 1px solid var(--ft-color-border); transition: border-color var(--ft-transition); display: flex; flex-direction: column; }
.ft-card:hover { border-color: var(--ft-color-primary); }
.ft-card__accent { height: 3px; background: var(--ft-color-accent); flex-shrink: 0; }
.ft-card__divider { border: none; border-top: 1px solid var(--ft-color-border); margin: 0; }
.ft-card__image-wrap { position: relative; display: block; overflow: hidden; background: var(--ft-color-bg-alt); aspect-ratio: 3/4; }
.ft-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ft-card__no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ft-color-border); }
.ft-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; }
.ft-card__info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.ft-card__vendor { font-size: 0.75rem; color: var(--ft-color-text-light); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.04em; }
.ft-card__title { font-weight: 600; font-size: 0.9rem; color: var(--ft-color-text); text-decoration: none; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.ft-card__title:hover { color: var(--ft-color-primary); }
.ft-card__price { margin-top: auto; }
.ft-card__action { margin-top: 10px; }

/* ============================================================================
   PRICE DISPLAY
   ============================================================================ */
.ft-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; font-size: 0.95rem; }
.ft-price__regular { font-weight: 700; color: var(--ft-color-text); }
.ft-price__sale { font-weight: 700; color: var(--ft-color-error); }
.ft-price__was { text-decoration: line-through; color: var(--ft-color-text-light); font-size: 0.85rem; }
.ft-price__discount { color: var(--ft-color-error); font-size: 0.78rem; font-weight: 600; }
.ft-price__range { font-weight: 600; color: var(--ft-color-text); }

/* ============================================================================
   SECTION HEADERS
   ============================================================================ */
.ft-section { padding: 80px 0; }
@media (max-width: 767px) { .ft-section { padding: 48px 0; } }
.ft-section--alt { background: var(--ft-color-bg-alt); }
.ft-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; padding-bottom: 16px; border-bottom: 2px solid var(--ft-color-border); }
.ft-section__title { font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.ft-section__view-all { font-weight: 600; font-size: 0.82rem; color: var(--ft-color-accent); display: flex; align-items: center; gap: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.ft-section__view-all:hover { color: var(--ft-color-accent-hover); }

/* ============================================================================
   DEALS ROW (horizontal scroll)
   ============================================================================ */
.ft-deals__scroll { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 8px; scrollbar-width: thin; }
.ft-deals__scroll::-webkit-scrollbar { height: 4px; }
.ft-deals__scroll::-webkit-scrollbar-thumb { background: var(--ft-color-border); border-radius: 4px; }
.ft-deals__scroll .ft-card { min-width: 200px; max-width: 220px; scroll-snap-align: start; flex-shrink: 0; }
@media (min-width: 768px) { .ft-deals__scroll .ft-card { min-width: 220px; max-width: 260px; } }

/* ============================================================================
   CATEGORY CARDS
   ============================================================================ */
.ft-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .ft-categories { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ft-categories { grid-template-columns: repeat(4, 1fr); } }
.ft-category-card { position: relative; overflow: hidden; aspect-ratio: 4/3; display: flex; align-items: flex-end; text-decoration: none; color: #fff; }
.ft-category-card__bg { position: absolute; inset: 0; background: var(--ft-color-primary); }
.ft-category-card__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: opacity var(--ft-transition); }
.ft-category-card:hover .ft-category-card__bg img { opacity: 0.8; }
.ft-category-card__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27,42,74,0.8) 0%, transparent 60%); }
.ft-category-card__content { position: relative; z-index: 1; padding: 16px; width: 100%; }
.ft-category-card__name { font-weight: 700; font-size: 1.05rem; margin-bottom: 2px; }
.ft-category-card__count { font-size: 0.78rem; opacity: 0.8; }

/* ============================================================================
   BRAND STRIP
   ============================================================================ */
.ft-brands { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; padding: 20px 0; opacity: 0.5; }
.ft-brands img { height: 32px; width: auto; filter: grayscale(1); transition: all var(--ft-transition); }
.ft-brands img:hover { filter: grayscale(0); opacity: 1; }

/* ============================================================================
   NEWSLETTER
   ============================================================================ */
.ft-newsletter { background: var(--ft-color-primary); color: #fff; padding: 80px 0; text-align: center; border-top: 2px solid var(--ft-color-accent); }
.ft-newsletter__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.ft-newsletter__text { color: #CBD5E1; margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }
.ft-newsletter__form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.ft-newsletter__input { flex: 1; padding: 12px 18px; border: 2px solid rgba(255,255,255,0.15); border-radius: var(--ft-radius-full); background: rgba(255,255,255,0.08); color: #fff; font-size: 0.9rem; outline: none; }
.ft-newsletter__input::placeholder { color: #94A3B8; }
.ft-newsletter__input:focus { border-color: var(--ft-color-accent); }

/* ============================================================================
   PRODUCT PAGE
   ============================================================================ */
.ft-product { padding: 32px 0 48px; }
.ft-product__layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .ft-product__layout { grid-template-columns: 1fr 1fr; gap: 48px; } }

/* Gallery */
.ft-product__gallery { display: block; }
.ft-product__main-image { border-radius: var(--ft-radius-md); overflow: hidden; background: var(--ft-color-bg-alt); aspect-ratio: 1; margin-bottom: 12px; }
.ft-product__main-image img { width: 100%; height: 100%; object-fit: contain; }
.ft-product__thumbs { display: flex; gap: 8px; overflow-x: auto; }
.ft-product__thumb { width: 64px; height: 64px; border-radius: var(--ft-radius-sm); overflow: hidden; border: 2px solid var(--ft-color-border); cursor: pointer; flex-shrink: 0; transition: border-color var(--ft-transition); }
.ft-product__thumb.is-active, .ft-product__thumb:hover { border-color: var(--ft-color-primary); }
.ft-product__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Buy Box */
.ft-product__info { display: block; }
.ft-product__vendor { font-size: 0.82rem; color: var(--ft-color-text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.ft-product__title { font-size: 1.65rem; font-weight: 700; margin-bottom: 8px; }
.ft-product__price { font-size: 1.5rem; font-weight: 800; margin-bottom: 4px; }
.ft-product__price--sale { color: var(--ft-color-error); }
.ft-product__compare-price { font-size: 1rem; color: var(--ft-color-text-light); text-decoration: line-through; margin-left: 8px; }
.ft-product__discount-pct { font-size: 0.85rem; font-weight: 700; color: var(--ft-color-error); margin-left: 8px; }
.ft-product__in-stock { font-size: 0.85rem; color: var(--ft-color-success); font-weight: 600; margin: 8px 0; display: flex; align-items: center; gap: 4px; }
.ft-product__out-stock { font-size: 0.85rem; color: var(--ft-color-error); font-weight: 600; margin: 8px 0; }
.ft-product__desc { color: var(--ft-color-text-light); font-size: 0.95rem; line-height: 1.7; margin: 16px 0; }

/* Options / Swatches */
.ft-product__options { margin: 20px 0; }
.ft-product__option-group { margin-bottom: 16px; }
.ft-product__option-label { font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; }
.ft-product__option-label strong { color: var(--ft-color-primary); }
.ft-product__swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-product__swatch { padding: 8px 16px; border: 2px solid var(--ft-color-border); border-radius: var(--ft-radius-sm); font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all var(--ft-transition); }
.ft-product__swatch:hover { border-color: var(--ft-color-primary); }
.ft-product__swatch.is-active { border-color: var(--ft-color-primary); background: var(--ft-color-primary-light); color: var(--ft-color-primary); font-weight: 700; }

/* Quantity */
.ft-product__quantity { display: inline-flex; align-items: center; border: 2px solid var(--ft-color-border); border-radius: var(--ft-radius-sm); overflow: hidden; }
.ft-product__quantity button { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--ft-color-text-light); }
.ft-product__quantity button:hover { background: var(--ft-color-bg-alt); color: var(--ft-color-text); }
.ft-product__quantity input { width: 48px; text-align: center; border: none; outline: none; font-weight: 600; font-size: 0.95rem; -moz-appearance: textfield; appearance: textfield; }
.ft-product__quantity input::-webkit-inner-spin-button, .ft-product__quantity input::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; }

/* Actions */
.ft-product__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* Trust badges */
.ft-product__trust { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; padding-top: 20px; border-top: 2px solid var(--ft-color-border); }
.ft-product__trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ft-color-text-light); }
.ft-product__trust-item svg { color: var(--ft-color-success); flex-shrink: 0; }

/* ============================================================================
   PRODUCT SPECS TABLE
   ============================================================================ */
.ft-specs { border: 1px solid var(--ft-color-border); border-radius: var(--ft-radius-md); overflow: hidden; }
.ft-specs__row { display: flex; border-bottom: 1px solid var(--ft-color-border); }
.ft-specs__row:last-child { border-bottom: none; }
.ft-specs__row:nth-child(even) { background: var(--ft-color-bg-alt); }
.ft-specs__label { width: 160px; flex-shrink: 0; padding: 10px 16px; font-weight: 600; font-size: 0.88rem; color: var(--ft-color-text-light); }
.ft-specs__value { flex: 1; padding: 10px 16px; font-size: 0.88rem; }
@media (max-width: 640px) { .ft-specs__row { flex-direction: column; } .ft-specs__label { width: 100%; } }

/* ============================================================================
   COLLECTION PAGE
   ============================================================================ */
.ft-collection { padding: 32px 0 48px; }
.ft-collection__header { margin-bottom: 24px; }
.ft-collection__title { font-size: 1.75rem; font-weight: 800; }
.ft-collection__desc { color: var(--ft-color-text-light); margin-top: 6px; max-width: 640px; }
.ft-collection__layout { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .ft-collection__layout { grid-template-columns: 240px 1fr; gap: 32px; } }
.ft-collection__layout > :only-child { grid-column: 1 / -1; }

/* Toolbar */
.ft-collection__toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.ft-collection__count { font-size: 0.85rem; color: var(--ft-color-text-light); }
.ft-collection__sort { display: flex; align-items: center; gap: 6px; }
.ft-collection__sort select { padding: 6px 10px; border: 1px solid var(--ft-color-border); border-radius: var(--ft-radius-sm); font-size: 0.85rem; background: var(--ft-color-bg); outline: none; }

/* Filters sidebar */
.ft-filters { display: block; }
.ft-filters__title { font-size: 1rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; }
.ft-filter-group { margin-bottom: 20px; }
.ft-filter-group__title { font-size: 0.88rem; font-weight: 700; margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--ft-color-border); }
.ft-filter-group__option { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 0.88rem; cursor: pointer; }
.ft-filter-group__option input[type="checkbox"] { accent-color: var(--ft-color-primary); width: 16px; height: 16px; }
.ft-filter-group__count { margin-left: auto; font-size: 0.78rem; color: var(--ft-color-text-light); }

/* ============================================================================
   CART PAGE
   ============================================================================ */
.ft-cart-page { padding: 32px 0 48px; }
.ft-cart-page__title { font-size: 1.75rem; font-weight: 800; margin-bottom: 24px; }
.ft-cart-page__layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .ft-cart-page__layout { grid-template-columns: 1fr 340px; } }

.ft-cart-page__header-row { display: none; padding: 12px 0; border-bottom: 2px solid var(--ft-color-border); font-weight: 600; font-size: 0.82rem; color: var(--ft-color-text-light); text-transform: uppercase; letter-spacing: 0.04em; }
@media (min-width: 1024px) { .ft-cart-page__header-row { display: grid; grid-template-columns: 80px 1fr 100px 120px 100px; gap: 12px; } }

.ft-cart-page__item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--ft-color-border); flex-wrap: wrap; }
@media (min-width: 1024px) { .ft-cart-page__item { display: grid; grid-template-columns: 80px 1fr 100px 120px 100px; gap: 12px; align-items: center; flex-wrap: nowrap; } }
.ft-cart-page__item-image { width: 80px; height: 80px; border-radius: var(--ft-radius-sm); overflow: hidden; flex-shrink: 0; }
.ft-cart-page__item-image img { width: 100%; height: 100%; object-fit: cover; }
.ft-cart-page__item-info { flex: 1; min-width: 0; }
.ft-cart-page__item-title { font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--ft-color-text); }
.ft-cart-page__item-title:hover { color: var(--ft-color-primary); }
.ft-cart-page__item-variant { font-size: 0.78rem; color: var(--ft-color-text-light); display: block; margin-top: 2px; }
.ft-cart-page__item-price { font-weight: 600; }
.ft-cart-page__item-subtotal { font-weight: 700; }
.ft-cart-page__delete { font-size: 0.82rem; color: var(--ft-color-error); cursor: pointer; margin-top: 4px; }
.ft-cart-page__delete:hover { text-decoration: underline; }
.ft-cart-page__delete--desktop { display: none; }
@media (min-width: 1024px) { .ft-cart-page__delete--desktop { display: block; } .ft-cart-page__item-actions-mobile { display: none; } }

/* Cart summary */
.ft-cart-page__summary-card { background: var(--ft-color-bg-alt); border-radius: var(--ft-radius-md); padding: 24px; border: 1px solid var(--ft-color-border); position: sticky; top: 120px; }
.ft-cart-page__summary-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ft-cart-page__summary-row--total { font-size: 1.15rem; }
.ft-cart-page__summary-price { font-weight: 800; color: var(--ft-color-primary); font-size: 1.25rem; }
.ft-cart-page__summary-note { font-size: 0.82rem; color: var(--ft-color-text-light); margin-bottom: 16px; }

/* Empty cart */
.ft-cart-page__empty { text-align: center; padding: 64px 20px; }
.ft-cart-page__empty svg { color: var(--ft-color-border); margin-bottom: 16px; }
.ft-cart-page__empty h2 { margin-bottom: 8px; }
.ft-cart-page__empty p { color: var(--ft-color-text-light); margin-bottom: 24px; }

/* ============================================================================
   CHECKOUT
   ============================================================================ */
.ft-checkout { padding: 32px 0 48px; }
.ft-checkout__layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .ft-checkout__layout { grid-template-columns: 1fr 380px; } }
.ft-checkout__logo { display: block; margin-bottom: 24px; }
.ft-checkout__logo img { height: 32px; width: auto; }
.ft-checkout__logo-text { font-family: var(--ft-font-heading); font-size: 1.4rem; font-weight: 800; color: var(--ft-color-primary); }
.ft-checkout__step-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; margin-top: 28px; }
.ft-checkout__step-title:first-of-type { margin-top: 0; }
.ft-checkout__step-num { width: 28px; height: 28px; border-radius: var(--ft-radius-sm); background: var(--ft-color-primary); color: #fff; font-size: 0.82rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Form */
.ft-form__group { margin-bottom: 14px; }
.ft-form__label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.ft-form__input { width: 100%; padding: 10px 14px; border: 2px solid var(--ft-color-border); border-radius: var(--ft-radius-sm); font-size: 0.9rem; outline: none; transition: border-color var(--ft-transition); background: var(--ft-color-bg); }
.ft-form__input:focus { border-color: var(--ft-color-primary); }
.ft-form__row { display: grid; grid-template-columns: 1fr; gap: 14px; }
.ft-form__row--2col { grid-template-columns: 1fr 1fr; }
.ft-form__row--3col { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) { .ft-form__row--2col, .ft-form__row--3col { grid-template-columns: 1fr; } }

/* Payment */
.ft-checkout__payment-info { padding: 16px; background: var(--ft-color-bg-alt); border-radius: var(--ft-radius-md); margin-bottom: 20px; }
.ft-checkout__payment-icons { display: flex; gap: 8px; margin-bottom: 8px; }
.ft-checkout__payment-note { font-size: 0.85rem; color: var(--ft-color-text-light); }

/* Order summary sidebar */
.ft-checkout__sidebar { background: var(--ft-color-bg-alt); border-radius: var(--ft-radius-md); padding: 24px; border: 1px solid var(--ft-color-border); height: fit-content; position: sticky; top: 120px; }
.ft-checkout__sidebar-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ft-color-border); }
.ft-checkout__item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ft-color-border); }
.ft-checkout__item:last-child { border-bottom: none; }
.ft-checkout__item-image { width: 56px; height: 56px; border-radius: var(--ft-radius-sm); overflow: hidden; position: relative; flex-shrink: 0; }
.ft-checkout__item-image img { width: 100%; height: 100%; object-fit: cover; }
.ft-checkout__item-qty-badge { position: absolute; top: -4px; right: -4px; background: var(--ft-color-secondary); color: #fff; font-size: 0.65rem; font-weight: 700; width: 18px; height: 18px; border-radius: var(--ft-radius-full); display: flex; align-items: center; justify-content: center; }
.ft-checkout__item-info { flex: 1; min-width: 0; }
.ft-checkout__item-title { font-weight: 600; font-size: 0.85rem; }
.ft-checkout__item-variant { font-size: 0.75rem; color: var(--ft-color-text-light); }
.ft-checkout__item-price { font-weight: 700; font-size: 0.88rem; white-space: nowrap; }

.ft-checkout__totals { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ft-color-border); }
.ft-checkout__total-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 0.9rem; }
.ft-checkout__total-row--final { font-weight: 800; font-size: 1.1rem; padding-top: 8px; margin-top: 8px; border-top: 2px solid var(--ft-color-border); }

/* ============================================================================
   POST-CHECKOUT
   ============================================================================ */
.ft-post-checkout { text-align: center; padding: 80px 20px; }
.ft-post-checkout__icon { width: 64px; height: 64px; border-radius: var(--ft-radius-sm); background: var(--ft-color-primary); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.ft-post-checkout__title { font-size: 1.75rem; margin-bottom: 8px; }
.ft-post-checkout__text { color: var(--ft-color-text-light); max-width: 480px; margin: 0 auto 24px; }
.ft-post-checkout__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   ACCOUNT / AUTH PAGES
   ============================================================================ */
.ft-auth { display: flex; align-items: center; justify-content: center; padding: 48px 20px; min-height: 60vh; }
.ft-auth__card { background: var(--ft-color-bg); border: 1px solid var(--ft-color-border); border-radius: var(--ft-radius-sm); padding: 40px; width: 100%; max-width: 440px; border-top: 3px solid var(--ft-color-primary); }
.ft-auth__title { text-align: center; margin-bottom: 24px; }
.ft-auth__footer { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--ft-color-text-light); }
.ft-auth__footer a { font-weight: 600; }

.ft-account { padding: 32px 0 48px; }
.ft-account__layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .ft-account__layout { grid-template-columns: 220px 1fr; } }
.ft-account__sidebar { display: block; }
.ft-account__nav-link { display: block; padding: 10px 16px; border-radius: var(--ft-radius-sm); font-size: 0.9rem; font-weight: 500; color: var(--ft-color-text); text-decoration: none; }
.ft-account__nav-link:hover { background: var(--ft-color-bg-alt); }
.ft-account__nav-link.is-active { background: var(--ft-color-primary-light); color: var(--ft-color-primary); font-weight: 700; }
.ft-account__content { min-width: 0; }
.ft-account__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }

/* Order table */
.ft-orders { width: 100%; border: 1px solid var(--ft-color-border); border-radius: var(--ft-radius-md); overflow: hidden; }
.ft-orders th, .ft-orders td { padding: 12px 16px; text-align: left; font-size: 0.88rem; }
.ft-orders th { background: var(--ft-color-bg-alt); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ft-color-text-light); }
.ft-orders tr:not(:last-child) td { border-bottom: 1px solid var(--ft-color-border); }

/* ============================================================================
   404 PAGE
   ============================================================================ */
.ft-404 { text-align: center; padding: 80px 20px; }
.ft-404__code { font-size: 5rem; font-weight: 900; color: var(--ft-color-primary); opacity: 0.2; line-height: 1; margin-bottom: 12px; }
.ft-404__title { font-size: 1.75rem; margin-bottom: 8px; }
.ft-404__text { color: var(--ft-color-text-light); margin-bottom: 24px; }
.ft-404__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================================
   PAGE CONTENT
   ============================================================================ */
.ft-page { padding: 32px 0 48px; max-width: 800px; margin: 0 auto; }
.ft-page__title { font-size: 1.75rem; font-weight: 800; margin-bottom: 20px; }
.ft-page__body { line-height: 1.8; color: var(--ft-color-text); }
.ft-page__body h2, .ft-page__body h3 { margin-top: 24px; margin-bottom: 8px; }
.ft-page__body p { margin-bottom: 12px; }
.ft-page__body ul, .ft-page__body ol { margin-bottom: 12px; padding-left: 20px; }

/* ============================================================================
   BREADCRUMB
   ============================================================================ */
.ft-breadcrumb { padding: 12px 0; }
.ft-breadcrumb__list { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; flex-wrap: wrap; }
.ft-breadcrumb__item { color: var(--ft-color-text-light); }
.ft-breadcrumb__item a { color: var(--ft-color-text-light); text-decoration: none; }
.ft-breadcrumb__item a:hover { color: var(--ft-color-primary); }
.ft-breadcrumb__item + .ft-breadcrumb__item::before { content: '/'; margin-right: 6px; color: var(--ft-color-border); }
.ft-breadcrumb__item--current { color: var(--ft-color-text); font-weight: 600; }

/* ============================================================================
   PAGINATION
   ============================================================================ */
.ft-pagination { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 32px 0; }
.ft-pagination__link { padding: 8px 14px; border-radius: var(--ft-radius-sm); font-size: 0.88rem; font-weight: 500; color: var(--ft-color-text); text-decoration: none; border: 1px solid var(--ft-color-border); transition: all var(--ft-transition); display: flex; align-items: center; gap: 4px; }
.ft-pagination__link:hover { border-color: var(--ft-color-primary); color: var(--ft-color-primary); }
.ft-pagination__current { padding: 8px 14px; border-radius: var(--ft-radius-sm); font-size: 0.88rem; font-weight: 700; background: var(--ft-color-primary); color: #fff; }
.ft-pagination__ellipsis { padding: 8px 6px; color: var(--ft-color-text-light); }

/* ============================================================================
   STAR RATING
   ============================================================================ */
.ft-stars { display: inline-flex; gap: 2px; color: var(--ft-color-accent); }
.ft-stars--empty { color: var(--ft-color-border); }

/* ============================================================================
   GANG SHEET SIZES
   ============================================================================ */
.ft-gang-sizes { margin: 24px 0; padding: 20px; background: var(--ft-color-bg-alt); border-radius: var(--ft-radius-md); border: 1px solid var(--ft-color-border); }
.ft-gang-sizes__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.ft-gang-sizes__subtitle { font-size: 0.88rem; color: var(--ft-color-text-light); margin-bottom: 16px; }
.ft-gang-sizes__table { width: 100%; }
.ft-gang-sizes__header { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; padding: 8px 0; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ft-color-text-light); border-bottom: 2px solid var(--ft-color-border); }
.ft-gang-sizes__row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; padding: 12px 0; align-items: center; border-bottom: 1px solid var(--ft-color-border); }
.ft-gang-sizes__row:last-child { border-bottom: none; }
.ft-gang-sizes__name { font-weight: 600; }
.ft-gang-sizes__price { font-weight: 700; color: var(--ft-color-primary); }
@media (max-width: 640px) { .ft-gang-sizes__header { grid-template-columns: 1fr 1fr auto; } .ft-gang-sizes__header > :nth-child(2) { display: none; } .ft-gang-sizes__row { grid-template-columns: 1fr 1fr auto; } .ft-gang-sizes__row > :nth-child(2) { display: none; } }

/* ============================================================================
   FOOTER
   ============================================================================ */
.ft-back-to-top { background: #152240; }
.ft-back-to-top__btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 10px; text-align: center; color: #CBD5E1; font-size: 0.82rem; font-weight: 600; cursor: pointer; text-transform: uppercase; letter-spacing: 0.04em; }
.ft-back-to-top__btn:hover { color: var(--ft-color-accent); }

.ft-footer { background: var(--ft-color-primary); color: #CBD5E1; }
.ft-footer__accent { height: 3px; background: var(--ft-color-accent); }
.ft-footer__upper { padding: 64px 0 40px; }
.ft-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 640px) { .ft-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ft-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.ft-footer__col--brand { padding-right: 24px; }
.ft-footer__brand-logo { display: inline-block; margin-bottom: 12px; }
.ft-footer__brand-logo img { height: 32px; width: auto; }
.ft-footer__brand-name { color: #fff; font-family: var(--ft-font-heading); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.04em; text-transform: uppercase; }
.ft-footer__tagline { font-size: 0.88rem; color: #94A3B8; line-height: 1.6; margin-bottom: 16px; }
.ft-footer__social { display: flex; gap: 10px; }
.ft-footer__social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15); border-radius: var(--ft-radius-sm); color: #94A3B8; transition: all var(--ft-transition); }
.ft-footer__social-link:hover { border-color: var(--ft-color-accent); color: var(--ft-color-accent); }
.ft-footer__heading { color: #fff; font-size: 0.82rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.08em; }
.ft-footer__links li { margin-bottom: 8px; }
.ft-footer__links a { color: #94A3B8; font-size: 0.88rem; text-decoration: none; transition: color var(--ft-transition); }
.ft-footer__links a:hover { color: var(--ft-color-accent); }

.ft-footer__lower { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.ft-footer__lower-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.ft-footer__legal { font-size: 0.78rem; color: #64748B; }
.ft-footer__powered { font-size: 0.78rem; color: #64748B; }
.ft-footer__powered a { color: var(--ft-color-accent); }
.ft-footer__powered a:hover { text-decoration: underline; }

/* ============================================================================
   ALL COLLECTIONS PAGE
   ============================================================================ */
.ft-all-collections { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .ft-all-collections { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ft-all-collections { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.ft-collection-card { background: var(--ft-color-bg); border: 1px solid var(--ft-color-border); overflow: hidden; text-decoration: none; color: var(--ft-color-text); transition: border-color var(--ft-transition); }
.ft-collection-card:hover { border-color: var(--ft-color-primary); }
.ft-collection-card__image { aspect-ratio: 4/3; background: var(--ft-color-bg-alt); overflow: hidden; }
.ft-collection-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ft-collection-card__info { padding: 12px 16px; }
.ft-collection-card__name { font-weight: 700; font-size: 0.95rem; }
.ft-collection-card__count { font-size: 0.82rem; color: var(--ft-color-text-light); }

/* Color Swatch Styles */
[data-option-name="Color" i] .ft-product__swatch {
  position: relative;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  padding: 0;
  font-size: 0;
  color: transparent;
  overflow: hidden;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
[data-option-name="Color" i] .ft-product__swatch.is-active {
  border-color: var(--ft-color-primary, #111);
  box-shadow: 0 0 0 2px var(--ft-color-primary, #111);
}
[data-option-name="Color" i] .ft-product__swatch:hover {
  border-color: var(--ft-color-primary, #555);
}
[data-option-name="Color" i] .ft-product__swatch[title]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
