/* Corso Zundert Merchandise – prototype */
:root {
  --red: #D61F2A;
  --red-dark: #B3121C;
  --orange: #F7941E;
  --orange-dark: #F26323;
  --brown: #B4400B;
  --cream: #FAF7F2;
  --sand: #F3EEE6;
  --peach: #FFF1E0;
  --peach-2: #FFE3BF;
  --line: #E3DCD0;
  --text: #111111;
  --body: #444444;
  --muted: #6B6458;
  --green: #17803D;
  --radius: 20px;
  --wrap: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, Tahoma, sans-serif; color: var(--text); background: var(--cream); font-size: 15px; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.totals > div { display: contents; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 2px; }

/* Promo bar */
.promo { background: var(--orange); padding: 9px 24px; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-align: center; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid #EEE8DE; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 16px 48px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; }
.brand span { position: relative; top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: var(--brown); border-left: 1px solid var(--line); padding-left: 12px; line-height: 1.6; }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 32px; flex: 1 1 auto; font-size: 14px; font-weight: 500; }
.main-nav a { text-decoration: none; }
.main-nav a.is-active { color: var(--red); }
.header-icons { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; border-radius: 22px; color: var(--text); cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--sand); color: var(--text); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: 5px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.badge-count.alt { background: var(--orange); color: var(--text); }
.menu-toggle { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 24px; border: 0; background: var(--red); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--red-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--red); border: 2px solid var(--red); }
.btn-outline:hover { background: var(--peach); color: var(--red); }
.btn-block { width: 100%; height: 56px; border-radius: 28px; font-size: 15px; }
.btn[disabled] { background: #B9B2A7; cursor: not-allowed; }
.link-btn { border: 0; background: transparent; padding: 0; min-height: 32px; font-size: 14px; text-decoration: underline; cursor: pointer; color: var(--text); }

/* Hero */
.hero { padding-top: 24px; }
.hero-media { position: relative; border-radius: 28px; overflow: hidden; background: var(--sand); }
.hero-media img { width: 100%; height: 520px; object-fit: cover; object-position: center 40%; }
.hero-card { position: absolute; left: 32px; bottom: 32px; max-width: 480px; background: rgba(255,255,255,.93); padding: 32px 36px; border-radius: 22px; }
.hero-card h1 { font-size: 40px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; }
.hero-card p { font-size: 16px; color: var(--body); margin-bottom: 22px; }

/* Section heads */
.section { padding-top: 72px; padding-bottom: 56px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.section-head h2 { font-size: 32px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.meta { font-size: 14px; color: var(--muted); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 18px; border-radius: 20px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; }
.chip:hover { border-color: var(--orange-dark); }
.chip[aria-pressed="true"] { background: var(--peach-2); border-color: var(--orange-dark); color: #7A3000; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 44px 24px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.card-media > a { display: block; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.03); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: #fff; }
.placeholder img { width: 46%; height: auto; opacity: .35; }
.card .tag { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.wish { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255,255,255,.88); display: grid; place-items: center; color: var(--red); cursor: pointer; }
.wish svg { width: 20px; height: 20px; }
.wish[aria-pressed="true"] svg { fill: currentColor; }
.card h3 { font-size: 16px; font-weight: 500; line-height: 1.35; }
.card h3 a { text-decoration: none; }
.price { display: flex; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 700; }
.price .old { font-size: 14px; font-weight: 400; color: var(--muted); text-decoration: line-through; }
.price .sale { color: var(--red); }
.stock { font-size: 13px; color: var(--muted); }
.stock.warn { color: var(--brown); }
.stock.ok { color: var(--green); }

/* Feature block */
.feature { display: flex; flex-wrap: wrap; background: var(--peach); border-radius: 28px; overflow: hidden; margin-bottom: 88px; }
.feature img { flex: 1 1 420px; min-width: 0; height: 340px; object-fit: cover; }
.feature-body { flex: 1 1 420px; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.feature-body h2 { font-size: 28px; font-weight: 800; }
.feature-body p { color: var(--body); max-width: 420px; }

/* Footer */
.site-footer { background: var(--red); color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; }
.footer-title { font-size: 22px; }
.footer-title strong { font-weight: 800; }
.footer-title span { font-weight: 300; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 16px 48px; font-size: 14px; line-height: 2; }
.footer-cols a { display: block; }
.footer-bottom { margin-top: 36px; padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.35); font-size: 12px; }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--muted); padding: 24px 0; }
.crumbs a { text-decoration: none; }

/* Product page */
.product { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 40px; }
.gallery { flex: 1 1 560px; min-width: 0; display: flex; gap: 16px; align-items: flex-start; }
.thumbs { display: flex; flex-direction: column; gap: 12px; flex: 0 0 88px; }
.thumb { padding: 0; width: 88px; height: 110px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; background: var(--sand); cursor: pointer; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { border-color: var(--red); }
.main-photo { flex: 1 1 auto; min-width: 0; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--sand); }
.main-photo img { width: 100%; height: 100%; object-fit: cover; }
.buy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.buy h1 { font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.buy .big-price { font-size: 22px; font-weight: 600; }
.buy .lead { color: var(--body); line-height: 1.6; }
.size-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.size-head p { font-size: 14px; font-weight: 600; }
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.size { height: 48px; border-radius: 24px; border: 1px solid #BDB6AA; background: #fff; font-size: 15px; font-weight: 500; cursor: pointer; }
.size:hover { border-color: var(--text); }
.size[aria-checked="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.size[aria-disabled="true"] { background: var(--sand); border-color: #DDD6CB; color: #8A8378; text-decoration: line-through; cursor: not-allowed; }
.size-status { margin-top: 10px; font-size: 13px; }
.buy-row { display: flex; gap: 10px; align-items: stretch; }
.qty { display: flex; align-items: center; border: 2px solid #D7D0C4; border-radius: 28px; height: 56px; background: #fff; overflow: hidden; flex: 0 0 auto; }
.qty button { width: 46px; height: 52px; border: 0; background: transparent; font-size: 22px; cursor: pointer; }
.qty button:hover { background: var(--sand); }
.qty output { width: 36px; text-align: center; font-size: 17px; font-weight: 600; }
.qty.small { height: 44px; border-radius: 22px; }
.qty.small button { width: 40px; height: 40px; font-size: 19px; }
.buy-row .btn { flex: 1 1 auto; min-width: 0; height: 56px; border-radius: 28px; font-size: 15px; }
.wish-lg { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 28px; border: 2px solid #D7D0C4; background: #fff; color: var(--red); display: grid; place-items: center; cursor: pointer; }
.wish-lg svg { width: 24px; height: 24px; }
.wish-lg[aria-pressed="true"] svg { fill: currentColor; }
.toast { display: none; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--green); border-radius: 16px; padding: 14px 18px; font-size: 14px; }
.toast.show { display: flex; }
.toast a { font-weight: 700; }
.accordion { border-top: 1px solid var(--line); margin-top: 8px; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; min-height: 56px; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 500; cursor: pointer; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 22px; font-weight: 300; }
.accordion details[open] summary::after { content: "−"; }
.accordion .acc-body { padding: 0 0 20px; color: var(--body); line-height: 1.65; }
.related h2 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.related { padding: 48px 0 88px; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.mini { text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.mini img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.mini strong { font-weight: 700; }

/* Modal */
dialog.modal { width: min(920px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; padding: 36px; border-radius: 28px; }
dialog.modal::backdrop { background: rgba(17,17,17,.45); }
.modal-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.modal-inner > div { flex: 1 1 340px; }
.modal-inner > img { flex: 1 1 380px; min-width: 0; border-radius: 16px; }
.modal h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--sand); display: grid; place-items: center; cursor: pointer; }
.size-table-wrap { overflow-x: auto; margin-top: 20px; }
table.size-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 16px; overflow: hidden; }
.size-table th { background: var(--peach-2); text-align: left; padding: 12px 14px; }
.size-table td { padding: 11px 14px; border-bottom: 1px solid #EEE9E1; }
.size-table tr:last-child td { border-bottom: 0; }

/* Steps header (checkout) */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; font-weight: 500; color: var(--muted); }
.steps .done { color: var(--green); }
.steps .current { color: var(--red); font-weight: 600; }
.steps a { text-decoration: none; }

/* Cart & checkout */
.page-title { font-size: 34px; font-weight: 800; padding: 48px 0 32px; }
.two-col { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: 88px; }
.col-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.col-side { flex: 1 1 360px; min-width: 0; }
.share, .wl-band .wrap > div { min-width: 0; }
.code-row input { width: 100%; }
.panel { background: #fff; border-radius: var(--radius); padding: 28px; }
.summary { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 104px; }
.summary h2, .panel h2 { font-size: 20px; font-weight: 700; }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 18px; align-items: center; background: #fff; border-radius: var(--radius); padding: 16px; }
.line img { width: 96px; height: 120px; object-fit: cover; border-radius: 14px; background: var(--sand); }
.line-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line-info a.name { font-size: 16px; font-weight: 600; text-decoration: none; }
.line-info .variant { font-size: 14px; color: var(--muted); }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line-total { font-size: 16px; font-weight: 700; }
.pill { display: inline-block; align-self: flex-start; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.pill.red { background: var(--red); color: #fff; }
.pill.orange { background: var(--orange); color: var(--text); }
.line.gift { background: var(--peach); }
.gift-icon { width: 96px; height: 96px; border-radius: 14px; background: #fff; display: grid; place-items: center; }
.gift-icon img { width: 76px; }
.totals { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-size: 15px; }
.totals dd { margin: 0; text-align: right; }
.totals .disc { color: var(--green); }
.grand { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; }
.grand span:first-child { font-size: 17px; font-weight: 600; }
.grand span:last-child { font-size: 26px; font-weight: 800; }
.note { font-size: 13px; line-height: 1.55; color: var(--body); background: var(--cream); border-radius: 14px; padding: 12px 14px; }
.note.peach { background: var(--peach); }
.code-row { display: flex; gap: 8px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input, .field select, .code-row input { height: 48px; padding: 0 14px; border: 1px solid #BDB6AA; border-radius: 12px; background: #fff; font-size: 15px; font-weight: 400; min-width: 0; }
.field input:focus, .field select:focus, .code-row input:focus { border-color: var(--orange-dark); outline: none; box-shadow: 0 0 0 3px var(--peach-2); }
.code-row input { flex: 1 1 auto; text-transform: uppercase; }
.code-msg { font-size: 13px; margin-top: 8px; min-height: 20px; }
.code-msg.ok { color: var(--green); }
.code-msg.err { color: var(--red); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .wide { grid-column: span 2; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { font-size: 20px; font-weight: 700; padding: 0; margin-bottom: 20px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.choice { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--red); background: #FFFBF6; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: 0 0 auto; }
.choice strong { display: block; font-weight: 600; }
.choice small { font-size: 13px; color: var(--muted); }
.pay-list { display: flex; flex-direction: column; gap: 10px; }
.pay-list .choice { align-items: center; padding: 16px 18px; }
.pay-list .choice span { flex: 1 1 auto; font-weight: 600; }
.zone { margin-top: 20px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--peach); font-size: 14px; }
.zone.free { background: #E6F4EA; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--red); flex: 0 0 auto; }
.order-mini { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
.order-mini li { display: flex; gap: 12px; align-items: center; }
.order-mini img { width: 52px; height: 64px; object-fit: cover; border-radius: 10px; }
.order-mini .txt { flex: 1 1 auto; }
.order-mini .txt small { display: block; color: var(--muted); font-size: 13px; }
.order-mini .gift { width: 52px; height: 52px; border-radius: 10px; background: var(--orange); display: grid; place-items: center; font-size: 10px; font-weight: 700; }

/* Wishlist */
.wl-band { background: var(--peach); }
.wl-band .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; padding-top: 48px; padding-bottom: 48px; }
.wl-band h1 { font-size: 40px; font-weight: 800; margin: 6px 0 8px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--brown); }
.share { flex: 1 1 420px; background: #fff; border-radius: var(--radius); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-wa { background: #17803D; }
.btn-wa:hover { background: #0F5A2A; }
.wl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 20px; padding: 48px 0 88px; }
.wl-item { display: flex; gap: 18px; background: #fff; border-radius: var(--radius); padding: 16px; }
.wl-item > img, .wl-item > .placeholder { width: 128px; height: 160px; flex: 0 0 auto; object-fit: cover; border-radius: 14px; }
.wl-item > .placeholder { border: 1px solid var(--line); }
.wl-item > .placeholder img { width: 70%; }
.wl-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wl-body h2 { font-size: 17px; font-weight: 600; }
.wl-body .btn { align-self: flex-start; margin-top: auto; height: 44px; padding: 0 20px; font-size: 13px; }
.wl-body .btn.added { background: var(--green); }

/* Thank you */
.thanks { max-width: 680px; margin: 0 auto; padding: 80px 24px 120px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.thanks .check-circle { width: 72px; height: 72px; border-radius: 36px; background: #E6F4EA; color: var(--green); display: grid; place-items: center; }
.thanks h1 { font-size: 36px; font-weight: 800; }
.thanks .panel { width: 100%; text-align: left; }

/* Responsive */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .main-nav.open { display: flex; flex-direction: column; gap: 4px; order: 10; flex-basis: 100%; padding: 8px 0; }
  .main-nav.open a { padding: 10px 0; }
  .menu-toggle { display: grid; }
  .site-header .wrap { flex-wrap: wrap; gap: 8px; }
  .brand img { height: 40px; }
  .brand span { top: 4px; font-size: 10px; }
  .hero-media img { height: 420px; }
  .hero-card { left: 16px; right: 16px; bottom: 16px; padding: 24px; }
  .hero-card h1 { font-size: 30px; }
  .gallery { flex-direction: column-reverse; }
  .thumbs { flex-direction: row; flex-basis: auto; overflow-x: auto; }
  .thumb { width: 72px; height: 90px; flex: 0 0 auto; }
  .main-photo { width: 100%; }
  .summary { position: static; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand span { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .card h3 { font-size: 14px; }
  .price { font-size: 14px; }
  .section { padding-top: 48px; }
  .section-head h2 { font-size: 26px; }
  .feature-body { padding: 28px 24px; }
  .feature img { height: 240px; }
  .buy h1 { font-size: 28px; }
  .page-title { font-size: 28px; padding: 32px 0 24px; }
  .line { grid-template-columns: 72px minmax(0, 1fr); }
  .line img, .gift-icon { width: 72px; height: 90px; }
  .gift-icon img { width: 56px; }
  .line-right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; }
  .form-grid, .choice-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .wide { grid-column: auto; }
  .panel { padding: 22px 18px; }
  .wl-grid { grid-template-columns: minmax(0, 1fr); }
  .wl-item > img, .wl-item > .placeholder { width: 96px; height: 120px; }
  .wl-band h1 { font-size: 30px; }
  dialog.modal { padding: 28px 20px; }
  .steps { display: none; }
}

/* Fixes: logo-placeholders en cadeau-icoon */
.card-media .placeholder img, .wl-item .placeholder img { width: 46%; height: auto; object-fit: contain; transform: none; }
.line .gift-icon img { width: 76px; height: auto; object-fit: contain; border-radius: 0; background: transparent; }
.buy-row .btn { white-space: nowrap; padding: 0 16px; }
@media (max-width: 600px) { .line .gift-icon img { width: 56px; } }
.card-media > a.placeholder { display: grid; place-items: center; }
