/* ==========================================================================
   King Ballack Stores — light retail theme
   ========================================================================== */
:root {
    --bg: #FFFFFF;
    --surface: #FFFFFF;
    --tile: #F4F1EA;           /* product photo tile (matches baked photo mat) */
    --tile-2: #F7F5F1;
    --line: #E8E6E1;
    --line-2: #D8D5CE;
    --text: #17181B;
    --muted: #6B7280;
    --muted-2: #9AA0A8;
    --accent: #F25822;         /* brand orange */
    --accent-dark: #D4471A;
    --teal: #12B5A0;
    --navy: #2E3A46;
    --red: #E8382F;
    --green: #22C55E;
    --radius: 10px;
    --radius-sm: 8px;
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
    background: var(--bg); color: var(--text);
    font-family: var(--font-body); font-size: 15px; line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; min-width: 0; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 480px) { .wrap { padding: 0 24px; } }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.brand { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; border-radius: 9px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.1; letter-spacing: -.02em; }
.brand__text em { display: block; font-style: normal; font-family: var(--font-mono); font-weight: 400; font-size: 9.5px; letter-spacing: .18em; color: var(--muted); text-transform: uppercase; }

.main-nav { display: none; align-items: center; gap: 2px; }
.main-nav a { padding: 9px 13px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #33363B; transition: background .15s, color .15s; white-space: nowrap; }
.main-nav a:hover { background: #F4F2EE; }
.main-nav a.is-active { color: var(--accent); }

/* "More" dropdown */
.nav-more { position: relative; }
.nav-more__btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; font-weight: 500; }
.nav-more__btn:hover { background: #F4F2EE; }
.nav-more__menu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -16px rgba(0,0,0,.22);
    padding: 6px; display: none; z-index: 50;
}
.nav-more__menu.is-open { display: block; }
.nav-more__menu a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; color: #33363B; }
.nav-more__menu a:hover { background: #F4F2EE; color: var(--accent); }

.site-header__actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.social-links { display: none; align-items: center; gap: 2px; margin-right: 4px; padding-right: 8px; border-right: 1px solid var(--line); }
.social-links a { padding: 8px; border-radius: 999px; color: var(--muted); display: flex; }
.social-links a:hover { color: var(--accent); background: #F4F2EE; }

.cart-link { position: relative; width: 40px; height: 40px; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cart-link:hover { background: var(--accent-dark); }
.cart-badge {
    position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px;
    background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; border: 2px solid #fff;
    border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.menu-toggle { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.mobile-nav { display: none; flex-direction: column; gap: 2px; padding: 8px 16px 18px; border-top: 1px solid var(--line); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 10px; border-radius: var(--radius-sm); font-size: 15px; color: #33363B; }
.mobile-nav a:hover, .mobile-nav a.is-active { background: #F4F2EE; color: var(--accent); }
.mobile-nav__socials { display: flex; gap: 4px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.mobile-nav__socials a { padding: 10px; border-radius: 999px; color: var(--muted); }

@media (min-width: 1000px) {
    .main-nav { display: flex; }
    .social-links { display: flex; }
    .menu-toggle { display: none; }
    .mobile-nav { display: none !important; }
}

/* ==========================================================================
   Hero — headline over a soft gradient, with the search bar inside it
   ========================================================================== */
.hero {
    position: relative; overflow: hidden; text-align: center; color: #fff;
    padding: clamp(50px, 10vw, 86px) 0 clamp(56px, 11vw, 96px);
    background: #3C3732 url('../images/hero-banner.jpg') center bottom / cover no-repeat;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,15,.72) 0%, rgba(20,17,15,.34) 55%, rgba(20,17,15,.30) 100%); }
.hero > * { position: relative; z-index: 1; }
.hero__glow { position: absolute; inset: auto -10% -45% -10%; height: 70%; background: radial-gradient(60% 100% at 50% 100%, rgba(242,88,34,.35), transparent 70%); pointer-events: none; }
.hero h1 {
    position: relative; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
    font-size: clamp(28px, 6vw, 50px); line-height: 1.08; text-shadow: 0 2px 22px rgba(0,0,0,.28);
}
.hero p.lede { position: relative; margin: 14px auto 0; max-width: 46ch; font-size: clamp(13.5px, 2vw, 16px); color: rgba(255,255,255,.88); }

.hero-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 540px; margin: 26px auto 0; background: #fff; border-radius: 999px; padding: 7px 7px 7px 20px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.45); }
.hero-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 14.5px; color: var(--text); }
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search button { width: 40px; height: 40px; border: none; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-search button:hover { background: var(--accent-dark); }

.hero__badges { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 24px; font-size: 12.5px; color: rgba(255,255,255,.85); }
.hero__badges span { display: flex; align-items: center; gap: 7px; }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { padding: clamp(34px, 6vw, 54px) 0 0; }
.section:last-of-type { padding-bottom: 20px; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.section__head h2 { font-family: var(--font-display); font-size: clamp(18px, 3.4vw, 23px); font-weight: 700; letter-spacing: -.01em; }
.section__head a { font-size: 13px; font-weight: 500; color: var(--accent); display: flex; align-items: center; gap: 5px; }
.section__head a:hover { color: var(--accent-dark); }

/* ==========================================================================
   Product card
   ========================================================================== */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 14px; }
@media (min-width: 700px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; } }
@media (min-width: 1040px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.product-card { display: flex; flex-direction: column; min-width: 0; }
.product-card__media {
    position: relative; display: block; background: var(--tile); border-radius: var(--radius);
    aspect-ratio: 1 / 1; overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__media .illus { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.product-card__media .illus svg { width: 46%; height: auto; opacity: .55; }

.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; max-width: calc(100% - 20px); }
.badge { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 4px 9px; border-radius: 5px; color: #fff; white-space: nowrap; }
.badge--best { background: var(--teal); }
.badge--new { background: var(--navy); }
.badge--sold { background: var(--red); }
.badge--soon { background: var(--green); }

.product-card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 5px; }
.product-card__name { font-size: 12.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #2A2D32; line-height: 1.4; }
.product-card:hover .product-card__name { color: var(--accent); }
.product-card__price { font-size: 15px; font-weight: 700; color: var(--text); }
.product-card__old { font-size: 12.5px; color: var(--muted-2); text-decoration: line-through; margin-left: 6px; font-weight: 500; }

.add-form { margin-top: 8px; }
.add-form button {
    width: 100%; padding: 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
    background: #fff; color: var(--text); border: 1px solid var(--line-2); transition: .15s;
}
.add-form button:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.add-form button:disabled { opacity: .45; cursor: not-allowed; }

/* ==========================================================================
   Best-seller rail (horizontal scroll)
   ========================================================================== */
.rail { position: relative; }
.rail__track { display: flex; gap: 14px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: 0 0 clamp(150px, 42vw, 250px); scroll-snap-align: start; }
.rail__arrow {
    position: absolute; top: clamp(60px, 16vw, 110px); z-index: 3; width: 36px; height: 36px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line-2); box-shadow: 0 6px 18px -6px rgba(0,0,0,.25);
    display: none; align-items: center; justify-content: center; color: #33363B;
}
.rail__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.rail__arrow--prev { left: -14px; }
.rail__arrow--next { right: -14px; }
@media (min-width: 760px) { .rail__arrow { display: flex; } }

/* ==========================================================================
   Promo banner slider
   ========================================================================== */
.promo { position: relative; overflow: hidden; border-radius: 14px; margin-top: clamp(34px, 6vw, 54px); }
.promo__track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.promo__slide {
    position: relative; flex: 0 0 100%; min-width: 0; color: #fff; overflow: hidden;
    min-height: clamp(180px, 28vw, 250px); display: flex; align-items: center;
    background: linear-gradient(105deg, #1D1B19 0%, #6E3410 45%, var(--accent) 100%);
}
.promo__slide[data-tone="cool"]  { background: linear-gradient(105deg, #12181F 0%, #1D4B5A 48%, #2FA8A0 100%); }
.promo__slide[data-tone="deep"]  { background: linear-gradient(105deg, #14121B 0%, #3A2560 48%, #7E5BD0 100%); }
.promo__slide[data-tone="warm"]  { background: linear-gradient(105deg, #1B1610 0%, #7A4A12 48%, #E0A33C 100%); }
.promo__slide[data-tone="night"] { background: linear-gradient(105deg, #101418 0%, #22323F 48%, #4E7EA8 100%); }
.promo__content { position: relative; z-index: 2; padding: clamp(22px, 4vw, 40px); max-width: 62%; }
.promo__content .eyebrow { color: rgba(255,255,255,.72); }
.promo__content h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 3.4vw, 30px); line-height: 1.15; margin: 8px 0 8px; }
.promo__content p { font-size: clamp(12px, 1.7vw, 14.5px); color: rgba(255,255,255,.85); margin-bottom: 16px; max-width: 40ch; }
.promo__cta { display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #17181B; font-size: 13px; font-weight: 600; padding: 10px 18px; border-radius: 999px; }
.promo__cta:hover { background: rgba(255,255,255,.88); }
.promo__art { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); width: clamp(110px, 20vw, 210px); height: clamp(110px, 20vw, 210px); border-radius: 14px; overflow: hidden; background: var(--tile); display: none; box-shadow: 0 20px 44px -18px rgba(0,0,0,.6); }
.promo__art img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 620px) { .promo__art { display: block; } }
.promo__dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 7px; }
.promo__dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.45); border: none; padding: 0; transition: .2s; }
.promo__dot.is-active { background: #fff; width: 22px; }
.promo__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; display: none; align-items: center; justify-content: center; }
.promo__arrow:hover { background: rgba(0,0,0,.45); }
.promo__arrow--prev { left: 12px; }
.promo__arrow--next { right: 12px; }
@media (min-width: 760px) { .promo__arrow { display: flex; } }

/* ==========================================================================
   Category chips strip
   ========================================================================== */
.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 2px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-chip { flex-shrink: 0; display: flex; align-items: center; gap: 9px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #33363B; background: #fff; white-space: nowrap; transition: .15s; }
.cat-chip:hover { border-color: var(--accent); color: var(--accent); }
.cat-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.cat-chip.is-active svg { stroke: #fff; }
.cat-chip__count { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.cat-chip.is-active .cat-chip__count { color: rgba(255,255,255,.8); }

/* ==========================================================================
   Shop page
   ========================================================================== */
.page-head { padding: 30px 0 6px; }
.page-head h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 4.6vw, 30px); letter-spacing: -.01em; }
.page-head p { color: var(--muted); font-size: 13.5px; margin-top: 5px; }

.shop-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 9px 9px 16px; max-width: 520px; margin: 16px 0 22px; }
.shop-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; }
.shop-search input::placeholder { color: var(--muted-2); }
.shop-search button { width: 34px; height: 34px; border: none; border-radius: 999px; background: var(--accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.tag-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin: 14px 0 26px; scrollbar-width: none; }
.tag-row::-webkit-scrollbar { display: none; }
.tag-chip { padding: 6px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: 11px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; background: #fff; }
.tag-chip:hover { border-color: var(--accent); color: var(--accent); }
.tag-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.empty-state { text-align: center; padding: 64px 20px; border: 1px dashed var(--line-2); border-radius: 14px; }
.empty-state p { color: var(--muted); font-size: 14px; }
.empty-state a { display: inline-block; margin-top: 12px; color: var(--accent); font-size: 13px; font-weight: 600; }

/* ==========================================================================
   Product detail
   ========================================================================== */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin: 22px 0; }
.back-link:hover { color: var(--accent); }
.product-detail { display: grid; gap: 32px; margin-bottom: 20px; }
@media (min-width: 820px) { .product-detail { grid-template-columns: 1fr 1fr; gap: 48px; } }

.product-media { position: relative; background: var(--tile); border-radius: 14px; aspect-ratio: 1 / 1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-media .illus svg { width: 42%; height: auto; opacity: .55; }
.product-media__badge { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #33363B; }
.product-media__badge span { width: 7px; height: 7px; border-radius: 999px; }

.product-info h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 4vw, 31px); line-height: 1.2; letter-spacing: -.01em; }
.product-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 12px; }
.stars { font-size: 13px; color: #F0A500; display: flex; align-items: center; gap: 5px; }
.stars b { color: var(--muted); font-weight: 500; }
.stock-pill { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; }
.product-price { font-size: clamp(24px, 4.4vw, 32px); font-weight: 800; margin-top: 18px; letter-spacing: -.01em; }
.product-blurb { color: #4B5058; font-size: 14.5px; line-height: 1.7; margin-top: 14px; }
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

.qty-add-row { display: flex; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; flex-shrink: 0; }
.qty-stepper button { padding: 11px 14px; background: none; border: none; color: var(--muted); }
.qty-stepper button:hover { color: var(--accent); }
.qty-stepper input { width: 38px; text-align: center; background: none; border: none; font-weight: 600; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; font-size: 14px; padding: 13px 24px; border: 1px solid transparent; transition: .15s; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-outline { border-color: var(--line-2); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-whatsapp { background: #25D366; color: #06331A; }
.btn-whatsapp:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.product-add-btn { flex: 1 1 190px; }

.product-notes { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 22px; font-size: 12.5px; color: var(--muted); }
.product-notes span { display: flex; align-items: center; gap: 7px; }
.related { margin-top: 56px; }
.related h2 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin-bottom: 18px; }

/* ==========================================================================
   Cart
   ========================================================================== */
.cart-page h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 4.6vw, 30px); margin: 30px 0 20px; }
.cart-row { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.cart-row__media { width: 62px; height: 62px; border-radius: var(--radius-sm); background: var(--tile); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cart-row__media img { width: 100%; height: 100%; object-fit: contain; }
.cart-row__media .illus svg { width: 26px; height: 26px; opacity: .6; }
.cart-row__info { flex: 1 1 150px; min-width: 0; }
.cart-row__info h3 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; overflow-wrap: break-word; }
.cart-row__info h3:hover { color: var(--accent); }
.cart-row__info p { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cart-row__qty-form { display: flex; align-items: center; flex-shrink: 0; }
.qty-stepper--sm button { padding: 8px 11px; }
.qty-stepper--sm input { width: 30px; font-size: 13.5px; }
.cart-row__total { font-weight: 700; font-size: 14.5px; min-width: 76px; text-align: right; flex-shrink: 0; }
.cart-row__remove { background: none; border: none; color: var(--muted-2); padding: 6px; flex-shrink: 0; }
.cart-row__remove:hover { color: var(--red); }
@media (max-width: 480px) {
    .cart-row { position: relative; padding-right: 40px; }
    .cart-row__qty-form { order: 3; }
    .cart-row__total { order: 4; margin-left: auto; }
    .cart-row__remove { position: absolute; top: 10px; right: 8px; }
}

.cart-summary { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; margin-top: 26px; }
.cart-summary__row { display: flex; align-items: center; gap: 20px; font-size: 14px; color: var(--muted); }
.cart-summary__row strong { font-size: 22px; font-weight: 800; color: var(--text); }
.cart-summary__note { font-size: 11.5px; color: var(--muted-2); }
.cart-actions { display: flex; justify-content: flex-end; gap: 12px; margin: 22px 0 46px; flex-wrap: wrap; }
.cart-actions a.link-btn { padding: 13px 6px; font-size: 13.5px; color: var(--muted); }
.cart-actions a.link-btn:hover { color: var(--text); }

/* ==========================================================================
   Checkout
   ========================================================================== */
.checkout-grid { display: grid; gap: 30px; margin: 22px 0 60px; }
@media (min-width: 860px) { .checkout-grid { grid-template-columns: 1.15fr .85fr; gap: 44px; } }
.field { margin-bottom: 16px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; outline: none; transition: border-color .15s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 86px; }

.method-list { display: flex; flex-direction: column; gap: 10px; }
.method-card { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: .15s; }
.method-card input { display: none; }
.method-card svg { flex-shrink: 0; }
.method-card > div { flex: 1; min-width: 0; }
.method-card h4 { font-size: 14px; font-weight: 600; }
.method-card p { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.method-card .check { margin-left: auto; opacity: 0; flex-shrink: 0; }
.method-card:has(input:checked) .check { opacity: 1; }
.method-card[data-method="whatsapp"]:has(input:checked) { border-color: #25D366; background: rgba(37,211,102,.07); }
.method-card[data-method="transfer"]:has(input:checked) { border-color: var(--accent); background: rgba(242,88,34,.06); }
.method-card[data-method="delivery"]:has(input:checked) { border-color: var(--navy); background: rgba(46,58,70,.06); }

.order-summary { border: 1px solid var(--line); border-radius: 14px; padding: 22px; height: fit-content; background: #FCFBF9; }
.order-summary__line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 9px; }
.order-summary__line span:first-child { color: var(--muted); min-width: 0; }
.order-summary__line span:last-child { font-weight: 600; flex-shrink: 0; }
.order-summary__total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.order-summary__total strong { font-size: 21px; font-weight: 800; }
.order-summary .btn { width: 100%; margin-top: 18px; }
.order-summary__disclaimer { font-size: 11px; color: var(--muted-2); text-align: center; margin-top: 11px; }

.checkout-confirm { max-width: 430px; margin: 80px auto; text-align: center; padding: 0 20px; }
.checkout-confirm__icon { width: 58px; height: 58px; border-radius: 999px; background: rgba(37,211,102,.14); border: 1px solid #25D366; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.checkout-confirm h1 { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.checkout-confirm p { color: var(--muted); font-size: 14.5px; margin-top: 10px; line-height: 1.65; }
.checkout-confirm .btn { margin-top: 22px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); margin-top: 54px; background: #FBFAF8; }
.site-footer__inner { display: grid; gap: 30px; padding: 46px 16px 38px; }
@media (min-width: 700px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr; padding: 52px 24px 40px; } }
.site-footer .muted-sm { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.65; max-width: 34ch; }
.footer-links { display: flex; flex-direction: column; gap: 9px; margin-top: 12px; }
.footer-links a { font-size: 13.5px; color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.whatsapp-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #1EA952; margin-top: 12px; }
.site-footer__copy { text-align: center; font-size: 11.5px; color: var(--muted-2); padding-bottom: 26px; }

/* Floating WhatsApp button */
.fab {
    position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 52px; height: 52px; border-radius: 999px;
    background: #25D366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
}
.fab:hover { filter: brightness(1.06); }

/* Toast */
.toast { position: fixed; bottom: 86px; left: 50%; transform: translateX(-50%) translateY(10px); background: var(--navy); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 13.5px; opacity: 0; transition: .25s; z-index: 60; }
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }
