@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700&family=Noto+Sans+Georgian:wght@400;500;600;700&family=Noto+Serif+Georgian:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');
@font-face {
    font-family: 'FiraGO';
    src: url('/fonts/labels/FiraGO.otf') format('opentype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: url('/fonts/labels/DejaVuSans.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Serif';
    src: url('/fonts/labels/DejaVuSerif.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

:root {
    color-scheme: light;

    --color-wine-950: #2b040b;
    --color-wine-900: #3b0610;
    --color-wine-800: #540917;
    --color-wine-700: #7f1024;
    --color-wine-600: #9d1730;
    --color-gold-800: #7b4d16;
    --color-gold-700: #9f6b22;
    --color-gold-600: #c4872f;
    --color-gold-500: #d49a3a;
    --color-gold-300: #ecd2a0;
    --color-paper-50: #fffaf1;
    --color-paper-100: #fff8ed;
    --color-paper-200: #fff3dd;
    --color-paper-300: #f7ead7;
    --color-blush-100: #fae7df;
    --color-ink-900: #302829;
    --color-ink-700: #5f5351;
    --color-ink-600: #766865;
    --color-green-700: #315c35;
    --color-green-100: #e9f5e8;
    --color-red-100: #fff0f0;

    --rgb-wine: 127 16 36;
    --rgb-wine-dark: 84 9 23;
    --rgb-gold: 212 154 58;
    --rgb-gold-dark: 159 107 34;
    --rgb-paper: 255 248 237;
    --rgb-cream: 255 243 221;
    --rgb-card: 255 250 241;
    --rgb-ink: 48 40 41;

    --surface-page: var(--color-paper-100);
    --surface-cream: var(--color-paper-200);
    --surface-soft: var(--color-paper-50);
    --surface-deep: var(--color-paper-300);
    --surface-card: rgb(var(--rgb-card) / .78);
    --surface-card-strong: rgb(var(--rgb-card) / .94);

    --text-main: var(--color-ink-900);
    --text-muted: var(--color-ink-600);
    --brand-primary: var(--color-wine-700);
    --brand-primary-dark: var(--color-wine-800);
    --brand-accent: var(--color-gold-500);
    --brand-accent-dark: var(--color-gold-700);
    --border-soft: rgb(178 129 60 / .3);
    --border-brand: rgb(var(--rgb-wine) / .22);

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display-ka: 'Noto Serif Georgian', 'DejaVu Serif', serif;
    --font-body-ka: 'FiraGO', 'Noto Sans Georgian', 'DejaVu Sans', sans-serif;

    --radius-xs: .22rem;
    --radius-sm: .45rem;
    --radius-md: .8rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.8rem;
    --radius-pill: 999px;

    --shadow-xs: 0 8px 22px rgb(var(--rgb-wine-dark) / .08);
    --shadow-sm: 0 16px 42px rgb(var(--rgb-wine-dark) / .12);
    --shadow-md: 0 24px 70px rgb(var(--rgb-wine-dark) / .16);
    --shadow-glow: 0 20px 80px rgb(var(--rgb-gold) / .18);

    --edge: clamp(1.25rem, 5vw, 4.3rem);
    --max: 1640px;

    /* Compatibility aliases used by existing page CSS and JS-generated UI. */
    --paper: var(--surface-page);
    --paper-deep: var(--surface-deep);
    --cream: var(--surface-cream);
    --cream-soft: var(--surface-soft);
    --blush: var(--color-blush-100);
    --wine: var(--brand-primary);
    --wine-dark: var(--brand-primary-dark);
    --rose: #c76e66;
    --gold: var(--brand-accent);
    --gold-soft: var(--color-gold-300);
    --gold-dark: var(--brand-accent-dark);
    --ink: var(--text-main);
    --muted: var(--text-muted);
    --line: var(--border-soft);
    --line-strong: var(--border-brand);
    --display-font: var(--font-display);
    --body-font: var(--font-body);
    --shadow-soft: var(--shadow-sm);
    --shadow-card: var(--shadow-sm);
}


html[lang^="ka"] {
    --font-display: var(--font-display-ka);
    --font-serif: var(--font-display-ka);
    --font-body: var(--font-body-ka);
}

html[lang^="ka"] h1,
html[lang^="ka"] h2,
html[lang^="ka"] h3,
html[lang^="ka"] h4 {
    line-height: 1.16;
    letter-spacing: 0;
}

* { box-sizing: border-box; }
/* Native dropdowns and the browser's autofill popup are anchored to the field's
   screen position. A global smooth scroll lets the page keep moving after the
   popup opens, so the anchor shifts and Chrome dismisses the popup - the
   "dropdown vanishes as I reach for it" bug on the order form. Smooth scrolling
   is requested explicitly where it is wanted (see CustomLabels.razor.js).
   scroll-padding keeps focused fields clear of the sticky header. */
html { scroll-padding-top: 5.5rem; }
html, body { margin: 0; min-height: 100%; font-family: var(--font-body); background: var(--surface-page); color: var(--text-main); }
img, svg, canvas { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: rgb(var(--rgb-wine) / .16); }
:focus-visible { outline: 3px solid rgb(var(--rgb-gold) / .9); outline-offset: 3px; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: .98;
    color: var(--brand-primary);
}

p { line-height: 1.72; }
a { color: var(--brand-primary); }

.site-main {
    background:
        radial-gradient(circle at 8% 0, rgb(var(--rgb-gold) / .14), transparent 26rem),
        radial-gradient(circle at 95% 12rem, rgb(var(--rgb-wine) / .055), transparent 28rem),
        linear-gradient(180deg, var(--surface-soft), var(--surface-page) 32rem);
}

.section-wrap { width: min(var(--max), calc(100% - (var(--edge) * 2))); margin-inline: auto; }

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 0 2rem;
    text-align: center;
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: .025em;
    text-transform: uppercase;
}
.section-title::before,
.section-title::after { content: ""; width: min(7rem, 16vw); height: 1px; background: linear-gradient(90deg, transparent, var(--brand-accent)); }
.section-title::after { background: linear-gradient(90deg, var(--brand-accent), transparent); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    color: var(--brand-accent-dark);
    font-size: .76rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .22em;
}
.eyebrow::before { content: "✺"; color: var(--brand-accent); font-size: 1.2rem; letter-spacing: 0; }

.mini-rule { display: flex; align-items: center; gap: .65rem; color: var(--brand-accent); margin: .75rem 0; }
.mini-rule::before, .mini-rule::after { content: ""; width: 3.6rem; height: 1px; background: var(--color-gold-300); opacity: .7; }

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    min-height: 3rem;
    padding: .85rem 1.3rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .075em;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark)); color: var(--surface-cream); box-shadow: var(--shadow-sm); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); }
