/* css/gallery.css */
/* "Kohl Proofing Room" — ruhige, edle Bildwand mit Hell/Dunkel-Umschalter */

/* ================= TOKENS (dunkel = Standard, .theme-light hellt auf) ================= */
:root{
    --paper:#171612;
    --ink:#EAE5D9;
    --ink-soft:#A79E8C;
    --line:rgba(234,229,217,.14);
    --line-strong:rgba(234,229,217,.28);
    --brass:#C9A467;
    --surface-sunk:#131210;
    --sel-red:#B5543F;
    --sel-gold:#C89A3F;
    --sel-green:#5F7F5C;
    --scrim: rgba(10,9,7,.7);
    --paper-ink:#F3EFE6;
}
body.theme-light{
    --paper:#F7F5F0;
    --ink:#201E1A;
    --ink-soft:#5B564C;
    --line:rgba(32,30,26,.14);
    --line-strong:rgba(32,30,26,.30);
    --brass:#8C6A3B;
    --surface-sunk:#EFEBE2;
}

/* ================= BASIS ================= */
*{ box-sizing:border-box; }
html{ background:var(--paper); }
body{
    margin:0; padding:0; background:var(--paper); color:var(--ink);
    font-family:"IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing:antialiased;
    transition:background-color .25s ease, color .25s ease;
}
h1{ margin:0; }
a{ color:inherit; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }
:focus-visible{ outline:2px solid var(--brass); outline-offset:2px; }
.serif{ font-family:"Fraunces", Georgia, "Times New Roman", serif; }
.mono{ font-family:"IBM Plex Mono", ui-monospace, "SF Mono", monospace; }
@media (prefers-reduced-motion: reduce){
    *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
}

.container{ max-width:1360px; margin:0 auto; padding:0 clamp(20px,4vw,64px) 40px; }

/* ================= TOPLINE ================= */
.topline{
    display:flex; align-items:center; justify-content:space-between;
    padding:24px clamp(20px,4vw,64px) 0;
    max-width:1360px; margin:0 auto; box-sizing:border-box;
}
.studio-mark{ font-family:"IBM Plex Mono"; font-weight:500; font-size:12px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink); }
.studio-mark span{ color:var(--ink-soft); font-weight:400; text-transform:none; letter-spacing:.02em; }
.icon-btn{
    width:38px; height:38px; border-radius:50%; border:1px solid var(--line-strong); background:transparent;
    display:flex; align-items:center; justify-content:center; color:var(--ink); flex-shrink:0;
    transition:border-color .2s ease, background .2s ease;
}
.icon-btn:hover{ border-color:var(--brass); background:var(--surface-sunk); }
.icon-btn svg{ width:16px; height:16px; }
.icon-btn .icon-sun{ display:none; }
body.theme-light .icon-btn .icon-moon{ display:none; }
body.theme-light .icon-btn .icon-sun{ display:block; }

/* ================= COVER ================= */
.cover{ padding:18px clamp(20px,4vw,64px) 0; max-width:1360px; margin:0 auto; box-sizing:border-box; }
.cover-grid{ display:grid; grid-template-columns:1.05fr 1fr; gap:clamp(24px,4vw,60px); align-items:center; }
.cover-grid.no-photo{ grid-template-columns:1fr; max-width:640px; }
.cover-photo{
    position:relative; border-radius:2px; overflow:hidden; aspect-ratio:4/5;
    background-size:cover; background-position:center; background-color:var(--surface-sunk);
}
.cover-photo::after{ content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(12,10,8,.55) 0%, rgba(12,10,8,0) 46%); }
.cover-credit{ position:absolute; left:16px; bottom:14px; z-index:2; color:#F3EFE6; font-family:"IBM Plex Mono"; font-size:11px; letter-spacing:.05em; }
.eyebrow{ font-family:"IBM Plex Mono"; font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--brass); display:block; margin-bottom:18px; }
.cover-title{ font-size:clamp(34px,5vw,64px); font-style:italic; font-weight:440; line-height:1.05; letter-spacing:-.01em; margin:0; }
.cover-rule{ width:56px; height:1px; background:var(--line-strong); margin:24px 0; }
.cover-meta{ display:flex; flex-direction:column; gap:6px; margin-bottom:22px; }
.cover-meta .mono{ font-size:13px; color:var(--ink-soft); }
.cover-note{ max-width:44ch; color:var(--ink-soft); font-size:14.5px; line-height:1.65; margin:0; }

