/* ==========================================================
   Klassy Shoez storefront — claymorphism theme
   Warm cream background, soft raised clay cards, pressed inputs
   and puffy rose buttons. Brand colours: navy, rose, gold.
   Scoped to body.shop-clay (investor pages are left untouched).
   ========================================================== */

body.shop-clay {
  --sc-bg: #f5eee8;
  --sc-surface: #fbf7f3;
  --sc-surface-2: #f2ebe4;
  --sc-ink: #1a1a2e;
  --sc-muted: #7a7184;
  --sc-line: rgba(26, 26, 46, .07);
  --sc-rose: #e94560;
  --sc-rose-deep: #c9304b;
  --sc-rose-soft: #fde2e7;
  --sc-gold: #c9a227;
  --sc-gold-soft: #f7ecc9;
  --sc-navy-soft: #e2e3ee;
  --sc-green: #1f9d6b;
  --sc-green-soft: #d9f2e6;

  --sc-radius: 26px;
  --sc-radius-sm: 18px;
  --sc-shadow:
    12px 12px 28px rgba(90, 60, 50, .13),
    -10px -10px 24px rgba(255, 255, 255, .9),
    inset 3px 3px 6px rgba(255, 255, 255, .75),
    inset -4px -4px 10px rgba(90, 60, 50, .05);
  --sc-shadow-sm:
    6px 6px 14px rgba(90, 60, 50, .12),
    -6px -6px 14px rgba(255, 255, 255, .88),
    inset 2px 2px 4px rgba(255, 255, 255, .7),
    inset -2px -2px 6px rgba(90, 60, 50, .05);
  --sc-pressed:
    inset 4px 4px 9px rgba(90, 60, 50, .12),
    inset -4px -4px 9px rgba(255, 255, 255, .9);

  background: var(--sc-bg);
  color: var(--sc-ink);
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}
body.shop-clay main.shop-main { padding: 1.25rem 0 3.5rem; min-height: 60vh; }
body.shop-clay h1, body.shop-clay h2, body.shop-clay h3, body.shop-clay h4, body.shop-clay h5 { color: var(--sc-ink); letter-spacing: -.015em; font-weight: 800; }
body.shop-clay .text-muted { color: var(--sc-muted) !important; }
body.shop-clay a { color: var(--sc-rose-deep); }
body.shop-clay .text-accent, body.shop-clay .price, body.shop-clay .price-current { color: var(--sc-rose) !important; }
body.shop-clay .min-w-0 { min-width: 0; }

/* ---------- Primitives ---------- */
.sc-card { background: var(--sc-surface); border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); border: 0; }
.sc-card-sm { background: var(--sc-surface); border-radius: var(--sc-radius-sm); box-shadow: var(--sc-shadow-sm); }
.sc-pressed { background: var(--sc-surface-2); border-radius: var(--sc-radius-sm); box-shadow: var(--sc-pressed); }
.sc-icon {
  width: 48px; height: 48px; flex: none; display: grid; place-items: center;
  border-radius: 17px; font-size: 1.3rem;
  box-shadow: 4px 4px 10px rgba(90,60,50,.14), inset 2px 2px 4px rgba(255,255,255,.6), inset -3px -3px 6px rgba(0,0,0,.06);
}
.sc-icon.sm { width: 38px; height: 38px; border-radius: 13px; font-size: 1.05rem; }
.tone-rose { background: var(--sc-rose-soft); color: var(--sc-rose); }
.tone-gold { background: var(--sc-gold-soft); color: #9c7b10; }
.tone-navy { background: var(--sc-navy-soft); color: var(--sc-ink); }
.tone-green { background: var(--sc-green-soft); color: var(--sc-green); }
.sc-pill {
  display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .75rem;
  border-radius: 999px; font-size: .74rem; font-weight: 800; line-height: 1.2;
  box-shadow: inset 1px 1px 2px rgba(255,255,255,.7), 2px 2px 6px rgba(90,60,50,.1);
}
.sc-eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sc-rose); }
.sc-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.sc-title h2 { font-size: clamp(1.3rem, 3.5vw, 1.75rem); margin: 0; }
.sc-title p { margin: .25rem 0 0; color: var(--sc-muted); font-size: .9rem; }

