/*
 * product-detail-lahoda-1 — product detail + configurator + add-to-cart.
 * Wrapper / inner split (repo convention). Container queries (not @media) so
 * the CMS editor's device-stage preview lays it out like the real viewport.
 *
 * Structure: media (sticky photo) | content (header → description → buy card
 * with price + configurator + quantity/CTA → details: spec fields + allergens).
 */

.product-detail-lahoda-1 {
    width: 100%;
    container-type: inline-size;
    font-family: var(--font-body);
    color: var(--ink);
}

/* JS toggles visibility via the `hidden` attribute — this (0,2,0) selector
   outranks every single-class display rule below, so a flex/grid class
   never un-hides an element. */
.product-detail-lahoda-1 [hidden] {
    display: none;
}

.product-detail-lahoda-1__inner {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: var(--space-6) var(--container-gutter) var(--space-7);
}

@container (min-width: 768px) {
    .product-detail-lahoda-1__inner {
        padding-top: var(--space-7);
        padding-bottom: var(--space-8);
    }
}

/* ----- Empty state (no product / editor without preview product) ----- */

.product-detail-lahoda-1__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-8) var(--space-5);
    text-align: center;
    background: var(--bg-cream-deep);
    border-radius: var(--radius-lg);
}

.product-detail-lahoda-1__empty-icon {
    width: 48px;
    height: 48px;
    color: var(--brand-gold);
}

.product-detail-lahoda-1__not-found {
    margin: 0;
    max-width: 40ch;
    color: var(--ink-muted);
    line-height: 1.6;
}

/* ----- Layout ----- */

.product-detail-lahoda-1__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-6);
}

@container (min-width: 768px) {
    .product-detail-lahoda-1__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: var(--space-6);
        align-items: start;
    }

    /* No photo: one readable column instead of a squeezed half. */
    .product-detail-lahoda-1__layout--no-image {
        grid-template-columns: minmax(0, 1fr);
        max-width: 760px;
    }
}

@container (min-width: 1080px) {
    .product-detail-lahoda-1__layout {
        grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
        gap: var(--space-8);
    }

    .product-detail-lahoda-1__layout--no-image {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ----- Media ----- */

@container (min-width: 768px) {
    .product-detail-lahoda-1__media {
        position: sticky;
        /* Clear the sticky navigation-lahoda-1 bar: component.js writes its
           live height (full / compact / drawer open) into the custom
           property; 60px = the compact desktop bar, the fallback before the
           script runs or on a page without that navigation. Plus a small
           gap so the photo never touches the bar's bottom edge. */
        top: calc(var(--product-detail-lahoda-1-nav-height, 60px) + var(--space-5));
        transition: top var(--transition-base);
    }
}

.product-detail-lahoda-1__image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    /* Same cut-out treatment as the shared product card (product-list-
       lahoda-1/style.css, 2026-10-29): cream wash under the alpha WebP,
       ink-tinted shadow on the silhouette. */
    background:
        linear-gradient(rgba(251, 246, 236, 0.5), rgba(251, 246, 236, 0.5)),
        var(--bg-cream-deep);
    box-shadow: var(--shadow-md);
}

.product-detail-lahoda-1__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(3px 2px 11px rgba(42, 33, 26, 0.26));
    display: block;
}

.product-detail-lahoda-1__video {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-detail-lahoda-1__video[data-video-ready="true"] {
    opacity: 1;
}

/* ----- Content column ----- */

.product-detail-lahoda-1__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    min-width: 0;
}

.product-detail-lahoda-1__header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
}

/* Eyebrow above the name. Display only (CSS, not the underlying value) —
   same convention as the product-list cards; the catalog stores/submits the
   code lowercase. */
.product-detail-lahoda-1__code {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-gold-dark);
}

/* Madimi One has a single weight — size, never bold. */
.product-detail-lahoda-1__name {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.75rem, 4.5cqi, 2.75rem);
    line-height: 1.12;
    color: var(--ink);
    overflow-wrap: anywhere;
}

.product-detail-lahoda-1__weight {
    margin: var(--space-1) 0 0;
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-pill);
    background: var(--brand-gold-tint);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
}

/* Availability labels from the schema variable `badge` (`;`-separated).
   White pill on the cream page with a gold rim + dot — distinct from the
   gold-tint weight chip above, DESIGN_MANUAL "Badges/tags". */