.btn-outline { background: rgb(255 255 255 / .42); color: var(--brand-primary); border-color: rgb(var(--rgb-wine) / .26); }
.btn-outline:hover { background: rgb(var(--rgb-wine) / .075); border-color: rgb(var(--rgb-wine) / .38); }
.btn.full { width: 100%; }

.card {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgb(var(--rgb-card) / .82), rgb(var(--rgb-paper) / .68));
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(8px);
}

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(26rem, 1.18fr);
    min-height: clamp(31rem, 51vw, 43rem);
    overflow: hidden;
    border-bottom: 1px solid var(--border-soft);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 43%, rgb(255 242 214 / .94), rgb(var(--rgb-paper) / .72) 24%, transparent 55%),
        linear-gradient(90deg, rgb(var(--rgb-card) / .64), transparent 62%);
    pointer-events: none;
    z-index: 1;
}
.hero__content { position: relative; z-index: 2; align-self: center; padding: clamp(3rem, 6vw, 6rem) var(--edge); }
.hero__content h1 { margin: .9rem 0 1.25rem; max-width: 12ch; font-size: clamp(3rem, 7vw, 5.8rem); letter-spacing: .035em; text-transform: uppercase; }
.hero__content p { max-width: 33rem; margin: 0 0 2.1rem; color: var(--text-main); font-size: clamp(1rem, 1.35vw, 1.22rem); }
.hero__image { position: relative; min-height: 100%; background-image: url('/images/generated/hero-vineyard-bottle.jpg'); background-size: cover; background-position: center; }
.hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(var(--rgb-paper) / .96), rgb(var(--rgb-paper) / .22) 35%, transparent 76%); }

