/* ==========================================================================
   Rotačné Lasery – site styles
   Single stylesheet, no framework. Organised as:
   1. Design tokens        4. Layout helpers      7. Sections (landing)
   2. Reset / base         5. Header / nav        8. Blog
   3. Typography           6. Footer              9. Forms / utilities
   ========================================================================== */

/* 1. Design tokens ---------------------------------------------------------- */
:root {
    --ink: #16191f;
    --ink-soft: #444b57;
    --ink-faint: #6b7280;
    --line: #e4e7ec;
    --bg: #ffffff;
    --bg-muted: #f5f7fa;
    --bg-dark: #14181f;

    --brand: #d62828;          /* laser red – primary accent */
    --brand-dark: #a81d1d;
    --brand-green: #1f8a4c;     /* laser green – secondary accent */
    --focus: #2563eb;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .1);
    --shadow-md: 0 4px 6px -1px rgba(16, 24, 40, .08), 0 12px 24px -8px rgba(16, 24, 40, .12);

    --container: 1140px;
    --gap: 1.5rem;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 2. Reset / base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* guard against accidental horizontal scroll on mobile */
}

img { max-width: 100%; height: auto; display: block; }

/* Grid and flex children may not shrink below their content by default, which
   can push images wider than a phone screen. Allow them to shrink. */
.grid > *, .hero__inner > * { min-width: 0; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

/* 3. Typography --------------------------------------------------------- */
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

/* "O nás" – registered logo, links to the trademark register */
.about-logo { display: block; width: max-content; margin: 0 0 1.1rem; }
.about-logo img { display: block; height: 6.5rem; width: auto; }
.about-logo:hover { opacity: .85; }

/* "O nás" – fotogaléria (slideshow) */
.slideshow { position: relative; }
.slideshow__frame {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--bg-muted);
}
.slideshow__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity .8s ease;
}
.slideshow__slide.is-active { opacity: 1; }
/* No-JS fallback: show only the first slide. */
.slideshow:not(.is-ready) .slideshow__slide:first-child { opacity: 1; }

.slideshow__dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .8rem;
}
.slideshow__dot {
    width: .55rem;
    height: .55rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.slideshow__dot:hover { background: var(--ink-faint); }
.slideshow__dot.is-active { background: var(--brand); transform: scale(1.25); }

@media (prefers-reduced-motion: reduce) {
    .slideshow__slide { transition: none; }
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: .75rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* 4. Layout helpers --------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--bg-dark); color: #e7eaef; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #b9c0cc; }

.section__head { max-width: 46rem; margin-bottom: 2.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: rgba(127, 127, 127, .12); }
.btn--block { width: 100%; }
.btn:disabled, .btn[disabled] { cursor: default; opacity: .8; }
.btn--loading { position: relative; color: transparent !important; pointer-events: none; }
.btn--loading::after {
    content: "";
    position: absolute;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    animation: btn-spin .6s linear infinite;
}
.btn--ghost.btn--loading::after, .btn--line.btn--loading::after, .btn--plain.btn--loading::after {
    border-color: rgba(0, 0, 0, .2);
    border-top-color: var(--ink);
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* 5. Header / nav --------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 4.25rem;
}

.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 700; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { height: 2.4rem; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text small { font-weight: 500; color: var(--ink-faint); font-size: .74rem; }

/* Center navigation: grows to fill the space between brand and actions. */
.nav { display: flex; align-items: center; justify-content: center; gap: .2rem; flex: 1; }
.nav a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .95rem;
    padding: .5rem .7rem;
    border-radius: 6px;
    white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--bg-muted); text-decoration: none; }
.nav a.is-active { color: var(--brand-dark); background: rgba(214, 40, 40, .08); }

