/* ==========================================================================
   Grafika darilnega bona – posnetek natisnjenega bona Studia S (razmerje 2,12 : 1).
   Vse mere so v cqw (odstotek širine bona), zato je bon enak v vsaki velikosti.
   ========================================================================== */
.sbon {
  --sbon-crnilo: #2F2A2C; --sbon-iskra: #D9C4BE; --sbon-zig: #7A6A6E;
  position: relative; overflow: hidden; container-type: inline-size; width: 100%; aspect-ratio: 2.12 / 1;
  border-radius: 1.3cqw; color: var(--sbon-crnilo);
  background: linear-gradient(128deg, #F7F0EE 0%, #F2E8E5 48%, #EADCD7 100%);
  box-shadow: 0 30px 60px -30px rgba(28,23,20,.5), 0 12px 24px -14px rgba(28,23,20,.3);
  font-family: Manrope, system-ui, "Segoe UI", sans-serif; line-height: 1.2;
}
.sbon > * { position: absolute; margin: 0; }
.sbon svg { fill: currentColor; }
.sbon__iskra { color: var(--sbon-iskra); }
.sbon__iskra--a { left: 4.6cqw; top: 6cqw; width: 19cqw; height: 19cqw; }
.sbon__iskra--b { right: 4cqw; bottom: 6.5cqw; width: 9.5cqw; height: 9.5cqw; }
.sbon__znak { left: calc(47% - 9.6cqw); top: 1.2cqw; width: 19.2cqw; height: 25cqw; color: var(--sbon-zig); opacity: .085; }
.sbon__napis { left: 22%; top: 25.5cqw; width: 55cqw; height: 14.6cqw; color: var(--sbon-zig); opacity: .075; }
.sbon__naslov {
  left: 47%; top: 6.6cqw; transform: translateX(-50%); white-space: nowrap;
  font-family: "Cormorant Garamond", "Bodoni Moda", Didot, Georgia, serif; font-weight: 500;
  font-size: 4.9cqw; letter-spacing: .01em; text-transform: uppercase; color: #262124;
}
.sbon__crta { left: 19%; right: 20%; top: 24cqw; height: 0; border-top: max(1px, .14cqw) solid #3B3236; }
.sbon__crta::before, .sbon__crta::after { content: ""; position: absolute; top: -.42cqw; width: .7cqw; height: .7cqw; border-radius: 50%; background: #3B3236; }
.sbon__crta::before { left: -.35cqw; }
.sbon__crta::after { right: -.35cqw; }
.sbon__vrednost {
  position: absolute; left: 50%; bottom: .5cqw; transform: translateX(-50%); white-space: nowrap;
  font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500;
  font-size: 7.4cqw; line-height: 1; color: #2A2427; font-variant-numeric: lining-nums;
}
.sbon__polja {
  left: 20%; width: 52%; top: 28.4cqw; height: 5.6cqw; display: flex; justify-content: space-between; align-items: center; gap: 2cqw;
  padding: 0 3cqw 0 2.6cqw; border: max(1px, .14cqw) solid #3B3236; border-radius: 99px; font-size: 1.85cqw; font-weight: 500; box-sizing: border-box;
}
.sbon__polja span { white-space: nowrap; }
.sbon__polja b { font-weight: 700; }
.sbon__pogoji, .sbon__salon { left: 8%; right: 12%; text-align: center; }
.sbon__pogoji { top: 36.3cqw; font-size: 1.5cqw; font-style: italic; color: #4E4548; }
.sbon__salon { top: 38.7cqw; font-size: 1.42cqw; color: #4E4548; }

/* temna kartica z zlatim logotipom */
.sbon--temna { background: radial-gradient(130% 150% at 18% 0%, #3B2F3A 0%, #231B24 46%, #161118 100%); display: grid; place-items: center; }
.sbon--temna > * { position: static; }
.sbon__logo { width: 66%; height: auto; filter: drop-shadow(0 1px 0 rgba(0,0,0,.35)); }
.sbon--temna .sbon__logo path { fill: url(#sbon-zlato); }
.sbon__sij {
  position: absolute !important; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .5;
  background: linear-gradient(115deg, transparent 32%, rgba(255,240,205,.45) 47%, transparent 62%) no-repeat; background-size: 260% 100%; background-position: 30% 0;
}

/* obračanje: spredaj temna kartica, zadaj bon */
.sbon-oder { perspective: 1800px; }
.sbon-oder__karta { position: relative; display: grid; transform-style: preserve-3d; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.sbon-oder__karta > .sbon { grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.sbon-oder__karta > .sbon:not(.sbon--temna) { transform: rotateY(180deg); }
.sbon-oder.is-obrnjen .sbon-oder__karta { transform: rotateY(180deg); }
@media (prefers-reduced-motion: reduce) { .sbon-oder__karta { transition-duration: .01s; } }

/* spremnica s sporočilom in podatki za unovčenje */
.sbon-spremnica {
  position: relative; overflow: hidden; padding: clamp(20px, 3.4vw, 34px) clamp(20px, 4vw, 40px); border-radius: 14px; color: #2F2A2C;
  background: linear-gradient(128deg, #F7F0EE 0%, #F2E8E5 60%, #ECDFDA 100%); box-shadow: 0 20px 40px -28px rgba(28,23,20,.45);
}
.sbon-spremnica__iskra { position: absolute; right: 18px; top: 16px; width: 34px; height: 34px; fill: #D9C4BE; }
.sbon-spremnica__za { margin: 0 0 8px; font-weight: 600; font-size: 1rem; }
.sbon-spremnica__msg { margin: 0; max-width: 46ch; font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); line-height: 1.3; color: #4A4144; overflow-wrap: anywhere; }
.sbon-spremnica__od { margin: 10px 0 0; font-size: .9rem; color: #6E6366; }
.sbon-spremnica__podatki { display: flex; flex-wrap: wrap; gap: 10px 34px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(59,50,54,.18); }
.sbon-spremnica__podatki:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.sbon-spremnica__podatki dt { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8B6A55; }
.sbon-spremnica__podatki dd { margin: 2px 0 0; font-weight: 600; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