.page-hero {
    min-height: clamp(19rem, 29vw, 24rem);
    border-bottom: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgb(var(--rgb-card) / .97) 0%, rgb(var(--rgb-card) / .91) 36%, rgb(var(--rgb-card) / .24) 68%), var(--hero-image, url('/images/generated/vineyard-banner.jpg')) right center / cover no-repeat;
}
.page-hero::before {
    content: "";
    position: absolute;
    left: 10%;
    top: 14%;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(var(--rgb-gold) / .14), transparent 70%);
    opacity: .65;
}
.page-hero .section-wrap { position: relative; z-index: 1; padding: clamp(2.3rem, 5vw, 4.7rem) 0; }
.breadcrumb { display: flex; align-items: center; gap: .7rem; color: var(--text-muted); font-size: .85rem; margin-bottom: 1.6rem; }
.breadcrumb a { text-decoration: none; color: var(--text-main); }
.page-hero h1 { margin: .7rem 0 1.1rem; font-size: clamp(3.2rem, 7vw, 5.8rem); letter-spacing: .04em; text-transform: uppercase; max-width: 12ch; }
.page-hero p { max-width: 35rem; margin: 0; font-size: clamp(1rem, 1.3vw, 1.17rem); color: var(--text-main); }

.awards-band { border-block: 1px solid var(--border-soft); background: rgb(var(--rgb-card) / .74); }
.awards-layout { display: grid; grid-template-columns: minmax(10rem, .82fr) minmax(0, 2.8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(2.2rem, 4.8vw, 3.4rem); }
.awards-copy h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3vw, 2.8rem); text-transform: uppercase; }
.awards-copy p { margin: 0; max-width: 16rem; font-size: .92rem; color: var(--text-main); }
.medal-row { display: grid; grid-template-columns: repeat(5, minmax(6rem, 1fr)); gap: 1.2rem; align-items: start; }
.medal-item { text-align: center; font-size: .78rem; font-weight: 900; line-height: 1.25; text-transform: uppercase; color: var(--text-main); }
.medal-item img { display: block; width: clamp(4.4rem, 8vw, 6.9rem); margin: 0 auto .75rem; filter: drop-shadow(0 7px 10px rgb(54 34 20 / .13)); }

.form-field { display: grid; gap: .45rem; }
.form-field label { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 900; }
.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    background: rgb(255 255 255 / .58);
    color: var(--text-main);
    padding: .82rem .92rem;
    outline-color: rgb(var(--rgb-wine) / .35);
}
.form-field textarea { min-height: 8rem; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--brand-accent-dark); box-shadow: 0 0 0 3px rgb(var(--rgb-gold) / .14); }
.validation-message { color: var(--color-wine-600); font-size: .8rem; font-weight: 800; }
.input-validation-error { border-color: var(--color-wine-600) !important; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

#blazor-error-ui { background: var(--color-red-100); bottom: 0; box-shadow: 0 -1px 2px rgb(0 0 0 / .2); display: none; left: 0; padding: .6rem 1.25rem; position: fixed; width: 100%; z-index: 1000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .35rem; border: 0; background: transparent; color: var(--brand-primary); font-size: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media (max-width: 930px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero__content { min-height: 25rem; padding-block: 3.2rem; }
    .hero__image { min-height: 22rem; order: -1; background-position: center right; }
    .hero__image::after { background: linear-gradient(180deg, rgb(var(--rgb-paper) / .05), rgb(var(--rgb-paper) / .96)); }
    .awards-layout { grid-template-columns: 1fr; }
    .awards-copy { text-align: center; }
    .awards-copy p { margin-inline: auto; }
    .medal-row { grid-template-columns: repeat(5, minmax(5.2rem, 1fr)); overflow-x: auto; padding-bottom: .5rem; }
}

