/* "Moja spletna slaščičarna" public landing page (site-kit.js renderSite).
 * Motion and focus come from the BAM Atelier tokens (bam-design.css); colours are the baker's own brand,
 * generated per site as --s-* custom properties (site-kit.js buildTheme). Each template has its own type
 * pair from the self-hosted OFL fonts in ./fonts (licences in fonts/OFL.txt), like the colours a part of the baker's brand. */

/* One file per style (Latin and Latin Extended together, so č š ž ć đ shape correctly). */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("fonts/eb-garamond.woff2") format("woff2"); }
@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400 800; font-display: swap; src: url("fonts/eb-garamond-italic.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/bodoni-moda.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("fonts/bodoni-moda-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/dm-serif-display.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/dm-serif-display-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/manrope.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("fonts/dm-sans.woff2") format("woff2"); }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("fonts/unbounded.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("fonts/bricolage-grotesque.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("fonts/caveat.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("fonts/space-grotesk.woff2") format("woff2"); }

/* ==========================================================================
   Base: shared structure. Every template sets its own type pair, rhythm and shapes below.
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; background: var(--s-bg); color: var(--s-text); }
body { font-family: var(--bam-sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }

.bs {
  --bs-display: var(--bam-serif); --bs-body: var(--bam-sans); --bs-hand: "Caveat", "Segoe Print", cursive;
  --bs-display-weight: 400; --bs-pad: clamp(18px, 5vw, 72px); --bs-max: 1240px; --bs-radius: var(--bam-radius-lg);
  --bs-gutter: max(var(--bs-pad), calc((100% - var(--bs-max)) / 2)); --bs-section: clamp(72px, 10vw, 148px);
  min-height: 100vh; overflow-x: clip; background: var(--s-bg); color: var(--s-text); font-family: var(--bs-body); font-size: 17px; line-height: 1.65;
}
.bs main { counter-reset: bs-section; }
.bs h1, .bs h2, .bs h3 { margin: 0; font-family: var(--bs-display); font-weight: var(--bs-display-weight); letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
.bs h1 { font-size: clamp(46px, 7.2vw, 108px); }
.bs h2 { font-size: clamp(34px, 4.6vw, 64px); }
.bs h3 { font-size: 22px; letter-spacing: -.01em; }
.bs p { margin: 0; text-wrap: pretty; }
.bs a { color: var(--s-primary); text-underline-offset: .2em; }
.bs a:focus-visible { outline: 3px solid var(--s-focus); outline-offset: 3px; border-radius: 4px; }
.bs section { position: relative; padding: var(--bs-section) var(--bs-gutter); }
.bs figure { margin: 0; }

/* Header */
.bs-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 28px; padding: 16px var(--bs-gutter); background: color-mix(in srgb, var(--s-bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--s-line) 45%, transparent); }
.bs-brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--s-text) !important; text-decoration: none; }
.bs-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: var(--s-surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--s-line) 60%, transparent); }
.bs-name { overflow: hidden; font-family: var(--bs-display); font-weight: var(--bs-display-weight); font-size: 24px; letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
.bs-nav { display: flex; gap: 30px; margin-left: auto; }
.bs-nav a { position: relative; color: var(--s-text); font-size: 14px; font-weight: 600; text-decoration: none; opacity: .78; }
.bs-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--bam-duration) var(--bam-ease); }
.bs-nav a:hover { opacity: 1; }
.bs-nav a:hover::after { transform: scaleX(1); }

/* The one primary action */
.bs-cta { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; color: var(--s-on-button) !important; background: var(--s-button); border-radius: var(--bam-radius-pill); font-family: var(--bs-body); font-weight: 700; letter-spacing: .01em; text-decoration: none; white-space: nowrap; transition: transform var(--bam-duration) var(--bam-ease), box-shadow var(--bam-duration) var(--bam-ease); }
.bs-cta::after { content: "→"; font-weight: 400; transition: transform var(--bam-duration) var(--bam-ease); }
.bs-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--s-button) 32%, transparent); }
.bs-cta:hover::after { transform: translateX(4px); }
.bs-cta-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.bs-cta-sm::after { display: none; }
.bs-cta-lg { min-height: 58px; padding: 0 34px; font-size: 17px; }
/* Business card (no PRO): direct contacts instead of the inquiry form */
.bs-cta-quiet { color: var(--s-text) !important; background: transparent; box-shadow: inset 0 0 0 1.5px var(--s-line); }
.bs-cta-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--s-button); }
.bs-card .bs-cta::after { display: none; }
.bs-card-note { max-width: 52ch; padding: 12px 16px; border-left: 3px solid var(--s-primary); background: color-mix(in srgb, var(--s-primary) 8%, transparent); border-radius: 0 var(--bam-radius-sm) var(--bam-radius-sm) 0; text-align: left; }
.bs-card .bs-card-hero { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.bs-card .bs-card-hero .bs-hero-copy { justify-items: center; text-align: center; }
.bs-card .bs-hero-media { width: min(320px, 100%); aspect-ratio: 1; }
.bs-card .bs-hero-logo img { object-fit: contain; padding: 12%; background: var(--s-surface); }
.bs-card-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.bs-card-actions .bs-cta { white-space: normal; text-align: center; }
.bs-card-city { color: var(--s-muted); font-size: 14px; font-weight: 600; }
.bs-card .bs-grid { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); grid-auto-rows: auto; }
.bs-card .bs-grid figure { grid-row: auto !important; grid-column: auto !important; }
.bs-card .bs-cta:focus-visible { outline: 2px solid var(--s-primary); outline-offset: 3px; }
@media (max-width: 560px) { .bs-card-actions .bs-cta { width: 100%; } }

/* Section heads: a numbered label above the title */
.bs-head { display: grid; gap: 16px; margin: 0 0 clamp(36px, 5vw, 64px); }
.bs-eyebrow { display: flex; align-items: center; gap: 14px; color: var(--s-primary); font-family: var(--bs-body); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.bs-eyebrow::before { counter-increment: bs-section; content: counter(bs-section, decimal-leading-zero); font-variant-numeric: tabular-nums; }
.bs-eyebrow::after { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .45; }

/* Hero */
.bs-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 96px); min-height: min(88vh, 900px); }
.bs-hero-copy { display: grid; justify-items: start; gap: 26px; }
.bs-kicker { color: var(--s-primary); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.bs-lead { max-width: 50ch; color: var(--s-muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; }
.bs-notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; color: var(--s-muted); font-size: 14px; }
.bs-notes li { display: inline-flex; align-items: center; gap: 8px; }
.bs-notes li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--s-primary); }
/* Up to three photos form a collage; templates rearrange the same three frames. */
.bs-hero-media { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); aspect-ratio: 5 / 6; }
.bs-hero-photo { position: relative; overflow: hidden; border-radius: var(--bs-radius); background: var(--s-surface); }
.bs-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.bs-hero-photo figcaption { display: none; }
.bs-hero-photo-1 { grid-area: 1 / 2 / 7 / 7; }
.bs-hero-photo-2 { z-index: 2; grid-area: 4 / 1 / 7 / 3; box-shadow: 0 0 0 8px var(--s-bg); }
.bs-hero-photo-3 { z-index: 2; grid-area: 1 / 5 / 3 / 7; box-shadow: 0 0 0 8px var(--s-bg); transform: translate(18%, -14%); }
.bs[data-photos="1"] .bs-hero-photo-1, .bs[data-photos="0"] .bs-hero-photo-1 { grid-area: 1 / 1 / 7 / 7; }
.bs[data-photos="2"] .bs-hero-photo-1 { grid-area: 1 / 2 / 7 / 7; }
.bs-stamp { position: absolute; z-index: 3; right: -4%; bottom: 6%; display: none; place-items: center; width: clamp(108px, 11vw, 142px); aspect-ratio: 1; padding: 18px; border-radius: 50%; background: var(--s-button); color: var(--s-on-button); font-size: 11px; font-weight: 800; line-height: 1.35; letter-spacing: .12em; text-align: center; text-transform: uppercase; transform: rotate(-12deg); box-shadow: 0 12px 30px color-mix(in srgb, var(--s-text) 18%, transparent); }

/* Offer ribbon (decorative; the offer list below is the accessible one) */
.bs-ribbon { display: none; overflow: hidden; }
.bs-ribbon-track { display: flex; width: max-content; }
.bs-ribbon-track > span { display: flex; flex-shrink: 0; align-items: center; }
.bs-ribbon-track span span { padding: 0 26px; white-space: nowrap; }
.bs-ribbon-track i { width: 9px; height: 9px; flex-shrink: 0; background: currentColor; transform: rotate(45deg); opacity: .7; }

/* Offer */
.bs-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); margin: 0; padding: 0; list-style: none; }
.bs-chips li { display: flex; align-items: baseline; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--s-line); }
.bs-index { color: var(--s-primary); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.bs-item { font-family: var(--bs-display); font-weight: var(--bs-display-weight); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; }

/* Desserts on offer from Moji recepti: photo, name, price per piece and allergens. */
.bs-dessert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.bs-dessert { display: grid; align-content: start; overflow: hidden; border-radius: var(--bs-radius); background: var(--s-surface); box-shadow: 0 1px 0 var(--s-line), 0 18px 40px -24px color-mix(in srgb, var(--s-text) 30%, transparent); }
.bs-dessert img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bs-dessert-copy { display: grid; gap: 6px; padding: 18px 20px 22px; }
.bs-dessert-copy h3 { margin: 0; font-size: 24px; }
.bs-dessert-copy p { margin: 0; }
.bs-dessert-price { color: var(--s-primary-on-surface); font-weight: 700; }
.bs-dessert-allergens { color: var(--s-muted); font-size: 13px; }
.bs-dessert-allergens span { font-weight: 700; }

/* Signature dessert */
.bs-signature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 96px); background: var(--s-band); color: var(--s-on-band); }
.bs-signature-text { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.bs-signature-media { overflow: hidden; border-radius: var(--bs-radius); aspect-ratio: 4 / 5; }
.bs-signature-media img { width: 100%; height: 100%; object-fit: cover; }
.bs-signature-copy { display: grid; gap: 22px; max-width: 560px; }
.bs-signature-text .bs-signature-copy { justify-items: center; }
.bs-signature .bs-kicker { color: inherit; opacity: .8; }
.bs-signature h2 { font-size: clamp(38px, 5.4vw, 76px); }
.bs-signature-copy p:last-child { font-size: clamp(17px, 1.4vw, 20px); }

/* Gallery */
.bs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 22vw, 300px); grid-auto-flow: dense; gap: clamp(10px, 1.4vw, 20px); }
.bs-grid figure { position: relative; overflow: hidden; border-radius: var(--bs-radius); }
.bs-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.bs-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--bam-ease); }
.bs-grid figure:hover img { transform: scale(1.04); }
.bs-grid figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--bam-radius-pill); background: color-mix(in srgb, var(--s-surface) 92%, transparent); color: var(--s-text); font-size: 13px; font-weight: 600; }

/* About */
.bs-about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(32px, 6vw, 96px); background: var(--s-surface); }
.bs-about-text { grid-template-columns: minmax(0, 1fr); }
.bs-about-media { display: grid; place-items: center; aspect-ratio: 1; padding: 12%; border-radius: 50%; background: var(--s-bg); box-shadow: inset 0 0 0 1px var(--s-line); }
.bs-about-logo { width: 100%; height: 100%; object-fit: contain; }
.bs-about-copy { display: grid; gap: 22px; max-width: 64ch; }
.bs-about-copy .bs-head { margin: 0; }
.bs-about .bs-eyebrow { color: var(--s-primary-on-surface); }
.bs-story { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.7; }
.bs-signoff { font-family: var(--bs-hand); font-size: 34px; line-height: 1; color: var(--s-primary-on-surface); }
.bs-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bs-badges li { padding: 7px 16px; border-radius: var(--bam-radius-pill); background: var(--s-accent-soft); color: var(--s-text); font-size: 13px; font-weight: 700; }

/* Steps */
.bs-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.bs-steps li { display: grid; align-content: start; gap: 8px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--s-line); border-radius: var(--bs-radius); background: var(--s-surface); counter-increment: step; }
.bs-steps li::before { content: counter(step, decimal-leading-zero); margin-bottom: 18px; color: var(--s-primary-on-surface); font-family: var(--bs-display); font-size: 44px; line-height: 1; }
.bs-steps li strong { font-family: var(--bs-display); font-weight: var(--bs-display-weight); font-size: 24px; line-height: 1.2; }
.bs-steps li span { color: var(--s-muted); }

/* Closing call to action */
.bs-final { display: grid; justify-items: center; gap: 26px; text-align: center; background: var(--s-deep); color: var(--s-on-deep); }
.bs-final h2 { max-width: 16ch; font-size: clamp(40px, 6vw, 88px); }
.bs-final .bs-lead { color: inherit; opacity: .82; }
.bs-final .bs-cta { background: var(--s-on-deep); color: var(--s-deep) !important; }
.bs-final .bs-cta:focus-visible { outline-color: var(--s-on-deep); }

/* Contact and footer */
.bs-contact ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--s-line); }
.bs-contact li { display: grid; gap: 6px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--s-line); }
.bs-contact li span { color: var(--s-muted); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.bs-contact a, .bs-contact strong { font-family: var(--bs-display); font-weight: var(--bs-display-weight); font-size: clamp(20px, 1.8vw, 26px); overflow-wrap: anywhere; text-decoration: none; }
.bs-contact a:hover { text-decoration: underline; }
.bs-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 32px var(--bs-gutter); border-top: 1px solid var(--s-line); color: var(--s-muted); font-size: 13px; }
.bs-foot-name { margin-right: auto; }
.bs-foot a { color: var(--s-muted); font-weight: 700; text-decoration: none; }
.bs-foot a:hover { color: var(--s-text); text-decoration: underline; }

/* Ornaments drawn as masks, so they take the baker's colour */
.bs {
  --bs-leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 3C9 3 4 9 4 16c0 2 .5 3.5 1 5 1-4 4-8 9-10-4 3-6.5 6.5-7.5 10 8 1 13.5-6 13.5-18z'/%3E%3C/svg%3E");
  --bs-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z'/%3E%3C/svg%3E");
  --bs-burst: polygon(50% 0%, 61% 11%, 75% 4%, 79% 19%, 95% 21%, 89% 36%, 100% 50%, 89% 64%, 95% 79%, 79% 81%, 75% 96%, 61% 89%, 50% 100%, 39% 89%, 25% 96%, 21% 81%, 5% 79%, 11% 64%, 0% 50%, 11% 36%, 5% 21%, 21% 19%, 25% 4%, 39% 11%);
}

