/* StrideX footwear theme */
:root {
  --brand: #16a34a;
  --brand-dark: #15803d;
  --brand-soft: #f0fdf4;
  --ink: #111827;
  --ink-2: #1f2937;
  --text: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --sale: #f97316;
  --danger: #dc2626;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 28px rgba(15, 23, 42, .07);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, .14);
  --head-font: 'Outfit', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
}

* { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--bg); font-size: 15px; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .h-display { font-family: var(--head-font); color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; }
.text-brand { color: var(--brand) !important; }
.bg-brand { background: var(--brand) !important; color: #fff; }
.bg-soft { background: var(--bg-soft); }
.text-muted { color: var(--muted) !important; }
.container-x { max-width: 1320px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 992px) { .container-x { padding: 0 28px; } }

/* Buttons */
.btn { border-radius: 999px; font-weight: 600; padding: .7rem 1.4rem; letter-spacing: .01em; transition: .2s; }
.btn-sm { padding: .4rem .9rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.8rem; font-size: 1.02rem; }
.btn-brand { background: var(--brand); color: #fff; border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover, .btn-ink:focus { background: #000; color: #fff; }
.btn-outline-ink { border: 1.5px solid var(--ink); color: var(--ink); background: #fff; }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }
.btn-light-soft { background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink); }
.btn:disabled, .btn.disabled { opacity: .55; }
.btn-icon { width: 42px; height: 42px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; }
.link-underline { text-decoration: underline; text-underline-offset: 3px; }

/* Forms */
.form-control, .form-select { border-radius: var(--radius-sm); border: 1.5px solid var(--line); padding: .72rem .95rem; font-size: .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(17, 24, 39, .06); }
.form-label { font-weight: 600; font-size: .85rem; color: var(--ink); margin-bottom: .35rem; }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.invalid-feedback { display: block; }

/* Announcement + header */
.announce { background: var(--ink); color: #e5e7eb; font-size: .82rem; text-align: center; padding: .5rem 1rem; }
.announce a { color: #fff; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .bar { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--head-font); font-weight: 800; font-size: 1.5rem; color: var(--ink); letter-spacing: -.03em; }
.logo img { height: 38px; width: auto; }
.logo .dot { color: var(--brand); }
.main-nav { display: none; gap: 4px; margin-left: 12px; }
.main-nav > .nav-item { position: static; }
.main-nav > .nav-item > a { display: block; padding: 24px 14px; font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; }
.main-nav > .nav-item > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 2px; background: var(--brand); transform: scaleX(0); transition: .2s; }
.main-nav > .nav-item:hover > a::after { transform: scaleX(1); }
.main-nav .sale-link { color: var(--sale) !important; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 28px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.main-nav > .nav-item:hover .mega { opacity: 1; visibility: visible; transform: none; }
.mega h6 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.mega a.sub { display: block; padding: 6px 0; color: var(--text); font-weight: 500; }
.mega a.sub:hover { color: var(--brand); padding-left: 4px; }
.mega .mega-card { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); display: block; position: relative; }
.mega .mega-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mega .mega-card span { position: absolute; left: 14px; bottom: 12px; background: #fff; border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: .85rem; }
.search-box { flex: 1; max-width: 460px; position: relative; display: none; }
.search-box input { width: 100%; border-radius: 999px; background: var(--bg-soft); border: 1.5px solid transparent; padding: .65rem 1rem .65rem 2.6rem; font-size: .92rem; }
.search-box input:focus { background: #fff; border-color: var(--ink); outline: none; }
.search-box .bi-search { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 10px; display: none; max-height: 70vh; overflow: auto; z-index: 50; }
.suggest.show { display: block; }
.suggest .s-item { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 10px; }
.suggest .s-item:hover { background: var(--bg-soft); }
.suggest .s-item img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--bg-soft); }
.suggest .s-chip { display: inline-block; padding: 4px 10px; background: var(--bg-soft); border-radius: 999px; font-size: .82rem; margin: 2px; }
.header-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.h-icon { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); font-size: 1.3rem; background: none; border: 0; }
.h-icon:hover { background: var(--bg-soft); color: var(--ink); }
.h-icon .count { position: absolute; top: 4px; right: 2px; background: var(--brand); color: #fff; font-size: .65rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
.h-icon .count:empty, .h-icon .count[data-n="0"] { display: none; }
@media (min-width: 992px) {
  .main-nav { display: flex; }
  .search-box { display: block; }
  .mobile-only { display: none !important; }
}
@media (max-width: 991.98px) { .desktop-only { display: none !important; } :root { --header-h: 62px; } .logo { font-size: 1.3rem; } }

/* Mobile bottom nav */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1030; background: #fff; border-top: 1px solid var(--line); display: flex; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.bottom-nav a { flex: 1; text-align: center; font-size: .68rem; color: var(--muted); font-weight: 600; position: relative; }
.bottom-nav a i { display: block; font-size: 1.3rem; margin-bottom: 1px; }
.bottom-nav a.active { color: var(--ink); }
.bottom-nav .count { position: absolute; top: -2px; left: 54%; background: var(--brand); color: #fff; font-size: .6rem; min-width: 16px; height: 16px; border-radius: 8px; display: grid; place-items: center; padding: 0 3px; }
.bottom-nav .count[data-n="0"] { display: none; }
@media (max-width: 991.98px) { body { padding-bottom: 66px; } }
@media (min-width: 992px) { .bottom-nav { display: none; } }

/* Sections */
.section { padding: 56px 0; }
.section-sm { padding: 36px 0; }
@media (max-width: 767.98px) { .section { padding: 36px 0; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--brand); }

/* Hero */
.hero { position: relative; }
.hero .swiper-slide { position: relative; min-height: clamp(420px, 56vw, 620px); display: flex; align-items: center; overflow: hidden; }
.hero .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .slide-content { position: relative; z-index: 2; max-width: 560px; color: #fff; padding: 40px 0; }
.hero .slide-content h1 { color: #fff; font-size: clamp(2.1rem, 5.5vw, 4.4rem); line-height: 1.02; font-weight: 800; margin: 12px 0 14px; }
.hero .slide-content p { font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: .9; margin-bottom: 26px; }
.hero .eyebrow { color: #bbf7d0; }
.hero .swiper-pagination-bullet { background: #fff; opacity: .5; width: 28px; height: 4px; border-radius: 2px; }
.hero .swiper-pagination-bullet-active { opacity: 1; }
@media (max-width: 767.98px) {
  .hero .slide-bg { object-position: 72% center; }
  .hero .swiper-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); z-index: 1; }
  .hero .slide-content { align-self: flex-end; padding-bottom: 54px; }
}

/* USP strip */
.usps { border-bottom: 1px solid var(--line); }
.usps .usp { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; color: var(--ink); font-size: .9rem; }
.usps .usp i { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }

/* Category tiles */
.cat-tile { display: block; text-align: center; }
.cat-tile .img { border-radius: 50%; aspect-ratio: 1; overflow: hidden; background: var(--bg-soft); margin-bottom: 10px; transition: .25s; border: 3px solid transparent; }
.cat-tile .img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.cat-tile:hover .img { border-color: var(--brand); }
.cat-tile:hover .img img { transform: scale(1.08); }
.cat-tile span { font-weight: 700; color: var(--ink); font-size: .95rem; }

/* Product card */
.p-card { position: relative; display: flex; flex-direction: column; height: 100%; }
.p-card .p-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 1; }
.p-card .p-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .5s; }
.p-card .p-media .img-hover { position: absolute; inset: 0; opacity: 0; }
.p-card:hover .p-media .img-hover { opacity: 1; }
.p-card:hover .p-media img.img-main { transform: scale(1.04); }
.p-card .badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 2; }
.badge-x { display: inline-block; font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.badge-sale { background: var(--sale); color: #fff; }
.badge-new { background: var(--ink); color: #fff; }
.badge-oos { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.p-card .wish { position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; border: 0; box-shadow: 0 2px 10px rgba(0,0,0,.08); color: var(--ink); font-size: 1.05rem; transition: .2s; }
.p-card .wish:hover { transform: scale(1.08); }
.p-card .wish.on { color: #e11d48; }
.p-card .quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(10px); transition: .25s; }
.p-card:hover .quick { opacity: 1; transform: none; }
@media (hover: none) { .p-card .quick { display: none; } }
.p-card .p-body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.p-card .p-brand { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.p-card .p-name { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card .p-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.price-now { font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.price-was { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.price-off { color: var(--brand); font-weight: 700; font-size: .82rem; }
.p-card .p-rating { font-size: .78rem; color: var(--muted); }
.p-card .p-rating b { background: var(--brand); color: #fff; border-radius: 6px; padding: 1px 6px; font-weight: 700; margin-right: 4px; }
.p-card .swatches { display: flex; gap: 5px; margin-top: 4px; }
.p-card .swatches span { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.grid-products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
@media (min-width: 768px) { .grid-products { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; } }
@media (min-width: 1200px) { .grid-products.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* Promo tiles */
.promo { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 260px; color: var(--ink); }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.promo:hover img { transform: scale(1.05); }
.promo .promo-text { position: relative; z-index: 2; padding: 26px; }
.promo .promo-text h3 { font-size: 2rem; font-weight: 800; margin: 0; }
.promo .promo-text p { margin: 4px 0 14px; font-weight: 500; }
.wide-banner { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; min-height: 320px; display: flex; align-items: center; color: #fff; }
.wide-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wide-banner .inner { position: relative; z-index: 2; padding: 40px; max-width: 520px; }
.wide-banner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; }

/* Brands strip */
.brands-strip { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding: 4px; }
.brands-strip::-webkit-scrollbar { display: none; }
.brands-strip a { flex: 0 0 auto; width: 170px; height: 74px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; background: #fff; transition: .2s; }
.brands-strip a:hover { border-color: var(--ink); box-shadow: var(--shadow); }
.brands-strip img { max-height: 46px; max-width: 140px; filter: grayscale(1); opacity: .8; transition: .2s; }
.brands-strip a:hover img { filter: none; opacity: 1; }

/* Testimonials */
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; }
.stars { color: #f59e0b; letter-spacing: 1px; }

/* Newsletter */
.newsletter { background: var(--ink); border-radius: calc(var(--radius) + 8px); color: #d1d5db; padding: 46px 28px; position: relative; overflow: hidden; }
.newsletter h2 { color: #fff; }
.newsletter::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: var(--brand); opacity: .25; }
.newsletter form { position: relative; z-index: 1; max-width: 460px; }
.newsletter input { border-radius: 999px; border: 0; padding: .85rem 1.2rem; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding-top: 54px; margin-top: 40px; font-size: .92rem; }
.site-footer h6 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin-bottom: 16px; }
.site-footer a { color: var(--text); display: inline-block; padding: 4px 0; }
.site-footer a:hover { color: var(--brand); }
.site-footer .social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: inline-grid; place-items: center; margin-right: 6px; font-size: 1.1rem; }
.site-footer .bottom { border-top: 1px solid var(--line); margin-top: 36px; padding: 18px 0; font-size: .82rem; color: var(--muted); }
.pay-icons span { display: inline-block; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 3px 8px; font-size: .72rem; font-weight: 700; color: var(--ink-2); margin: 2px; }

/* Breadcrumb */
.crumbs { font-size: .82rem; color: var(--muted); padding: 16px 0 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* Listing */
.listing-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin: 6px 0 22px; }
.listing-head h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 8px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 16px 0; }
.filter-group h6 { font-size: .85rem; font-weight: 700; margin-bottom: 12px; display: flex; justify-content: space-between; cursor: pointer; font-family: 'Inter'; }
.filter-group .fopts { max-height: 240px; overflow: auto; }
.f-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: .92rem; }
.f-check input { width: 18px; height: 18px; accent-color: var(--ink); }
.f-check .cnt { margin-left: auto; color: var(--muted); font-size: .78rem; }
.size-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { min-width: 52px; height: 42px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-weight: 600; font-size: .85rem; color: var(--ink); cursor: pointer; transition: .15s; }
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.size-btn.oos { color: #b6bcc6; text-decoration: line-through; background: repeating-linear-gradient(-45deg, #fff, #fff 6px, #f6f7f9 6px, #f6f7f9 7px); }
.color-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.color-btn { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: .15s; position: relative; }
.color-btn:hover { box-shadow: 0 0 0 1.5px var(--ink); }
.color-btn.active { box-shadow: 0 0 0 2.5px var(--ink); }
.color-btn.oos::after { content: ''; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 2px; background: #9ca3af; transform: rotate(45deg); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .82rem; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.price-inputs { display: flex; gap: 8px; align-items: center; }
.price-inputs input { width: 100%; }
.sort-select { border-radius: 999px; padding: .55rem 2.2rem .55rem 1rem; font-weight: 600; font-size: .88rem; }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state i { font-size: 3rem; color: #cbd5e1; }
.loading-overlay { position: relative; }
.loading-overlay.loading::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.6); z-index: 5; }
.pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 600; padding: 0 10px; }
.pager .active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Product page */
.pdp-gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.pdp-thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow: auto; scrollbar-width: none; }
.pdp-thumbs button { border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; background: var(--bg-soft); aspect-ratio: 1; }
.pdp-thumbs button.active { border-color: var(--ink); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main { border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--bg-soft); aspect-ratio: 1; position: relative; cursor: zoom-in; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.pdp-main.zoom img { transform: scale(1.8); }
@media (max-width: 767.98px) {
  .pdp-gallery { grid-template-columns: 1fr; position: static; }
  .pdp-thumbs { flex-direction: row; order: 2; }
  .pdp-thumbs button { width: 64px; flex: 0 0 64px; }
}
.pdp-info h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; margin: 6px 0 10px; }
.pdp-price .price-now { font-size: 1.9rem; }
.pdp-price .price-was { font-size: 1.05rem; }
.pdp-price .price-off { font-size: 1rem; background: var(--brand-soft); padding: 3px 10px; border-radius: 999px; }
.opt-label { font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 10px; display: flex; justify-content: space-between; }
.opt-label span { font-weight: 500; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 50px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.2rem; color: var(--ink); }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 700; background: none; }
.qty.sm { height: 36px; }
.qty.sm button { width: 32px; font-size: 1rem; }
.qty.sm input { width: 30px; font-size: .9rem; }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-actions .btn-lg { flex: 1; min-width: 160px; }
.info-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.info-row { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: .9rem; }
.info-row i { font-size: 1.2rem; color: var(--brand); }
.pin-check { display: flex; gap: 8px; }
.pdp-tabs .accordion-button { font-weight: 700; color: var(--ink); background: none; box-shadow: none; padding: 18px 0; font-family: var(--head-font); font-size: 1.05rem; }
.pdp-tabs .accordion-item { border: 0; border-bottom: 1px solid var(--line); }
.pdp-tabs .accordion-body { padding: 0 0 20px; }
.spec-table td { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.spec-table td:first-child { color: var(--muted); width: 40%; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; gap: 10px; align-items: center; box-shadow: 0 -10px 30px rgba(0,0,0,.06); }
@media (max-width: 991.98px) { .sticky-buy.show { display: flex; } }
.rating-bar { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.rating-bar .bar { flex: 1; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.rating-bar .bar span { display: block; height: 100%; background: var(--brand); }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 1.8rem; color: #d1d5db; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f59e0b; }

/* Cart drawer & cart */
.offcanvas.cart-drawer { width: 420px; max-width: 100%; }
.cart-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--bg-soft); flex-shrink: 0; }
.cart-line .name { font-weight: 600; color: var(--ink); font-size: .92rem; line-height: 1.3; }
.cart-line .opts { font-size: .8rem; color: var(--muted); }
.cart-line .remove { color: var(--muted); font-size: .8rem; background: none; border: 0; padding: 0; text-decoration: underline; }
.ship-progress { background: var(--brand-soft); border-radius: 12px; padding: 12px 14px; font-size: .85rem; }
.ship-progress .bar { height: 6px; background: #d1fae5; border-radius: 3px; overflow: hidden; margin-top: 8px; }
.ship-progress .bar span { display: block; height: 100%; background: var(--brand); transition: width .4s; }
.summary-card { background: var(--bg-soft); border-radius: calc(var(--radius) + 4px); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .93rem; }
.summary-row.total { border-top: 1px dashed #cbd5e1; margin-top: 8px; padding-top: 14px; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.save-note { background: #dcfce7; color: #166534; border-radius: 10px; padding: 8px 12px; font-size: .85rem; font-weight: 600; text-align: center; margin-top: 12px; }

/* Checkout */
.co-step { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 22px; margin-bottom: 16px; }
.co-step h5 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 18px; }
.co-step h5 .num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .85rem; font-family: 'Inter'; }
.option-card { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; transition: .15s; margin-bottom: 10px; position: relative; }
.option-card:hover { border-color: #9ca3af; }
.option-card.active { border-color: var(--ink); background: #fafafa; box-shadow: 0 0 0 1px var(--ink); }
.option-card input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; flex-shrink: 0; }
.option-card .oc-title { font-weight: 700; color: var(--ink); }
.option-card .oc-sub { font-size: .85rem; color: var(--muted); }
.option-card .oc-right { margin-left: auto; font-weight: 700; color: var(--ink); white-space: nowrap; }
.secure-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* Account */
.acc-nav { background: var(--bg-soft); border-radius: calc(var(--radius) + 4px); padding: 14px; }
.acc-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 600; color: var(--text); }
.acc-nav a i { font-size: 1.15rem; }
.acc-nav a.active, .acc-nav a:hover { background: #fff; color: var(--ink); box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.acc-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.stat-tile { border-radius: var(--radius); padding: 18px; background: var(--bg-soft); }
.stat-tile h3 { margin: 0; font-size: 1.6rem; }
.order-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; gap: 16px; align-items: center; margin-bottom: 12px; transition: .2s; }
.order-card:hover { border-color: #9ca3af; box-shadow: var(--shadow); }
.order-card .thumbs { display: flex; }
.order-card .thumbs img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; border: 2px solid #fff; margin-left: -12px; background: var(--bg-soft); }
.order-card .thumbs img:first-child { margin-left: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-warning { background: #fef3c7; color: #92400e; } .st-info { background: #e0f2fe; color: #075985; } .st-primary { background: #e0e7ff; color: #3730a3; }
.st-success { background: #dcfce7; color: #166534; } .st-danger { background: #fee2e2; color: #991b1b; } .st-secondary { background: #f1f5f9; color: #334155; }
.progress-track { display: flex; justify-content: space-between; position: relative; margin: 26px 0 14px; }
.progress-track::before { content: ''; position: absolute; top: 14px; left: 8%; right: 8%; height: 3px; background: var(--line); }
.progress-track .pt { position: relative; z-index: 1; text-align: center; flex: 1; font-size: .75rem; font-weight: 600; color: var(--muted); }
.progress-track .pt .dot { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto 8px; display: grid; place-items: center; font-size: .8rem; }
.progress-track .pt.done { color: var(--ink); }
.progress-track .pt.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; }
.address-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 16px; height: 100%; position: relative; }
.address-card.default { border-color: var(--brand); }
.auth-wrap { max-width: 460px; margin: 40px auto; }
.auth-card { border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); padding: 34px; background: #fff; box-shadow: var(--shadow); }
@media (max-width: 575.98px) { .auth-card { padding: 24px 18px; border: 0; box-shadow: none; } .auth-wrap { margin-top: 16px; } }

/* Toasts */
.toast-stack { position: fixed; bottom: 24px; left: 24px; z-index: 2000; display: flex; flex-direction: column; gap: 10px; max-width: calc(100% - 32px); }
.toast-x { background: var(--ink); color: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; min-width: 260px; animation: tin .25s ease; font-size: .9rem; }
.toast-x.error { background: #991b1b; }
.toast-x img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #fff; }
@keyframes tin { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 575.98px) { .toast-stack { top: auto; bottom: 80px; left: 16px; right: 16px; } }

/* Skeleton */
.skel { background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%); background-size: 400% 100%; animation: sk 1.4s ease infinite; border-radius: 12px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

.prose { line-height: 1.75; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.swiper-nav { display: flex; gap: 8px; }
.swiper-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.swiper-nav button:hover { background: var(--ink); color: #fff; }
.swiper-nav button.swiper-button-disabled { opacity: .35; }
.spinner-x { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; vertical-align: -3px; }
@keyframes spin { to { transform: rotate(360deg); } }