/* Right-hand actions: account link + cart. */
.site-header__actions { display: flex; align-items: center; gap: .35rem; flex-shrink: 0; }
.header-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: none;
    border: 0;
    font: inherit;
    color: var(--ink-soft);
    font-size: .88rem;
    font-weight: 500;
    padding: .5rem .6rem;
    border-radius: 6px;
    cursor: pointer;
}
.header-link:hover { color: var(--ink); background: var(--bg-muted); }
.header-link svg { width: 1.15rem; height: 1.15rem; }
.header-cart { position: relative; }
.header-cart__count {
    position: absolute;
    top: .1rem; right: .05rem;
    min-width: 1rem; height: 1rem;
    padding: 0 .2rem;
    background: var(--brand);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    line-height: 1rem;
    text-align: center;
    border-radius: 999px;
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .5rem;
    cursor: pointer;
}
.nav-toggle svg { display: block; width: 1.5rem; height: 1.5rem; }

@media (max-width: 1040px) {
    .nav-toggle { display: block; }
    .header-link__register { display: none; } /* keep only "Prihlásenie" label */
    .nav {
        position: absolute;
        inset: 4.25rem 0 auto;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: .5rem 1rem 1rem;
        box-shadow: var(--shadow-md);
        display: none;
    }
    .nav.is-open { display: flex; }
    .nav a { padding: .85rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
    /* Icon-only account button — but not the cart badge, which is also a
       <span> inside a .header-link and must stay visible on mobile. */
    .header-link:not(.header-cart) span { display: none; }
}

/* 6. Footer ------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: #aeb6c2; font-size: .92rem; }
.site-footer a { color: #d7dce4; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-block: 3rem 2rem;
}
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer__brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: .6rem; }
.site-footer__brand:hover { text-decoration: none; }
.site-footer__brand img { height: 2.4rem; width: auto; }
.site-footer__contact li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7rem; }
.site-footer__contact svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; color: var(--brand); margin-top: .15rem; }
.site-footer__contact a { color: #d7dce4; }
.site-footer__legal {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 1.25rem;
    font-size: .82rem;
    color: #7f8896;
}
.site-footer__legal-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer__legal-text { flex: 1 1 auto; }
.site-footer__credit { flex-shrink: 0; color: #7f8896; white-space: nowrap; }
.site-footer__credit:hover { color: #d7dce4; }
@media (max-width: 800px) {
    .site-footer__grid { grid-template-columns: 1fr; gap: 1.75rem; }
    .site-footer__legal-inner { flex-direction: column; align-items: flex-start; gap: .5rem; }
}

/* 7. Sections (landing) ----------------------------------------- */

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    background: #0f1830; /* fallback behind the image */
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 35%;
}
.hero::after { /* readability + brand tint over the illustration */
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1200px 500px at 15% 0%, rgba(214, 40, 40, .35), transparent 60%),
        linear-gradient(180deg, rgba(11, 17, 33, .82) 0%, rgba(11, 17, 33, .72) 55%, rgba(11, 17, 33, .9) 100%);
}
.hero__inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero .eyebrow { color: #ff6b6b; }
.hero h1 { color: #fff; text-wrap: balance; }
.hero .lead { color: #d5dae6; }
.hero__points { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.hero__points li { display: flex; align-items: flex-start; gap: .6rem; color: #e7eaf2; font-size: .96rem; }
.hero__points svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; margin-top: .15rem; color: #4ade80; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.hero__note { margin-top: 1rem; font-size: .88rem; color: #aab2c5; }
.hero__note a { color: #fff; }

.hero__card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .5);
    padding: .65rem;
    color: var(--ink);
}
.hero__card img { width: 100%; border-radius: var(--radius-sm); }

@media (max-width: 860px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__card { order: -1; }
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    padding: .3rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(4px);
}
.pill::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #4ade80; }

/* Feature cards */
.feature {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.feature__icon {
    width: 2.5rem; height: 2.5rem;
    display: grid; place-items: center;
    border-radius: 10px;
    background: rgba(214, 40, 40, .1);
    color: var(--brand);
    margin-bottom: .9rem;
}
.feature__icon svg { width: 1.4rem; height: 1.4rem; }
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Price list */
.price-group + .price-group { margin-top: 3rem; }
.price-group__title { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.25rem; }
.price-group__title span { color: var(--ink-faint); font-weight: 500; font-size: .95rem; }

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s ease, transform .15s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card__media {
    aspect-ratio: 4 / 3;
    background: var(--bg-muted);
    display: grid;
    place-items: center;
    padding: 1rem;
}
.product-card__media img { max-height: 100%; width: auto; object-fit: contain; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.3rem; }
.product-card h3 { font-size: 1.02rem; margin-bottom: .4rem; }
.product-card__desc { font-size: .9rem; color: var(--ink-soft); flex: 1; margin-bottom: .9rem; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-card__price { font-size: 1.35rem; font-weight: 700; }
.product-card__price small { font-size: .8rem; font-weight: 500; color: var(--ink-faint); }
.product-card__stock { font-size: .82rem; color: var(--brand-green); font-weight: 600; }
.product-card__stock--out { color: var(--ink-faint); }
.product-card__cat { font-size: .78rem; color: var(--ink-faint); margin-top: .5rem; }

.tag {
    position: absolute;
    margin: .8rem;
    background: var(--brand);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: .25rem .55rem;
    border-radius: 6px;
}
.product-card { position: relative; }

/* Spec list */
.specs { columns: 2; column-gap: 3rem; }
.specs li { break-inside: avoid; margin-bottom: .55rem; padding-left: 1.5rem; position: relative; list-style: none; }
.specs li::before {
    content: "";
    position: absolute; left: 0; top: .55em;
    width: .55rem; height: .55rem;
    border-radius: 50%;
    background: var(--brand);
}
.specs { padding: 0; margin: 0; }
@media (max-width: 640px) { .specs { columns: 1; } }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .95rem; }
.spec-table caption { text-align: left; font-weight: 700; margin-bottom: .6rem; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--ink-soft); background: var(--bg-muted); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-wrap .spec-table { margin: 0; }
.spec-wrap .spec-table th:first-child, .spec-wrap .spec-table td:last-child { border-right: 0; }

/* Figure with caption (equipment photos in the parameters section) */
.figure {
    margin: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.figure img { width: 100%; display: block; background: var(--bg-muted); }
.figure figcaption { padding: .9rem 1.1rem; font-size: .9rem; color: var(--ink-soft); }
.figure figcaption strong { display: block; color: var(--ink); margin-bottom: .15rem; }

.beam-compare { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--gap); margin-top: 2.5rem; align-items: center; }
.beam-compare__img { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.beam-compare__text { display: grid; gap: 1rem; }
.beam-compare__text > div { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.35rem; }
.beam-compare h3 { display: flex; align-items: center; gap: .5rem; }
.beam-compare p { margin: 0; }
.beam-dot { width: .8rem; height: .8rem; border-radius: 50%; display: inline-block; }
.beam-dot--red { background: var(--brand); }
.beam-dot--green { background: var(--brand-green); }
@media (max-width: 720px) { .beam-compare { grid-template-columns: 1fr; } }

/* Reviews */
.review-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}
.review-card__stars { color: #f5a623; letter-spacing: .1em; margin-bottom: .6rem; }
.review-card__text { flex: 1; margin: 0 0 1rem; color: var(--ink-soft); }
.review-card__meta { font-size: .85rem; color: var(--ink-faint); }
.review-card__meta strong { color: var(--ink); }

.rating-summary { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.rating-summary b { font-size: 2rem; }

/* Partners – image-forward cards (the source images are full promo banners) */
.partner {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s ease, transform .15s ease;
}
.partner:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.partner__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--bg-muted);
}
.partner__body { padding: 1.15rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.partner h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.partner p { font-size: .92rem; color: var(--ink-soft); margin-bottom: .7rem; flex: 1; }
.partner a { font-weight: 600; font-size: .92rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: .8rem; padding: .85rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 1.3rem; height: 1.3rem; flex-shrink: 0; color: var(--brand); margin-top: .15rem; }
.contact-list a { color: inherit; }
.contact-list span { display: block; font-size: .8rem; color: #8a93a1; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* 8. Blog -------------------------------------------------------- */
.post-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .15s ease, transform .15s ease;
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.post-card:hover .post-card__title { color: var(--brand-dark); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--bg-muted); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: .8rem; color: var(--ink-faint); }
.post-card__title { font-size: 1.1rem; margin: .35rem 0 .5rem; color: var(--ink); }
.post-card__excerpt { font-size: .92rem; color: var(--ink-soft); flex: 1; margin: 0 0 .9rem; }
.post-card__more { font-weight: 600; font-size: .9rem; color: var(--brand-dark); }

.article { max-width: 46rem; margin-inline: auto; }
.article__cover { border-radius: var(--radius); margin-bottom: 2rem; box-shadow: var(--shadow-sm); }
.article__meta { color: var(--ink-faint); font-size: .9rem; margin-bottom: 1.5rem; }
.article__body { font-size: 1.06rem; }
.article__body h2, .blog-prose h2 { margin-top: 2.2rem; font-size: 1.4rem; }
.article__body h3, .blog-prose h3 { margin-top: 1.8rem; font-size: 1.15rem; }
.article__body p, .blog-prose p { margin-bottom: 1.15rem; }
.article__body a, .blog-prose a { color: var(--brand-dark); text-decoration: underline; }
.blog-prose ul, .blog-prose ol { margin: 0 0 1.15rem 1.25rem; }
.blog-prose li { margin-bottom: .4rem; }
.blog-prose img { border-radius: var(--radius-sm); margin: .5rem 0 1.15rem; }
.blog-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.15rem; }
.blog-prose th, .blog-prose td { border: 1px solid var(--line); padding: .5rem .7rem; text-align: left; }
.article__back { display: inline-block; margin-top: 2.5rem; font-weight: 600; }

/* Admin blog editor */
.admin-blog-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .9rem; }
.admin-blog-cover { display: block; max-width: 18rem; border-radius: var(--radius-sm); margin: .5rem 0; }
.admin-blog-md { width: 100%; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .9rem; line-height: 1.55; resize: vertical; }
.btn--small { padding: .35rem .7rem; font-size: .85rem; }

/* 9. Forms / utilities ----------------------------------------- */
.form-card {
    background: var(--bg);
    color: var(--ink); /* keep text dark even inside a dark section */
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}
.form-card a { color: var(--brand-dark); }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
    width: 100%;
    padding: .7rem .8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    background: #fff;
    color: var(--ink);
}
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
.field input.input-validation-error, .field select.input-validation-error, .field textarea.input-validation-error { border-color: var(--brand); }
/* Honeypot: kept in the DOM for bots, never shown to or reachable by humans. */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.field--check { display: flex; gap: .6rem; align-items: flex-start; }
.field--check input { width: auto; margin-top: .25rem; }
.field--check label { font-weight: 500; font-size: .88rem; margin: 0; }
.field-error { display: block; margin-top: .3rem; font-size: .82rem; color: var(--brand-dark); }

.notice {
    padding: .9rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    margin-bottom: 1.25rem;
    border: 1px solid;
}
.notice:empty { display: none; }
/* ASP.NET validation summary: hide the box until it actually has errors. */
.notice.validation-summary-valid { display: none; }
.notice.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }
.notice--info { background: #eef4ff; border-color: #cfe0ff; color: #1e429f; }
.notice--warn { background: #fff7e6; border-color: #ffe1a8; color: #8a5a00; }
.notice--ok { background: #e9f9ef; border-color: #b6e6c6; color: #1b6b3a; }

/* Auth pages (prihlásenie / registrácia / profil) */
.auth { display: flex; justify-content: center; }
.auth-card {
    width: 100%;
    max-width: 26rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.auth-card--wide { max-width: 40rem; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.auth-section { font-size: 1.05rem; margin: 1.5rem 0 .9rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.auth-section:first-of-type { border-top: 0; padding-top: 0; margin-top: .5rem; }
.auth-alt { margin-top: 1.25rem; font-size: .92rem; color: var(--ink-faint); text-align: center; }

/* Account menu in the header (native <details>) */
.acct-menu { position: relative; }
.acct-menu > summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .5rem .6rem;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
}
.acct-menu > summary::-webkit-details-marker { display: none; }
.acct-menu > summary:hover { background: var(--bg-muted); color: var(--ink); }
.acct-menu > summary svg { width: 1.1rem; height: 1.1rem; }
.acct-menu__name { max-width: 12rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-menu[open] .acct-menu__caret { transform: rotate(180deg); }
.acct-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + .4rem);
    min-width: 12rem;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: .35rem;
    z-index: 60;
}
.acct-menu__panel a,
.acct-menu__panel button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    font: inherit;
    color: var(--ink-soft);
    padding: .55rem .6rem;
    border-radius: 6px;
    cursor: pointer;
}
.acct-menu__panel a:hover,
.acct-menu__panel button:hover { background: var(--bg-muted); color: var(--ink); text-decoration: none; }
@media (max-width: 560px) {
    .acct-menu__name { display: none; }
}

.muted { color: var(--ink-faint); }
.text-center { text-align: center; }
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}
.mt-2 { margin-top: 1rem; }
.stack > * + * { margin-top: 1rem; }

/* ===== Súhlas s cookies (lišta + dialóg predvolieb) ===== */
.cookie-consent[hidden] { display: none; }

.cookie-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 200;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 -12px 30px -18px rgba(16, 24, 40, .35);
}
.cookie-bar__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-block: 1.1rem;
    flex-wrap: wrap;
}
.cookie-bar__text { flex: 1; min-width: 16rem; font-size: .9rem; color: var(--ink-soft); }
.cookie-bar__title { font-weight: 700; color: var(--ink); font-size: 1rem; margin: 0 0 .2rem; }
.cookie-bar__text p:last-child { margin: 0; }
.cookie-bar__text a { color: var(--brand-dark); text-decoration: underline; }
.cookie-bar__actions { display: flex; flex-direction: column; gap: .5rem; align-items: stretch; min-width: 13rem; flex: none; }

.btn--line { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--line:hover { background: var(--bg-muted); }
.btn--plain { background: none; border: 0; color: var(--brand-dark); text-decoration: underline; padding-block: .4rem; }
.btn--plain:hover { color: var(--brand); }

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 210;
    background: rgba(16, 24, 40, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal__card {
    position: relative;
    background: var(--bg);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 33rem;
    max-height: 85vh;
    overflow-y: auto;
    padding: 1.75rem;
}
.cookie-modal__card h2 { font-size: 1.25rem; margin-bottom: .6rem; padding-right: 1.75rem; }
.cookie-modal__lead { font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.25rem; }
.cookie-modal__lead a { color: var(--brand-dark); text-decoration: underline; }
.cookie-modal__close {
    position: absolute;
    top: .8rem; right: 1rem;
    background: none; border: 0;
    font-size: 1.6rem; line-height: 1;
    color: var(--ink-faint);
    padding: .25rem .5rem;
    border-radius: 8px;
    cursor: pointer;
}
.cookie-modal__close:hover { color: var(--ink); background: var(--bg-muted); }
.cookie-modal__actions { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.4rem; }

.cookie-cat { padding: .9rem 0; border-top: 1px solid var(--line); }
.cookie-cat__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-weight: 600; color: var(--ink); }
label.cookie-cat__head { cursor: pointer; }
.cookie-cat__name { font-size: .95rem; }
.cookie-cat__always { font-size: .78rem; color: var(--ink-faint); font-weight: 500; }
.cookie-cat__desc { margin: .4rem 0 0; font-size: .85rem; color: var(--ink-soft); }

.cookie-switch { position: relative; display: inline-flex; flex: none; width: 2.6rem; height: 1.5rem; }
.cookie-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cookie-switch__track { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background .15s ease; }
.cookie-switch__track::before {
    content: "";
    position: absolute; top: 3px; left: 3px;
    width: 1.125rem; height: 1.125rem;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .3);
    transition: transform .15s ease;
}
.cookie-switch input:checked + .cookie-switch__track { background: var(--brand); }
.cookie-switch input:checked + .cookie-switch__track::before { transform: translateX(1.1rem); }
.cookie-switch input:focus-visible + .cookie-switch__track { outline: 2px solid var(--focus); outline-offset: 2px; }

@media (max-width: 760px) {
    .cookie-bar__inner { gap: .9rem; }
    .cookie-bar__actions { width: 100%; }
}

/* Cookie table on the policy page */
.cookie-table { width: 100%; border-collapse: collapse; margin: .75rem 0 1.25rem; font-size: .9rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: .6rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { color: var(--ink-faint); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; background: var(--bg-muted); }
.cookie-table td:first-child { font-weight: 600; }
.cookie-table-wrap { overflow-x: auto; }

/* Transient toast for "feature not ready yet" actions (cart, login) */
.toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%) translateY(1rem);
    background: var(--bg-dark);
    color: #fff;
    padding: .8rem 1.2rem;
    border-radius: 999px;
    font-size: .9rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 70;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Page hero for inner pages */
.page-hero { background: var(--bg-muted); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.page-hero p { margin: 0; color: var(--ink-soft); max-width: 46rem; }

/* Legal document typography */
.legal { max-width: 50rem; margin-inline: auto; }
.legal h2 { margin-top: 2.5rem; font-size: 1.3rem; }
.legal h3 { margin-top: 1.75rem; font-size: 1.05rem; }
.legal ul, .legal ol { padding-left: 1.25rem; }
.legal li { margin-bottom: .4rem; }
.legal address { font-style: normal; background: var(--bg-muted); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }

/* ===== Administrácia ===== */
.admin-tabs { display: flex; gap: .4rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.admin-tab { padding: .6rem .9rem; font-weight: 600; font-size: .95rem; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.admin-tab:hover { color: var(--ink); text-decoration: none; }
.admin-tab.is-active { color: var(--brand-dark); border-bottom-color: var(--brand); }

/* Admin order filter */
.admin-filter { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end;
    padding: 1rem; margin: 0 0 1rem; background: var(--bg-muted); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.admin-filter .field { margin: 0; flex: 1 1 12rem; }
.admin-filter label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-faint); display: block; margin-bottom: .25rem; }
.admin-filter input { width: 100%; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: var(--bg); }
.admin-filter__actions { display: flex; gap: .6rem; align-items: center; flex: 0 0 auto; }

.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); background: var(--bg-muted); }
.admin-table input[type="text"] { width: 100%; min-width: 12rem; }
.admin-thumb { width: 3.5rem; }
.admin-thumb img { width: 3rem; height: 3rem; object-fit: contain; background: var(--bg-muted); border-radius: 6px; }
.admin-nowrap { white-space: nowrap; }

/* Blog list: 2x thumbnail + ~5x zoom on hover */
.admin-table-wrap--visible { overflow: visible; }
.admin-thumb--blog { width: 6.5rem; position: relative; }
.admin-thumb--blog img {
    display: block;
    width: 6rem; height: 6rem; object-fit: cover; border-radius: 8px;
    background: var(--bg-muted); cursor: zoom-in;
}
.admin-thumb--blog:hover img {
    position: absolute;
    z-index: 30;
    width: 30rem; height: auto; max-height: 22rem;
    object-fit: contain;
    background: var(--bg);
    border: 1px solid var(--line);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .35);
}
.admin-blog-title { font-weight: 700; color: var(--ink); }
.admin-blog-title:hover { color: var(--brand-dark); }

@media (max-width: 700px) {
    .admin-table-wrap--visible { overflow-x: auto; }
    .admin-thumb--blog:hover img { position: static; width: 6rem; height: 6rem; }
}

.admin-inline { display: inline-flex; gap: .4rem; align-items: center; margin: 0; }

.admin-blog-actions { display: flex; flex-direction: column; align-items: center; gap: .1rem; text-align: center; }
.admin-blog-actions form { margin: 0; }
.admin-blog-actions .btn--plain {
    padding: .15rem 0;
    font: inherit;
    font-size: .95rem;
    line-height: 1.3;
    cursor: pointer;
}
.btn--icon { padding: .4rem .55rem; line-height: 1; }

.admin-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 1rem; }
.admin-image { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.admin-image.is-main { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(214,40,40,.15); }
.admin-image img { width: 100%; height: 8rem; object-fit: contain; background: var(--bg-muted); display: block; }
.admin-image figcaption { padding: .5rem .6rem; display: flex; flex-direction: column; gap: .25rem; font-size: .82rem; }
.admin-image__badge { font-weight: 700; color: var(--brand-dark); }

.acct-menu__label { display: block; padding: .4rem .6rem .2rem; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); }
.acct-menu__sep { border: 0; border-top: 1px solid var(--line); margin: .35rem 0; }