/* ==========================================================================
   1. Elegantni atelje — EB Garamond and Manrope, centred, a triptych of arches, roman numerals
   ========================================================================== */
.bs[data-template="atelier"] { --bs-display: "EB Garamond", var(--bam-serif); --bs-body: "Manrope", var(--bam-sans); --bs-display-weight: 400; --bs-radius: 2px; }
.bs[data-template="atelier"] h1 { font-size: clamp(50px, 7.6vw, 118px); letter-spacing: -.03em; line-height: 1; }
.bs[data-template="atelier"] h2 { font-style: italic; font-weight: 400; }
.bs[data-template="atelier"] .bs-top { display: grid; grid-template-columns: 1fr auto 1fr; border-bottom: 0; }
.bs[data-template="atelier"] .bs-brand { grid-column: 2; grid-row: 1; flex-direction: column; gap: 6px; }
.bs[data-template="atelier"] .bs-name { font-size: 26px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.bs[data-template="atelier"] .bs-nav { grid-column: 1; grid-row: 1; margin: 0; }
.bs[data-template="atelier"] .bs-nav a, .bs[data-template="atelier"] .bs-cta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.bs[data-template="atelier"] .bs-top .bs-cta { grid-column: 3; grid-row: 1; justify-self: end; }
.bs[data-template="atelier"] .bs-cta { border-radius: 0; font-weight: 700; }
.bs[data-template="atelier"] .bs-hero { grid-template-columns: 1fr; justify-items: center; min-height: 0; padding-top: clamp(40px, 6vw, 88px); text-align: center; }
.bs[data-template="atelier"] .bs-hero-copy { justify-items: center; max-width: 980px; }
.bs[data-template="atelier"] .bs-kicker { display: flex; align-items: center; gap: 18px; }
.bs[data-template="atelier"] .bs-kicker::before, .bs[data-template="atelier"] .bs-kicker::after { content: ""; width: 56px; height: 1px; background: currentColor; }
.bs[data-template="atelier"] .bs-notes { justify-content: center; }
.bs[data-template="atelier"] .bs-hero-media { width: min(1120px, 100%); aspect-ratio: auto; grid-template-columns: 1fr 1.25fr 1fr; grid-template-rows: auto; align-items: end; gap: clamp(12px, 2.4vw, 32px); }
.bs[data-template="atelier"] .bs-hero-photo { grid-area: auto; transform: none; box-shadow: none; }
.bs[data-template="atelier"] .bs-hero-photo-1 { grid-column: 2; grid-row: 1; aspect-ratio: 3 / 4; border-radius: 999px 999px 2px 2px; }
.bs[data-template="atelier"] .bs-hero-photo-2 { grid-column: 1; grid-row: 1; aspect-ratio: 3 / 4; margin-bottom: 12%; border-radius: 999px 999px 2px 2px; }
.bs[data-template="atelier"] .bs-hero-photo-3 { grid-column: 3; grid-row: 1; aspect-ratio: 3 / 4; margin-bottom: 12%; border-radius: 999px 999px 2px 2px; }
.bs[data-template="atelier"][data-photos="1"] .bs-hero-media, .bs[data-template="atelier"][data-photos="2"] .bs-hero-media { width: min(560px, 100%); grid-template-columns: 1fr; }
.bs[data-template="atelier"][data-photos="1"] .bs-hero-photo-1, .bs[data-template="atelier"][data-photos="2"] .bs-hero-photo-1 { grid-column: 1; }
.bs[data-template="atelier"][data-photos="2"] .bs-hero-photo-2 { display: none; }
.bs[data-template="atelier"] .bs-ribbon { display: block; margin: 0 var(--bs-gutter); padding: 22px 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); color: var(--s-text); font-family: var(--bs-display); font-size: 24px; font-style: italic; }
.bs[data-template="atelier"] .bs-ribbon-track i { width: 7px; height: 7px; background: var(--s-primary); }
.bs[data-template="atelier"] .bs-head { justify-items: center; text-align: center; }
.bs[data-template="atelier"] .bs-eyebrow::before { content: counter(bs-section, upper-roman); }
.bs[data-template="atelier"] .bs-eyebrow::after { display: none; }
.bs[data-template="atelier"] .bs-eyebrow { gap: 10px; }
.bs[data-template="atelier"] .bs-eyebrow::before { padding-right: 10px; border-right: 1px solid currentColor; }
.bs[data-template="atelier"] .bs-chips { max-width: 980px; margin: 0 auto; }
.bs[data-template="atelier"] .bs-chips li { justify-content: center; gap: 14px; }
.bs[data-template="atelier"] .bs-index { display: none; }
.bs[data-template="atelier"] .bs-item { font-style: italic; font-size: clamp(24px, 2.4vw, 32px); }
.bs[data-template="atelier"] .bs-signature { background: var(--s-surface); color: var(--s-text); }
.bs[data-template="atelier"] .bs-signature .bs-kicker { color: var(--s-primary-on-surface); opacity: 1; }
.bs[data-template="atelier"] .bs-signature-media { border-radius: 999px 999px 2px 2px; max-width: 480px; justify-self: center; width: 100%; }
.bs[data-template="atelier"] .bs-grid { grid-auto-rows: auto; }
.bs[data-template="atelier"] .bs-grid figure { grid-row: auto; overflow: visible; }
.bs[data-template="atelier"] .bs-grid img { aspect-ratio: 4 / 5; height: auto; }
.bs[data-template="atelier"] .bs-grid figure:nth-child(3n + 2) { transform: translateY(56px); }
.bs[data-template="atelier"] .bs-gallery { padding-bottom: calc(var(--bs-section) + 56px); }
.bs[data-template="atelier"] .bs-grid figcaption { position: static; padding: 14px 0 0; background: none; font-family: var(--bs-display); font-size: 20px; font-style: italic; font-weight: 400; text-align: center; }
.bs[data-template="atelier"] .bs-grid figure:hover img { transform: none; }
.bs[data-template="atelier"] .bs-about { grid-template-columns: 1fr; justify-items: center; text-align: center; background: var(--s-bg); }
.bs[data-template="atelier"] .bs-about-media { width: 132px; padding: 18px; background: var(--s-surface); }
.bs[data-template="atelier"] .bs-about-copy { justify-items: center; max-width: 820px; }
.bs[data-template="atelier"] .bs-about .bs-head { justify-items: center; }
.bs[data-template="atelier"] .bs-story { font-family: var(--bs-display); font-size: clamp(24px, 2.6vw, 36px); font-style: italic; line-height: 1.35; }
.bs[data-template="atelier"] .bs-story::before { content: "“"; display: block; height: .5em; color: var(--s-primary); font-size: 2.6em; line-height: 1; }
.bs[data-template="atelier"] .bs-signoff { color: var(--s-primary); }
.bs[data-template="atelier"] .bs-badges { justify-content: center; }
.bs[data-template="atelier"] .bs-badges li { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--s-line); letter-spacing: .08em; text-transform: uppercase; font-size: 11px; }
.bs[data-template="atelier"] .bs-steps li { justify-items: center; text-align: center; border: 0; border-top: 1px solid var(--s-line); border-radius: 0; background: transparent; }
.bs[data-template="atelier"] .bs-steps li::before { content: counter(step, upper-roman); color: var(--s-primary); font-style: italic; font-size: 56px; }
.bs[data-template="atelier"] .bs-final { background: var(--s-band); color: var(--s-on-band); }
.bs[data-template="atelier"] .bs-final .bs-cta { background: var(--s-button); color: var(--s-on-button) !important; }
.bs[data-template="atelier"] .bs-contact .bs-head { justify-items: center; }
.bs[data-template="atelier"] .bs-contact li { text-align: center; padding-right: 0; }
.bs[data-template="atelier"] .bs-foot { justify-content: center; text-align: center; }
.bs[data-template="atelier"] .bs-foot-name { margin-right: 0; }

/* ==========================================================================
   2. Topla domača — soft Fraunces, handwriting, polaroids with tape, lined recipe card
   ========================================================================== */