@media (max-width: 650px) {
    :root { --edge: 1.25rem; }
    .section-wrap { width: min(100% - 2rem, var(--max)); }
    .hero__content h1 { font-size: clamp(2.55rem, 12vw, 4.3rem); }
    .page-hero { min-height: 18rem; background-position: 55% center; }
    .page-hero .section-wrap { padding-block: 2.4rem; }
    .page-hero h1 { font-size: clamp(2.85rem, 13vw, 4.2rem); }
    .form-row { grid-template-columns: 1fr; }
    .medal-row { grid-template-columns: repeat(5, 7.2rem); }
}

/* Shared read-only rendering for saved custom-label designs. */
.label-design-preview {
    position: relative;
    width: min(100%, 15rem);
    aspect-ratio: var(--label-preview-aspect);
    margin: 0;
    overflow: hidden;
    border: 1px solid rgb(70 50 45 / .14);
    border-radius: .45rem;
    background: #fff;
    box-shadow: 0 12px 28px rgb(48 31 27 / .1);
    container-type: inline-size;
}

.label-design-preview__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.label-design-preview__text-area {
    position: absolute;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.label-design-preview__text {
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    white-space: pre-wrap;
    letter-spacing: normal;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.14;
    font-weight: 400;
}

body.modal-open { overflow: hidden; }

.label-design-preview-unavailable {
    padding: .8rem .9rem;
    border: 1px dashed rgb(127 16 36 / .25);
    border-radius: .55rem;
    background: #faf6f2;
    color: #6d5f57;
    font-size: .88rem;
    line-height: 1.45;
}

.label-design-preview--owner {
    width: min(12rem, 100%);
}

@font-face { font-family: "Noto Serif Georgian"; src: url("/fonts/labels/NotoSerifGeorgian.ttf"); font-weight: 100 900; font-style: normal; font-display: swap; }

@font-face { font-family: "Noto Sans Georgian"; src: url("/fonts/labels/NotoSansGeorgian.ttf"); font-weight: 100 900; font-style: normal; font-display: swap; }

@font-face { font-family: "Playfair Display"; src: url("/fonts/labels/PlayfairDisplay.ttf"); font-weight: 100 900; font-style: normal; font-display: swap; }

@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/labels/CormorantGaramond.ttf"); font-weight: 100 900; font-style: normal; font-display: swap; }

@font-face { font-family: "Cinzel"; src: url("/fonts/labels/Cinzel.ttf"); font-weight: 100 900; font-style: normal; font-display: swap; }

@font-face { font-family: "Montserrat"; src: url("/fonts/labels/Montserrat.ttf"); font-weight: 100 900; font-style: normal; font-display: swap; }

@font-face { font-family: "Great Vibes"; src: url("/fonts/labels/GreatVibes.ttf"); font-weight: 400; font-style: normal; font-display: swap; }

@font-face { font-family: "DejaVu Serif"; src: url("/fonts/labels/DejaVuSerif.ttf"); font-weight: 400; font-style: normal; font-display: swap; }

@font-face { font-family: "DejaVu Sans"; src: url("/fonts/labels/DejaVuSans.ttf"); font-weight: 400; font-style: normal; font-display: swap; }

/* Public additions and the shared owner workspace. */
.construction-banner { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .7rem; padding: .75rem 1rem; background: #f0e0be; color: #46321f; font-size: .82rem; line-height: 1.5; text-align: center; }
.workspace-shell { width: min(100% - 2.5rem, 1180px); margin: 0 auto; padding-block: 3rem 4rem; }
.workspace-heading { max-width: 780px; margin-bottom: 1.75rem; }
.workspace-heading h1 { margin: .4rem 0 1rem; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; }
.workspace-heading p { color: var(--text-muted); line-height: 1.8; }
.workspace-card { padding: clamp(1.2rem, 3vw, 2rem); border: 1px solid var(--border-soft); border-radius: 1rem; background: var(--surface-soft); margin-bottom: 1.5rem; }
.workspace-form { display: grid; gap: 1.4rem; min-width: 0; }
.workspace-form fieldset { border: 1px solid var(--border-soft); border-radius: .7rem; padding: 1.3rem; min-width: 0; }
.workspace-form legend { padding: 0 .5rem; font-weight: 700; }
.workspace-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.workspace-form label { display: grid; gap: .6rem; font-size: .9rem; }
.workspace-form input:not([type="checkbox"]), .workspace-form textarea { width: 100%; min-width: 0; padding: .75rem; border: 1px solid var(--border-soft); border-radius: .4rem; background: white; color: var(--text-main); font: inherit; }
.workspace-form small { font-size: .78rem; color: var(--text-muted); line-height: 1.6; }
.workspace-form .owner-check { display: flex; align-items: center; gap: .6rem; }
.owner-gallery-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.owner-gallery-photo img { width: 100%; height: 280px; object-fit: contain; margin-bottom: 1rem; }
.owner-gallery-photo > form:last-child { margin-top: 1rem; }
.price-editor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.bottle-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.bottle-gallery figure { margin: 0; min-width: 0; }
.bottle-gallery img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: contain; background: var(--surface-deep); border-radius: .8rem; }
.bottle-gallery figcaption { padding: .9rem 0; line-height: 1.6; }
.gallery-coming-soon { padding: 3rem 1.5rem; border: 1px solid var(--border-soft); border-radius: 1rem; text-align: center; background: var(--surface-soft); }
.gallery-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.landing-gallery { padding-block: 4rem; }
.ordering-information { max-width: 850px; margin: 3rem auto; }
.ordering-information h2 { font-size: 1.8rem; margin-bottom: 1.3rem; }
.ordering-information details { border-bottom: 1px solid var(--border-soft); padding: 1rem 0; }
.ordering-information summary { cursor: pointer; font-weight: 600; line-height: 1.6; }
.ordering-information p { line-height: 1.8; color: var(--text-muted); }
.story-page__layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.story-page__copy p { font-size: 1rem; line-height: 1.85; margin-bottom: 1.5rem; }
.story-page__copy blockquote { margin: 2rem 0; padding: 1.5rem; border-left: 3px solid var(--brand-accent); background: var(--surface-soft); font-size: 1.15rem; line-height: 1.8; }
.story-page__aside, .story-home-panel { border-radius: 1rem; background: #eee0c1; padding: 2.5rem; text-align: center; }
.story-sun { color: #98691f; font-size: 6rem; line-height: 1.4; }
.story-home-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.story-home-panel strong { font: 2rem var(--font-display); }
.story-home-panel p { max-width: 30ch; line-height: 1.8; }
.wine-pricing { padding-block: 1rem; border-block: 1px solid var(--border-soft); margin-block: 1.5rem; }
.wine-pricing h2 { font-size: 1.2rem; }
.wine-pricing table { width: 100%; border-collapse: collapse; }
.wine-pricing th, .wine-pricing td { padding: .65rem; border-bottom: 1px solid var(--border-soft); text-align: start; }
.wine-pricing__note { font-size: .8rem; color: var(--text-muted); line-height: 1.6; }
.saved-label-image { width: min(100%, 320px); height: auto; display: block; margin-bottom: 1rem; }
.confirmation-summary dl { text-align: start; }
.confirmation-summary dl > div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1rem; padding: .5rem 0; }
.confirmation-summary dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.order-preview-status { color: var(--brand-primary); }
@media (max-width: 760px) { .workspace-fields, .owner-gallery-list, .story-page__layout { grid-template-columns: 1fr; } .bottle-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } .story-page__layout { gap: 2rem; } .workspace-shell { width: calc(100% - 2rem); } }
@media (max-width: 440px) { .bottle-gallery { grid-template-columns: 1fr; } .price-editor-row { gap: .65rem; } .owner-navigation a { padding: .6rem .7rem; font-size: .85rem; } }
@media print { .site-header, .site-footer, .construction-banner, .order-confirmation__actions, [data-copy-reference], [data-copy-status] { display: none !important; } .order-confirmation { background: white; padding: 0; } .order-confirmation__card { max-width: none; border: 0; box-shadow: none; } body { background: white; color: black; } }

.order-confirmation__reference strong { overflow-wrap: anywhere; white-space: normal; max-width: 100%; }
.order-confirmation__reference { min-width: 0; }