/* ===== E-shop: kategórie, stránkovanie, detail, košík ===== */
.shop-cats { background: var(--bg-muted); border-bottom: 1px solid var(--line); }
.shop-cats__inner { display: flex; gap: .4rem; flex-wrap: wrap; padding-block: .8rem; }
.shop-cat {
    padding: .5rem .95rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
    color: var(--ink-soft); background: #fff; border: 1px solid var(--line);
}
.shop-cat:hover { color: var(--ink); text-decoration: none; border-color: var(--ink-faint); }
.shop-cat.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.product-card__cart { margin: .6rem 0 .4rem; }
.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--brand-dark); text-decoration: none; }
.product-card__body .product-card__meta { margin-top: auto; padding-top: .6rem; }
.product-card__body .product-card__more { align-self: flex-start; }

.pager { display: flex; gap: .35rem; flex-wrap: wrap; justify-content: center; margin-top: 2.5rem; }
.pager__link {
    min-width: 2.4rem; text-align: center; padding: .5rem .6rem; border-radius: var(--radius-sm);
    border: 1px solid var(--line); font-weight: 600; color: var(--ink-soft);
}
.pager__link:hover { border-color: var(--ink-faint); color: var(--ink); text-decoration: none; }
.pager__link.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__main {
    width: 100%; background: var(--bg-muted); border: 1px solid var(--line);
    border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: contain; padding: 1rem;
}
.product-detail__thumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.product-detail__thumb {
    width: 4.5rem; height: 4.5rem; padding: .25rem; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.product-detail__thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-detail__info h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.product-detail__price { font-size: 1.6rem; font-weight: 700; margin: .5rem 0 1.25rem; }
.product-detail__price small { font-size: .85rem; font-weight: 500; color: var(--ink-faint); }
.product-detail__buy { display: flex; align-items: flex-end; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product-detail__buy label { font-size: .85rem; font-weight: 600; display: flex; flex-direction: column; gap: .3rem; }
.product-detail__buy input { width: 5rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.product-detail__desc { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.product-detail__desc h2, .product-detail__desc h3 { font-size: 1.15rem; margin-top: 1.25rem; }
.product-detail__desc ul { padding-left: 1.25rem; }

.cart-table-wrap { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td { padding: .75rem .7rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.cart-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); }
.cart-thumb { width: 4rem; }
.cart-thumb img { width: 3.5rem; height: 3.5rem; object-fit: contain; background: var(--bg-muted); border-radius: 6px; }
.cart-qty { display: inline-flex; gap: .4rem; align-items: center; margin: 0; }
.cart-qty input { width: 4rem; padding: .5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.cart-total-label { text-align: right; font-weight: 600; }
.cart-total { font-weight: 700; font-size: 1.15rem; }
.cart-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ===== Objednávka (checkout) ===== */
.container.narrow { max-width: 46rem; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; align-items: start; }
.checkout-main { min-width: 0; }
.ship-options { display: grid; gap: .75rem; margin: .5rem 0 1rem; }
.ship-option { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center;
    padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.ship-option:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, transparent); }
.ship-option input { width: auto; margin: 0; }
.ship-option span { display: flex; flex-direction: column; }
.ship-option .muted { font-size: .82rem; }
.ship-price { font-weight: 700; white-space: nowrap; }
.checkout-summary { position: sticky; top: 1.5rem; padding: 1.25rem; background: var(--bg-muted);
    border: 1px solid var(--line); border-radius: var(--radius-sm); }
.checkout-summary h2 { font-size: 1.05rem; margin: 0 0 .9rem; }
.summary-lines { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .5rem; font-size: .88rem; }
.summary-lines li { display: flex; justify-content: space-between; gap: 1rem; }
.summary-totals { margin: 0; padding-top: .9rem; border-top: 1px solid var(--line); display: grid; gap: .45rem; }
.summary-totals div { display: flex; justify-content: space-between; gap: 1rem; }
.summary-totals dt, .summary-totals dd { margin: 0; }
.summary-grand { padding-top: .55rem; border-top: 1px solid var(--line); font-weight: 700; font-size: 1.1rem; }
.checkout-summary .btn--plain { margin-top: 1rem; display: inline-block; }

@media (max-width: 800px) {
    .checkout-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .checkout-summary { position: static; order: -1; }
}

/* ===== Objednávky (zoznam + detail, používateľ aj admin) ===== */
.orders-table-wrap { overflow-x: auto; margin: 1rem 0; }
.orders-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.orders-table th, .orders-table td { padding: .7rem .65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.orders-table th { font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); white-space: nowrap; }
.orders-table td.num, .orders-table th.num { text-align: right; white-space: nowrap; }
.orders-table .orders-items { max-width: 22rem; color: var(--ink-faint); }
.orders-table .orders-total { white-space: nowrap; font-weight: 600; }
.orders-table tfoot td { border-bottom: 0; color: var(--ink-faint); }
.orders-table tfoot .orders-grand td { border-top: 2px solid var(--ink); color: var(--ink); padding-top: .6rem; }

.order-badge { display: inline-block; padding: .2rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.order-badge--wait { background: #fdf0d5; color: #92600a; }
.order-badge--sent { background: #dcedf5; color: #10556f; }
.order-badge--paid { background: #dff0e4; color: var(--brand-green); }
.order-badge--cancelled { background: #f3d9d9; color: #a81d1d; }

.order-detail { margin: 1.25rem 0; }
.order-detail__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order-detail__meta > div { display: flex; flex-direction: column; gap: .2rem; }
.order-detail__meta .muted { font-size: .78rem; }
.order-detail__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; }
.order-detail__cols h3, .order-detail__note h3, .order-detail__invoice h3 { font-size: .95rem; margin: 0 0 .4rem; }
.order-detail__cols p { margin: 0; line-height: 1.6; font-size: .9rem; }
.order-detail__note { margin-top: 1.25rem; }
.order-detail__invoice { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.admin-invoice .admin-inline { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: .6rem 0; }
.admin-replace { margin-top: .75rem; }
.admin-replace summary { cursor: pointer; font-size: .88rem; color: var(--brand-dark); }

@media (max-width: 640px) {
    .order-detail__cols { grid-template-columns: 1fr; }
}
