/* Klantaccount + winkeluitbreidingen (kleurfoto, maattabel, korting, afrekenen) */

/* ---------- Winkel ---------- */
.product-img img { transition: transform .6s var(--ease), opacity .15s; }
.product-img img.swap { opacity: 0; transform: scale(.96); }
.size-chart { border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px; }
.size-chart summary { cursor: pointer; font-weight: 700; color: var(--gold); padding: 8px 0; }
.size-chart-wrap { overflow-x: auto; padding-bottom: 10px; }
.size-chart table { border-collapse: collapse; width: 100%; font-size: .9rem; }
.size-chart th, .size-chart td { padding: 7px 10px; text-align: center; border-bottom: 1px dashed var(--line); white-space: nowrap; }
.size-chart thead th { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.size-chart tbody th { color: var(--cream); text-align: left; }
.code-row { display: flex; gap: 8px; margin-top: 16px; }
.code-row input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.25); color: var(--cream); font: inherit; text-transform: uppercase; }
#code-msg { margin-top: 8px; font-size: .88rem; padding: 8px 12px; }
.cart-sums { display: grid; gap: 4px; margin-bottom: 8px; font-size: .92rem; color: var(--muted); }
.cart-sums div { display: flex; justify-content: space-between; }
.cart-sums .disc { color: #9fe6b9; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .form-row2 { grid-template-columns: 1fr; } }
.pickup-box { padding: 14px 16px; border-radius: 12px; background: rgba(242,193,78,.08); border: 1px dashed var(--line-strong); font-size: .95rem; }
.account-btn.logged-in { border-color: var(--gold); color: var(--gold); }
.account-btn.logged-in::after { content: ""; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 2px var(--bg); }
@media (max-width: 420px) { .header-inner { gap: 8px; } .header-inner .icon-btn { width: 40px; height: 40px; } }

/* ---------- Klantaccount ---------- */
.acc-guest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .acc-guest { grid-template-columns: 1fr; } }
.acc-card h2 { font-size: 1.6rem; margin: 6px 0 0; }
.acc-tabs { display: flex; gap: 6px; margin-bottom: 18px; background: rgba(0,0,0,.25); padding: 6px; border-radius: 999px; width: fit-content; }
.acc-tabs button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; padding: 8px 18px; border-radius: 999px; cursor: pointer; }
.acc-tabs button[aria-selected="true"] { background: var(--gold); color: #1f1606; }
.acc-perks { padding: 10px 6px; }
.acc-perks h3 { margin-bottom: 18px; }
.acc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 860px) { .acc-layout { grid-template-columns: 1fr; } }
.acc-side { padding: 18px; position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 860px) { .acc-side { position: static; } }
.acc-hello { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.acc-hello b { display: block; color: var(--cream); }
.acc-hello small { color: var(--muted); }
.avatar.big { width: 52px; height: 52px; font-size: 1.3rem; }
.acc-nav { display: grid; gap: 2px; }
.acc-nav a, .acc-logout { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; background: none; border: 0; font: inherit; cursor: pointer; text-align: left; }
.acc-nav a:hover, .acc-logout:hover { background: rgba(242,193,78,.08); color: var(--gold-2); }
.acc-nav a.on { background: rgba(242,193,78,.14); color: var(--gold); }
@media (max-width: 860px) { .acc-nav { grid-template-columns: repeat(2, 1fr); } }
.acc-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.acc-main section { margin-bottom: 30px; }
.acc-main h2 { font-size: 1.35rem; }
.acc-main h3 { font-size: 1.1rem; margin: 10px 0 0; }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.acc-stats .card { padding: 18px; text-align: center; }
.acc-stats b { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.acc-stats span { color: var(--muted); font-size: .85rem; }
.acc-order { padding: 20px 22px; margin-bottom: 14px; }
.acc-order header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.acc-order header small { display: block; color: var(--muted); }
.chip-status { padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: rgba(242,193,78,.14); color: var(--gold-2); white-space: nowrap; }
.chip-status.st-afgerond { background: rgba(79,179,122,.16); color: #9fe6b9; }
.chip-status.st-geannuleerd { background: rgba(255,255,255,.06); color: var(--dim); }
.chip-status.st-nieuw { background: rgba(236,122,60,.16); color: #ffb48a; }
.timeline { display: flex; margin: 6px 0 14px; flex-wrap: wrap; }
.timeline span { flex: 1; min-width: 90px; position: relative; padding-top: 18px; font-size: .78rem; color: var(--dim); text-align: center; }
.timeline span::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 4px; background: rgba(255,255,255,.08); }
.timeline span::after { content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #3a3a33; border: 2px solid var(--bg); }
.timeline span.done { color: var(--cream); font-weight: 700; }
.timeline span.done::before, .timeline span.done::after { background: var(--gold); }
.acc-items { list-style: none; padding: 0; margin: 0 0 10px; }
.acc-items li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.acc-items li em { font-style: normal; color: var(--muted); font-size: .85rem; }
.acc-items li.tot { border: 0; font-size: 1.05rem; }
.acc-items li.tot b { color: var(--gold); }
.acc-next { display: flex; gap: 18px; align-items: center; padding: 20px 24px; }
.big-emoji { font-size: 2.6rem; }
.acc-codes { display: grid; gap: 12px; }
.coupon { display: flex; align-items: stretch; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #f4b23a, #e09424); color: #2a1804; box-shadow: var(--shadow); }
.coupon-l { flex: 1; padding: 16px 18px; display: grid; gap: 2px; }
.coupon-l b { font-family: var(--font-display); font-size: 1.4rem; }
.coupon-l small { opacity: .75; }
.coupon-code { border: 0; border-left: 3px dashed rgba(42,24,4,.35); background: rgba(255,246,223,.55); color: #2a1804; font: inherit; font-weight: 900; font-size: 1.1rem; letter-spacing: .08em; padding: 0 20px; cursor: pointer; display: grid; place-content: center; text-align: center; }
.coupon-code span { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }
.coupon-code:hover { background: rgba(255,246,223,.85); }
.acc-reco { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.reco { display: flex; gap: 12px; align-items: center; padding: 12px; text-decoration: none; color: inherit; }
.reco:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.reco img { width: 64px; height: 64px; object-fit: contain; background: var(--cream); border-radius: 10px; padding: 4px; }
.reco b { display: block; color: var(--cream); }
.reco span { color: var(--muted); font-size: .85rem; }
.reco-date { width: 64px; height: 64px; border-radius: 12px; background: linear-gradient(180deg, var(--gold-2), var(--gold-deep)); color: #1f1606; display: grid; place-content: center; text-align: center; font-size: .75rem; font-weight: 800; text-transform: uppercase; flex: none; }
.reco-date b { font-size: 1.5rem; line-height: 1; color: #1f1606; }
.reco-emoji { width: 64px; height: 64px; display: grid; place-items: center; font-size: 2rem; background: rgba(242,193,78,.1); border-radius: 12px; flex: none; }
.acc-ev { display: grid; grid-template-columns: 70px 1fr auto; gap: 16px; align-items: center; padding: 14px 18px; margin-bottom: 12px; }
.acc-ev .date-block { padding: 8px 4px; }
.acc-ev .date-block .d { font-size: 1.7rem; }
.acc-msg { padding: 0; margin-bottom: 10px; }
.acc-msg summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; justify-content: space-between; gap: 10px; }
.acc-msg summary small { color: var(--muted); white-space: nowrap; }
.pre-text { white-space: pre-wrap; padding: 0 18px 16px; color: var(--muted); font-size: .92rem; }

.photo-note { position: absolute; right: 14px; bottom: 18px; background: rgba(20,20,16,.75); color: #f7efdc; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.photo-note[hidden] { display: none; }