/* ================= UTILITY BAR (sticky, ehem. .controls) ================= */
.controls{
    position:sticky; top:0; z-index:20; margin:40px 0 32px;
    background:color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter:blur(10px);
    border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.controls-inner{
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap;
    gap:16px; padding:14px 0;
}
.controls-left{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.controls-right{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.count{ font-family:"IBM Plex Mono"; font-size:12.5px; color:var(--ink-soft); }
.count b{ color:var(--ink); font-weight:500; }

.seg{ display:flex; border:1px solid var(--line-strong); border-radius:999px; overflow:hidden; }
.seg .btn{ border:0; border-radius:0; margin:0; background:transparent; color:var(--ink-soft); }
.seg .btn.active{ background:var(--ink); color:var(--paper); font-weight:400; }

.filter-group{ display:flex; align-items:center; gap:9px; border-left:1px solid var(--line-strong); padding-left:16px; }
.filter-label{ display:none; }
.filter-dot{ width:11px; height:11px; border-radius:50%; cursor:pointer; border:1.5px solid var(--line-strong); box-sizing:border-box; background:transparent; transition:transform .15s ease, border-color .15s ease; }
.filter-dot.none{ background:var(--ink-soft); border-color:var(--ink-soft); }
.filter-dot.red{ background:var(--sel-red); border-color:var(--sel-red); }
.filter-dot.yellow{ background:var(--sel-gold); border-color:var(--sel-gold); }
.filter-dot.green{ background:var(--sel-green); border-color:var(--sel-green); }
.filter-dot.active-filter{ border-color:var(--ink); transform:scale(1.25); }

.btn{
    padding:9px 18px; border-radius:999px; font-size:12.5px; letter-spacing:.03em;
    border:1px solid var(--line-strong); background:transparent; color:var(--ink);
    transition:border-color .2s ease, background .2s ease, color .2s ease;
}
.btn:hover{ border-color:var(--brass); color:var(--brass); }
.btn-primary{ background:var(--ink); color:var(--paper); border-color:var(--ink); font-weight:500; }
.btn-primary:hover{ background:var(--brass); border-color:var(--brass); color:var(--paper); }
.btn-success{ background:transparent; border-color:var(--sel-green); color:var(--sel-green); }
.btn-success:hover{ background:var(--sel-green); color:var(--paper); }

.admin-banner{
    background:var(--surface-sunk); color:var(--brass); border:1px solid var(--line-strong);
    padding:10px 16px; border-radius:4px; text-align:center; font-size:13px; margin-bottom:24px;
    font-family:"IBM Plex Mono"; letter-spacing:.02em;
}

.admin-upload-zone{
    border:1.5px dashed var(--line-strong); border-radius:4px; background:var(--surface-sunk);
    padding:22px 20px; text-align:center; cursor:pointer; margin-bottom:24px;
    transition:border-color .2s ease, background .2s ease;
}
.admin-upload-zone:hover, .admin-upload-zone.drag-over{
    border-color:var(--brass); background:rgba(201,164,103,.08);
}
.admin-upload-zone .au-title{ font-size:12.5px; letter-spacing:.04em; text-transform:uppercase; color:var(--brass); margin:0 0 4px; }
.admin-upload-zone .au-sub{ font-size:12.5px; color:var(--ink-soft); margin:0; }
.admin-upload-progress{ width:100%; height:6px; background:var(--line); border-radius:99px; overflow:hidden; margin-top:14px; display:none; }
.admin-upload-progress-fill{ height:100%; width:0%; background:var(--brass); transition:width .25s ease; }
.admin-upload-status{ margin-top:8px; font-size:12px; color:var(--ink-soft); font-family:"IBM Plex Mono"; min-height:14px; }

.admin-drag-overlay{
    position:fixed; inset:0; background:rgba(10,9,7,.72); z-index:999;
    display:none; align-items:center; justify-content:center; pointer-events:none;
}
.admin-drag-overlay.active{ display:flex; }
.admin-drag-overlay-box{
    border:2px dashed var(--brass); border-radius:8px; padding:60px 80px;
    font-family:"Fraunces"; font-style:italic; font-size:26px; color:var(--ink);
    background:var(--surface-sunk); text-align:center;
}
.empty-state{ text-align:center; color:var(--ink-soft); padding:80px 20px; font-size:14px; }
.site-footer{ text-align:center; color:var(--ink-soft); font-size:12px; padding:50px 0 10px; }

/* ================= BILDWAND ================= */
/* War frueher ein CSS-Mehrspalten-Masonry (columns:3 260px) - das fuellt aber
   spaltenweise von oben nach unten (Bild 1,2,3,... landen alle in Spalte 1,
   erst danach beginnt Spalte 2). Auf Wunsch von Rainer jetzt ein echtes
   Grid mit align-items:start: Bilder werden zeilenweise (links nach rechts,
   dann naechste Zeile) angeordnet - wie die Fotos aufgenommen/sortiert
   wurden - und behalten dabei weiterhin ihr natuerliches Seitenverhaeltnis
   (kein Zuschneiden), da align-items:start jede Karte nur so hoch macht wie
   ihr eigenes Bild statt sie auf die Hoehe der ganzen Zeile zu strecken.
   Die Lightbox-Reihenfolge (naechstes/vorheriges Bild) folgt ohnehin der
   DOM-Reihenfolge und passt jetzt zusaetzlich visuell zur Bildwand. */
.image-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(260px, 1fr)); align-items:start; gap:6px; margin-bottom:8px; }
.image-card{ background:transparent; border:0; border-radius:2px; overflow:hidden; }
.image-card.hidden{ display:none !important; }
.image-wrapper{ position:relative; width:100%; background:var(--surface-sunk); cursor:zoom-in; display:block; }
.image-wrapper img{ width:100%; height:auto; display:block; transition:opacity .3s ease; }
.image-wrapper:hover img{ opacity:.92; }

.toolbar{
    position:absolute; left:0; right:0; bottom:0; padding:10px 12px;
    display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;
    background:linear-gradient(0deg, rgba(10,9,7,.7) 0%, rgba(10,9,7,0) 100%);
    opacity:0; transform:translateY(4px);
    transition:opacity .2s ease, transform .2s ease;
}
.image-wrapper:hover .toolbar, .image-wrapper:focus-within .toolbar{ opacity:1; transform:translateY(0); }
@media (hover:none){
    /* Touch-Geraete haben kein Hover: der volle Toolbar-Overlay wuerde das
       Vorschaubild fast komplett verdecken und das Antippen fuers Grossbild
       verhindern. Stattdessen: Bild bleibt frei antippbar, Status (Auswahl /
       Farbe) wird nur als kleines Badge angezeigt. Alle Aktionen (Download,
       Auswahl, Farbe, Loeschen) bleiben in der Grossansicht (Lightbox) verfuegbar. */
    .toolbar{ display:none; }

    .image-card[data-fav="1"] .image-wrapper::after{
        content:"✓"; position:absolute; top:8px; right:8px; z-index:2;
        width:26px; height:26px; border-radius:50%;
        background:var(--brass); color:#1A1712; font-size:13px; font-weight:700;
        display:flex; align-items:center; justify-content:center;
        box-shadow:0 2px 6px rgba(0,0,0,.4);
    }
    .image-card[data-color="red"] .image-wrapper::before,
    .image-card[data-color="yellow"] .image-wrapper::before,
    .image-card[data-color="green"] .image-wrapper::before{
        content:""; position:absolute; bottom:8px; left:8px; z-index:2;
        width:14px; height:14px; border-radius:50%; box-shadow:0 1px 4px rgba(0,0,0,.55);
    }
    .image-card[data-color="red"] .image-wrapper::before{ background:var(--sel-red); }
    .image-card[data-color="yellow"] .image-wrapper::before{ background:var(--sel-gold); }
    .image-card[data-color="green"] .image-wrapper::before{ background:var(--sel-green); }
}

.btn-tool{
    background:rgba(20,18,14,.4); color:#F3EFE6; border:1px solid rgba(243,239,230,.4);
    padding:6px 12px; border-radius:999px; font-family:"IBM Plex Mono"; font-size:11px; letter-spacing:.04em;
    text-decoration:none; display:inline-flex; align-items:center; cursor:pointer; backdrop-filter:blur(3px);
    transition:background .2s ease, border-color .2s ease;
}
.btn-tool:hover{ border-color:var(--brass); }
.btn-fav.is-active{ background:var(--brass); border-color:var(--brass); color:#1A1712; font-weight:500; }
.color-lights{ display:flex; gap:6px; }
.dot{ width:11px; height:11px; border-radius:50%; cursor:pointer; border:1.5px solid rgba(243,239,230,.5); background:transparent; transition:transform .15s ease; padding:0; }
.dot.red{ background:#B5543F; border-color:#B5543F; }
.dot.yellow{ background:#C89A3F; border-color:#C89A3F; }
.dot.green{ background:#5F7F5C; border-color:#5F7F5C; }
.dot.active-ring{ border-color:#fff; transform:scale(1.3); box-shadow:0 0 0 1px rgba(0,0,0,.4); }

/* ================= LIGHTBOX ================= */
#lightbox{ display:none; position:fixed; inset:0; background:#0A0907; z-index:2000; user-select:none; }
.lightbox-content{ position:absolute; inset:0; overflow:hidden; touch-action:pan-y pinch-zoom; }
#lightbox-track{ display:flex; width:300%; height:100%; transform:translateX(-33.3333%); will-change:transform; }
.lb-slide{ width:33.3333%; height:100%; display:flex; justify-content:center; align-items:center; padding:0 10px; box-sizing:border-box; }
.lb-slide img{ max-width:100%; max-height:100%; object-fit:contain; box-shadow:0 0 40px rgba(0,0,0,.6); }

.lightbox-top-bar{
    position:absolute; top:0; left:0; width:100%; box-sizing:border-box;
    display:flex; justify-content:flex-end; align-items:center; padding:20px clamp(16px,4vw,40px);
    z-index:2001; background:linear-gradient(to bottom, rgba(10,9,7,.6) 0%, rgba(10,9,7,0) 100%);
    pointer-events:none;
}
.lightbox-top-bar > *{ pointer-events:auto; }
#lightbox-close{
    font-size:26px; line-height:1; cursor:pointer; color:#F3EFE6; font-weight:300;
    width:38px; height:38px; border-radius:50%; border:1px solid rgba(243,239,230,.35);
    display:flex; align-items:center; justify-content:center;
}
#lightbox-close:hover{ border-color:var(--brass); }

.lightbox-bottom-bar{
    position:absolute; bottom:0; left:0; width:100%; box-sizing:border-box;
    display:flex; flex-direction:column; gap:14px;
    padding:18px clamp(16px,4vw,40px) 26px; z-index:2001;
    background:linear-gradient(to top, rgba(10,9,7,.82) 0%, rgba(10,9,7,0) 100%);
    pointer-events:none;
}
.lightbox-bottom-bar > *{ pointer-events:auto; }
.lb-bottom-row{ display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.lb-actions{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.lb-btn{
    background:rgba(243,239,230,.08); color:#F3EFE6; border:1px solid rgba(243,239,230,.3);
    padding:8px 16px; border-radius:999px; cursor:pointer; font-family:"IBM Plex Mono"; font-size:11.5px;
    letter-spacing:.03em; backdrop-filter:blur(6px); transition:all .2s ease;
}
.lb-btn:hover{ border-color:var(--brass); }
.lb-btn.is-active{ background:var(--brass); border-color:var(--brass); color:#1A1712; font-weight:500; }
.lb-color-lights{ display:flex; gap:10px; margin-left:4px; align-items:center; }
.lb-dot{ width:18px; height:18px; border-radius:50%; cursor:pointer; border:1.5px solid rgba(243,239,230,.4); box-shadow:0 1px 3px rgba(0,0,0,.4); }
.lb-dot.red{ background:#B5543F; border-color:#B5543F; }
.lb-dot.yellow{ background:#C89A3F; border-color:#C89A3F; }
.lb-dot.green{ background:#5F7F5C; border-color:#5F7F5C; }
.lb-dot.active-ring{ border-color:#fff; transform:scale(1.25); }
#lightbox-counter{ font-family:"IBM Plex Mono"; font-size:12px; color:#B7AF9E; letter-spacing:.02em; }

.lb-exif{ display:none; gap:22px; flex-wrap:wrap; }
.lb-exif > div{ display:flex; flex-direction:column; gap:3px; }
.lb-exif label{ font-family:"IBM Plex Mono"; font-size:9.5px; letter-spacing:.09em; text-transform:uppercase; color:#8A8272; }
.lb-exif span{ font-family:"IBM Plex Mono"; font-size:12.5px; color:#E8E2D3; }

.lightbox-nav{
    position:absolute; top:50%; transform:translateY(-50%); color:#F3EFE6; font-size:34px; font-weight:300;
    cursor:pointer; z-index:2001; padding:20px; opacity:.5; transition:opacity .2s ease;
}
.lightbox-nav:hover{ opacity:1; }
#lightbox-prev{ left:6px; }
#lightbox-next{ right:6px; }

/* ================= MODAL ================= */
.modal-overlay{ position:fixed; inset:0; background:var(--scrim); display:none; justify-content:center; align-items:center; z-index:3000; }
.modal-content{
    background:var(--paper); padding:32px; border-radius:4px; width:90%; max-width:440px;
    border:1px solid var(--line-strong); box-shadow:0 20px 60px rgba(0,0,0,.35);
}
.modal-content h2{ font-family:"Fraunces"; font-style:italic; font-weight:500; font-size:24px; margin:0 0 6px; }
.modal-content label{ font-family:"IBM Plex Mono"; font-size:11px; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-soft); display:block; margin-top:16px; margin-bottom:6px; }
.modal-content input, .modal-content textarea{
    width:100%; padding:11px 14px; border-radius:2px; border:1px solid var(--line-strong);
    background:var(--surface-sunk); color:var(--ink); box-sizing:border-box; font-family:inherit; font-size:14px;
}
.modal-content input:focus, .modal-content textarea:focus{ outline:none; border-color:var(--brass); }

/* ================= MOBILE ================= */
@media (max-width: 860px){
    .cover-grid{ grid-template-columns:1fr; }
    .cover-photo{ aspect-ratio:16/10; }
    .image-grid{ grid-template-columns:repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 600px){
    .topline{ padding:18px clamp(16px,4vw,64px) 0; }
    .cover{ padding:14px clamp(16px,4vw,64px) 0; }
    .cover-title{ font-size:clamp(30px,9vw,44px); }
    .controls{ margin:28px 0 24px; }
    .controls-inner{ gap:12px; }
    .lightbox-nav{ display:none !important; }
    .lightbox-bottom-bar{ padding:16px 16px 20px; }
    .lb-exif{ gap:14px; }
    .lb-exif label{ font-size:9px; }
    .lb-exif span{ font-size:11px; }
}

/* ================= SHOP / WARENKORB (Phase 6) ================= */
.topline-actions{ display:flex; align-items:center; gap:10px; }
.cart-btn{ position:relative; font-size:15px; }
.cart-badge{
    position:absolute; top:-4px; right:-4px; min-width:16px; height:16px; padding:0 3px;
    border-radius:999px; background:var(--brass); color:#1A1712; font-family:"IBM Plex Mono";
    font-size:10px; font-weight:700; display:flex; align-items:center; justify-content:center; line-height:1;
}

.shop-panel{
    margin:0 0 32px; padding:22px clamp(18px,3vw,28px); border:1px solid var(--line-strong);
    border-radius:4px; background:var(--surface-sunk);
}
.shop-panel-head{ display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:16px; }
.shop-panel-hint{ font-size:11px; color:var(--ink-soft); }
.shop-products{ display:flex; flex-direction:column; gap:14px; }
.shop-product{
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:14px;
    padding:14px 0; border-top:1px solid var(--line);
}
.shop-products .shop-product:first-child{ border-top:0; padding-top:0; }
.shop-product-info{ display:flex; flex-direction:column; gap:3px; }
.shop-product-info strong{ font-size:14.5px; font-weight:500; }
.shop-product-desc{ font-size:12.5px; color:var(--ink-soft); }
.shop-product-action{ display:flex; align-items:center; gap:14px; }
.shop-price{ font-size:13px; color:var(--brass); white-space:nowrap; }

.btn-buy.is-active{ background:var(--brass); border-color:var(--brass); color:#1A1712; font-weight:500; }

.picking-bar{
    position:fixed; left:50%; bottom:20px; transform:translateX(-50%); z-index:1500;
    display:flex; align-items:center; gap:18px; flex-wrap:wrap; justify-content:center;
    background:var(--paper); border:1px solid var(--line-strong); border-radius:999px;
    padding:10px 12px 10px 20px; box-shadow:0 12px 30px rgba(0,0,0,.3);
}
.picking-bar-actions{ display:flex; gap:8px; }
.picking-bar #pickingBarConfirm:disabled{ opacity:.45; cursor:not-allowed; }

.image-wrapper.picking-selected::after{
    content:"✓"; position:absolute; top:8px; right:8px; z-index:2;
    width:26px; height:26px; border-radius:50%; background:var(--brass); color:#1A1712;
    font-size:13px; font-weight:700; display:flex; align-items:center; justify-content:center;
    box-shadow:0 2px 6px rgba(0,0,0,.4);
}
body.picking-active .image-wrapper{ cursor:pointer; }
body.picking-active .image-wrapper:not(.picking-selected){ opacity:.55; }
body.picking-active .image-wrapper:not(.picking-selected):hover{ opacity:.85; }

.cart-items{ display:flex; flex-direction:column; gap:0; max-height:320px; overflow-y:auto; }
.cart-item{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 0; border-top:1px solid var(--line); }
.cart-items .cart-item:first-child{ border-top:0; }
.cart-item-info{ display:flex; flex-direction:column; gap:2px; }
.cart-item-info strong{ font-size:13.5px; font-weight:500; }
.cart-item-info span{ font-size:11.5px; color:var(--ink-soft); }
.cart-item-right{ display:flex; align-items:center; gap:10px; }
.cart-item-price{ font-family:"IBM Plex Mono"; font-size:13px; white-space:nowrap; }
.cart-item-remove{
    background:transparent; border:1px solid var(--line-strong); color:var(--ink-soft);
    width:24px; height:24px; border-radius:50%; font-size:14px; line-height:1; cursor:pointer;
    display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.cart-item-remove:hover{ border-color:var(--sel-red); color:var(--sel-red); }
.cart-empty-hint{ color:var(--ink-soft); font-size:13.5px; padding:10px 0; }
.cart-total{ display:flex; justify-content:space-between; font-size:15px; font-weight:500; padding-top:14px; margin-top:4px; border-top:1px solid var(--line-strong); }

/* ================= ZAHLUNG / CHECKOUT (Phase 7) ================= */
.payment-method-options{ display:flex; flex-direction:column; gap:8px; margin-top:6px; }
.payment-method-option{
    display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--line-strong);
    border-radius:6px; cursor:pointer; font-family:inherit; text-transform:none; letter-spacing:normal;
    font-size:13.5px; color:var(--ink); margin:0;
}
.payment-method-option:has(input:checked){ border-color:var(--brass); background:var(--surface-sunk); }
.payment-method-option input{ width:auto; margin:0; accent-color:var(--brass); }
.payment-method-option.is-disabled{ opacity:.45; cursor:not-allowed; }
.payment-option-inline-hint{ margin-left:auto; font-size:11px; color:var(--ink-soft); text-transform:none; letter-spacing:normal; white-space:nowrap; }

.payment-hint-box{
    background:var(--surface-sunk); border:1px solid var(--line); border-radius:6px;
    padding:10px 12px; font-size:12.5px; color:var(--ink-soft); line-height:1.6; margin-top:10px;
}

.withdrawal-consent{
    display:flex; align-items:flex-start; gap:10px; margin-top:20px; font-family:inherit;
    text-transform:none; letter-spacing:normal; font-size:12.5px; line-height:1.5; color:var(--ink-soft); cursor:pointer;
}
.withdrawal-consent input{ width:auto; margin-top:2px; flex-shrink:0; accent-color:var(--brass); }

#paypalButtonContainer{ margin-top:16px; }
#paypalButtonContainer.is-locked{ opacity:.4; pointer-events:none; }

@media (max-width: 600px){
    .shop-product{ flex-direction:column; align-items:flex-start; }
    .shop-product-action{ width:100%; justify-content:space-between; }
    .picking-bar{ left:12px; right:12px; transform:none; width:auto; justify-content:space-between; }
}