.bs[data-template="domaca"] {
  --bs-display: "Fraunces", var(--bam-serif); --bs-body: "DM Sans", var(--bam-sans); --bs-display-weight: 560; --bs-radius: 22px;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  background-image: radial-gradient(color-mix(in srgb, var(--s-text) 7%, transparent) 1px, transparent 1.2px); background-size: 18px 18px;
}
.bs[data-template="domaca"] h1, .bs[data-template="domaca"] h2, .bs[data-template="domaca"] .bs-name, .bs[data-template="domaca"] .bs-item, .bs[data-template="domaca"] h3 { font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 96; }
.bs[data-template="domaca"] h1 { font-size: clamp(46px, 6.4vw, 92px); letter-spacing: -.03em; }
.bs[data-template="domaca"] .bs-top { background: color-mix(in srgb, var(--s-bg) 90%, transparent); border-bottom: 0; }
.bs[data-template="domaca"] .bs-kicker, .bs[data-template="domaca"] .bs-eyebrow { color: var(--s-primary); font-family: var(--bs-hand); font-size: 30px; font-weight: 600; letter-spacing: 0; text-transform: none; transform: rotate(-2deg); transform-origin: left; }
.bs[data-template="domaca"] .bs-eyebrow::before { content: none; }
.bs[data-template="domaca"] .bs-eyebrow::after { width: 64px; height: 10px; background: none; border-bottom: 2px solid currentColor; border-radius: 0 0 50% 50%; opacity: .6; }
.bs[data-template="domaca"] .bs-hero-media { aspect-ratio: 1 / 1.02; display: block; }
.bs[data-template="domaca"] .bs-hero-photo { position: absolute; overflow: visible; padding: 12px 12px 54px; border-radius: 3px; background: var(--s-surface); box-shadow: 0 22px 44px -18px color-mix(in srgb, var(--s-text) 40%, transparent); transform: none; }
.bs[data-template="domaca"] .bs-hero-photo img { aspect-ratio: 1; height: auto; border-radius: 2px; }
.bs[data-template="domaca"] .bs-hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 12px; display: block; overflow: hidden; padding: 0 12px; color: var(--s-text); font-family: var(--bs-hand); font-size: 24px; line-height: 1.1; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.bs[data-template="domaca"] .bs-hero-photo::before { content: ""; position: absolute; z-index: 1; top: -12px; left: 50%; width: 92px; height: 26px; background: color-mix(in srgb, var(--s-accent) 45%, transparent); transform: translateX(-50%) rotate(-4deg); }
.bs[data-template="domaca"] .bs-hero-photo-1 { z-index: 2; left: 12%; top: 4%; width: 64%; transform: rotate(-3deg); }
.bs[data-template="domaca"] .bs-hero-photo-2 { z-index: 3; left: 0; bottom: 0; width: 42%; transform: rotate(-9deg); }
.bs[data-template="domaca"] .bs-hero-photo-3 { z-index: 1; right: 0; top: 18%; width: 40%; transform: rotate(8deg); }
.bs[data-template="domaca"][data-photos="1"] .bs-hero-photo-1 { left: 10%; width: 78%; }
.bs[data-template="domaca"] .bs-stamp { display: grid; right: 2%; bottom: 4%; background: var(--s-surface); color: var(--s-primary-on-surface); box-shadow: inset 0 0 0 6px var(--s-surface), inset 0 0 0 8px currentColor, 0 12px 30px color-mix(in srgb, var(--s-text) 16%, transparent); font-family: var(--bs-hand); font-size: 20px; font-weight: 600; letter-spacing: 0; line-height: 1; text-transform: none; transform: rotate(10deg); }
.bs[data-template="domaca"] .bs-ribbon { display: block; padding: 18px 0; background: var(--s-accent-soft); color: var(--s-text); font-family: var(--bs-hand); font-size: 34px; font-weight: 600; transform: rotate(-1.2deg); margin: 0 -2%; }
.bs[data-template="domaca"] .bs-ribbon-track i { width: 14px; height: 14px; background: var(--s-primary); -webkit-mask: var(--bs-leaf) center / contain no-repeat; mask: var(--bs-leaf) center / contain no-repeat; transform: none; }
.bs[data-template="domaca"] .bs-offer { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.bs[data-template="domaca"] .bs-chips { grid-template-columns: 1fr; padding: 28px clamp(24px, 4vw, 48px); border-radius: 6px; background-color: var(--s-surface); background-image: linear-gradient(90deg, transparent 52px, color-mix(in srgb, var(--s-primary) 35%, transparent) 52px 54px, transparent 54px), repeating-linear-gradient(180deg, transparent 0 55px, color-mix(in srgb, var(--s-line) 80%, transparent) 55px 56px); box-shadow: 0 24px 50px -28px color-mix(in srgb, var(--s-text) 45%, transparent); transform: rotate(.8deg); }
.bs[data-template="domaca"] .bs-chips li { min-height: 56px; padding: 0 0 0 46px; border: 0; align-items: center; }
.bs[data-template="domaca"] .bs-index { display: none; }
.bs[data-template="domaca"] .bs-item { font-family: var(--bs-hand); font-size: 32px; font-weight: 600; }
.bs[data-template="domaca"] .bs-dessert { transform: rotate(-.6deg); }
.bs[data-template="domaca"] .bs-dessert:nth-child(even) { transform: rotate(.8deg); }
.bs[data-template="domaca"] .bs-signature { margin: 0 var(--bs-pad); padding-left: clamp(24px, 6vw, 96px); padding-right: clamp(24px, 6vw, 96px); border-radius: 40px; background: var(--s-band); }
.bs[data-template="domaca"] .bs-signature-media { padding: 14px 14px 60px; border-radius: 3px; background: var(--s-surface); transform: rotate(-3deg); box-shadow: 0 30px 50px -24px color-mix(in srgb, var(--s-text) 45%, transparent); aspect-ratio: auto; }
.bs[data-template="domaca"] .bs-signature-media img { aspect-ratio: 1; height: auto; }
.bs[data-template="domaca"] .bs-signature .bs-kicker { font-family: var(--bs-hand); font-size: 30px; letter-spacing: 0; text-transform: none; }
.bs[data-template="domaca"] .bs-grid { grid-auto-rows: auto; gap: 34px 26px; }
.bs[data-template="domaca"] .bs-grid figure { grid-row: auto; overflow: visible; padding: 12px 12px 4px; border-radius: 3px; background: var(--s-surface); box-shadow: 0 18px 36px -20px color-mix(in srgb, var(--s-text) 40%, transparent); }
.bs[data-template="domaca"] .bs-grid figure:nth-child(3n + 1) { transform: rotate(-2deg); }
.bs[data-template="domaca"] .bs-grid figure:nth-child(3n + 2) { transform: rotate(1.5deg) translateY(18px); }
.bs[data-template="domaca"] .bs-grid figure:nth-child(3n) { transform: rotate(-.8deg); }
.bs[data-template="domaca"] .bs-grid img { aspect-ratio: 1; height: auto; border-radius: 2px; }
.bs[data-template="domaca"] .bs-grid figure:hover img { transform: none; }
.bs[data-template="domaca"] .bs-grid figcaption { position: static; padding: 10px 4px 8px; background: none; font-family: var(--bs-hand); font-size: 25px; font-weight: 600; text-align: center; }
.bs[data-template="domaca"] .bs-about { margin: 0 var(--bs-pad); padding-left: clamp(24px, 6vw, 96px); padding-right: clamp(24px, 6vw, 96px); border-radius: 40px; }
.bs[data-template="domaca"] .bs-signoff { font-size: 46px; transform: rotate(-3deg); transform-origin: left; }
.bs[data-template="domaca"] .bs-steps li { border: 2px dashed var(--s-line); background: transparent; }
.bs[data-template="domaca"] .bs-steps li::before { font-family: var(--bs-hand); font-size: 58px; font-weight: 700; content: counter(step) "."; }
.bs[data-template="domaca"] .bs-final { margin: 0 var(--bs-pad) var(--bs-pad); border-radius: 40px; }
.bs[data-template="domaca"] .bs-final h2 { font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }

/* ==========================================================================
   3. Moderna minimalna — Bricolage Grotesque, Swiss grid, giant type, outlined marquee
   ========================================================================== */
.bs[data-template="minimal"] { --bs-display: "Bricolage Grotesque", var(--bam-sans); --bs-body: "Manrope", var(--bam-sans); --bs-display-weight: 700; --bs-radius: 0; --bs-max: 1360px; }
.bs[data-template="minimal"] h1 { font-size: clamp(52px, 10.4vw, 176px); font-weight: 800; letter-spacing: -.045em; line-height: .88; font-variation-settings: "opsz" 96; }
.bs[data-template="minimal"] h2 { font-weight: 750; letter-spacing: -.04em; font-size: clamp(38px, 5.6vw, 84px); }
.bs[data-template="minimal"] .bs-name { font-weight: 800; letter-spacing: -.04em; }
.bs[data-template="minimal"] .bs-top { border-bottom: 1px solid var(--s-text); background: var(--s-bg); backdrop-filter: none; }
.bs[data-template="minimal"] .bs-cta { border-radius: 0; }
.bs[data-template="minimal"] .bs-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px clamp(16px, 2vw, 28px); align-items: end; min-height: 0; padding-top: clamp(40px, 6vw, 80px); }
.bs[data-template="minimal"] .bs-hero-copy { display: contents; }
.bs[data-template="minimal"] .bs-kicker { grid-column: 1 / -1; color: var(--s-text); }
.bs[data-template="minimal"] .bs-hero h1 { grid-column: 1 / -1; }
.bs[data-template="minimal"] .bs-lead { grid-column: 1 / 6; color: var(--s-text); font-size: clamp(18px, 1.5vw, 22px); }
.bs[data-template="minimal"] .bs-hero .bs-cta { grid-column: 7 / 10; justify-self: start; }
.bs[data-template="minimal"] .bs-notes { grid-column: 10 / -1; display: grid; gap: 4px; justify-self: end; color: var(--s-text); }
.bs[data-template="minimal"] .bs-notes li::before { border-radius: 0; background: var(--s-text); }
.bs[data-template="minimal"] .bs-hero-media { grid-column: 1 / -1; aspect-ratio: auto; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: clamp(300px, 42vw, 640px); gap: clamp(8px, 1vw, 14px); margin-top: clamp(16px, 3vw, 40px); }
.bs[data-template="minimal"] .bs-hero-photo { grid-row: 1; transform: none; box-shadow: none; }
.bs[data-template="minimal"] .bs-hero-photo-1 { grid-column: 1 / 9; }
.bs[data-template="minimal"] .bs-hero-photo-2 { grid-column: 9 / 13; }
.bs[data-template="minimal"] .bs-hero-photo-3 { display: none; }
.bs[data-template="minimal"][data-photos="1"] .bs-hero-photo-1 { grid-column: 1 / -1; }
.bs[data-template="minimal"] .bs-ribbon { display: block; padding: clamp(18px, 3vw, 36px) 0; border-top: 1px solid var(--s-text); border-bottom: 1px solid var(--s-text); color: transparent; -webkit-text-stroke: 1.2px var(--s-text); font-family: var(--bs-display); font-size: clamp(48px, 7vw, 110px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.bs[data-template="minimal"] .bs-ribbon-track i { width: clamp(14px, 1.6vw, 24px); height: clamp(14px, 1.6vw, 24px); background: var(--s-primary); border-radius: 50%; transform: none; opacity: 1; }
.bs[data-template="minimal"] .bs-head { grid-template-columns: minmax(0, 1fr); }
.bs[data-template="minimal"] .bs-eyebrow { color: var(--s-text); }
.bs[data-template="minimal"] .bs-eyebrow::after { flex: 1; width: auto; }
.bs[data-template="minimal"] .bs-chips { grid-template-columns: 1fr; border-top: 1px solid var(--s-text); }
.bs[data-template="minimal"] .bs-chips li { align-items: center; gap: clamp(16px, 4vw, 64px); padding: clamp(14px, 2vw, 26px) 0; border-bottom-color: var(--s-text); transition: padding var(--bam-duration) var(--bam-ease), color var(--bam-duration) var(--bam-ease); }
.bs[data-template="minimal"] .bs-chips li::after { content: "↗"; margin-left: auto; font-size: clamp(24px, 3vw, 44px); line-height: 1; }
.bs[data-template="minimal"] .bs-chips li:hover { padding-left: 16px; color: var(--s-primary); }
.bs[data-template="minimal"] .bs-index { min-width: 3ch; color: inherit; }
.bs[data-template="minimal"] .bs-item { font-size: clamp(30px, 4.6vw, 68px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.bs[data-template="minimal"] .bs-dessert { border-radius: 0; box-shadow: none; background: transparent; }
.bs[data-template="minimal"] .bs-dessert-copy { padding: 16px 0 0; }
.bs[data-template="minimal"] .bs-signature { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; gap: 0; background: var(--s-surface); color: var(--s-text); }
.bs[data-template="minimal"] .bs-signature-media { aspect-ratio: auto; min-height: clamp(360px, 46vw, 720px); }
.bs[data-template="minimal"] .bs-signature-copy { padding: var(--bs-section) var(--bs-pad); }
.bs[data-template="minimal"] .bs-signature .bs-kicker { color: var(--s-primary-on-surface); opacity: 1; }
.bs[data-template="minimal"] .bs-signature-text .bs-signature-copy { padding: 0; }
.bs[data-template="minimal"] .bs-signature-text { padding: var(--bs-section) var(--bs-gutter); }
.bs[data-template="minimal"] .bs-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 16vw, 240px); gap: clamp(8px, 1vw, 14px); }
.bs[data-template="minimal"] .bs-grid figure { grid-column: span 4; grid-row: span 2; }
.bs[data-template="minimal"] .bs-grid figure:nth-child(5n + 1) { grid-column: span 7; grid-row: span 3; }
.bs[data-template="minimal"] .bs-grid figure:nth-child(5n + 2) { grid-column: span 5; grid-row: span 3; }
.bs[data-template="minimal"] .bs-grid figure:last-child:nth-child(5n + 1) { grid-column: 1 / -1; }
.bs[data-template="minimal"] .bs-grid figcaption { left: 0; bottom: 0; border-radius: 0; background: var(--s-bg); }
.bs[data-template="minimal"] .bs-about { grid-template-columns: repeat(12, minmax(0, 1fr)); background: var(--s-bg); }
.bs[data-template="minimal"] .bs-about-media { grid-column: 1 / 4; border-radius: 0; }
.bs[data-template="minimal"] .bs-about-copy { grid-column: 5 / -1; max-width: none; }
.bs[data-template="minimal"] .bs-about-text .bs-about-copy { grid-column: 1 / -1; }
.bs[data-template="minimal"] .bs-story { font-family: var(--bs-display); font-size: clamp(24px, 2.8vw, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.bs[data-template="minimal"] .bs-signoff { display: none; }
.bs[data-template="minimal"] .bs-badges li { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--s-text); }
.bs[data-template="minimal"] .bs-steps ol { gap: 0; border-top: 1px solid var(--s-text); }
.bs[data-template="minimal"] .bs-steps li { border: 0; border-right: 1px solid var(--s-line); border-radius: 0; background: transparent; padding: 28px 28px 28px 0; }
.bs[data-template="minimal"] .bs-steps li + li { padding-left: 28px; }
.bs[data-template="minimal"] .bs-steps li:last-child { border-right: 0; }
.bs[data-template="minimal"] .bs-steps li::before { font-weight: 800; font-size: clamp(56px, 6vw, 96px); letter-spacing: -.05em; color: var(--s-text); }
.bs[data-template="minimal"] .bs-final { justify-items: start; text-align: left; }
.bs[data-template="minimal"] .bs-final h2 { max-width: 14ch; font-size: clamp(48px, 8.4vw, 140px); letter-spacing: -.055em; line-height: .9; }
.bs[data-template="minimal"] .bs-final .bs-cta { border-radius: 0; }

/* ==========================================================================
   4. Igriva pisana — Unbounded, colour blocks, hard shadows, a spinning burst, tilted marquee
   ========================================================================== */
.bs[data-template="veselo"] { --bs-display: "Unbounded", var(--bam-sans); --bs-body: "DM Sans", var(--bam-sans); --bs-display-weight: 700; --bs-radius: 26px; --bs-hard: 6px 6px 0 var(--s-text); }
.bs[data-template="veselo"] h1 { font-size: clamp(36px, 4.4vw, 70px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.bs[data-template="veselo"] h2 { font-size: clamp(32px, 4vw, 58px); letter-spacing: -.03em; }
.bs[data-template="veselo"] .bs-name { font-size: 20px; font-weight: 800; }
.bs[data-template="veselo"] .bs-top { border-bottom: 0; }
.bs[data-template="veselo"] .bs-cta { border: 2.5px solid var(--s-text); box-shadow: 4px 4px 0 var(--s-text); font-weight: 800; }
.bs[data-template="veselo"] .bs-cta:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--s-text); }
.bs[data-template="veselo"] .bs-hero { margin: 8px var(--bs-pad) 0; padding: clamp(36px, 6vw, 88px); min-height: 0; border: 3px solid var(--s-text); border-radius: 44px; background: var(--s-band); color: var(--s-on-band); box-shadow: 10px 10px 0 var(--s-text); }
.bs[data-template="veselo"] .bs-hero .bs-kicker, .bs[data-template="veselo"] .bs-hero .bs-lead, .bs[data-template="veselo"] .bs-hero .bs-notes { color: inherit; }
.bs[data-template="veselo"] .bs-hero .bs-notes li::before { background: currentColor; }
.bs[data-template="veselo"] .bs-hero .bs-cta { color: var(--s-band) !important; background: var(--s-on-band); }
.bs[data-template="veselo"] .bs-hero-media { aspect-ratio: 1; }
.bs[data-template="veselo"] .bs-hero-photo { border: 3px solid var(--s-text); }
.bs[data-template="veselo"] .bs-hero-photo-1 { grid-area: 1 / 1 / 6 / 6; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; box-shadow: var(--bs-hard); }
.bs[data-template="veselo"] .bs-hero-photo-2 { grid-area: 4 / 4 / 7 / 7; border-radius: 50%; box-shadow: var(--bs-hard); transform: rotate(8deg); }
.bs[data-template="veselo"] .bs-hero-photo-3 { display: none; }
.bs[data-template="veselo"][data-photos="1"] .bs-hero-photo-1 { grid-area: 1 / 1 / 7 / 7; }
.bs[data-template="veselo"] .bs-stamp { display: grid; top: -4%; right: -2%; bottom: auto; width: clamp(110px, 12vw, 150px); border-radius: 0; clip-path: var(--bs-burst); background: var(--s-accent-solid); color: var(--s-on-accent); box-shadow: none; font-size: 10.5px; }
.bs[data-template="veselo"] .bs-ribbon { display: block; margin: clamp(48px, 7vw, 96px) -3% 0; padding: 18px 0; border-top: 3px solid var(--s-text); border-bottom: 3px solid var(--s-text); background: var(--s-accent-solid); color: var(--s-on-accent); font-family: var(--bs-display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; text-transform: uppercase; transform: rotate(-2.5deg); }
.bs[data-template="veselo"] .bs-ribbon-track i { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--bs-star) center / contain no-repeat; mask: var(--bs-star) center / contain no-repeat; transform: none; opacity: 1; }
.bs[data-template="veselo"] .bs-eyebrow { color: var(--s-text); }
.bs[data-template="veselo"] .bs-eyebrow::before { display: inline-grid; place-items: center; min-width: 38px; height: 38px; border: 2.5px solid var(--s-text); border-radius: 50%; background: var(--s-accent-soft); letter-spacing: 0; }
.bs[data-template="veselo"] .bs-eyebrow::after { display: none; }
.bs[data-template="veselo"] .bs-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.bs[data-template="veselo"] .bs-chips li { padding: 14px 24px; border: 2.5px solid var(--s-text); border-radius: var(--bam-radius-pill); background: var(--s-surface); box-shadow: 4px 4px 0 var(--s-text); }
.bs[data-template="veselo"] .bs-chips li:nth-child(3n + 1) { background: var(--s-accent-soft); transform: rotate(-2deg); }
.bs[data-template="veselo"] .bs-chips li:nth-child(3n + 2) { transform: rotate(1.5deg); }
.bs[data-template="veselo"] .bs-index { display: none; }
.bs[data-template="veselo"] .bs-item { font-family: var(--bs-body); font-size: clamp(18px, 1.6vw, 22px); font-weight: 800; }
.bs[data-template="veselo"] .bs-dessert { border: 2.5px solid var(--s-text); box-shadow: var(--bs-hard); }
.bs[data-template="veselo"] .bs-signature { margin: 0 var(--bs-pad); padding-left: clamp(24px, 6vw, 88px); padding-right: clamp(24px, 6vw, 88px); border: 3px solid var(--s-text); border-radius: 44px; background: var(--s-accent-soft); color: var(--s-text); box-shadow: 10px 10px 0 var(--s-text); }
.bs[data-template="veselo"] .bs-signature-media { border: 3px solid var(--s-text); border-radius: 50% 50% 30px 30px; }
.bs[data-template="veselo"] .bs-grid figure { border: 2.5px solid var(--s-text); box-shadow: var(--bs-hard); }
.bs[data-template="veselo"] .bs-grid figure:nth-child(odd) { transform: rotate(-1.2deg); }
.bs[data-template="veselo"] .bs-grid figure:nth-child(even) { transform: rotate(1deg); }
.bs[data-template="veselo"] .bs-grid figcaption { border: 2px solid var(--s-text); font-weight: 800; }
.bs[data-template="veselo"] .bs-about { margin: 0 var(--bs-pad); padding-left: clamp(24px, 6vw, 88px); padding-right: clamp(24px, 6vw, 88px); border: 3px solid var(--s-text); border-radius: 44px; }
.bs[data-template="veselo"] .bs-about-media { box-shadow: inset 0 0 0 3px var(--s-text); background: var(--s-accent-soft); }
.bs[data-template="veselo"] .bs-steps li { border: 2.5px solid var(--s-text); box-shadow: var(--bs-hard); }
.bs[data-template="veselo"] .bs-steps li::before { display: grid; place-items: center; width: 64px; height: 64px; border: 2.5px solid var(--s-text); border-radius: 50%; background: var(--s-accent-solid); color: var(--s-on-accent); font-size: 26px; content: counter(step); }
.bs[data-template="veselo"] .bs-final { margin: 0 var(--bs-pad) var(--bs-pad); border: 3px solid var(--s-text); border-radius: 44px; background: var(--s-band); color: var(--s-on-band); box-shadow: 10px 10px 0 var(--s-text); }
.bs[data-template="veselo"] .bs-final .bs-cta { background: var(--s-on-band); color: var(--s-band) !important; }
.bs[data-template="veselo"] .bs-contact ul { border-top: 0; gap: 14px; }
.bs[data-template="veselo"] .bs-contact li { padding: 22px; border: 2.5px solid var(--s-text); border-radius: 22px; background: var(--s-surface); }
.bs[data-template="veselo"] .bs-contact li span { color: var(--s-muted); }

/* ==========================================================================
   5. Luksuzna temna — Bodoni Moda, cinematic full-bleed hero, gold hairline frames
   ========================================================================== */
.bs[data-template="noir"] { --bs-display: "Bodoni Moda", var(--bam-serif); --bs-body: "Manrope", var(--bam-sans); --bs-display-weight: 400; --bs-radius: 0; }
.bs[data-template="noir"] h1, .bs[data-template="noir"] h2 { font-variation-settings: "opsz" 96; }
.bs[data-template="noir"] h1 { font-size: clamp(50px, 7.6vw, 128px); line-height: .96; letter-spacing: -.03em; }
.bs[data-template="noir"] h2 { font-style: italic; }
.bs[data-template="noir"] .bs-top { position: absolute; left: 0; right: 0; border-bottom: 1px solid color-mix(in srgb, var(--s-primary) 30%, transparent); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bs[data-template="noir"] .bs-name, .bs[data-template="noir"] .bs-nav a, .bs[data-template="noir"] .bs-cta, .bs[data-template="noir"] .bs-eyebrow, .bs[data-template="noir"] .bs-kicker { letter-spacing: .24em; text-transform: uppercase; }
.bs[data-template="noir"] .bs-name { font-family: var(--bs-body); font-size: 15px; font-weight: 600; }
.bs[data-template="noir"] .bs-nav a { font-size: 11px; }
.bs[data-template="noir"] .bs-cta { border-radius: 0; font-size: 12px; }
.bs[data-template="noir"] .bs-cta-lg { background: transparent; color: var(--s-text) !important; box-shadow: inset 0 0 0 1px var(--s-primary); }
.bs[data-template="noir"] .bs-cta-lg:hover { background: var(--s-button); color: var(--s-on-button) !important; }
.bs[data-template="noir"] .bs-hero { display: block; min-height: min(100vh, 900px); padding: 0; }
.bs[data-template="noir"] .bs-hero::after { content: ""; position: absolute; z-index: 2; inset: clamp(12px, 2vw, 28px); border: 1px solid color-mix(in srgb, var(--s-primary) 45%, transparent); pointer-events: none; }
.bs[data-template="noir"] .bs-hero-media { position: absolute; inset: 0; display: block; aspect-ratio: auto; }
.bs[data-template="noir"] .bs-hero-photo-1 { position: absolute; inset: 0; border-radius: 0; }
.bs[data-template="noir"] .bs-hero-photo-1 img { filter: saturate(.85) contrast(1.05); }
.bs[data-template="noir"] .bs-hero-photo-1::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--s-bg) 0%, color-mix(in srgb, var(--s-bg) 72%, transparent) 42%, color-mix(in srgb, var(--s-bg) 15%, transparent) 100%), linear-gradient(0deg, var(--s-bg) 0%, transparent 45%); }
.bs[data-template="noir"] .bs-hero-photo-2, .bs[data-template="noir"] .bs-hero-photo-3 { display: none; }
.bs[data-template="noir"] .bs-hero-copy { position: relative; z-index: 3; display: grid; align-content: end; max-width: 780px; min-height: min(100vh, 900px); padding: 140px var(--bs-gutter) clamp(64px, 9vw, 120px); }
.bs[data-template="noir"] .bs-lead { color: var(--s-text); opacity: .86; }
.bs[data-template="noir"] .bs-ribbon { display: block; padding: 26px 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); color: var(--s-primary); font-family: var(--bs-display); font-size: 26px; font-style: italic; }
.bs[data-template="noir"] .bs-ribbon-track i { width: 6px; height: 6px; }
.bs[data-template="noir"] .bs-head { justify-items: center; text-align: center; }
.bs[data-template="noir"] .bs-eyebrow::after { display: none; }
.bs[data-template="noir"] .bs-eyebrow::before { content: counter(bs-section, upper-roman) " ·"; }
.bs[data-template="noir"] .bs-chips { max-width: 1040px; margin: 0 auto; }
.bs[data-template="noir"] .bs-chips li { gap: 12px; border-bottom: 0; padding: 16px 0; }
.bs[data-template="noir"] .bs-chips li .bs-item { order: 1; font-style: italic; }
.bs[data-template="noir"] .bs-chips li::after { content: ""; order: 2; flex: 1; border-bottom: 1px dotted color-mix(in srgb, var(--s-primary) 60%, transparent); transform: translateY(-6px); }
.bs[data-template="noir"] .bs-chips li .bs-index { order: 3; font-family: var(--bs-display); font-size: 18px; }
.bs[data-template="noir"] .bs-dessert { border: 1px solid var(--s-line); box-shadow: none; }
.bs[data-template="noir"] .bs-signature { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: var(--s-surface); color: var(--s-text); }
.bs[data-template="noir"] .bs-signature-media { aspect-ratio: 5 / 6; outline: 1px solid var(--s-line); outline-offset: 14px; }
.bs[data-template="noir"] .bs-signature .bs-kicker { color: var(--s-primary-on-surface); opacity: 1; }
.bs[data-template="noir"] .bs-grid figure { outline: 1px solid var(--s-line); outline-offset: -1px; }
.bs[data-template="noir"] .bs-grid img { filter: saturate(.9); }
.bs[data-template="noir"] .bs-grid figcaption { left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; border-radius: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--s-bg) 92%, transparent), transparent); color: var(--s-text); font-family: var(--bs-display); font-size: 19px; font-style: italic; font-weight: 400; }
.bs[data-template="noir"] .bs-about { grid-template-columns: 1fr; justify-items: center; text-align: center; background: var(--s-bg); }
.bs[data-template="noir"] .bs-about-media { width: 120px; padding: 16px; background: var(--s-surface); }
.bs[data-template="noir"] .bs-about-copy { justify-items: center; max-width: 860px; }
.bs[data-template="noir"] .bs-story { font-family: var(--bs-display); font-size: clamp(22px, 2.4vw, 34px); font-style: italic; line-height: 1.4; }
.bs[data-template="noir"] .bs-signoff { color: var(--s-primary); }
.bs[data-template="noir"] .bs-badges { justify-content: center; }
.bs[data-template="noir"] .bs-badges li { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--s-line); color: var(--s-text); letter-spacing: .14em; text-transform: uppercase; font-size: 10px; }
.bs[data-template="noir"] .bs-steps li { justify-items: center; text-align: center; background: transparent; }
.bs[data-template="noir"] .bs-steps li::before { content: counter(step, upper-roman); color: var(--s-primary); font-style: italic; font-size: 54px; }
.bs[data-template="noir"] .bs-final { margin: 0 var(--bs-gutter) var(--bs-section); border: 1px solid var(--s-line); outline: 1px solid var(--s-line); outline-offset: -12px; background: var(--s-surface); color: var(--s-text); }
.bs[data-template="noir"] .bs-final .bs-cta { background: var(--s-button); color: var(--s-on-button) !important; }
.bs[data-template="noir"] .bs-final h2 { font-style: italic; }
.bs[data-template="noir"] .bs-contact li span { letter-spacing: .24em; }