/* ---------- Bootstrap re-skin ---------- */
body.shop-clay .card, body.shop-clay .checkout-card, body.shop-clay .feature-box, body.shop-clay .filter.card {
  background: var(--sc-surface); border: 0 !important; border-radius: var(--sc-radius); box-shadow: var(--sc-shadow);
}
body.shop-clay .card-header { background: transparent !important; border-bottom: 1px solid var(--sc-line); }
body.shop-clay .bg-light { background: var(--sc-surface-2) !important; }
body.shop-clay .bg-cream { background: var(--sc-surface) !important; }
body.shop-clay .btn {
  border-radius: 16px; font-weight: 800; border: 0; padding: .65rem 1.2rem;
  box-shadow: 5px 5px 12px rgba(90,60,50,.15), -4px -4px 10px rgba(255,255,255,.85), inset 2px 2px 3px rgba(255,255,255,.3), inset -2px -2px 5px rgba(0,0,0,.08);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
body.shop-clay .btn-sm { border-radius: 12px; padding: .42rem .8rem; }
body.shop-clay .btn-lg { border-radius: 20px; padding: .9rem 1.5rem; }
body.shop-clay .btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
body.shop-clay .btn:active { transform: translateY(1px); box-shadow: var(--sc-pressed); }
body.shop-clay .btn-primary, body.shop-clay .btn-rose { background: linear-gradient(145deg, #f05c74, #d63a55); color: #fff; }
body.shop-clay .btn-dark { background: linear-gradient(145deg, #2c2c48, #1a1a2e); color: #fff; }
body.shop-clay .btn-light, body.shop-clay .btn-secondary, body.shop-clay [class*="btn-outline-"] { background: var(--sc-surface); color: var(--sc-ink); }
body.shop-clay [class*="btn-outline-"]:hover { background: #fff; color: var(--sc-rose-deep); }
body.shop-clay .btn-success { background: linear-gradient(145deg, #2bb57f, #1a8a5d); color: #fff; }
body.shop-clay .form-control, body.shop-clay .form-select {
  background-color: var(--sc-surface-2); border: 0; border-radius: 15px; min-height: 48px;
  box-shadow: var(--sc-pressed); color: var(--sc-ink);
}
body.shop-clay textarea.form-control { min-height: 90px; }
body.shop-clay .form-control:focus, body.shop-clay .form-select:focus { background-color: #fff; box-shadow: var(--sc-pressed), 0 0 0 3px rgba(233,69,96,.2); }
body.shop-clay .form-label { font-size: .82rem; font-weight: 800; color: var(--sc-muted); }
body.shop-clay .alert { border: 0; border-radius: var(--sc-radius-sm); box-shadow: var(--sc-shadow-sm); }
body.shop-clay .badge { border-radius: 999px; }
body.shop-clay .breadcrumb { font-size: .82rem; margin-bottom: 0; }
body.shop-clay .breadcrumb a { color: var(--sc-muted); }
body.shop-clay .accordion-item { background: var(--sc-surface); border: 0; border-radius: var(--sc-radius-sm) !important; box-shadow: var(--sc-shadow-sm); margin-bottom: .85rem; overflow: hidden; }
body.shop-clay .accordion-button { background: var(--sc-surface); font-weight: 700; color: var(--sc-ink); box-shadow: none; }
body.shop-clay .accordion-button:not(.collapsed) { background: var(--sc-rose-soft); color: var(--sc-rose-deep); }
body.shop-clay .hero { background: transparent; }

/* ---------- Top navigation ---------- */
.shop-nav {
  position: sticky; top: 0; z-index: 1030; padding: .7rem 0;
  background: rgba(245, 238, 232, .86);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.shop-nav .brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.15rem; color: var(--sc-ink); }
.shop-nav .brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: var(--sc-shadow-sm); }
.shop-nav .brand span { background: linear-gradient(135deg, #c9a227, #e94560); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.shop-links { display: flex; gap: .3rem; padding: .35rem; border-radius: 18px; }
.shop-links a { padding: .5rem .95rem; border-radius: 13px; font-weight: 700; font-size: .9rem; color: var(--sc-muted); }
.shop-links a:hover { color: var(--sc-ink); }
.shop-links a.active { background: var(--sc-surface); color: var(--sc-rose-deep); box-shadow: var(--sc-shadow-sm); }
.nav-bubble {
  position: relative; width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center;
  font-size: 1.2rem; color: var(--sc-ink); background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); border: 0;
}
.nav-bubble img { width: 100%; height: 100%; border-radius: 16px; object-fit: cover; }
.bag-count {
  position: absolute; top: -5px; right: -5px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 11px; background: var(--sc-rose); color: #fff; font-size: .7rem; font-weight: 800; line-height: 21px; text-align: center;
  box-shadow: 0 3px 8px rgba(233,69,96,.45);
}

/* ---------- Phone tab bar ---------- */
.shop-tabbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 1040;
  display: grid; grid-template-columns: repeat(4, 1fr); padding: .45rem; border-radius: 24px;
  background: rgba(251, 247, 243, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(90,60,50,.22), inset 2px 2px 4px rgba(255,255,255,.8);
}
.shop-tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .12rem; padding: .45rem .2rem; border-radius: 17px; font-size: .68rem; font-weight: 800; color: var(--sc-muted); }
.shop-tabbar i { font-size: 1.25rem; line-height: 1; }
.shop-tabbar a.active { color: var(--sc-rose-deep); background: var(--sc-rose-soft); box-shadow: inset 2px 2px 5px rgba(201,48,75,.12), inset -2px -2px 5px rgba(255,255,255,.7); }
.shop-tabbar .bag-count { top: 2px; right: calc(50% - 22px); }
@media (max-width: 991.98px) {
  body.shop-clay { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  body.shop-clay.has-buybar { padding-bottom: calc(170px + env(safe-area-inset-bottom)); }
  body.shop-clay .whatsapp-float { bottom: calc(96px + env(safe-area-inset-bottom)) !important; right: 16px !important; width: 52px !important; height: 52px !important; font-size: 1.5rem !important; }
  body.shop-clay #anabel-chatbot .chat-toggle { bottom: calc(160px + env(safe-area-inset-bottom)) !important; right: 16px !important; width: 52px !important; height: 52px !important; }
  body.shop-clay #anabel-chatbot .chat-window { bottom: calc(96px + env(safe-area-inset-bottom)) !important; right: 12px !important; max-width: calc(100vw - 24px) !important; }
  body.shop-clay.has-buybar .whatsapp-float, body.shop-clay.has-buybar #anabel-chatbot .chat-toggle { display: none !important; }
}
@media (max-width: 767.98px) {
  body.shop-clay { --sc-radius: 22px; }
  body.shop-clay .container { padding-left: 14px; padding-right: 14px; }
  body.shop-clay .form-control, body.shop-clay .form-select { font-size: 16px; }
}

/* ---------- Hero ---------- */
.sc-hero { position: relative; overflow: hidden; padding: clamp(1.5rem, 5vw, 3.25rem); border-radius: 32px; background: linear-gradient(140deg, #fff6f2 0%, #fde2e7 55%, #f7ecc9 100%); box-shadow: var(--sc-shadow); }
.sc-hero::before { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.85), rgba(255,255,255,0) 70%); }
.sc-hero > * { position: relative; }
.sc-hero h1 { font-size: clamp(2rem, 6.5vw, 3.4rem); line-height: 1.05; margin: .6rem 0 1rem; }
.sc-hero h1 em { font-style: normal; color: var(--sc-rose); }
.sc-hero .lead { color: #5d5468; font-size: clamp(.98rem, 2.5vw, 1.12rem); max-width: 520px; }
.hero-shoe { position: relative; aspect-ratio: 1; max-width: 430px; margin: 0 auto; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; overflow: hidden; box-shadow: 18px 18px 40px rgba(201,48,75,.22), -12px -12px 30px rgba(255,255,255,.9), inset 6px 6px 14px rgba(255,255,255,.4); }
.hero-shoe img { width: 100%; height: 100%; object-fit: cover; }
/* Homepage slideshow: stacked photos that cross-fade */
.hero-shoe .hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .9s ease, transform 4.5s ease; }
.hero-shoe .hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-dots { display: flex; justify-content: center; gap: .45rem; margin-top: 1rem; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: rgba(201,48,75,.25); transition: width .3s ease, background .3s ease; }
.hero-dots button.is-active { width: 26px; background: var(--sc-rose); }
#heroChip { transition: opacity .3s ease; }
@media (prefers-reduced-motion: reduce) { .hero-shoe .hero-slide { transition: none; transform: none; } }
.hero-chip { position: absolute; padding: .6rem .85rem; border-radius: 18px; background: rgba(251,247,243,.95); box-shadow: var(--sc-shadow-sm); font-size: .8rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.trust-row .sc-card-sm { padding: 1rem; display: flex; align-items: center; gap: .8rem; }
.trust-row strong { display: block; font-size: .9rem; }
.trust-row small { color: var(--sc-muted); font-size: .76rem; }
@media (max-width: 767.98px) { .trust-row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; } .trust-row .sc-card-sm { padding: .8rem; gap: .6rem; } }

/* Category chips (horizontal scroll on phones) */
.chip-row { display: flex; gap: .55rem; overflow-x: auto; scrollbar-width: none; padding: .4rem .2rem 1rem; margin: 0 -.2rem; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-row a, .chip-row button {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 16px; border: 0;
  font-weight: 800; font-size: .86rem; color: var(--sc-ink); background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); white-space: nowrap;
}
.chip-row a.active, .chip-row button.active { background: linear-gradient(145deg, #2c2c48, #1a1a2e); color: #fff; }

/* ---------- Product cards ---------- */
.p-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: .6rem; background: var(--sc-surface); border-radius: var(--sc-radius); box-shadow: var(--sc-shadow); transition: transform .2s ease; }
.p-card:hover { transform: translateY(-4px); }
.p-card .p-media { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--sc-surface-2); box-shadow: var(--sc-pressed); }
.p-card .p-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.p-card:hover .p-media img { transform: scale(1.02); }
.p-card .p-tags { position: absolute; top: .55rem; left: .55rem; right: .55rem; display: flex; justify-content: space-between; pointer-events: none; }
.p-card .p-body { padding: .75rem .4rem .3rem; display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.p-card .p-cat { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sc-muted); }
.p-card .p-name { font-weight: 800; font-size: .95rem; line-height: 1.25; color: var(--sc-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-card .p-price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; margin-top: auto; padding-top: .35rem; }
.p-card .p-price strong { font-size: 1.05rem; color: var(--sc-rose-deep); }
.p-card .p-price s { font-size: .78rem; color: var(--sc-muted); }
.p-card .p-sizes { font-size: .72rem; color: var(--sc-muted); }
.p-card .p-add {
  position: absolute; right: .9rem; bottom: .9rem; width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.15rem; color: #fff; background: linear-gradient(145deg, #f05c74, #d63a55);
  box-shadow: 5px 5px 12px rgba(201,48,75,.3), inset 2px 2px 4px rgba(255,255,255,.3), inset -2px -2px 5px rgba(0,0,0,.12);
}
.p-card .p-add:hover { color: #fff; transform: scale(1.06); }
.p-card .p-body { padding-right: 3.3rem; }
@media (max-width: 575.98px) { .p-card { padding: .45rem; } .p-card .p-name { font-size: .86rem; } .p-card .p-add { width: 38px; height: 38px; border-radius: 13px; right: .7rem; bottom: .7rem; } .p-card .p-body { padding-right: 2.8rem; } }
.sold-out .p-media img { filter: grayscale(.8); opacity: .7; }

/* ---------- Product page ---------- */
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 30px; overflow: hidden; background: var(--sc-surface-2); box-shadow: var(--sc-shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .carousel, .gallery-main .carousel-inner, .gallery-main .carousel-item { height: 100%; }
.gallery-thumbs { display: flex; gap: .6rem; overflow-x: auto; padding: 1rem .2rem .4rem; scrollbar-width: none; }
.gallery-thumbs button { flex: none; width: 66px; height: 66px; padding: 0; border: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--sc-shadow-sm); opacity: .65; }
.gallery-thumbs button.active { opacity: 1; outline: 3px solid var(--sc-rose); outline-offset: 2px; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.size-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: .6rem; }
.size-grid input { position: absolute; opacity: 0; pointer-events: none; }
.size-grid label {
  display: grid; place-items: center; height: 52px; border-radius: 16px; cursor: pointer; font-weight: 800;
  background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); transition: transform .12s ease;
}
.size-grid input:checked + label { background: linear-gradient(145deg, #2c2c48, #1a1a2e); color: #fff; box-shadow: var(--sc-pressed); }
.size-grid input:focus-visible + label { outline: 3px solid var(--sc-rose); outline-offset: 2px; }
.size-grid.needs-size label { box-shadow: var(--sc-shadow-sm), 0 0 0 2px var(--sc-rose); }
.size-grid.needs-size { animation: sc-shake .45s ease; }
.size-error { margin: -.6rem 0 1.2rem; padding: .55rem .8rem; border-radius: 14px; background: var(--sc-rose-soft); color: var(--sc-rose-deep); font-weight: 800; font-size: .88rem; }
@keyframes sc-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .size-grid.needs-size { animation: none; } }
.qty-stepper { display: inline-flex; align-items: center; gap: .25rem; padding: .3rem; border-radius: 18px; }
.qty-stepper button { width: 40px; height: 40px; border: 0; border-radius: 13px; background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); font-size: 1.1rem; color: var(--sc-ink); }
.qty-stepper button:disabled { opacity: .4; }
.qty-stepper input { width: 42px; text-align: center; border: 0; background: transparent; font-weight: 800; font-size: 1rem; color: var(--sc-ink); -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper.sm button { width: 34px; height: 34px; border-radius: 11px; font-size: .95rem; }
.qty-stepper.sm input { width: 32px; }
.buy-bar { display: flex; gap: .7rem; }
@media (max-width: 991.98px) {
  .buy-bar.is-sticky {
    position: fixed; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 1035;
    padding: .55rem; border-radius: 22px; background: rgba(251,247,243,.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(90,60,50,.22);
  }
  .buy-bar.is-sticky .btn { padding: .8rem .9rem; }
}

/* "Added to bag" confirmation sheet */
.added-sheet { position: fixed; inset: 0; z-index: 1065; display: flex; align-items: flex-end; justify-content: center; background: rgba(26,26,46,.35); animation: sc-fade .2s ease-out; }
.added-sheet .sheet { width: min(100%, 480px); margin: 0 auto; padding: 1.4rem; border-radius: 30px 30px 0 0; background: var(--sc-surface); box-shadow: 0 -10px 40px rgba(26,26,46,.25); animation: sc-up .28s ease-out; }
@media (min-width: 576px) { .added-sheet { align-items: center; } .added-sheet .sheet { border-radius: 30px; } }
@keyframes sc-fade { from { background: rgba(26,26,46,0); } }
@keyframes sc-up { from { transform: translateY(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .added-sheet, .added-sheet .sheet { animation: none; } .p-card, .p-card .p-media img { transition: none; } }

/* ---------- Cart & checkout ---------- */
.steps { display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 800; color: var(--sc-muted); }
.steps span { display: inline-flex; align-items: center; gap: .4rem; }
.steps b { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); font-size: .75rem; }
.steps .done b { background: var(--sc-green-soft); color: var(--sc-green); }
.steps .now { color: var(--sc-ink); }
.steps .now b { background: linear-gradient(145deg, #f05c74, #d63a55); color: #fff; }
.steps i { opacity: .4; }
.bag-line { display: flex; gap: .9rem; padding: .8rem; align-items: center; }
.bag-line + .bag-line { margin-top: .9rem; }
.bag-line .thumb { width: 92px; height: 92px; flex: none; border-radius: 18px; overflow: hidden; box-shadow: var(--sc-pressed); }
.bag-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-line .remove { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); color: var(--sc-muted); }
.bag-line .remove:hover { color: var(--sc-rose); }
@media (max-width: 575.98px) { .bag-line { gap: .7rem; padding: .65rem; } .bag-line .thumb { width: 76px; height: 76px; border-radius: 15px; } }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .93rem; }
.summary-row.total { font-size: 1.15rem; font-weight: 800; padding-top: .8rem; margin-top: .4rem; border-top: 1px dashed rgba(26,26,46,.15); }
.summary-row.total span:last-child { color: var(--sc-rose-deep); }
.zone-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
@media (max-width: 575.98px) { .zone-options { grid-template-columns: 1fr; } .zone-options label { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; } .zone-options label .fee { margin: 0 0 0 auto; } }
.zone-options input { position: absolute; opacity: 0; pointer-events: none; }
.zone-options label { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: .95rem 1rem; border-radius: 18px; cursor: pointer; background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); }
.zone-options label strong { font-size: .95rem; }
.zone-options label small { color: var(--sc-muted); font-size: .76rem; }
.zone-options label .fee { font-weight: 800; color: var(--sc-rose-deep); margin-top: .2rem; }
.zone-options input:checked + label { box-shadow: var(--sc-pressed), 0 0 0 2px var(--sc-rose); background: var(--sc-rose-soft); }
.zone-options input:focus-visible + label { outline: 3px solid var(--sc-rose); outline-offset: 2px; }
@media (max-width: 380px) { .zone-options { grid-template-columns: 1fr; } }
.pay-logos { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.pay-logos span { padding: .3rem .6rem; border-radius: 10px; font-size: .7rem; font-weight: 800; background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); color: var(--sc-muted); }
.google-signin-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.2rem; border: 0; border-radius: 15px; background: #fff; font-weight: 700; color: #3c4043; box-shadow: var(--sc-shadow-sm); }
.google-signin-btn:disabled { opacity: .6; }

/* Success */
.success-badge { width: 92px; height: 92px; margin: 0 auto; border-radius: 32px; display: grid; place-items: center; font-size: 2.6rem; color: #fff; background: linear-gradient(145deg, #2bb57f, #1a8a5d); box-shadow: 12px 12px 26px rgba(26,138,93,.3), -8px -8px 20px rgba(255,255,255,.9), inset 4px 4px 8px rgba(255,255,255,.3); }

/* ---------- Footer ---------- */
body.shop-clay .site-footer { background: #1a1a2e; color: rgba(255,255,255,.72); border-radius: 32px 32px 0 0; margin-top: 2.5rem; padding: 2.5rem 0 1.5rem; font-size: .92rem; }
body.shop-clay .site-footer .container { display: grid; gap: 2rem; }
body.shop-clay .site-footer h2 { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #f7c04f; margin: 0 0 .8rem; }
body.shop-clay .site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
body.shop-clay .site-footer a:hover { color: #fff; }
body.shop-clay .footer-brand span { font-weight: 800; font-size: 1.2rem; color: #fff; }
body.shop-clay .footer-brand img { border-radius: 50%; background: #fff; }
body.shop-clay .footer-brand p { margin: .7rem 0 1rem; max-width: 360px; line-height: 1.55; }
body.shop-clay .site-footer .social-links { display: flex; gap: .6rem; }
body.shop-clay .site-footer .social-links a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: rgba(255,255,255,.08); font-size: 1.1rem; box-shadow: inset 1px 1px 2px rgba(255,255,255,.12); }
body.shop-clay .footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
body.shop-clay .footer-cols a, body.shop-clay .footer-cols span { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; }
body.shop-clay .footer-contact i { color: #f7c04f; }
body.shop-clay .footer-pay .payment-icons { display: flex; flex-wrap: wrap; gap: .5rem; }
.payment-logo { width: 54px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 4px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.payment-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
body.shop-clay .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
body.shop-clay .footer-bottom nav { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
@media (min-width: 992px) {
  body.shop-clay .site-footer .container { grid-template-columns: 1.1fr 2fr; align-items: start; }
  .footer-pay { grid-column: 1; }
  .footer-bottom { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
  body.shop-clay .site-footer { padding: 2rem 0 1rem; border-radius: 26px 26px 0 0; }
  body.shop-clay .site-footer .container { gap: 1.6rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
  .footer-contact { grid-column: 1 / -1; }
  /* keep the last lines clear of the floating chat and WhatsApp buttons */
  .footer-bottom { flex-direction: column; padding-right: 64px; }
}

/* Neutralise the old storefront footer rules (style.css) for the new footer */
body.shop-clay footer.site-footer { text-align: left; }
body.shop-clay footer.site-footer a { display: flex; padding: .3rem 0; }
body.shop-clay footer.site-footer .footer-brand > a, body.shop-clay footer.site-footer .footer-bottom a { padding: 0; }
body.shop-clay footer.site-footer .footer-bottom { margin-top: 0; }
body.shop-clay footer.site-footer .social-links a { display: grid; padding: 0; margin: 0; border-radius: 14px; }
body.shop-clay footer.site-footer .payment-icons { justify-content: flex-start; }
body.shop-clay footer.site-footer .payment-icons span { background: none; padding: 0; }

/* Chatbot recoloured to the brand */
body.shop-clay #anabel-chatbot .chat-toggle, body.shop-clay #anabel-chatbot .chat-header, body.shop-clay #anabel-chatbot .message.user, body.shop-clay #anabel-chatbot .chat-input button { background: linear-gradient(145deg, #f05c74, #c9304b) !important; }
body.shop-clay #anabel-chatbot .chat-toggle { box-shadow: 6px 6px 16px rgba(201,48,75,.35), inset 2px 2px 4px rgba(255,255,255,.3) !important; }
body.shop-clay #anabel-chatbot .chat-window { border-radius: 26px; background: var(--sc-surface); }
body.shop-clay #anabel-chatbot .chat-messages, body.shop-clay #anabel-chatbot .quick-actions { background: var(--sc-surface-2); }
body.shop-clay #anabel-chatbot .message.typing span { background: var(--sc-rose); }
body.shop-clay #anabel-chatbot .chat-input input:focus { border-color: var(--sc-rose); }

/* ---------- Legal pages ---------- */
.legal-doc { max-width: 820px; line-height: 1.7; }
.legal-doc h2 { margin-bottom: .8rem; }
.legal-doc ul { padding-left: 1.2rem; margin-bottom: 0; }
.legal-doc li + li { margin-top: .45rem; }
.legal-doc .sc-pressed a { font-weight: 700; }
.legal-facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.2rem; font-size: .93rem; }
.legal-facts dt { color: var(--sc-muted); font-weight: 700; }
.legal-facts dd { margin: 0; }
@media (max-width: 575.98px) { .legal-facts { grid-template-columns: 1fr; gap: 0; } .legal-facts dd { margin-bottom: .5rem; } }
.legal-table { width: 100%; font-size: .88rem; border-collapse: separate; border-spacing: 0; }
.legal-table th, .legal-table td { padding: .6rem .7rem; vertical-align: top; border-bottom: 1px solid var(--sc-line); }
.legal-table th { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--sc-muted); }
@media (max-width: 767.98px) {
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table tr { padding: .6rem 0; border-bottom: 1px solid var(--sc-line); }
  .legal-table td { border: 0; padding: .15rem 0; }
  .legal-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 800; color: var(--sc-muted); }
}

/* Cookie notice */
.cookie-note { position: fixed; left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 1050; max-width: 520px; margin: 0 auto; padding: .55rem .6rem .55rem .9rem; border-radius: 18px; background: var(--sc-surface); box-shadow: 0 14px 36px rgba(26,26,46,.25); font-size: .86rem; }
@media (min-width: 992px) { .cookie-note { bottom: 24px; left: 24px; right: auto; } }
@media (max-width: 991.98px) { body.has-buybar .cookie-note { bottom: calc(158px + env(safe-area-inset-bottom)); } }

/* Shown by the service worker when a saved copy of the page is displayed */
.offline-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 1100; padding: .5rem 1rem; text-align: center; font-size: .82rem; font-weight: 700; color: #3d2a00; background: #f7c04f; box-shadow: 0 4px 12px rgba(0,0,0,.12); }

/* Back button (all shop pages except home) */
body.shop-clay .back-link { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .9rem; padding: .5rem .95rem .5rem .75rem; border-radius: 14px; font-weight: 800; font-size: .88rem; color: var(--sc-ink); background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); }
body.shop-clay .back-link:hover { color: var(--sc-rose-deep); }
body.shop-clay .back-link i { font-size: 1.05rem; }

/* Small badges shown beside the category on product cards */
.p-card .p-badge { display: inline-block; padding: .12rem .45rem; border-radius: 999px; font-size: .62rem; letter-spacing: .02em; text-transform: none; }

/* ---------- Info pages (about, contact, FAQ, delivery) ---------- */
.page-hero { padding: clamp(1.5rem, 4.5vw, 2.75rem); margin-bottom: 1.75rem; }
.page-hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.08; margin: .6rem 0 .75rem; }
.page-hero h1 em { font-style: normal; color: var(--sc-rose); }
.page-hero p { color: #5d5468; max-width: 560px; margin: 0; }
.info-card { padding: 1.35rem; height: 100%; }
.info-card h2, .info-card h3 { font-size: 1.05rem; margin: .85rem 0 .35rem; }
.info-card p { color: var(--sc-muted); font-size: .92rem; margin: 0; }
.info-card .action { display: inline-flex; align-items: center; gap: .35rem; margin-top: .8rem; font-weight: 800; font-size: .9rem; }
.faq-group + .faq-group { margin-top: 1.75rem; }
.faq-group h2 { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-rose-deep); margin-bottom: .8rem; }
.faq-item { background: var(--sc-surface); border-radius: var(--sc-radius-sm); box-shadow: var(--sc-shadow-sm); }
.faq-item + .faq-item { margin-top: .7rem; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; font-weight: 800; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; transition: transform .2s ease; color: var(--sc-rose); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item .answer { padding: 0 1.15rem 1.1rem; color: #5d5468; font-size: .94rem; line-height: 1.65; }
.faq-item .answer ul { padding-left: 1.1rem; margin: .4rem 0 0; }
.region-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.region-grid span { padding: .45rem .8rem; border-radius: 12px; background: var(--sc-surface); box-shadow: var(--sc-shadow-sm); font-size: .84rem; font-weight: 700; }
.zone-card { padding: 1.5rem; height: 100%; }
.zone-card .fee { font-size: 2.2rem; font-weight: 800; color: var(--sc-rose-deep); line-height: 1; margin: .6rem 0 .3rem; }
.zone-card ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.zone-card li { display: flex; gap: .5rem; padding: .3rem 0; font-size: .92rem; }
.zone-card li i { color: var(--sc-green); }
.help-band { padding: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: linear-gradient(150deg, #2c2c48, #1a1a2e); color: rgba(255,255,255,.85); }
body.shop-clay .help-band h2 { color: #fff; font-size: 1.25rem; margin: 0 0 .25rem; }
.help-band p { margin: 0; color: rgba(255,255,255,.7); }
.step { position: relative; padding: 1.3rem 1.3rem 1.3rem 4.4rem; height: 100%; }
.step .num { position: absolute; left: 1.2rem; top: 1.25rem; width: 2.4rem; height: 2.4rem; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(145deg, #f05c74, #d63a55); box-shadow: 4px 4px 10px rgba(201,48,75,.3); }
.step h3 { font-size: 1rem; margin: 0 0 .3rem; }
.step p { font-size: .88rem; color: var(--sc-muted); margin: 0; }

/* ---------- Product story ("About this shoe") ---------- */
.shoe-story { padding: clamp(1.4rem, 4vw, 2.6rem); background: linear-gradient(160deg, #fffaf6 0%, #fbf3ee 100%); position: relative; overflow: hidden; }
.shoe-story::before { content: ''; position: absolute; top: 0; left: clamp(1.4rem, 4vw, 2.6rem); right: clamp(1.4rem, 4vw, 2.6rem); height: 2px; background: linear-gradient(90deg, transparent, #c9a227 20%, #e8cf7a 50%, #c9a227 80%, transparent); }
.story-lead { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(1.45rem, 3.2vw, 2rem); line-height: 1.3; letter-spacing: 0; color: var(--sc-ink); margin: .2rem 0 1rem; }
.story-more { color: #5d5468; line-height: 1.7; margin-bottom: 1.2rem; }
.story-label { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #9c7b10; margin-bottom: .55rem; }
.story-chip { padding: .38rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--sc-ink); background: #fff; border: 1px solid rgba(201,162,39,.35); }
.story-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; margin: 0; }
.story-specs > div { padding: .85rem 0; border-bottom: 1px solid rgba(201,162,39,.22); }
.story-specs > div.wide { grid-column: 1 / -1; }
.story-specs dt { display: flex; align-items: center; gap: .45rem; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-muted); margin-bottom: .25rem; }
.story-specs dt i { color: #c9a227; font-size: .9rem; }
.story-specs dd { margin: 0; font-weight: 700; color: var(--sc-ink); }
.story-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; padding-top: 1.4rem; border-top: 1px solid rgba(201,162,39,.22); }
.story-notes > div { display: flex; gap: .75rem; align-items: flex-start; }
.story-notes i { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: #9c7b10; background: var(--sc-gold-soft); box-shadow: var(--sc-shadow-sm); }
.story-notes strong { display: block; font-size: .9rem; }
.story-notes span { font-size: .84rem; color: var(--sc-muted); line-height: 1.5; }
@media (max-width: 767.98px) {
  .story-specs { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .story-notes { grid-template-columns: 1fr; gap: .9rem; }
}

/* ---------- Home hero on phones: shoe first, compact copy ---------- */
@media (max-width: 991.98px) {
  .home-hero { padding: 1rem 1rem 1.4rem; }
  .home-hero .row { flex-direction: column-reverse; --bs-gutter-y: .9rem; }
  .home-hero .hero-media .position-relative { padding: 0 !important; }
  .home-hero .hero-copy > .sc-pill { display: none; }
  .home-hero .hero-dots { margin-top: .55rem; }
  .home-hero .hero-dots { margin-top: .7rem; }
  .home-hero h1 { font-size: clamp(1.75rem, 8vw, 2.3rem); margin: .55rem 0 .6rem; }
  .home-hero .lead { display: none; }
  .home-hero h1 { margin-bottom: 1rem !important; }
  .home-hero { padding: .8rem .8rem 1.1rem; }
  .home-hero .hero-actions { display: grid !important; grid-template-columns: 1.3fr 1fr; }
  .home-hero .hero-actions .btn { padding: .8rem .6rem; font-size: 1rem; }
}

body.shop-clay .whatsapp-float, body.shop-clay #anabel-chatbot .chat-toggle { transition: opacity .25s ease, transform .25s ease; }
body.shop-clay.floats-hidden .whatsapp-float, body.shop-clay.floats-hidden #anabel-chatbot .chat-toggle { opacity: 0; transform: scale(.6); pointer-events: none; }

/* ---------- Hero: boutique arch frame ---------- */
/* Phones and tablets use the arch; desktop keeps the organic shape. */
@media (max-width: 991.98px) {
  .home-hero .hero-shoe {
    aspect-ratio: 4 / 5; max-width: 380px; border-radius: 999px 999px 28px 28px;
    border: 6px solid #fbf7f3;
    box-shadow: 0 0 0 1px rgba(201,162,39,.45), 18px 22px 44px rgba(120,60,50,.22), -10px -10px 26px rgba(255,255,255,.85);
  }
  .home-hero .hero-shoe::after {
    content: ''; position: absolute; inset: 10px; z-index: 2; pointer-events: none;
    border-radius: 999px 999px 20px 20px; border: 1px solid rgba(255,255,255,.75);
    box-shadow: inset 0 0 0 1px rgba(201,162,39,.35);
  }
  .home-hero .hero-shoe .hero-slide { transform: scale(1.06); }
  .home-hero .hero-shoe .hero-slide.is-active { transform: scale(1); }
}
.hero-caption { display: flex; flex-direction: column; align-items: center; gap: .15rem; margin-top: 1rem; text-align: center; }
.hero-caption:hover { color: inherit; }
.hero-caption-rule { width: 54px; height: 1px; margin-bottom: .45rem; background: linear-gradient(90deg, transparent, #c9a227, transparent); }
.hero-caption-name { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 500; font-size: 1.35rem; line-height: 1.2; color: var(--sc-ink); max-width: 340px; }
.hero-caption-price { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #9c7b10; }
#heroChip { transition: opacity .3s ease; }
@media (max-width: 991.98px) {
  .home-hero .hero-shoe { width: min(56vw, 34vh, 250px); height: auto; aspect-ratio: 4 / 5; border-width: 4px; }
  .home-hero .hero-dots { margin-top: .45rem; }
  .home-hero .row { --bs-gutter-y: .6rem; }
  .hero-caption { margin-top: .7rem; }
  .hero-caption-name { font-size: 1.15rem; }
  .hero-caption-price { font-size: .7rem; }
}

/* Filter button sits in the search row */
.filter-btn { flex: none; min-width: 48px; }
.filter-btn .bag-count { top: -6px; right: -6px; }

/* Order on WhatsApp */
body.shop-clay .btn-whatsapp { background: linear-gradient(145deg, #2fd27a, #1aa85a); color: #fff; }
body.shop-clay .btn-whatsapp:hover { color: #fff; }
.wa-note { margin: .45rem 0 0; font-size: .78rem; color: var(--sc-muted); text-align: center; }
.wa-alt { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .7rem .9rem; border-radius: 16px; background: #e8f8ee; font-size: .85rem; font-weight: 700; color: #146c3c; }
.buy-bar .wa-mini { flex: none; width: 52px; padding-left: 0; padding-right: 0; font-size: 1.3rem; }
.zone-options label .zone-note { display: block; width: 100%; margin-top: .25rem; font-size: .72rem; line-height: 1.35; color: var(--sc-muted); }