.product-detail-lahoda-1__badges {
    margin: var(--space-1) 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.product-detail-lahoda-1__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    border: 1px solid var(--brand-gold-light);
    border-radius: var(--radius-pill);
    background: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
}

.product-detail-lahoda-1__badge::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-gold);
}

.product-detail-lahoda-1__description {
    margin: 0;
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-muted);
    white-space: pre-line;
}

/* ----- Buy card: price + configurator + quantity/CTA ----- */

.product-detail-lahoda-1__buy {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-5);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

@container (min-width: 480px) {
    .product-detail-lahoda-1__buy {
        padding: var(--space-6);
    }
}

.product-detail-lahoda-1__price-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

/* Price block — inner markup shared with the list cards
   (modules/cms/individual/products/catalog-price.phtml + catalog-price.js);
   the server-rendered catalog price and the live preview fill it the same
   way. min-height keeps the layout still while a first price arrives. Red
   gross figure on purpose — matches the list cards' price. */
.product-detail-lahoda-1__price {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    min-height: 2.5rem;
}

.product-detail-lahoda-1__price:empty {
    display: none;
}

.product-detail-lahoda-1__price-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: var(--space-2);
    row-gap: var(--space-1);
}

.product-detail-lahoda-1__price-gross {
    font-weight: 700;
    font-size: clamp(1.875rem, 5cqi, 2.375rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: var(--brand-red);
}

/* "od" before the lowest price while a parameter is still unanswered
   (needsConfiguration) — the live preview refills the block without it. */
.product-detail-lahoda-1__price-from {
    align-self: baseline;
    font-weight: 500;
    font-size: 1rem;
    color: var(--ink-muted);
}

/* "Cena dohodou" — a label, not a figure: smaller than a price. */
.product-detail-lahoda-1__price-gross.product-detail-lahoda-1__price-on-request {
    font-size: clamp(1.375rem, 4cqi, 1.75rem);
    letter-spacing: -0.01em;
}

.product-detail-lahoda-1__price-unit {
    font-weight: 500;
    font-size: 1.0625rem;
    color: var(--ink-muted);
}

.product-detail-lahoda-1__price-vat-note {
    align-self: center;
    padding: 2px var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--brand-gold-tint);
    font-weight: 600;
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
}

.product-detail-lahoda-1__price-exvat {
    font-size: 0.875rem;
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
}

.product-detail-lahoda-1__price-notifications {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2);
}

.product-detail-lahoda-1__price-notifications:empty {
    display: none;
}

.product-detail-lahoda-1__price-hint {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8125rem;
    color: var(--ink-muted);
}

.product-detail-lahoda-1__price-hint::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--warning);
    flex-shrink: 0;
}

.product-detail-lahoda-1__price-warning {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--space-3);
    border-radius: var(--radius-pill);
    background: var(--danger-tint);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--danger);
}

.product-detail-lahoda-1__price-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    width: fit-content;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--product-detail-lahoda-1-badge-color, var(--ink));
    border: 1px solid var(--product-detail-lahoda-1-badge-color, var(--border));
    border-radius: var(--radius-pill);
    padding: 2px var(--space-3);
    background: #fff;
}

.product-detail-lahoda-1__price-badge-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

/* Loading — spinner + text (role="status" in the template). */
.product-detail-lahoda-1__loading {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin: 0;
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
    font-size: 0.9375rem;
    color: var(--ink-muted);
}

.product-detail-lahoda-1__loading::before {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--brand-gold-dark);
    border-radius: 50%;
    flex-shrink: 0;
    animation: product-detail-lahoda-1-spin 0.8s linear infinite;
}

.product-detail-lahoda-1__loading.is-error {
    color: var(--danger);
}

.product-detail-lahoda-1__loading.is-error::before {
    display: none;
}

@keyframes product-detail-lahoda-1-spin {
    to {
        transform: rotate(360deg);
    }
}

.product-detail-lahoda-1__form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
}

/* ----- Configurator parameters (built by component.js) ----- */

.product-detail-lahoda-1__parameters {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.product-detail-lahoda-1__parameters:empty {
    display: none;
}

.product-detail-lahoda-1__parameter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
}

.product-detail-lahoda-1__parameter-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
}

.product-detail-lahoda-1__multi-hint {
    font-weight: 400;
    font-size: 0.8125rem;
    color: var(--ink-muted);
}