/* ==========================================================================
   6. Retro slaščičarna — DM Serif Display, scalloped awning, double frames, oval medallions
   ========================================================================== */
.bs[data-template="vintage"] {
  --bs-display: "DM Serif Display", var(--bam-serif); --bs-body: "DM Sans", var(--bam-sans); --bs-display-weight: 400; --bs-radius: 0;
  --bs-scallop: radial-gradient(circle at 50% 0, transparent 0 11px, #000 11.5px) 0 0 / 28px 100% repeat-x;
}
.bs[data-template="vintage"] h1, .bs[data-template="vintage"] h2 { text-transform: uppercase; letter-spacing: .04em; }
.bs[data-template="vintage"] h1 { font-size: clamp(38px, 5.6vw, 84px); line-height: 1.02; }
.bs[data-template="vintage"] h2 { font-size: clamp(28px, 3.6vw, 52px); }
.bs[data-template="vintage"] .bs-top { flex-wrap: wrap; justify-content: center; border-bottom: 0; padding-bottom: 30px; background: var(--s-band); backdrop-filter: none; }
.bs[data-template="vintage"] .bs-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: radial-gradient(circle at 50% 0, var(--s-band) 0 11px, transparent 11.5px) 0 0 / 28px 14px repeat-x; }
.bs[data-template="vintage"] .bs-name { font-style: italic; font-size: 28px; }
.bs[data-template="vintage"] .bs-nav { margin: 0 auto; }
.bs[data-template="vintage"] .bs-nav a { letter-spacing: .14em; text-transform: uppercase; font-size: 12px; }
.bs[data-template="vintage"] .bs-cta { border-radius: 0; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; box-shadow: 0 0 0 3px var(--s-bg), 0 0 0 4px var(--s-button); }
.bs[data-template="vintage"] .bs-hero { grid-template-columns: 1fr; justify-items: center; margin: clamp(40px, 6vw, 72px) var(--bs-gutter) 0; padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 72px); min-height: 0; border: 6px double var(--s-line); text-align: center; }
.bs[data-template="vintage"] .bs-hero-copy { justify-items: center; max-width: 860px; }
.bs[data-template="vintage"] .bs-kicker { font-family: var(--bs-display); font-size: 18px; font-style: italic; font-weight: 400; letter-spacing: .04em; text-transform: none; }
.bs[data-template="vintage"] .bs-kicker::before, .bs[data-template="vintage"] .bs-kicker::after { content: " ✦ "; }
.bs[data-template="vintage"] .bs-notes { justify-content: center; }
.bs[data-template="vintage"] .bs-hero-media { width: min(980px, 100%); aspect-ratio: auto; grid-template-columns: 1fr 1.3fr 1fr; grid-template-rows: auto; align-items: center; gap: clamp(12px, 3vw, 40px); }
.bs[data-template="vintage"] .bs-hero-photo { grid-area: auto; grid-row: 1; aspect-ratio: 4 / 5; border-radius: 50%; transform: none; box-shadow: 0 0 0 6px var(--s-bg), 0 0 0 8px var(--s-line); }
.bs[data-template="vintage"] .bs-hero-photo-1 { grid-column: 2; }
.bs[data-template="vintage"] .bs-hero-photo-2 { grid-column: 1; width: 82%; justify-self: end; }
.bs[data-template="vintage"] .bs-hero-photo-3 { grid-column: 3; width: 82%; }
.bs[data-template="vintage"][data-photos="1"] .bs-hero-media, .bs[data-template="vintage"][data-photos="2"] .bs-hero-media { width: min(420px, 100%); grid-template-columns: 1fr; }
.bs[data-template="vintage"][data-photos="1"] .bs-hero-photo-1, .bs[data-template="vintage"][data-photos="2"] .bs-hero-photo-1 { grid-column: 1; }
.bs[data-template="vintage"][data-photos="2"] .bs-hero-photo-2 { display: none; }
.bs[data-template="vintage"] .bs-stamp { display: grid; right: 2%; bottom: -6%; background: var(--s-band); color: var(--s-on-band); box-shadow: 0 0 0 4px var(--s-bg), 0 0 0 5px var(--s-on-band); font-family: var(--bs-display); font-style: italic; font-size: 13px; letter-spacing: .04em; text-transform: none; }
.bs[data-template="vintage"] .bs-ribbon { display: block; margin-top: clamp(48px, 6vw, 80px); padding: 20px 0; background: repeating-linear-gradient(90deg, var(--s-band) 0 34px, color-mix(in srgb, var(--s-band) 70%, var(--s-bg)) 34px 68px); color: var(--s-on-band); font-family: var(--bs-display); font-size: 24px; font-style: italic; }
.bs[data-template="vintage"] .bs-head { justify-items: center; text-align: center; }
.bs[data-template="vintage"] .bs-eyebrow { font-family: var(--bs-display); font-size: 16px; font-style: italic; font-weight: 400; letter-spacing: .06em; text-transform: none; }
.bs[data-template="vintage"] .bs-eyebrow::before { content: "No. " counter(bs-section); }
.bs[data-template="vintage"] .bs-eyebrow::after { display: none; }
.bs[data-template="vintage"] .bs-head h2::after { content: "— ✦ —"; display: block; margin-top: 14px; color: var(--s-primary); font-size: 16px; letter-spacing: .3em; }
.bs[data-template="vintage"] .bs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 980px; margin: 0 auto; }
.bs[data-template="vintage"] .bs-chips li { padding: 14px 26px; border: 2px dashed var(--s-line); background: var(--s-surface); }
.bs[data-template="vintage"] .bs-index { display: none; }
.bs[data-template="vintage"] .bs-item { font-size: 20px; font-style: italic; }
.bs[data-template="vintage"] .bs-dessert { border: 4px double var(--s-line); box-shadow: none; }
.bs[data-template="vintage"] .bs-signature { border-top: 6px double var(--s-line); border-bottom: 6px double var(--s-line); background: var(--s-surface); color: var(--s-text); }
.bs[data-template="vintage"] .bs-signature .bs-kicker { color: var(--s-primary-on-surface); font-family: var(--bs-display); font-style: italic; font-size: 18px; letter-spacing: .02em; text-transform: none; opacity: 1; }
.bs[data-template="vintage"] .bs-signature-media { border-radius: 50%; box-shadow: 0 0 0 8px var(--s-surface), 0 0 0 10px var(--s-line); max-width: 460px; width: 100%; justify-self: center; }
.bs[data-template="vintage"] .bs-grid { grid-auto-rows: auto; gap: 36px 28px; }
.bs[data-template="vintage"] .bs-grid figure { grid-row: auto; overflow: visible; }
.bs[data-template="vintage"] .bs-grid img { aspect-ratio: 1; height: auto; border-radius: 50%; padding: 8px; border: 4px double var(--s-line); background: var(--s-surface); }
.bs[data-template="vintage"] .bs-grid figure:hover img { transform: rotate(-3deg); }
.bs[data-template="vintage"] .bs-grid figcaption { position: static; padding: 14px 0 0; background: none; font-family: var(--bs-display); font-size: 18px; font-style: italic; font-weight: 400; text-align: center; }
.bs[data-template="vintage"] .bs-about { border-top: 6px double var(--s-line); }
.bs[data-template="vintage"] .bs-about-media { box-shadow: 0 0 0 6px var(--s-surface), 0 0 0 8px var(--s-line); }
.bs[data-template="vintage"] .bs-about .bs-head { justify-items: start; text-align: left; }
.bs[data-template="vintage"] .bs-signoff { font-family: var(--bs-display); font-style: italic; font-size: 26px; }
.bs[data-template="vintage"] .bs-steps li { justify-items: center; text-align: center; border: 2px dashed var(--s-line); -webkit-mask: radial-gradient(circle at 0 50%, transparent 14px, #000 14.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 14px, #000 14.5px) right / 51% 100% no-repeat; mask: radial-gradient(circle at 0 50%, transparent 14px, #000 14.5px) left / 51% 100% no-repeat, radial-gradient(circle at 100% 50%, transparent 14px, #000 14.5px) right / 51% 100% no-repeat; }
.bs[data-template="vintage"] .bs-steps li::before { content: "No. " counter(step); font-style: italic; font-size: 30px; }
.bs[data-template="vintage"] .bs-final { padding-top: calc(var(--bs-section) + 14px); background: var(--s-band); color: var(--s-on-band); }
.bs[data-template="vintage"] .bs-final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; background: radial-gradient(circle at 50% 0, var(--s-bg) 0 11px, transparent 11.5px) 0 0 / 28px 14px repeat-x; }
.bs[data-template="vintage"] .bs-final .bs-cta { background: var(--s-on-band); color: var(--s-band) !important; box-shadow: 0 0 0 3px var(--s-band), 0 0 0 4px var(--s-on-band); }
.bs[data-template="vintage"] .bs-contact .bs-head, .bs[data-template="vintage"] .bs-contact li { text-align: center; justify-items: center; }
.bs[data-template="vintage"] .bs-contact li { padding-right: 0; }
.bs[data-template="vintage"] .bs-foot { justify-content: center; }
.bs[data-template="vintage"] .bs-foot-name { margin-right: 0; }

/* ==========================================================================
   7. Revija — Instrument Serif, masthead rules, a 12-column spread, drop caps and pull quotes
   ========================================================================== */
.bs[data-template="magazin"] { --bs-display: "Instrument Serif", var(--bam-serif); --bs-body: "Manrope", var(--bam-sans); --bs-display-weight: 400; --bs-radius: 0; --bs-max: 1320px; }
.bs[data-template="magazin"] h1 { font-size: clamp(56px, 10.4vw, 180px); line-height: .9; letter-spacing: -.035em; }
.bs[data-template="magazin"] h2 { font-size: clamp(40px, 5.4vw, 84px); letter-spacing: -.03em; }
.bs[data-template="magazin"] .bs-top { border-bottom: 3px double var(--s-text); background: var(--s-bg); backdrop-filter: none; }
.bs[data-template="magazin"] .bs-name { font-size: 30px; font-style: italic; }
.bs[data-template="magazin"] .bs-nav a { letter-spacing: .14em; text-transform: uppercase; font-size: 11px; font-weight: 700; }
.bs[data-template="magazin"] .bs-cta { border-radius: 0; }
.bs[data-template="magazin"] .bs-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px clamp(16px, 2vw, 32px); align-items: start; min-height: 0; padding-top: clamp(32px, 5vw, 64px); }
.bs[data-template="magazin"] .bs-hero-copy { display: contents; }
.bs[data-template="magazin"] .bs-kicker { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid var(--s-text); border-bottom: 1px solid var(--s-text); color: var(--s-text); font-size: 11px; }
.bs[data-template="magazin"] .bs-kicker::after { content: "№ 01"; font-variant-numeric: tabular-nums; }
.bs[data-template="magazin"] .bs-hero h1 { grid-column: 1 / -1; }
.bs[data-template="magazin"] .bs-lead { grid-column: 1 / 5; grid-row: 3; color: var(--s-text); font-size: 17px; }
.bs[data-template="magazin"] .bs-lead::first-letter { float: left; margin: 6px 10px 0 0; color: var(--s-primary); font-family: var(--bs-display); font-size: 74px; line-height: .8; }
.bs[data-template="magazin"] .bs-hero .bs-cta { grid-column: 1 / 5; grid-row: 4; justify-self: start; }
.bs[data-template="magazin"] .bs-notes { grid-column: 1 / 5; grid-row: 5; display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--s-line); }
.bs[data-template="magazin"] .bs-hero-media { grid-column: 5 / -1; grid-row: 3 / span 4; aspect-ratio: auto; grid-template-columns: 2fr 1fr; grid-template-rows: auto; gap: clamp(12px, 1.6vw, 24px); }
.bs[data-template="magazin"] .bs-hero-photo { grid-area: auto; overflow: visible; transform: none; box-shadow: none; background: none; }
.bs[data-template="magazin"] .bs-hero-photo img { aspect-ratio: 4 / 5; height: auto; }
.bs[data-template="magazin"] .bs-hero-photo-1 { grid-column: 1; grid-row: 1 / span 2; }
.bs[data-template="magazin"] .bs-hero-photo-2 { grid-column: 2; grid-row: 1; }
.bs[data-template="magazin"] .bs-hero-photo-3 { grid-column: 2; grid-row: 2; }
.bs[data-template="magazin"] .bs-hero-photo figcaption { display: block; padding-top: 8px; color: var(--s-muted); font-size: 12px; font-style: italic; }
.bs[data-template="magazin"] .bs-hero-photo-1 figcaption::before { content: "Fig. 1 — "; font-style: normal; font-weight: 700; }
.bs[data-template="magazin"][data-photos="1"] .bs-hero-media { grid-template-columns: 1fr; }
.bs[data-template="magazin"] .bs-ribbon { display: block; margin-top: clamp(48px, 6vw, 88px); padding: 22px 0; background: var(--s-deep); color: var(--s-on-deep); font-family: var(--bs-display); font-size: clamp(28px, 3vw, 44px); font-style: italic; }
.bs[data-template="magazin"] .bs-ribbon-track i { width: auto; height: auto; background: none; transform: none; font-style: normal; }
.bs[data-template="magazin"] .bs-ribbon-track i::before { content: "/"; }
.bs[data-template="magazin"] .bs-head { grid-template-columns: auto 1fr; align-items: end; gap: 20px 32px; padding-top: 14px; border-top: 1px solid var(--s-text); }
.bs[data-template="magazin"] .bs-eyebrow { color: var(--s-text); align-self: start; padding-top: 10px; }
.bs[data-template="magazin"] .bs-eyebrow::after { display: none; }
.bs[data-template="magazin"] .bs-chips { display: block; }
.bs[data-template="magazin"] .bs-chips li { display: inline; padding: 0; border: 0; }
.bs[data-template="magazin"] .bs-index { display: none; }
.bs[data-template="magazin"] .bs-item { font-size: clamp(32px, 4.2vw, 64px); font-style: italic; line-height: 1.25; }
.bs[data-template="magazin"] .bs-chips li:not(:last-child)::after { content: " / "; color: var(--s-primary); font-family: var(--bs-display); font-size: clamp(32px, 4.2vw, 64px); }
.bs[data-template="magazin"] .bs-dessert { border-radius: 0; box-shadow: none; background: transparent; border-top: 1px solid var(--s-text); }
.bs[data-template="magazin"] .bs-dessert img { margin-top: 14px; }
.bs[data-template="magazin"] .bs-dessert-copy { padding: 14px 0 0; }
.bs[data-template="magazin"] .bs-signature { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); background: var(--s-bg); color: var(--s-text); border-top: 1px solid var(--s-text); border-bottom: 1px solid var(--s-text); margin: 0 var(--bs-gutter); padding-left: 0; padding-right: 0; }
.bs[data-template="magazin"] .bs-signature-media { order: 2; }
.bs[data-template="magazin"] .bs-signature-copy { max-width: none; }
.bs[data-template="magazin"] .bs-signature h2 { font-size: clamp(46px, 7vw, 116px); font-style: italic; line-height: .92; }
.bs[data-template="magazin"] .bs-signature h2::before { content: "“"; display: block; height: .45em; color: var(--s-primary); font-size: 1.4em; line-height: 1; }
.bs[data-template="magazin"] .bs-signature .bs-kicker { color: var(--s-primary); opacity: 1; }
.bs[data-template="magazin"] .bs-signature-text { justify-items: start; text-align: left; }
.bs[data-template="magazin"] .bs-grid { counter-reset: fig; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: 32px clamp(12px, 1.6vw, 24px); }
.bs[data-template="magazin"] .bs-grid figure { grid-row: auto; overflow: visible; counter-increment: fig; }
.bs[data-template="magazin"] .bs-grid figure:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.bs[data-template="magazin"] .bs-grid img { aspect-ratio: 4 / 5; height: auto; }
.bs[data-template="magazin"] .bs-grid figure:nth-child(5n + 1) img { aspect-ratio: auto; height: calc(100% - 34px); }
.bs[data-template="magazin"] .bs-grid figure:hover img { transform: none; }
.bs[data-template="magazin"] .bs-grid figcaption { position: static; padding: 8px 0 0; border-radius: 0; background: none; color: var(--s-muted); font-size: 12px; font-style: italic; font-weight: 400; }
.bs[data-template="magazin"] .bs-grid figcaption::before { content: counter(fig, decimal-leading-zero) " — "; color: var(--s-text); font-style: normal; font-weight: 700; }
.bs[data-template="magazin"] .bs-about { grid-template-columns: minmax(0, .5fr) minmax(0, 1.5fr); align-items: start; background: var(--s-bg); }
.bs[data-template="magazin"] .bs-about-media { border-radius: 0; background: var(--s-surface); }
.bs[data-template="magazin"] .bs-about-copy { max-width: none; }
.bs[data-template="magazin"] .bs-story { column-count: 2; column-gap: 40px; font-size: 17px; }
.bs[data-template="magazin"] .bs-story::first-letter { float: left; margin: 6px 10px 0 0; color: var(--s-primary-on-surface); font-family: var(--bs-display); font-size: 84px; line-height: .78; }
.bs[data-template="magazin"] .bs-signoff { font-family: var(--bs-display); font-style: italic; font-size: 30px; }
.bs[data-template="magazin"] .bs-signoff::before { content: "— "; }
.bs[data-template="magazin"] .bs-badges li { border-radius: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--s-text); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.bs[data-template="magazin"] .bs-steps li { border: 0; border-left: 1px solid var(--s-text); border-radius: 0; background: transparent; }
.bs[data-template="magazin"] .bs-steps li::before { font-size: clamp(64px, 7vw, 110px); color: var(--s-primary-on-surface); }
.bs[data-template="magazin"] .bs-final h2 { max-width: 18ch; font-style: italic; font-size: clamp(46px, 7vw, 120px); line-height: .92; }
.bs[data-template="magazin"] .bs-final .bs-cta { border-radius: 0; }

