/* ============================================================
   SCITBOSS SHOES - Storefront styles
   ============================================================ */
.shop-topbar { background: var(--accent); color: #fff; font-size: .8rem; text-align: center; padding: .45rem 1rem; }
.site-header { position: sticky; top: 0; z-index: 60; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .inner { display: flex; align-items: center; gap: 1.2rem; padding: .8rem 0; }
.site-logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.15rem; color: var(--text); letter-spacing: .3px; }
.site-logo img { height: 38px; width: auto; }
.site-logo .mark { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.site-logo span { color: var(--primary); }
.main-nav { display: flex; gap: 1.1rem; margin-left: .5rem; }
.main-nav a { color: var(--text); font-weight: 600; font-size: .9rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); border-color: var(--primary); }
.header-tools { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.search-box { position: relative; }
.search-box input { padding-left: 2.1rem; min-width: 220px; }
.search-box .ico { position: absolute; left: .7rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-count { position: absolute; top: -6px; right: -6px; background: var(--primary); color: #fff; font-size: .66rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.mobile-toggle { display: none; }

/* Hero */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, var(--primary-dark) 130%); color: #fff; position: relative; overflow: hidden; }
.hero .inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding: 3.5rem 0; }
.hero h1 { font-size: 2.8rem; line-height: 1.1; margin-bottom: 1rem; }
.hero p { color: #cbd5e1; font-size: 1.05rem; margin-bottom: 1.5rem; }
.hero .hero-img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero .badge-pill { display: inline-block; background: rgba(255,255,255,.12); padding: .3rem .8rem; border-radius: 999px; font-size: .78rem; margin-bottom: 1rem; letter-spacing: .04em; }
@media (max-width: 820px) { .hero .inner { grid-template-columns: 1fr; padding: 2.2rem 0; } .hero h1 { font-size: 2rem; } .hero .hero-img { order: -1; } }

/* Sections */
.section { padding: 2.6rem 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 1.4rem; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { font-size: 1.6rem; margin: 0; }
.section-head .sub { color: var(--muted); font-size: .9rem; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.product-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .2s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.product-media { position: relative; aspect-ratio: 1/1; background: var(--surface-2); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-media .ph { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); font-size: 2.5rem; }
.product-badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; gap: .3rem; }
.product-card .body { padding: .85rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.product-card .nm { font-weight: 700; font-size: .95rem; margin: .15rem 0 .4rem; line-height: 1.3; }
.product-card .nm a { color: var(--text); }
.product-card .rating { color: #f59e0b; font-size: .8rem; margin-bottom: .4rem; }
.price { font-weight: 800; font-size: 1.05rem; color: var(--primary); }
.price .old { color: var(--muted); text-decoration: line-through; font-weight: 500; font-size: .82rem; margin-left: .4rem; }
.product-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .7rem; }
.sizes-mini { display: flex; gap: .2rem; flex-wrap: wrap; }
.sizes-mini span { font-size: .66rem; border: 1px solid var(--line); border-radius: 5px; padding: 0 .28rem; color: var(--muted); }
.swatches { display: flex; gap: .3rem; margin-top: .45rem; }
.swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); display: inline-block; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); display: flex; align-items: flex-end; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile .ov { position: relative; width: 100%; padding: 1rem; background: linear-gradient(transparent, rgba(15,23,42,.85)); color: #fff; font-weight: 700; }

/* Banner */
.promo-banner { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 200px; display: flex; align-items: center; background: linear-gradient(120deg, #0f172a, #334155); }
.promo-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.promo-banner .content { position: relative; color: #fff; padding: 2rem; }
.promo-banner h3 { font-size: 1.6rem; }

/* Footer */
.site-footer { background: var(--accent); color: #cbd5e1; padding: 3rem 0 1.5rem; margin-top: 3rem; }
[data-theme="dark"] .site-footer { background: #0a0f1d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2rem; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-grid a { color: #cbd5e1; display: block; padding: .22rem 0; font-size: .86rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand .site-logo { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2rem; padding-top: 1.2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: #94a3b8; }
.social-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.social-links a { padding: .35rem .7rem; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; font-size: .78rem; font-weight: 600; color: #cbd5e1; }
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.dev-credit { color: var(--primary); font-weight: 700; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Filters / catalog */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.5rem; align-items: start; }
.filter-card { position: sticky; top: calc(var(--header-h) + 1rem); }
.filter-group { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.filter-group h4 { font-size: .85rem; margin-bottom: .5rem; }
.chk { display: flex; align-items: center; gap: .5rem; font-size: .86rem; padding: .2rem 0; font-weight: 500; }
@media (max-width: 860px) { .catalog-layout { grid-template-columns: 1fr; } .filter-card { position: static; } }

/* Product detail */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: var(--surface-2); aspect-ratio: 1/1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .6rem; }
.gallery-thumbs img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; }
.gallery-thumbs img:hover { border-color: var(--primary); }
.option-label { font-weight: 700; font-size: .84rem; margin: .9rem 0 .4rem; }
.opt-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.opt { border: 1px solid var(--line); border-radius: 9px; padding: .45rem .8rem; cursor: pointer; font-size: .86rem; background: var(--surface); font-weight: 600; }
.opt:hover { border-color: var(--primary); }
.opt.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.opt.disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
@media (max-width: 820px) { .pdp { grid-template-columns: 1fr; } }

/* Cart / checkout */
.cart-table img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.summary-line { display: flex; justify-content: space-between; padding: .35rem 0; font-size: .9rem; }
.summary-total { display: flex; justify-content: space-between; padding: .7rem 0; font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: .4rem; }
.checkout-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 1.6rem; align-items: start; }
@media (max-width: 820px) { .checkout-layout { grid-template-columns: 1fr; } }

/* Auth */
.auth-wrap { max-width: 420px; margin: 3rem auto; }
.auth-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.tabs { display: flex; gap: .4rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.tabs a { padding: .5rem .8rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs a.active { color: var(--primary); border-color: var(--primary); }

.shop-mobile-nav { display: none; }
@media (max-width: 900px) {
    .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 1rem; border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .2s; z-index: 55; gap: .2rem; }
    .main-nav.open { transform: none; }
    .search-box { display: none; }
    .mobile-toggle { display: inline-flex; }
}

/* Utilities */
.narrow { max-width: 820px; margin: 0 auto; }

/* Quantity stepper (storefront) */
.qty-ctrl { display: inline-flex; align-items: center; gap: .3rem; }
.qty-ctrl button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font-weight: 700; font-size: 1rem; color: var(--text); }
.qty-ctrl button:hover { border-color: var(--primary); color: var(--primary); }
.qty-ctrl span { min-width: 28px; text-align: center; font-weight: 700; }
.qty-ctrl.sm { gap: .2rem; }
.qty-ctrl.sm button { width: 26px; height: 26px; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.4rem; align-items: start; }
.cart-layout .table img { border-radius: 8px; }
.summary-card { position: sticky; top: calc(var(--header-h) + 1rem); }
.sumrow { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .9rem; }
.sumrow.total { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .7rem; font-weight: 800; font-size: 1.15rem; }
@media (max-width: 820px) { .cart-layout { grid-template-columns: 1fr; } }

/* Payment options */
.pay-opt { display: flex; align-items: center; gap: .6rem; padding: .7rem .85rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: .5rem; cursor: pointer; font-weight: 600; font-size: .9rem; }
.pay-opt:hover { border-color: var(--primary); }
.pay-opt input { margin: 0; }

/* Account */
.account-layout { display: grid; grid-template-columns: 1fr 340px; gap: 1.4rem; align-items: start; }
@media (max-width: 820px) { .account-layout { grid-template-columns: 1fr; } }

.dashboard-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.4rem; align-items: start; }
@media (max-width: 820px) { .dashboard-layout { grid-template-columns: 1fr; } }
.account-sidebar { padding: 1rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.account-user { display: flex; align-items: center; gap: .7rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .7rem; }
.avatar-lg { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem; flex: 0 0 auto; }
.account-nav { display: flex; flex-direction: column; gap: .15rem; }
.account-nav a { display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--text); }
.account-nav a:hover { background: var(--surface-2); }
.account-nav a.active { background: var(--primary); color: #fff; }
.account-nav a .ico { display: inline-flex; }
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem; }
@media (max-width: 720px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
.stat-card { padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.stat-card .v { font-size: 1.4rem; font-weight: 800; }
.stat-card .l { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.notif-item { display: flex; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.notif-item:last-child { border-bottom: 0; }
.notif-item .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); margin-top: .45rem; flex: 0 0 auto; }
.notif-item.read .dot { background: var(--line); }
.address-card { border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; margin-bottom: .8rem; position: relative; }
.address-card.default { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.wish-cell { display: flex; flex-direction: column; gap: .5rem; }
.wish-cell .product-card { flex: 1; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 1.4rem; align-items: start; }
.contact-info .ci-row { display: flex; gap: .7rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-row:last-child { border-bottom: 0; }
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }

/* Timeline */
.timeline { position: relative; padding-left: 1.4rem; }
.tl-item { position: relative; padding: 0 0 1.1rem 1rem; border-left: 2px solid var(--line); }
.tl-item:last-child { border-left-color: transparent; }
.tl-dot { position: absolute; left: -7px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); border: 2px solid var(--surface); }

/* Confirmation */
.success-check { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: flex; align-items: center; justify-content: center; }

/* ============================================================
   Home page enhancements
   ============================================================ */
.btn-lg { padding: .8rem 1.3rem; font-size: 1rem; border-radius: 11px; }

.hero { position: relative; }
.hero .hero-copy, .hero .hero-visual { position: relative; z-index: 1; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.hero-glow.g1 { width: 320px; height: 320px; background: var(--primary); top: -90px; right: -30px; opacity: .5; }
.hero-glow.g2 { width: 260px; height: 260px; background: #0ea5e9; bottom: -110px; left: -60px; opacity: .35; }
.hero-card { position: relative; display: block; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero-card img { width: 100%; display: block; }
.hero-float { position: absolute; left: 1rem; bottom: 1rem; background: rgba(15,23,42,.85); color: #fff; padding: .55rem .95rem; border-radius: 12px; display: flex; flex-direction: column; line-height: 1.15; }
.hero-float strong { font-size: 1.2rem; }
.hero-stats { display: flex; gap: 1.8rem; margin-top: 1.9rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.4rem; color: #fff; }
.hero-stats span { font-size: .72rem; color: #cbd5e1; text-transform: uppercase; letter-spacing: .05em; }

.feature-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.1rem 0; }
.feature-item { display: flex; align-items: center; gap: .7rem; }
.fi-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
@media (max-width: 760px) { .feature-row { grid-template-columns: 1fr 1fr; } }

.countdown { display: flex; gap: .4rem; }
.cd-box { background: var(--accent); color: #fff; border-radius: 9px; padding: .35rem .55rem; text-align: center; min-width: 50px; display: flex; flex-direction: column; }
[data-theme="dark"] .cd-box { background: #1e293b; }
.cd-box b { font-size: 1.05rem; }
.cd-box i { font-size: .6rem; text-transform: uppercase; letter-spacing: .05em; color: #cbd5e1; font-style: normal; }

.deal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: center; }
.deal-media { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.deal-media img { width: 100%; display: block; }
.deal-off { position: absolute; top: .8rem; left: .8rem; font-size: .82rem; }
.deal-info h3 { font-size: 1.6rem; margin: .25rem 0 .5rem; }
.deal-price { display: flex; align-items: baseline; gap: .7rem; margin: .9rem 0 1.2rem; }
.deal-price .price { font-size: 1.9rem; }
.deal-price .old { font-size: 1rem; }
@media (max-width: 760px) { .deal-grid { grid-template-columns: 1fr; } }

.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.promo-tile { position: relative; border-radius: 16px; padding: 2rem; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 190px; }
.promo-tile > svg { width: 120px; height: 120px; opacity: .22; flex: 0 0 auto; }
.promo-dark { background: linear-gradient(120deg, #0f172a, #334155); }
.promo-accent { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); }
.promo-tile h3 { font-size: 1.5rem; margin: .55rem 0 .35rem; color: #fff; }
.promo-tile p { font-size: .9rem; opacity: .92; margin-bottom: .9rem; color: #e2e8f0; }
.pt-copy { position: relative; z-index: 1; }
.promo-tile .badge-pill { background: rgba(255,255,255,.2); color: #fff; padding: .25rem .7rem; border-radius: 999px; font-size: .72rem; display: inline-block; }
@media (max-width: 760px) { .promo-grid { grid-template-columns: 1fr; } }

.brand-band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.brand-strip { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.brand-chip { font-weight: 800; font-size: 1.05rem; color: var(--muted); padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 10px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonial { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; box-shadow: var(--shadow); }
.testimonial .stars { color: #f59e0b; margin-bottom: .5rem; }
.testimonial p { font-size: .93rem; line-height: 1.65; }
.testimonial .who { display: flex; align-items: center; gap: .6rem; margin-top: 1rem; }
.testimonial .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial .who small { display: block; color: var(--muted); }
@media (max-width: 760px) { .testimonial-grid { grid-template-columns: 1fr; } }

.newsletter-band { background: linear-gradient(120deg, #0f172a, #334155); color: #fff; padding: 2.6rem 0; margin-top: 2rem; }
.nb-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.nb-inner h3 { color: #fff; display: flex; align-items: center; gap: .5rem; }
.nb-inner .muted { color: #cbd5e1; }
.nb-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.nb-form input { min-width: 260px; }

/* ============================================================
   Home page v2 - hero slider, tabs, collections, promos
   ============================================================ */
.home-slider { position: relative; overflow: hidden; background: var(--accent); }
.hs-slide { display: none; position: relative; min-height: 440px; }
.hs-slide.active { display: flex; align-items: center; }
.hs-slide.active > .container { width: 100%; }
.hs-slide .hs-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-slide.no-img { background: linear-gradient(120deg, var(--accent) 0%, #1e293b 55%, var(--primary-dark) 130%); }
.hs-slide .hs-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,.9) 0%, rgba(15,23,42,.55) 45%, rgba(15,23,42,.15) 100%); }
.hs-content { position: relative; z-index: 1; max-width: 620px; padding: 4.5rem 0; color: #fff; text-shadow: 0 2px 18px rgba(2,6,23,.35); }
.hs-content .hs-kicker { display: inline-block; background: rgba(255,255,255,.14); padding: .32rem .85rem; border-radius: 999px; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.hs-content h1 { font-size: 3rem; line-height: 1.08; margin-bottom: .9rem; color: #fff; }
.hs-content p { color: #dbe3ef; font-size: 1.05rem; margin-bottom: 1.6rem; max-width: 520px; }
.hs-content .hs-cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 1.1rem; display: flex; gap: .4rem; justify-content: center; z-index: 3; }
.hs-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; border: 0; padding: 0; transition: all .2s; }
.hs-dot.active { background: #fff; width: 26px; border-radius: 5px; }
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; line-height: 1; backdrop-filter: blur(3px); }
.hs-arrow:hover { background: rgba(255,255,255,.3); }
.hs-arrow.prev { left: 1rem; }
.hs-arrow.next { right: 1rem; }
@media (max-width: 760px) { .hs-content { padding: 3rem 0; } .hs-content h1 { font-size: 2rem; } .hs-slide { min-height: 380px; } .hs-arrow { display: none; } }

.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: .25rem; }
.section-head.center .sub { text-align: center; }

/* Category tiles hover */
.cat-tile img { transition: transform .35s ease; }
.cat-tile:hover img { transform: scale(1.07); }
.cat-tile .ov { display: flex; align-items: center; justify-content: space-between; }

/* Tabs */
.tab-btns { display: flex; gap: .4rem; flex-wrap: wrap; }
.tab-btn { padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: .85rem; cursor: pointer; color: var(--text); transition: all .15s; }
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-grid .product-card.hide { display: none; }

/* Collection band */
.collection-band { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.collection-card { position: relative; border-radius: 16px; overflow: hidden; min-height: 290px; display: flex; align-items: flex-end; background: linear-gradient(120deg, #0f172a, #334155); }
.collection-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .4s ease; }
.collection-card:hover img { transform: scale(1.05); }
.collection-card .cc-body { position: relative; z-index: 1; padding: 1.7rem; color: #fff; background: linear-gradient(transparent, rgba(15,23,42,.75)); width: 100%; }
.collection-card .cc-kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; opacity: .9; }
.collection-card h3 { font-size: 1.55rem; margin: .3rem 0 .4rem; color: #fff; }
.collection-card p { font-size: .9rem; opacity: .92; margin-bottom: 1rem; color: #e2e8f0; max-width: 380px; }
@media (max-width: 760px) { .collection-band { grid-template-columns: 1fr; } }

/* Triple promos */
.promo-triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.promo-triple .promo-tile { flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: 210px; }
.promo-triple .promo-tile > svg { position: absolute; right: 1rem; bottom: 1rem; width: 90px; height: 90px; opacity: .2; }
@media (max-width: 900px) { .promo-triple { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .promo-triple { grid-template-columns: 1fr; } }

/* Small stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-band .sb { text-align: center; padding: 1rem; }
.stat-band .sb b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--primary); }
.stat-band .sb span { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .stat-band { grid-template-columns: 1fr 1fr; } }

/* Social strip */
.social-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; }
.social-strip a { aspect-ratio: 1/1; border-radius: 12px; background: linear-gradient(135deg, var(--primary-soft), var(--surface-2)); display: flex; align-items: center; justify-content: center; color: var(--primary); border: 1px solid var(--line); }
.social-strip a:hover { background: var(--primary); color: #fff; }
@media (max-width: 640px) { .social-strip { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   Product grid density — 2 per row on phones
   ============================================================ */
.product-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }
@media (max-width: 480px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

@media (max-width: 820px) {
    .product-card .body { padding: .7rem .75rem; }
    .product-card .nm { font-size: .9rem; }
    .product-card .rating { font-size: .72rem; }
    .product-card .price { font-size: 1rem; }
    .product-card .sizes-mini span { padding: .1rem .35rem; font-size: .68rem; }
    .product-card .swatches { gap: .25rem; }
    .product-card .foot { gap: .35rem; }
    .product-card .foot .btn { padding: .3rem .55rem; font-size: .76rem; }
}
@media (max-width: 480px) {
    .product-card .cat { display: none; }
    .product-card .sizes-mini { display: none; }
}

/* ============================================================
   Ad slots (banners + manual ads)
   ============================================================ */
.ad-slot { display: grid; gap: .8rem; }
.ad-wrap { max-width: 1280px; margin: 1rem auto 0; padding: 0 1rem; }
.ad-wrap.ad-header { margin: .6rem auto 0; }
.ad-wrap.ad-footer { margin-bottom: 1.4rem; }
.ad-item { border-radius: 14px; overflow: hidden; }
.ad-item.ad-html { text-align: center; }
.ad-item .ad-media { position: relative; display: block; }
.ad-item .ad-media img { width: 100%; height: auto; display: block; border-radius: 14px; }
.ad-item .ad-copy {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 1.1rem 1.3rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, .74));
    color: #fff; display: flex; flex-direction: column; gap: .3rem;
    align-items: flex-start; border-radius: 0 0 14px 14px;
}
.ad-item .ad-copy strong { font-size: 1.15rem; }
.ad-item .ad-copy small { opacity: .9; }
.ad-item .ad-copy .btn { margin-top: .4rem; }
@media (max-width: 560px) { .ad-item .ad-copy h3, .ad-item .ad-copy strong { font-size: 1rem; } }

/* ============================================================
   Buy Now actions
   ============================================================ */
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pdp-actions .btn { width: 100%; }
.product-card .foot .card-buy { margin: 0; display: flex; }
.product-card .foot .card-buy .btn { white-space: nowrap; }
@media (max-width: 480px) { .pdp-actions { grid-template-columns: 1fr; } }

/* ============================================================
   Floating WhatsApp button (pinned to the left)
   ============================================================ */
.wa-float {
    position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 60;
    display: inline-flex; align-items: center; gap: .1rem;
    background: #25d366; color: #fff; text-decoration: none;
    padding: .62rem; border-radius: 999px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, .6); color: #fff; }
.wa-float .wa-ico { display: inline-flex; align-items: center; justify-content: center; }
.wa-float .wa-tip {
    max-width: 0; overflow: hidden; white-space: nowrap;
    font-size: .86rem; font-weight: 600; opacity: 0;
    transition: max-width .3s ease, opacity .3s ease, padding .3s ease;
}
.wa-float:hover .wa-tip { max-width: 240px; opacity: 1; padding-right: .6rem; }
@media (max-width: 560px) { .wa-float { left: .75rem; bottom: .75rem; } }

/* ============================================================
   ANIMATIONS  (all gated behind body[data-anim="on"] + admin toggles)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    body[data-anim="on"] *,
    body[data-anim="on"] *::before,
    body[data-anim="on"] *::after {
        animation: none !important;
        transition: none !important;
    }
}

@keyframes scitShoeSpin {
    0%   { transform: perspective(1100px) rotateY(-15deg) rotateX(2deg) scale(1.06); }
    100% { transform: perspective(1100px) rotateY(15deg) rotateX(2deg) scale(1.06); }
}
@keyframes scitShoeSpinSoft {
    0%   { transform: rotateY(-12deg) scale(1.06); }
    100% { transform: rotateY(12deg) scale(1.06); }
}
@keyframes scitFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}
@keyframes scitKenBurns {
    from { transform: scale(1) translateZ(0); }
    to   { transform: scale(1.09) translateZ(0); }
}
@keyframes scitReveal {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}

/* --- Product card hover lift + shadow --- */
body[data-anim="on"][data-anim-hover="1"] .product-card { transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
body[data-anim="on"][data-anim-hover="1"] .product-card:hover { transform: translateY(-8px); box-shadow: 0 24px 46px rgba(15, 23, 42, .16); }

/* --- Product media 3D stage --- */
body[data-anim="on"] .product-card .product-media { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
body[data-anim="on"][data-anim-tilt="1"] .product-card:hover .product-media { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(1.03); }

/* --- Auto 3D rotation of the shoe on hover --- */
body[data-anim="on"][data-anim-rotate="1"] .product-card .product-media img { transform-origin: 50% 55%; }
body[data-anim="on"][data-anim-rotate="1"] .product-card:hover .product-media img { animation: scitShoeSpinSoft var(--anim-spin, 6s) ease-in-out infinite alternate; }

/* --- Glossy shine sweep --- */
body[data-anim="on"][data-anim-glare="1"] .product-card .product-media::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .5) 47%, transparent 62%);
    transform: translateX(-130%); transition: transform .7s ease;
}
body[data-anim="on"][data-anim-glare="1"] .product-card:hover .product-media::after { transform: translateX(130%); }

/* --- Product detail gallery (always-on 3D rotation + container tilt) --- */
body[data-anim="on"] .pdp > div { perspective: 1200px; }
body[data-anim="on"] .gallery-main { transform-style: preserve-3d; transition: transform .45s cubic-bezier(.2, .7, .3, 1); will-change: transform; }
body[data-anim="on"][data-anim-rotate="1"] .gallery-main img { transform-origin: 50% 55%; animation: scitShoeSpin var(--anim-spin, 6s) ease-in-out infinite alternate; }
body[data-anim="on"][data-anim-tilt="1"] .gallery-main:hover { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* --- Floating idle motion --- */
body[data-anim="on"][data-anim-float="1"] .feature-item .fi-ico { animation: scitFloat 4s ease-in-out infinite; }

/* --- Hero Ken Burns --- */
body[data-anim="on"] .hs-slide.active .hs-media { animation: scitKenBurns 9s ease-out forwards; }

/* --- Interactive zooms --- */
body[data-anim="on"] .cat-tile { transition: transform .35s ease, box-shadow .35s ease; }
body[data-anim="on"] .cat-tile:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(15, 23, 42, .18); }
body[data-anim="on"] .cat-tile img { transition: transform .5s ease; }
body[data-anim="on"] .cat-tile:hover img { transform: scale(1.08); }
body[data-anim="on"] .collection-card { transition: transform .35s ease, box-shadow .35s ease; }
body[data-anim="on"] .collection-card:hover { transform: translateY(-6px); box-shadow: 0 20px 38px rgba(15, 23, 42, .2); }
body[data-anim="on"] .collection-card img { transition: transform .6s ease; }
body[data-anim="on"] .collection-card:hover img { transform: scale(1.06); }

/* --- Buttons micro-interaction --- */
body[data-anim="on"] .btn { transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
body[data-anim="on"] .btn:hover { transform: translateY(-2px); }

/* --- Scroll reveal --- */
body[data-anim="on"][data-anim-reveal="1"] .scit-reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .3, 1); will-change: opacity, transform; }
body[data-anim="on"][data-anim-reveal="1"] .scit-reveal.scit-in { opacity: 1; transform: none; }