.product-detail-lahoda-1__options {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

/* 44px min height — comfortable touch target. Selected state thickens the
   border via an inset shadow so the chip never changes size. */
.product-detail-lahoda-1__option {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: 44px;
    padding: var(--space-2) var(--space-4);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        box-shadow var(--transition-fast);
}

.product-detail-lahoda-1__option:hover:not(:disabled) {
    border-color: var(--brand-gold);
    background: var(--bg-cream);
}

.product-detail-lahoda-1__option:focus-visible {
    outline: 2px solid var(--brand-gold-dark);
    outline-offset: 2px;
}

.product-detail-lahoda-1__option.is-selected,
.product-detail-lahoda-1__option.is-selected:hover {
    border-color: var(--brand-red-dark);
    background: var(--brand-red-tint);
    box-shadow: inset 0 0 0 1px var(--brand-red-dark);
    font-weight: 600;
}

/* Multi-select ENUM: an unselected option once `max` is reached. */
.product-detail-lahoda-1__option:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.product-detail-lahoda-1__swatch {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(42, 33, 26, 0.15);
    flex-shrink: 0;
}

.product-detail-lahoda-1__swatch--image {
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.product-detail-lahoda-1__parameter > .product-detail-lahoda-1__swatch--image {
    width: 72px;
    height: 72px;
}

.product-detail-lahoda-1__parameter input[type="number"],
.product-detail-lahoda-1__parameter input[type="text"],
.product-detail-lahoda-1__parameter textarea {
    width: 100%;
    max-width: 320px;
    min-height: 44px;
    padding: var(--space-2) var(--space-3);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.product-detail-lahoda-1__parameter textarea {
    max-width: 560px;
    min-height: 112px;
    line-height: 1.5;
    resize: vertical;
}

.product-detail-lahoda-1__parameter input[type="number"]:focus-visible,
.product-detail-lahoda-1__parameter input[type="text"]:focus-visible,
.product-detail-lahoda-1__parameter textarea:focus-visible {
    outline: none;
    border-color: var(--brand-gold-dark);
    box-shadow: 0 0 0 3px var(--brand-gold-tint);
}

/* ----- Quantity + CTA ----- */

.product-detail-lahoda-1__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

@container (min-width: 480px) {
    .product-detail-lahoda-1__actions {
        flex-direction: row;
        align-items: flex-end;
    }
}

.product-detail-lahoda-1__quantity {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    flex-shrink: 0;
}

.product-detail-lahoda-1__quantity-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-muted);
}

/* Static admin-set limit note next to the label („min. 10 ks“). */
.product-detail-lahoda-1__quantity-note {
    font-weight: 400;
    white-space: nowrap;
}

.product-detail-lahoda-1__quantity-note::before {
    content: "· ";
}

.product-detail-lahoda-1__quantity-note[hidden] {
    display: none;
}

/* Limit feedback under the stepper („Minimálne množstvo na objednanie je
   10 ks.“) — an always-present polite live region, zero height while empty. */
.product-detail-lahoda-1__quantity-hint {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ink-muted);
}

.product-detail-lahoda-1__quantity-hint:empty {
    display: none;
}

.product-detail-lahoda-1__quantity-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.product-detail-lahoda-1__stepper {
    display: inline-flex;
    align-items: stretch;
    height: 52px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.product-detail-lahoda-1__stepper:focus-within {
    border-color: var(--brand-gold-dark);
    box-shadow: 0 0 0 3px var(--brand-gold-tint);
}

.product-detail-lahoda-1__stepper-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.product-detail-lahoda-1__stepper-btn svg {
    width: 18px;
    height: 18px;
}

.product-detail-lahoda-1__stepper-btn:hover:not(:disabled):not([aria-disabled="true"]) {
    background: var(--bg-cream-deep);
}

.product-detail-lahoda-1__stepper-btn:focus-visible {
    outline: none;
    background: var(--brand-gold-tint);
}

/* At the admin-set min/max (aria-disabled): greyed but still clickable —
   the click shows the limit hint below (component.js#syncStepper). */
.product-detail-lahoda-1__stepper-btn:disabled,
.product-detail-lahoda-1__stepper-btn[aria-disabled="true"] {
    color: var(--border);
    cursor: not-allowed;
}

.product-detail-lahoda-1__quantity-input {
    width: 3.5rem;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    text-align: center;
    color: var(--ink);
    background: transparent;
    border: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.product-detail-lahoda-1__quantity-input:focus {
    outline: none;
}

.product-detail-lahoda-1__quantity-input::-webkit-outer-spin-button,
.product-detail-lahoda-1__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-detail-lahoda-1__quantity-unit {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-muted);
    white-space: nowrap;
}

.product-detail-lahoda-1__quantity-unit-select {
    height: 52px;
    padding: 0 var(--space-4);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.product-detail-lahoda-1__quantity-unit-select:focus-visible {
    outline: none;
    border-color: var(--brand-gold-dark);
    box-shadow: 0 0 0 3px var(--brand-gold-tint);
}

.product-detail-lahoda-1__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    flex: 1 1 auto;
    min-height: 52px;
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--bg-cream);
    background: var(--brand-red);
    border: none;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 16px rgba(194, 18, 41, 0.22);
    cursor: pointer;
    transition:
        background var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast),
        opacity var(--transition-fast);
}