/* ==========================================================================
   8. Pastelni oblaček — soft Fraunces, mesh gradients, frosted glass, floating arches
   ========================================================================== */
.bs[data-template="pastel"] {
  --bs-display: "Fraunces", var(--bam-serif); --bs-body: "DM Sans", var(--bam-sans); --bs-display-weight: 480; --bs-radius: 32px;
  --bs-glass: color-mix(in srgb, var(--s-surface) 62%, transparent);
  background-color: var(--s-bg);
  background-image: radial-gradient(60vw 50vw at 8% 0%, var(--s-accent-soft), transparent 70%), radial-gradient(50vw 40vw at 100% 18%, color-mix(in srgb, var(--s-primary) 18%, transparent), transparent 70%), radial-gradient(60vw 50vw at 30% 70%, color-mix(in srgb, var(--s-accent) 14%, transparent), transparent 70%), radial-gradient(50vw 50vw at 95% 95%, var(--s-accent-soft), transparent 70%);
}
.bs[data-template="pastel"] h1, .bs[data-template="pastel"] h2, .bs[data-template="pastel"] .bs-name, .bs[data-template="pastel"] .bs-item, .bs[data-template="pastel"] h3 { font-variation-settings: "SOFT" 100, "WONK" 0, "opsz" 72; }
.bs[data-template="pastel"] h1 { font-size: clamp(46px, 6.8vw, 104px); letter-spacing: -.035em; }
.bs[data-template="pastel"] .bs-top { margin: 14px var(--bs-pad) 0; top: 14px; border: 1px solid color-mix(in srgb, var(--s-surface) 80%, transparent); border-radius: var(--bam-radius-pill); background: var(--bs-glass); padding: 10px 12px 10px 18px; }
.bs[data-template="pastel"] .bs-hero { grid-template-columns: 1fr; justify-items: center; min-height: 0; padding-top: clamp(56px, 8vw, 110px); text-align: center; }
.bs[data-template="pastel"] .bs-hero-copy { justify-items: center; max-width: 860px; }
.bs[data-template="pastel"] .bs-kicker { padding: 8px 18px; border-radius: var(--bam-radius-pill); background: var(--bs-glass); }
.bs[data-template="pastel"] .bs-notes { justify-content: center; }
.bs[data-template="pastel"] .bs-hero-media { width: min(1040px, 100%); aspect-ratio: auto; grid-template-columns: 1fr 1.2fr 1fr; grid-template-rows: auto; align-items: center; gap: clamp(14px, 2.6vw, 36px); }
.bs[data-template="pastel"] .bs-hero-photo { grid-area: auto; grid-row: 1; aspect-ratio: 3 / 4; border-radius: 999px 999px var(--bs-radius) var(--bs-radius); transform: none; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--s-primary) 55%, transparent); }
.bs[data-template="pastel"] .bs-hero-photo-1 { grid-column: 2; }
.bs[data-template="pastel"] .bs-hero-photo-2 { grid-column: 1; margin-top: 22%; }
.bs[data-template="pastel"] .bs-hero-photo-3 { grid-column: 3; margin-top: 22%; }
.bs[data-template="pastel"][data-photos="1"] .bs-hero-media, .bs[data-template="pastel"][data-photos="2"] .bs-hero-media { width: min(440px, 100%); grid-template-columns: 1fr; }
.bs[data-template="pastel"][data-photos="1"] .bs-hero-photo-1, .bs[data-template="pastel"][data-photos="2"] .bs-hero-photo-1 { grid-column: 1; }
.bs[data-template="pastel"][data-photos="2"] .bs-hero-photo-2 { display: none; }
.bs[data-template="pastel"] .bs-stamp { display: grid; right: 24%; bottom: -4%; background: var(--bs-glass); color: var(--s-text); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--s-surface); }
.bs[data-template="pastel"] .bs-ribbon { display: block; margin: clamp(48px, 6vw, 88px) var(--bs-pad) 0; padding: 18px 0; border-radius: var(--bam-radius-pill); background: var(--bs-glass); color: var(--s-text); font-family: var(--bs-display); font-size: 24px; }
.bs[data-template="pastel"] .bs-ribbon-track i { border-radius: 50%; background: var(--s-primary); }
.bs[data-template="pastel"] .bs-head { justify-items: center; text-align: center; }
.bs[data-template="pastel"] .bs-eyebrow::after { display: none; }
.bs[data-template="pastel"] .bs-eyebrow { padding: 6px 16px; border-radius: var(--bam-radius-pill); background: var(--bs-glass); }
.bs[data-template="pastel"] .bs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 980px; margin: 0 auto; }
.bs[data-template="pastel"] .bs-chips li { padding: 14px 26px; border: 1px solid color-mix(in srgb, var(--s-surface) 80%, transparent); border-radius: var(--bam-radius-pill); background: var(--bs-glass); box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--s-primary) 60%, transparent); }
.bs[data-template="pastel"] .bs-index { display: none; }
.bs[data-template="pastel"] .bs-item { font-size: 22px; }
.bs[data-template="pastel"] .bs-dessert { background: var(--bs-glass); border: 1px solid color-mix(in srgb, var(--s-surface) 80%, transparent); }
.bs[data-template="pastel"] .bs-signature { margin: 0 var(--bs-pad); padding-left: clamp(24px, 6vw, 96px); padding-right: clamp(24px, 6vw, 96px); border-radius: 48px; background: var(--bs-glass); color: var(--s-text); }
.bs[data-template="pastel"] .bs-signature .bs-kicker { color: var(--s-primary); opacity: 1; }
.bs[data-template="pastel"] .bs-signature-media { border-radius: 999px 999px var(--bs-radius) var(--bs-radius); }
.bs[data-template="pastel"] .bs-grid { grid-auto-rows: auto; }
.bs[data-template="pastel"] .bs-grid figure { grid-row: auto; }
.bs[data-template="pastel"] .bs-grid img { aspect-ratio: 3 / 4; height: auto; }
.bs[data-template="pastel"] .bs-grid figure:nth-child(odd) { border-radius: 999px 999px var(--bs-radius) var(--bs-radius); }
.bs[data-template="pastel"] .bs-grid figure:nth-child(3n + 2) { transform: translateY(40px); }
.bs[data-template="pastel"] .bs-gallery { padding-bottom: calc(var(--bs-section) + 40px); }
.bs[data-template="pastel"] .bs-grid figcaption { left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--bs-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bs[data-template="pastel"] .bs-about { margin: 0 var(--bs-pad); padding-left: clamp(24px, 6vw, 96px); padding-right: clamp(24px, 6vw, 96px); border-radius: 48px; background: var(--bs-glass); }
.bs[data-template="pastel"] .bs-about .bs-head { justify-items: start; text-align: left; }
.bs[data-template="pastel"] .bs-steps li { justify-items: center; text-align: center; border: 1px solid color-mix(in srgb, var(--s-surface) 80%, transparent); background: var(--bs-glass); }
.bs[data-template="pastel"] .bs-steps li::before { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--s-accent-soft); content: counter(step); font-size: 30px; }
.bs[data-template="pastel"] .bs-final { margin: 0 var(--bs-pad) var(--bs-pad); border-radius: 48px; background: var(--s-band); color: var(--s-on-band); }
.bs[data-template="pastel"] .bs-final .bs-cta { background: var(--s-button); color: var(--s-on-button) !important; }
.bs[data-template="pastel"] .bs-contact ul { border-top: 0; gap: 14px; }
.bs[data-template="pastel"] .bs-contact li { padding: 22px; border-radius: 24px; background: var(--bs-glass); border-bottom: 0; }

