:root {
  --bg: #fffaf4;
  --surface: #ffffff;
  --ink: #1b1b1f;
  --muted: #62626b;
  --line: #ece4d9;
  --brand: #e85d2a;
  --brand-dark: #c4461a;
  --accent: #0f7b4f;
  --soft: #fff0e6;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(30, 20, 10, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Outfit", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: 72px 0; }

.topbar { background: var(--ink); color: #fff; text-align: center; font-size: .85rem; padding: 8px 16px; }

.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 250, 244, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn, .menu-btn, .icon-btn { background: none; border: 0; cursor: pointer; color: var(--ink); font: inherit; }
.cart-btn { position: relative; padding: 8px; }
.cart-count { position: absolute; top: 0; right: -2px; background: var(--brand); color: #fff; font-size: .7rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.menu-btn { display: none; font-size: 1.5rem; padding: 4px 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: 600 1rem "Outfit", sans-serif; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: .2s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }

.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
.eyebrow { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.hero h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); font-weight: 800; }
.hero h1 span { color: var(--brand); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--accent); font-weight: 600; }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-circle { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffb38a, var(--brand)); }
.hero-shoe { position: relative; width: 92%; transform: rotate(-14deg); z-index: 1; filter: drop-shadow(0 30px 25px rgba(0,0,0,.25)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: rotate(-10deg) translateY(-14px); } }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.search-wrap { display: flex; gap: 8px; flex-wrap: wrap; }
.search-wrap input, .search-wrap select { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; background: var(--surface); min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 8px 18px; border-radius: 999px; font: 600 .95rem "Outfit", sans-serif; cursor: pointer; }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card-img { aspect-ratio: 4/3; display: grid; place-items: center; position: relative; cursor: pointer; padding: 18px; }
.card-img svg { width: 88%; transform: rotate(-8deg); filter: drop-shadow(0 12px 10px rgba(0,0,0,.18)); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.badge.sale { background: var(--brand); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tag { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.card h3 { font-size: 1.1rem; margin: 0; }
.price { font-weight: 800; font-size: 1.15rem; margin: 4px 0 12px; }
.price s { color: var(--muted); font-weight: 400; font-size: .9rem; margin-left: 6px; }
.card .btn { margin-top: auto; padding: 10px 18px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.perks { background: var(--ink); color: #fff; padding: 48px 0; }
.perks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.perks span { font-size: 1.8rem; }
.perks h3 { margin: 8px 0 4px; font-size: 1.1rem; }
.perks p { margin: 0; color: #c9c9d1; font-size: .95rem; }

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.about p { color: var(--muted); font-size: 1.05rem; }
.stats { display: grid; gap: 14px; }
.stats div { background: var(--soft); border-radius: var(--radius); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; }
.stats strong { font-size: 1.8rem; color: var(--brand); }
.stats span { color: var(--muted); font-weight: 600; }

.visit { background: var(--soft); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: stretch; }
.address-card { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.addr-big { font-size: 1.5rem; font-weight: 800; margin: 0 0 4px; }
.addr-big span { color: var(--brand); }
.address-card h4 { margin: 20px 0 8px; }
.hours { list-style: none; padding: 0; margin: 0 0 24px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 380px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; display: grid; gap: 12px; font-size: 1.05rem; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--brand); }
.contact-form { background: var(--surface); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
input, textarea, select { font: inherit; }
.contact-form input, .contact-form textarea, .checkout input, .checkout select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; }

.footer { background: var(--ink); color: #c9c9d1; padding: 24px 0; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer p { margin: 0; }
.footer strong { color: #fff; }

.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 20; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); z-index: 50; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-btn { font-size: 1.2rem; padding: 6px 10px; border-radius: 8px; }
.icon-btn:hover { background: var(--soft); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 64px; height: 64px; border-radius: 10px; display: grid; place-items: center; padding: 6px; }
.cart-thumb svg { width: 100%; }
.cart-item h4 { margin: 0; font-size: .95rem; }
.cart-item small { color: var(--muted); }
.qty { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .8rem; text-decoration: underline; }
.cart-empty { text-align: center; color: var(--muted); padding: 48px 0; }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px 20px; }
.totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.totals .grand { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.checkout { display: grid; gap: 10px; margin-top: 14px; }
.pay-note { margin: 0; font-size: .82rem; color: var(--muted); text-align: center; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { position: relative; background: var(--surface); border-radius: 20px; max-width: 820px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; max-height: calc(100vh - 32px); overflow-y: auto; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 1; background: #fff; }
.modal-img { display: grid; place-items: center; padding: 28px; min-height: 260px; }
.modal-img svg { width: 100%; transform: rotate(-10deg); filter: drop-shadow(0 18px 14px rgba(0,0,0,.2)); }
.modal-info { padding: 32px 28px; }
.modal-info #modalDesc { color: var(--muted); }
.label { font-weight: 700; margin: 16px 0 8px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sizes button { width: 46px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font: 600 .95rem "Outfit", sans-serif; cursor: pointer; }
.sizes button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-error { color: #c62828; margin: -8px 0 12px; font-size: .9rem; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 14px; z-index: 70; transition: transform .3s; font-weight: 600; width: max-content; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .hero-inner, .about-grid, .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; margin-inline: auto; width: 100%; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-top: 1px solid var(--line); }
  .modal-card { grid-template-columns: 1fr; }
  .modal-img { min-height: 200px; padding: 20px 40px; }
  .section { padding: 56px 0; }
  .search-wrap { width: 100%; }
  .search-wrap input { flex: 1; }
}
@media (max-width: 480px) {
  .perks-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: .98rem; }
  .price { font-size: 1rem; }
  .card .btn { padding: 9px 10px; font-size: .9rem; }
}

/* Product photos (drawing shows only if the photo fails to load) */
.media { position: relative; overflow: hidden; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media:not(.no-photo) > svg { visibility: hidden; }
.media.no-photo > img { display: none; }
.card-img .badge { z-index: 1; }
.hero-shoe.media { aspect-ratio: 1; width: 78%; border-radius: 50%; transform: none; animation: none; border: 8px solid #fff; }
.hero-shoe.media.no-photo { border: 0; border-radius: 0; overflow: visible; transform: rotate(-14deg); animation: float 5s ease-in-out infinite; aspect-ratio: auto; width: 92%; }