.product-detail-lahoda-1__submit-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.product-detail-lahoda-1__submit:hover:not(:disabled) {
    background: var(--brand-red-dark);
    box-shadow: 0 8px 20px rgba(194, 18, 41, 0.28);
}

.product-detail-lahoda-1__submit:active:not(:disabled) {
    transform: translateY(1px);
}

.product-detail-lahoda-1__submit:focus-visible {
    outline: 3px solid var(--brand-gold-dark);
    outline-offset: 3px;
}

.product-detail-lahoda-1__submit:disabled {
    opacity: 0.6;
    cursor: progress;
    box-shadow: none;
}

/* ----- Feedback ----- */

.product-detail-lahoda-1__error {
    margin: 0;
    padding: var(--space-3) var(--space-4);
    font-size: 0.9375rem;
    color: var(--danger);
    background: var(--danger-tint);
    border-left: 3px solid var(--danger);
    border-radius: var(--radius-sm);
}

.product-detail-lahoda-1__added {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    margin: 0;
    padding: var(--space-3) var(--space-4);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--success);
    background: var(--success-tint);
    border-radius: var(--radius-sm);
}

.product-detail-lahoda-1__added-icon {
    width: 20px;
    height: 20px;
    margin-top: 1px;
    flex-shrink: 0;
}

.product-detail-lahoda-1__added a {
    margin-left: var(--space-1);
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ----- Details: spec fields + allergens ----- */

.product-detail-lahoda-1__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-5);
    background: var(--bg-cream-deep);
    border-radius: var(--radius-lg);
}

@container (min-width: 480px) {
    .product-detail-lahoda-1__details {
        padding: var(--space-6);
    }
}

.product-detail-lahoda-1__fields {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-size: 0.9375rem;
}

.product-detail-lahoda-1__field {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: var(--space-4);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
}

.product-detail-lahoda-1__field:first-child {
    padding-top: 0;
}

.product-detail-lahoda-1__field:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.product-detail-lahoda-1__field dt {
    font-weight: 500;
    color: var(--ink-muted);
}

.product-detail-lahoda-1__field dd {
    margin: 0;
    font-weight: 500;
    color: var(--ink);
    overflow-wrap: anywhere;
}

/* Allergens — badges (EU code + official name) and one link to the info page. */
.product-detail-lahoda-1__fields + .product-detail-lahoda-1__allergens {
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
}

.product-detail-lahoda-1__allergens-title {
    margin: 0 0 var(--space-3);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

.product-detail-lahoda-1__allergens-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: 0 0 var(--space-4);
    padding: 0;
    list-style: none;
}

.product-detail-lahoda-1__allergen {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3) var(--space-1) var(--space-1);
    background: #fff;
    border: 1px solid var(--brand-gold-light);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    line-height: 1.2;
    color: var(--ink);
    cursor: help;
}

/* --brand-gold-dark, not base gold: white 12px text needs the darker tone
   for contrast (DESIGN_MANUAL accessibility notes). */
.product-detail-lahoda-1__allergen-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 var(--space-1);
    border-radius: var(--radius-pill);
    background: var(--brand-gold-dark);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.product-detail-lahoda-1__allergen-name {
    font-weight: 500;
}

.product-detail-lahoda-1__allergens-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--brand-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition:
        color var(--transition-fast),
        text-decoration-color var(--transition-fast);
}

.product-detail-lahoda-1__allergens-link:hover,
.product-detail-lahoda-1__allergens-link:focus-visible {
    color: var(--brand-red-dark);
    text-decoration-color: var(--brand-red-dark);
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-lahoda-1 *,
    .product-detail-lahoda-1 *::before {
        transition: none;
    }

    .product-detail-lahoda-1__loading::before {
        animation-duration: 2.4s;
    }
}