/* ==========================================================================
   9. Botanični vrt — EB Garamond italic, framed arches, leaf ornaments, earthy calm
   ========================================================================== */
.bs[data-template="botanik"] { --bs-display: "EB Garamond", var(--bam-serif); --bs-body: "DM Sans", var(--bam-sans); --bs-display-weight: 400; --bs-radius: 4px; }
.bs[data-template="botanik"] h1 { font-size: clamp(46px, 6.2vw, 100px); font-style: italic; font-weight: 400; line-height: 1; }
.bs[data-template="botanik"] h2 { font-style: italic; font-weight: 400; }
.bs[data-template="botanik"] .bs-name { font-style: italic; font-size: 28px; }
.bs[data-template="botanik"] .bs-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.bs[data-template="botanik"] .bs-hero-media { order: -1; aspect-ratio: 5 / 6; }
.bs[data-template="botanik"] .bs-hero-photo-1 { grid-area: 1 / 1 / 7 / 6; border-radius: 999px 999px var(--bs-radius) var(--bs-radius); }
.bs[data-template="botanik"] .bs-hero-media::before { content: ""; grid-area: 1 / 1 / 7 / 6; margin: -14px; border: 1px solid var(--s-line); border-radius: 999px 999px var(--bs-radius) var(--bs-radius); }
.bs[data-template="botanik"] .bs-hero-photo-2 { grid-area: 4 / 4 / 7 / 7; aspect-ratio: 1; align-self: end; border-radius: 50%; }
.bs[data-template="botanik"] .bs-hero-photo-3 { display: none; }
.bs[data-template="botanik"][data-photos="1"] .bs-hero-photo-1 { grid-area: 1 / 1 / 7 / 6; }
.bs[data-template="botanik"] .bs-kicker::before { content: ""; display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; background: currentColor; -webkit-mask: var(--bs-leaf) center / contain no-repeat; mask: var(--bs-leaf) center / contain no-repeat; }
.bs[data-template="botanik"] .bs-ribbon { display: block; padding: 22px 0; background: var(--s-band); color: var(--s-text); font-family: var(--bs-display); font-size: 26px; font-style: italic; }
.bs[data-template="botanik"] .bs-ribbon-track i, .bs[data-template="botanik"] .bs-notes li::before { width: 14px; height: 14px; border-radius: 0; background: var(--s-primary); -webkit-mask: var(--bs-leaf) center / contain no-repeat; mask: var(--bs-leaf) center / contain no-repeat; transform: none; }
.bs[data-template="botanik"] .bs-eyebrow::after { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--bs-leaf) center / contain no-repeat; mask: var(--bs-leaf) center / contain no-repeat; opacity: 1; }
.bs[data-template="botanik"] .bs-chips li { padding: 18px 0; }
.bs[data-template="botanik"] .bs-index { font-family: var(--bs-display); font-size: 18px; font-style: italic; }
.bs[data-template="botanik"] .bs-item { font-style: italic; }
.bs[data-template="botanik"] .bs-signature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--s-band); color: var(--s-on-band); }
.bs[data-template="botanik"] .bs-signature-media { border-radius: 999px 999px var(--bs-radius) var(--bs-radius); outline: 1px solid var(--s-line); outline-offset: 12px; max-width: 480px; justify-self: center; width: 100%; }
.bs[data-template="botanik"] .bs-signature-copy { padding-left: 28px; border-left: 2px solid var(--s-primary); }
.bs[data-template="botanik"] .bs-signature-text .bs-signature-copy { padding-left: 0; border-left: 0; }
.bs[data-template="botanik"] .bs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; }
.bs[data-template="botanik"] .bs-grid figure { grid-row: auto; overflow: visible; }
.bs[data-template="botanik"] .bs-grid img { aspect-ratio: 3 / 4; height: auto; border-radius: var(--bs-radius); }
.bs[data-template="botanik"] .bs-grid figure:nth-child(odd) img { border-radius: 999px 999px var(--bs-radius) var(--bs-radius); }
.bs[data-template="botanik"] .bs-grid figure:nth-child(even) { margin-top: 48px; }
.bs[data-template="botanik"] .bs-grid figure:hover img { transform: none; }
.bs[data-template="botanik"] .bs-grid figcaption { position: static; padding: 12px 0 0; background: none; font-family: var(--bs-display); font-size: 20px; font-style: italic; font-weight: 500; text-align: center; }
.bs[data-template="botanik"] .bs-about-media { border-radius: 999px 999px var(--bs-radius) var(--bs-radius); aspect-ratio: 4 / 5; }
.bs[data-template="botanik"] .bs-story { font-family: var(--bs-display); font-size: clamp(22px, 2.2vw, 30px); font-style: italic; line-height: 1.4; }
.bs[data-template="botanik"] .bs-signoff { font-family: var(--bs-display); font-style: italic; }
.bs[data-template="botanik"] .bs-steps li { border-radius: 999px 999px var(--bs-radius) var(--bs-radius); padding-top: 64px; justify-items: center; text-align: center; background: var(--s-surface); }
.bs[data-template="botanik"] .bs-steps li::before { font-style: italic; }
.bs[data-template="botanik"] .bs-final { margin: 0 var(--bs-gutter) var(--bs-section); border-radius: 999px 999px var(--bs-radius) var(--bs-radius); padding-top: calc(var(--bs-section) + 40px); }
.bs[data-template="botanik"] .bs-final h2 { font-style: italic; font-weight: 400; }

/* ==========================================================================
   10. Francoski bistro — DM Serif italic, a striped scalloped awning, menu card with leaders, plates
   ========================================================================== */
.bs[data-template="bistro"] { --bs-display: "DM Serif Display", var(--bam-serif); --bs-body: "DM Sans", var(--bam-sans); --bs-display-weight: 400; --bs-radius: 6px; }
.bs[data-template="bistro"] h1, .bs[data-template="bistro"] h2 { font-style: italic; }
.bs[data-template="bistro"] h1 { font-size: clamp(46px, 6.6vw, 100px); }
.bs[data-template="bistro"] .bs-top { position: relative; padding-top: 44px; border-bottom: 0; background-color: var(--s-bg); background-image: repeating-linear-gradient(90deg, var(--s-band) 0 32px, var(--s-bg) 32px 64px); background-size: 100% 26px; background-repeat: no-repeat; backdrop-filter: none; }
.bs[data-template="bistro"] .bs-top::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 16px; background: radial-gradient(circle at 16px 0, var(--s-band) 0 15.5px, transparent 16px) 0 0 / 64px 16px repeat-x; }
.bs[data-template="bistro"] .bs-name { font-style: italic; font-size: 28px; }
.bs[data-template="bistro"] .bs-cta { border-radius: 4px; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.bs[data-template="bistro"] .bs-kicker { font-family: var(--bs-hand); font-size: 30px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.bs[data-template="bistro"] .bs-hero-media { aspect-ratio: 1; }
.bs[data-template="bistro"] .bs-hero-photo { border-radius: 50%; box-shadow: 0 0 0 14px var(--s-surface), 0 0 0 15px var(--s-line), 0 30px 60px -20px color-mix(in srgb, var(--s-text) 40%, transparent); }
.bs[data-template="bistro"] .bs-hero-photo-1 { grid-area: 1 / 1 / 6 / 6; }
.bs[data-template="bistro"] .bs-hero-photo-2 { grid-area: 4 / 4 / 7 / 7; transform: none; }
.bs[data-template="bistro"] .bs-hero-photo-3 { display: none; }
.bs[data-template="bistro"][data-photos="1"] .bs-hero-photo-1 { grid-area: 1 / 1 / 7 / 7; }
.bs[data-template="bistro"] .bs-ribbon { display: block; padding: 16px 0; background: var(--s-band); color: var(--s-on-band); font-family: var(--bs-hand); font-size: 32px; font-weight: 600; }
.bs[data-template="bistro"] .bs-offer { display: grid; justify-items: center; }
.bs[data-template="bistro"] .bs-offer .bs-head { justify-items: center; text-align: center; }
.bs[data-template="bistro"] .bs-head { justify-items: center; text-align: center; }
.bs[data-template="bistro"] .bs-eyebrow { font-family: var(--bs-hand); font-size: 26px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.bs[data-template="bistro"] .bs-eyebrow::before, .bs[data-template="bistro"] .bs-eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; }
.bs[data-template="bistro"] .bs-offer .bs-chips { width: min(820px, 100%); grid-template-columns: 1fr; padding: clamp(28px, 5vw, 64px); border: 1px solid var(--s-line); outline: 1px solid var(--s-line); outline-offset: -10px; background: var(--s-surface); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--s-text) 45%, transparent); }
.bs[data-template="bistro"] .bs-chips li { gap: 12px; padding: 14px 0; border-bottom: 0; }
.bs[data-template="bistro"] .bs-chips li .bs-item { order: 1; font-style: italic; }
.bs[data-template="bistro"] .bs-chips li::after { content: ""; order: 2; flex: 1; border-bottom: 2px dotted var(--s-line); transform: translateY(-6px); }
.bs[data-template="bistro"] .bs-chips li .bs-index { order: 3; color: var(--s-primary-on-surface); }
.bs[data-template="bistro"] .bs-dessert { box-shadow: 0 0 0 1px var(--s-line); }
.bs[data-template="bistro"] .bs-dessert img { border-radius: 50%; width: 72%; margin: 22px auto 0; aspect-ratio: 1; box-shadow: 0 0 0 8px var(--s-bg), 0 0 0 9px var(--s-line); }
.bs[data-template="bistro"] .bs-dessert-copy { justify-items: center; text-align: center; }
.bs[data-template="bistro"] .bs-signature { background: var(--s-band); color: var(--s-on-band); }
.bs[data-template="bistro"] .bs-signature-media { border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 14px color-mix(in srgb, var(--s-on-band) 85%, transparent); max-width: 460px; width: 100%; justify-self: center; }
.bs[data-template="bistro"] .bs-signature .bs-kicker { font-family: var(--bs-hand); font-size: 30px; letter-spacing: 0; text-transform: none; }
.bs[data-template="bistro"] .bs-grid figcaption { left: 50%; transform: translateX(-50%); white-space: nowrap; font-family: var(--bs-display); font-style: italic; font-weight: 400; }
.bs[data-template="bistro"] .bs-about-media { box-shadow: 0 0 0 10px var(--s-surface), 0 0 0 11px var(--s-line); }
.bs[data-template="bistro"] .bs-signoff { color: var(--s-primary-on-surface); }
.bs[data-template="bistro"] .bs-steps li { justify-items: center; text-align: center; }
.bs[data-template="bistro"] .bs-steps li::before { font-style: italic; }
.bs[data-template="bistro"] .bs-final { padding-top: calc(var(--bs-section) + 26px); background-color: var(--s-deep); background-image: repeating-linear-gradient(90deg, var(--s-band) 0 32px, var(--s-deep) 32px 64px); background-size: 100% 26px; background-repeat: no-repeat; }
.bs[data-template="bistro"] .bs-final h2 { font-style: italic; }
.bs[data-template="bistro"] .bs-contact .bs-head { justify-items: center; }

/* ==========================================================================
   11. Galerija — Instrument Serif and Space Grotesk, a full-width mosaic first, masonry wall
   ========================================================================== */
.bs[data-template="galerija"] { --bs-display: "Instrument Serif", var(--bam-serif); --bs-body: "Space Grotesk", var(--bam-sans); --bs-display-weight: 400; --bs-radius: 0; --bs-max: 1440px; }
.bs[data-template="galerija"] h1 { font-size: clamp(48px, 7vw, 120px); line-height: 1; letter-spacing: -.03em; }
.bs[data-template="galerija"] .bs-top { border-bottom: 0; }
.bs[data-template="galerija"] .bs-name { font-size: 28px; }
.bs[data-template="galerija"] .bs-cta { border-radius: 0; }
.bs[data-template="galerija"] .bs-hero { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(16px, 2vw, 32px); align-items: end; min-height: 0; padding-top: 12px; }
.bs[data-template="galerija"] .bs-hero-media { grid-column: 1 / -1; grid-row: 1; aspect-ratio: auto; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(160px, 22vw, 340px)); gap: 8px; }
.bs[data-template="galerija"] .bs-hero-photo { grid-area: auto; transform: none; box-shadow: none; }
.bs[data-template="galerija"] .bs-hero-photo-1 { grid-column: 1; grid-row: 1 / span 2; }
.bs[data-template="galerija"] .bs-hero-photo-2 { grid-column: 2 / span 2; grid-row: 1; }
.bs[data-template="galerija"] .bs-hero-photo-3 { grid-column: 2 / span 2; grid-row: 2; }
.bs[data-template="galerija"][data-photos="2"] .bs-hero-photo-2 { grid-row: 1 / span 2; }
.bs[data-template="galerija"][data-photos="1"] .bs-hero-photo-1 { grid-column: 1 / -1; }
.bs[data-template="galerija"] .bs-hero-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: block; padding: 40px 16px 14px; background: linear-gradient(0deg, color-mix(in srgb, var(--s-deep) 72%, transparent), transparent); color: var(--s-on-deep); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.bs[data-template="galerija"] .bs-hero-copy { display: contents; }
.bs[data-template="galerija"] .bs-kicker { grid-column: 1 / -1; grid-row: 2; padding-top: 18px; color: var(--s-text); }
.bs[data-template="galerija"] .bs-hero h1 { grid-column: 1 / 8; grid-row: 3 / span 3; }
.bs[data-template="galerija"] .bs-lead { grid-column: 8 / -1; grid-row: 3; }
.bs[data-template="galerija"] .bs-hero .bs-cta { grid-column: 8 / -1; grid-row: 4; justify-self: start; }
.bs[data-template="galerija"] .bs-notes { grid-column: 8 / -1; grid-row: 5; }
.bs[data-template="galerija"] .bs-ribbon { display: block; margin-top: clamp(40px, 6vw, 80px); padding: 14px 0; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); color: var(--s-muted); font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.bs[data-template="galerija"] .bs-ribbon-track i { width: 5px; height: 5px; border-radius: 50%; }
.bs[data-template="galerija"] .bs-head { grid-template-columns: 1fr auto; align-items: end; }
.bs[data-template="galerija"] .bs-eyebrow { order: 2; color: var(--s-muted); }
.bs[data-template="galerija"] .bs-eyebrow::after { display: none; }
.bs[data-template="galerija"] .bs-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--s-line); }
.bs[data-template="galerija"] .bs-index { color: var(--s-muted); }
.bs[data-template="galerija"] .bs-dessert { border-radius: 0; box-shadow: none; background: transparent; }
.bs[data-template="galerija"] .bs-dessert-copy { padding: 14px 0 0; }
.bs[data-template="galerija"] .bs-signature { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); padding-left: 0; background: var(--s-surface); color: var(--s-text); }
.bs[data-template="galerija"] .bs-signature-media { aspect-ratio: 4 / 3; }
.bs[data-template="galerija"] .bs-signature .bs-kicker { color: var(--s-primary-on-surface); opacity: 1; }
.bs[data-template="galerija"] .bs-signature-text { padding-left: var(--bs-gutter); }
.bs[data-template="galerija"] .bs-grid { display: block; column-count: 3; column-gap: 10px; }
.bs[data-template="galerija"] .bs-grid figure { display: inline-block; width: 100%; margin: 0 0 10px; break-inside: avoid; }
.bs[data-template="galerija"] .bs-grid img { height: auto; }
.bs[data-template="galerija"] .bs-grid figure:nth-child(3n + 1) img { aspect-ratio: 3 / 4; object-fit: cover; }
.bs[data-template="galerija"] .bs-grid figure:nth-child(3n + 2) img { aspect-ratio: 1; object-fit: cover; }
.bs[data-template="galerija"] .bs-grid figure:nth-child(3n) img { aspect-ratio: 4 / 5; object-fit: cover; }
.bs[data-template="galerija"] .bs-grid figcaption { left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; border-radius: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--s-deep) 72%, transparent), transparent); color: var(--s-on-deep); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: 0; transition: opacity var(--bam-duration) var(--bam-ease); }
.bs[data-template="galerija"] .bs-grid figure:hover figcaption, .bs[data-template="galerija"] .bs-grid figure:focus-within figcaption { opacity: 1; }
.bs[data-template="galerija"] .bs-about { background: var(--s-bg); border-top: 1px solid var(--s-line); }
.bs[data-template="galerija"] .bs-about-media { border-radius: 0; background: var(--s-surface); }
.bs[data-template="galerija"] .bs-story { font-family: var(--bs-display); font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; }
.bs[data-template="galerija"] .bs-signoff { display: none; }
.bs[data-template="galerija"] .bs-badges li { border-radius: 0; }
.bs[data-template="galerija"] .bs-steps li { border-radius: 0; border: 0; border-top: 1px solid var(--s-text); background: transparent; padding-left: 0; }
.bs[data-template="galerija"] .bs-final .bs-cta { border-radius: 0; }

/* ==========================================================================
   12. Praznična — Bricolage Grotesque and Caveat, confetti, ribbon banners, fanned invitation cards
   ========================================================================== */
.bs[data-template="praznik"] {
  --bs-display: "Bricolage Grotesque", var(--bam-sans); --bs-body: "DM Sans", var(--bam-sans); --bs-display-weight: 700; --bs-radius: 24px;
  background-color: var(--s-bg);
  background-image: radial-gradient(circle, var(--s-accent) 0 3.5px, transparent 4px), radial-gradient(circle, var(--s-primary) 0 2.5px, transparent 3px), radial-gradient(circle, color-mix(in srgb, var(--s-accent) 55%, transparent) 0 6px, transparent 6.5px);
  background-size: 92px 92px, 130px 130px, 210px 210px; background-position: 0 0, 46px 64px, 120px 30px;
}
.bs[data-template="praznik"] h1 { font-size: clamp(44px, 6.4vw, 104px); font-weight: 800; letter-spacing: -.035em; line-height: .92; font-variation-settings: "opsz" 96; }
.bs[data-template="praznik"] h2 { font-weight: 800; letter-spacing: -.035em; }
.bs[data-template="praznik"] .bs-name { font-weight: 800; letter-spacing: -.03em; }
.bs[data-template="praznik"] .bs-hero { grid-template-columns: 1fr; justify-items: center; min-height: 0; padding-top: clamp(48px, 7vw, 96px); }
.bs[data-template="praznik"] .bs-hero-copy { justify-items: center; max-width: 900px; padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 72px); border-radius: 36px; background: var(--s-surface); text-align: center; box-shadow: 0 0 0 10px var(--s-surface), 0 0 0 12px var(--s-line), 0 40px 80px -40px color-mix(in srgb, var(--s-text) 45%, transparent); }
.bs[data-template="praznik"] .bs-kicker { position: relative; padding: 10px 34px; background: var(--s-button); color: var(--s-on-button); font-family: var(--bs-hand); font-size: 26px; font-weight: 700; letter-spacing: 0; text-transform: none; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); }
.bs[data-template="praznik"] .bs-notes { justify-content: center; }
.bs[data-template="praznik"] .bs-hero-media { width: min(1000px, 100%); margin-top: -24px; aspect-ratio: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto; gap: clamp(10px, 2vw, 24px); }
.bs[data-template="praznik"] .bs-hero-photo { grid-area: auto; grid-row: 1; aspect-ratio: 4 / 5; border: 8px solid var(--s-surface); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--s-text) 50%, transparent); }
.bs[data-template="praznik"] .bs-hero-photo-1 { grid-column: 2; z-index: 3; transform: translateY(-8%) rotate(2deg); }
.bs[data-template="praznik"] .bs-hero-photo-2 { grid-column: 1; transform: rotate(-7deg); }
.bs[data-template="praznik"] .bs-hero-photo-3 { grid-column: 3; transform: translate(0, 0) rotate(6deg); }
.bs[data-template="praznik"][data-photos="1"] .bs-hero-media, .bs[data-template="praznik"][data-photos="2"] .bs-hero-media { width: min(420px, 100%); grid-template-columns: 1fr; }
.bs[data-template="praznik"][data-photos="1"] .bs-hero-photo-1, .bs[data-template="praznik"][data-photos="2"] .bs-hero-photo-1 { grid-column: 1; }
.bs[data-template="praznik"][data-photos="2"] .bs-hero-photo-2 { display: none; }
.bs[data-template="praznik"] .bs-stamp { display: grid; right: 4%; bottom: auto; top: -10%; border-radius: 0; clip-path: var(--bs-burst); background: var(--s-accent-solid); color: var(--s-on-accent); box-shadow: none; }
.bs[data-template="praznik"] .bs-ribbon { display: block; margin: clamp(48px, 7vw, 96px) -3% 0; padding: 16px 0; background: var(--s-band); color: var(--s-on-band); font-family: var(--bs-display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; transform: rotate(2deg); }
.bs[data-template="praznik"] .bs-ribbon-track i { width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--bs-star) center / contain no-repeat; mask: var(--bs-star) center / contain no-repeat; transform: none; opacity: 1; }
.bs[data-template="praznik"] section:not(.bs-hero):not(.bs-final) { background: color-mix(in srgb, var(--s-bg) 90%, transparent); }
.bs[data-template="praznik"] .bs-head { justify-items: center; text-align: center; }
.bs[data-template="praznik"] .bs-eyebrow { padding: 8px 26px; background: var(--s-accent-soft); color: var(--s-text); font-family: var(--bs-hand); font-size: 24px; font-weight: 700; letter-spacing: 0; text-transform: none; clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); }
.bs[data-template="praznik"] .bs-eyebrow::before, .bs[data-template="praznik"] .bs-eyebrow::after { display: none; }
.bs[data-template="praznik"] .bs-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.bs[data-template="praznik"] .bs-chips li { padding: 14px 26px; border: 0; border-radius: var(--bam-radius-pill); background: var(--s-surface); box-shadow: 0 0 0 2px var(--s-line), 0 12px 24px -16px color-mix(in srgb, var(--s-text) 50%, transparent); }
.bs[data-template="praznik"] .bs-chips li:nth-child(odd) { transform: rotate(-2.5deg); }
.bs[data-template="praznik"] .bs-chips li:nth-child(even) { transform: rotate(2deg); background: var(--s-accent-soft); }
.bs[data-template="praznik"] .bs-index { display: none; }
.bs[data-template="praznik"] .bs-item { font-size: 22px; font-weight: 700; }
.bs[data-template="praznik"] .bs-signature { margin: 0 var(--bs-pad); padding-left: clamp(24px, 6vw, 96px); padding-right: clamp(24px, 6vw, 96px); border-radius: 40px; background: var(--s-band) !important; }
.bs[data-template="praznik"] .bs-signature-media { border: 10px solid var(--s-surface); transform: rotate(-3deg); }
.bs[data-template="praznik"] .bs-signature .bs-kicker { font-family: var(--bs-hand); font-size: 30px; letter-spacing: 0; text-transform: none; }
.bs[data-template="praznik"] .bs-grid figure { border: 7px solid var(--s-surface); box-shadow: 0 18px 36px -20px color-mix(in srgb, var(--s-text) 50%, transparent); }
.bs[data-template="praznik"] .bs-grid figure:nth-child(odd) { transform: rotate(-1.5deg); }
.bs[data-template="praznik"] .bs-grid figure:nth-child(even) { transform: rotate(1.5deg); }
.bs[data-template="praznik"] .bs-about { margin: 0 var(--bs-pad); padding-left: clamp(24px, 6vw, 96px); padding-right: clamp(24px, 6vw, 96px); border-radius: 40px; background: var(--s-surface) !important; }
.bs[data-template="praznik"] .bs-signoff { font-size: 44px; transform: rotate(-3deg); transform-origin: left; }
.bs[data-template="praznik"] .bs-steps li { justify-items: center; text-align: center; border: 0; box-shadow: 0 0 0 2px var(--s-line); }
.bs[data-template="praznik"] .bs-steps li::before { font-weight: 800; font-size: 56px; content: counter(step); }
.bs[data-template="praznik"] .bs-final { margin: 0 var(--bs-pad) var(--bs-pad); border-radius: 40px; }

/* ==========================================================================
   Motion: a short entrance for the hero and a gentle rise on scroll. Off for reduced motion.
   ========================================================================== */
@keyframes bs-in { from { opacity: 0; translate: 0 22px; } }
@keyframes bs-rise { from { opacity: 0; translate: 0 36px; } }
@keyframes bs-marquee { to { transform: translateX(-50%); } }
@keyframes bs-spin { to { rotate: 360deg; } }
@keyframes bs-float { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: no-preference) {
  .bs-hero-copy > *, .bs-hero-photo { animation: bs-in .9s var(--bam-ease) both; }
  .bs-hero-copy > :nth-child(2) { animation-delay: .08s; }
  .bs-hero-copy > :nth-child(3) { animation-delay: .16s; }
  .bs-hero-copy > :nth-child(4) { animation-delay: .24s; }
  .bs-hero-copy > :nth-child(5) { animation-delay: .32s; }
  .bs-hero-photo-1 { animation-delay: .12s; }
  .bs-hero-photo-2 { animation-delay: .3s; }
  .bs-hero-photo-3 { animation-delay: .42s; }
  .bs-ribbon-track { animation: bs-marquee 38s linear infinite; }
  .bs[data-template="atelier"] .bs-ribbon-track, .bs[data-template="noir"] .bs-ribbon-track { animation-duration: 60s; }
  .bs[data-template="veselo"] .bs-ribbon-track, .bs[data-template="praznik"] .bs-ribbon-track { animation-duration: 26s; }
  .bs[data-template="veselo"] .bs-stamp, .bs[data-template="praznik"] .bs-stamp { animation: bs-spin 24s linear infinite; }
  .bs[data-template="pastel"] .bs-hero-photo-2 { animation: bs-in .9s var(--bam-ease) .3s both, bs-float 7s ease-in-out 1.2s infinite; }
  .bs[data-template="pastel"] .bs-hero-photo-3 { animation: bs-in .9s var(--bam-ease) .42s both, bs-float 8s ease-in-out 2s infinite; }
  @supports (animation-timeline: view()) {
    .bs-head, .bs-chips li, .bs-dessert, .bs-signature-media, .bs-signature-copy, .bs-grid figure, .bs-about-media, .bs-about-copy, .bs-steps li, .bs-final > *, .bs-contact li {
      animation: bs-rise linear both; animation-timeline: view(); animation-range: entry 5% entry 45%;
    }
  }
}

/* ==========================================================================
   Tablet and phone (390 px)
   ========================================================================== */
@media (max-width: 980px) {
  .bs-nav { display: none; }
  .bs[data-template="atelier"] .bs-top { display: flex; justify-content: space-between; }
  .bs[data-template="atelier"] .bs-brand { flex-direction: row; }
  .bs-hero, .bs[data-template="botanik"] .bs-hero, .bs[data-template="bistro"] .bs-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .bs-hero-media { width: min(560px, 100%); justify-self: center; }
  .bs[data-template="minimal"] .bs-lead, .bs[data-template="minimal"] .bs-hero .bs-cta, .bs[data-template="minimal"] .bs-notes { grid-column: 1 / -1; justify-self: start; }
  .bs[data-template="minimal"] .bs-hero-media, .bs[data-template="magazin"] .bs-hero-media, .bs[data-template="galerija"] .bs-hero-media { width: auto; }
  .bs[data-template="magazin"] .bs-lead, .bs[data-template="magazin"] .bs-hero .bs-cta, .bs[data-template="magazin"] .bs-notes { grid-column: 1 / -1; grid-row: auto; }
  .bs[data-template="magazin"] .bs-hero-media { grid-column: 1 / -1; grid-row: auto; }
  .bs[data-template="galerija"] .bs-hero h1, .bs[data-template="galerija"] .bs-lead, .bs[data-template="galerija"] .bs-hero .bs-cta, .bs[data-template="galerija"] .bs-notes { grid-column: 1 / -1; grid-row: auto; }
  .bs-signature, .bs[data-template="noir"] .bs-signature, .bs[data-template="magazin"] .bs-signature, .bs[data-template="galerija"] .bs-signature, .bs[data-template="botanik"] .bs-signature, .bs[data-template="minimal"] .bs-signature { grid-template-columns: minmax(0, 1fr); }
  .bs-signature-media { width: min(520px, 100%); justify-self: center; }
  .bs[data-template="minimal"] .bs-signature, .bs[data-template="galerija"] .bs-signature { padding: 0 0 var(--bs-section); }
  .bs[data-template="minimal"] .bs-signature-media, .bs[data-template="galerija"] .bs-signature-media { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
  .bs[data-template="minimal"] .bs-signature-copy, .bs[data-template="galerija"] .bs-signature-copy { padding: 40px var(--bs-pad) 0; }
  .bs[data-template="magazin"] .bs-signature-media { order: 0; }
  .bs-about, .bs[data-template="minimal"] .bs-about, .bs[data-template="magazin"] .bs-about { grid-template-columns: minmax(0, 1fr); }
  .bs-about-media { width: min(240px, 70%); }
  .bs[data-template="minimal"] .bs-about-media, .bs[data-template="minimal"] .bs-about-copy { grid-column: 1 / -1; }
  .bs[data-template="magazin"] .bs-story { column-count: 1; }
  .bs[data-template="domaca"] .bs-offer { grid-template-columns: minmax(0, 1fr); }
  .bs[data-template="galerija"] .bs-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs[data-template="botanik"] .bs-grid, .bs[data-template="magazin"] .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .bs { font-size: 16px; --bs-section: 72px; }
  .bs-top { justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .bs-logo { width: 38px; height: 38px; }
  .bs-name, .bs[data-template="vintage"] .bs-name, .bs[data-template="bistro"] .bs-name, .bs[data-template="magazin"] .bs-name, .bs[data-template="botanik"] .bs-name { font-size: 19px; }
  .bs[data-template="atelier"] .bs-name { font-size: 16px; }
  .bs[data-template="vintage"] .bs-top { flex-wrap: nowrap; justify-content: space-between; padding-bottom: 14px; }
  .bs[data-template="bistro"] .bs-top { padding-top: 54px; }
  .bs[data-template="praznik"] .bs-kicker { padding: 8px 26px; font-size: 20px; }
  .bs[data-template="pastel"] .bs-top { margin: 10px 10px 0; top: 10px; }
  .bs-hero { gap: 40px; padding-top: 40px; }
  .bs-hero-copy { gap: 20px; }
  .bs-cta-lg { width: 100%; }
  .bs-hero-photo-2, .bs-hero-photo-3 { box-shadow: 0 0 0 5px var(--s-bg); }
  .bs-stamp { width: 96px; padding: 12px; font-size: 9px; right: 0; }
  .bs[data-template="domaca"] .bs-stamp { font-size: 15px; }
  .bs-chips { grid-template-columns: minmax(0, 1fr); }
  .bs[data-template="galerija"] .bs-chips { grid-template-columns: minmax(0, 1fr); }
  .bs-grid, .bs[data-template="minimal"] .bs-grid, .bs[data-template="magazin"] .bs-grid, .bs[data-template="botanik"] .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
  .bs[data-template="minimal"] .bs-grid figure, .bs[data-template="minimal"] .bs-grid figure:nth-child(5n + 1), .bs[data-template="minimal"] .bs-grid figure:nth-child(5n + 2) { grid-column: span 1; grid-row: span 1; }
  .bs[data-template="minimal"] .bs-grid figure:nth-child(3n + 1) { grid-column: span 2; }
  .bs[data-template="magazin"] .bs-grid figure:nth-child(5n + 1) { grid-column: span 2; grid-row: auto; }
  .bs[data-template="magazin"] .bs-grid figure:nth-child(5n + 1) img { aspect-ratio: 4 / 3; height: auto; }
  .bs[data-template="atelier"] .bs-grid, .bs[data-template="domaca"] .bs-grid, .bs[data-template="vintage"] .bs-grid, .bs[data-template="pastel"] .bs-grid, .bs[data-template="botanik"] .bs-grid, .bs[data-template="magazin"] .bs-grid { grid-auto-rows: auto; }
  .bs[data-template="atelier"] .bs-grid figure:nth-child(3n + 2), .bs[data-template="pastel"] .bs-grid figure:nth-child(3n + 2) { transform: none; }
  .bs[data-template="atelier"] .bs-gallery, .bs[data-template="pastel"] .bs-gallery { padding-bottom: var(--bs-section); }
  .bs[data-template="botanik"] .bs-grid figure:nth-child(even) { margin-top: 24px; }
  .bs[data-template="domaca"] .bs-grid { gap: 22px 14px; }
  .bs[data-template="domaca"] .bs-grid figcaption { font-size: 20px; }
  .bs[data-template="galerija"] .bs-grid { column-count: 2; column-gap: 8px; }
  .bs-steps ol { grid-template-columns: minmax(0, 1fr); }
  .bs[data-template="minimal"] .bs-steps li, .bs[data-template="minimal"] .bs-steps li + li { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--s-line); }
  .bs-about { justify-items: center; text-align: center; }
  .bs-about .bs-head, .bs[data-template="vintage"] .bs-about .bs-head, .bs[data-template="pastel"] .bs-about .bs-head { justify-items: center; text-align: center; }
  .bs-badges { justify-content: center; }
  .bs-signoff { transform: none !important; }
  .bs[data-template="magazin"] .bs-head, .bs[data-template="galerija"] .bs-head { grid-template-columns: minmax(0, 1fr); }
  .bs[data-template="galerija"] .bs-eyebrow { order: 0; }
  .bs[data-template="galerija"] .bs-hero-media { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 140px; }
  .bs[data-template="galerija"] .bs-hero-photo-1 { grid-column: 1 / -1; grid-row: 1; }
  .bs[data-template="galerija"] .bs-hero-photo-2 { grid-column: 1; grid-row: 2; }
  .bs[data-template="galerija"] .bs-hero-photo-3 { grid-column: 2; grid-row: 2; }
  .bs[data-template="galerija"][data-photos="2"] .bs-hero-photo-2 { grid-column: 1 / -1; grid-row: 2; }
  .bs[data-template="minimal"] .bs-hero-media { grid-template-rows: 320px; }
  .bs[data-template="minimal"] .bs-hero-photo-1 { grid-column: 1 / -1; }
  .bs[data-template="minimal"] .bs-hero-photo-2 { display: none; }
  .bs[data-template="minimal"] .bs-chips li::after { font-size: 22px; }
  .bs[data-template="magazin"] .bs-hero-media { grid-template-columns: 1fr; }
  .bs[data-template="magazin"] .bs-hero-photo-2, .bs[data-template="magazin"] .bs-hero-photo-3 { display: none; }
  .bs[data-template="magazin"] .bs-signature { margin: 0 var(--bs-pad); }
  .bs[data-template="veselo"] .bs-hero { margin: 8px 10px 0; padding: 28px 20px 36px; border-radius: 30px; box-shadow: 6px 6px 0 var(--s-text); }
  .bs[data-template="veselo"] .bs-signature, .bs[data-template="veselo"] .bs-about, .bs[data-template="veselo"] .bs-final { margin-left: 10px; margin-right: 10px; padding-left: 20px; padding-right: 20px; border-radius: 30px; box-shadow: 6px 6px 0 var(--s-text); }
  .bs[data-template="domaca"] .bs-signature, .bs[data-template="domaca"] .bs-about, .bs[data-template="domaca"] .bs-final,
  .bs[data-template="pastel"] .bs-signature, .bs[data-template="pastel"] .bs-about, .bs[data-template="pastel"] .bs-final,
  .bs[data-template="praznik"] .bs-signature, .bs[data-template="praznik"] .bs-about, .bs[data-template="praznik"] .bs-final { margin-left: 10px; margin-right: 10px; padding-left: 20px; padding-right: 20px; border-radius: 30px; }
  .bs[data-template="vintage"] .bs-hero { margin: 24px 10px 0; padding: 32px 16px; }
  .bs[data-template="praznik"] .bs-hero-copy { box-shadow: 0 0 0 6px var(--s-surface), 0 0 0 8px var(--s-line); }
  .bs[data-template="praznik"] .bs-hero-media, .bs[data-template="atelier"] .bs-hero-media, .bs[data-template="pastel"] .bs-hero-media, .bs[data-template="vintage"] .bs-hero-media { gap: 8px; }
  .bs[data-template="noir"] .bs-hero-photo-1 { bottom: 38%; }
  .bs[data-template="noir"] .bs-hero-photo-1::after { background: linear-gradient(0deg, var(--s-bg) 0%, color-mix(in srgb, var(--s-bg) 40%, transparent) 55%, color-mix(in srgb, var(--s-bg) 20%, transparent) 100%); }
  .bs[data-template="noir"] .bs-hero-copy { padding-top: 46vh; }
  .bs[data-template="noir"] .bs-final, .bs[data-template="botanik"] .bs-final { margin-left: 10px; margin-right: 10px; }
  .bs[data-template="bistro"] .bs-offer .bs-chips { padding: 22px 18px; }
  .bs-contact li { padding-right: 0; }
  .bs-foot { justify-content: center; text-align: center; }
  .bs-foot-name { margin-right: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bs-cta, .bs-cta::after, .bs-nav a::after, .bs-grid img, .bs[data-template="minimal"] .bs-chips li { transition: none; }
  .bs-cta:hover, .bs-cta:hover::after { transform: none; }
  .bs-grid figure:hover img { transform: none; }
}
