/* ========================================
Ürün Detayı
======================================== */

/* -----------------------------------------
   Hero (gallery + info)
----------------------------------------- */
.product-detail-hero {
    background-color: var(--color-background);
    color: var(--color-text);
}

.product-detail-hero__inner {
    width: var(--layout-col-10);
    margin-inline: auto;
    padding-block: calc(var(--header-height) + clamp(2rem, 6vw, 4rem)) clamp(2rem, 4vw, 3rem);
}

.product-detail-hero__gallery {
    position: relative;
}

.product-detail-hero__swiper {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.product-detail-hero__swiper .swiper-slide {
    height: auto;
}

.product-detail-hero__slide-trigger {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    appearance: none;
    cursor: zoom-in;
    background: transparent;
    border: 0;
    border-radius: var(--radius-lg);
}

.product-detail-hero__slide-trigger:focus-visible {
    outline: 2px solid var(--color-brand-red);
    outline-offset: 4px;
}

.product-detail-hero__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 12%;
    background-color: var(--color-surface);
}

.product-detail-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.product-detail-hero__nav {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 0.75rem;
    pointer-events: none;
    opacity: 1;
}

.product-detail-hero__nav[hidden],
.product-detail-lightbox__nav[hidden] {
    display: none;
}

.product-detail-hero__nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: var(--color-text);
    pointer-events: auto;
    cursor: pointer;
    background-color: rgb(255 255 255 / 0.92);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 0.25rem 1rem rgb(0 0 0 / 0.12);
    transition:
        color var(--transition-base),
        background-color var(--transition-base),
        opacity var(--transition-base);
}

.product-detail-hero__nav-button:hover {
    color: var(--color-brand-red);
    background-color: #fff;
}

.product-detail-hero__nav-button:focus-visible {
    outline: 2px solid var(--color-brand-red);
    outline-offset: 3px;
}

.product-detail-hero__nav-button.is-disabled,
.product-detail-hero__nav-button:disabled {
    opacity: 0.35;
    pointer-events: none;
}

.product-detail-hero__nav-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

.product-detail-hero__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.product-detail-hero__title {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: clamp(1.05rem, 2.24vw, 1.575rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0em;
    color: var(--color-text);
}

.product-detail-hero__description {
    width: 100%;
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.product-detail-hero__description p {
    margin: 0;
}

.product-detail-hero__description p + p {
    margin-block-start: 0.75rem;
}

.product-detail-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-detail-hero__feature {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    background-color: var(--color-surface-warm);
    border-radius: 999px;
}

.product-detail-hero__feature-icon {
    flex-shrink: 0;
    width: 0.875rem;
    height: 0.875rem;
    color: var(--color-text);
}

.product-detail-hero__feature-label {
    font-family: var(--font-manrope);
    font-size: var(--font-size-xs);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text);
}

@media (min-width: 768px) {
    .product-detail-hero__features {
        gap: 0.625rem;
    }

    .product-detail-hero__feature {
        gap: 0.5rem;
        padding: 0.625rem 0.875rem;
    }

    .product-detail-hero__feature-icon {
        width: 1rem;
        height: 1rem;
    }

    .product-detail-hero__feature-label {
        font-size: var(--font-size-sm);
    }
}

.product-detail-hero__alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.125rem;
    background-color: var(--color-surface-warm);
    border-radius: var(--radius-lg);
}

.product-detail-hero__alert-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    margin-block-start: 0.1rem;
    color: var(--color-text);
}

.product-detail-hero__alert-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.product-detail-hero__alert-title {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
}

.product-detail-hero__alert-text {
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 400;
    line-height: 1.45;
    color: var(--color-text-muted);
}

.product-detail-hero__alert-text p {
    margin: 0;
}

.product-detail-hero__actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.product-detail-hero__buy {
    flex: 1 1 auto;
    min-width: 0;
}

.product-detail-hero__share {
    position: relative;
    flex: 0 0 auto;
}

.product-detail-hero__share-menu.menu {
    --bs-menu-min-width: 12.5rem;
    --bs-menu-bg: var(--color-background);
    --bs-menu-color: var(--color-text);
    --bs-menu-border-color: var(--color-border);
    --bs-menu-border-radius: var(--radius-md);
    --bs-menu-box-shadow: 0 12px 32px rgb(0 0 0 / 0.12);
    z-index: 20;
    min-width: 12.5rem;
    padding: 0.375rem;
    color: var(--color-text);
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.product-detail-hero__share-item.menu-item {
    gap: 0.75rem;
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
    border-radius: var(--radius-sm);
}

.product-detail-hero__share-item.menu-item:hover,
.product-detail-hero__share-item.menu-item:focus-visible {
    color: var(--color-brand-red);
    background-color: var(--color-surface);
}

.product-detail-hero__share-item-icon {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.product-detail-hero__share-item.is-copied .menu-item-content::after {
    content: ' · Kopyalandı';
    font-weight: 500;
    color: var(--color-text-muted);
}

@media (min-width: 768px) {
    .product-detail-hero__nav {
        opacity: 0;
        transition: opacity var(--transition-base);
    }

    .product-detail-hero__gallery:hover .product-detail-hero__nav,
    .product-detail-hero__gallery:focus-within .product-detail-hero__nav {
        opacity: 1;
    }
}

@media (min-width: 1024px) {
    .product-detail-hero__inner {
        padding-block: clamp(5rem, 8vw, 8rem) clamp(2.5rem, 4vw, 3.5rem);
    }

    .product-detail-hero__info {
        gap: 1.5rem;
        padding-inline-start: clamp(0.5rem, 2vw, 1.5rem);
    }
}

@media (min-width: 1280px) {
    .product-detail-hero__inner {
        width: var(--layout-col-8);
    }
}

/* -----------------------------------------
   Specs (tabs + panels)
----------------------------------------- */
.product-detail-specs {
    width: 100%;
    background-color: var(--color-surface);
    color: var(--color-text);
}

.product-detail-specs__inner {
    width: var(--layout-col-10);
    margin-inline: auto;
    padding-block: clamp(2rem, 4vw, 3rem) clamp(3.5rem, 8vw, 7.5rem);
}

.product-detail-specs__tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    column-gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-y: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.product-detail-specs__tabs::-webkit-scrollbar {
    display: none;
}

.product-detail-specs__tab {
    flex: 0 0 auto;
    margin: 0 0 -1px;
    padding: 0.875rem 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-muted);
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    transition:
        color var(--transition-base),
        border-color var(--transition-base);
}

.product-detail-specs__tab:hover {
    color: var(--color-text);
}

.product-detail-specs__tab.is-active {
    color: var(--color-brand-red);
    border-bottom-color: var(--color-brand-red);
}

.product-detail-specs__tab:focus-visible {
    outline: 2px solid var(--color-brand-red);
    outline-offset: 4px;
}

.product-detail-specs__panels {
    margin-block-start: 1.5rem;
}

.product-detail-specs__panel {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity var(--transition-base),
        transform var(--transition-base);
}

.product-detail-specs__panel.is-leaving,
.product-detail-specs__panel.is-entering {
    opacity: 0;
    transform: translateY(0.35rem);
}

.product-detail-specs__panel[hidden] {
    display: none;
}

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

.product-detail-specs__card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    background-color: var(--color-background);
    border-radius: var(--radius-xl);
}

.product-detail-specs__card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
}

.product-detail-specs__subtitle {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text-muted);
}

.product-detail-specs__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-family: var(--font-manrope);
    font-size: var(--font-size-xs);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-brand-red);
    background-color: var(--button-custom-brand-red-soft);
    border-radius: 999px;
}

.product-detail-specs__nutrition {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.product-detail-specs__nutrition-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.875rem;
    border-top: 1px solid var(--color-border);
}

.product-detail-specs__nutrition-row:last-child {
    border-bottom: 1px solid var(--color-border);
}

.product-detail-specs__nutrition-row--nested {
    padding-inline-start: 1.25rem;
}

.product-detail-specs__nutrition-label {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

.product-detail-specs__nutrition-row--nested .product-detail-specs__nutrition-label {
    font-weight: 500;
    color: var(--color-text-muted);
}

.product-detail-specs__nutrition-value {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.4;
    text-align: end;
    color: var(--color-text);
}

.product-detail-specs__note {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-xs);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.product-detail-specs__note p {
    margin: 0;
}

.product-detail-specs__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-detail-specs__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text);
    background-color: var(--color-surface);
    border-radius: 999px;
}

.product-detail-specs__ingredients {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-detail-specs__ingredient {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-block: 0.875rem;
    border-bottom: 1px solid var(--color-border);
}

.product-detail-specs__ingredient:first-child {
    padding-block-start: 0;
}

.product-detail-specs__ingredient:last-child {
    padding-block-end: 0;
    border-bottom: 0;
}

.product-detail-specs__ingredient-label {
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
}

.product-detail-specs__ingredient-detail {
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.product-detail-specs__ingredient-detail p {
    margin: 0;
}

.product-detail-specs__stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    padding: 1rem 1.125rem;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
}

.product-detail-specs__stat-label {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text);
}

.product-detail-specs__stat-value {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.45;
    color: var(--color-text-muted);
}

.product-detail-specs__faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-detail-specs__faq-item {
    overflow: hidden;
    background-color: var(--color-background);
    border-radius: var(--radius-xl);
}

.product-detail-specs__faq-heading {
    margin: 0;
}

.product-detail-specs__faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    font: inherit;
    text-align: start;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.product-detail-specs__faq-trigger:focus-visible {
    outline: 2px solid var(--color-brand-red);
    outline-offset: -2px;
}

.product-detail-specs__faq-question {
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-text);
}

.product-detail-specs__faq-icon {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    color: var(--color-text);
    transition: transform var(--transition-base);
}

.product-detail-specs__faq-item.is-open .product-detail-specs__faq-icon {
    transform: rotate(180deg);
}

.product-detail-specs__faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition-base);
}

.product-detail-specs__faq-item.is-open .product-detail-specs__faq-panel {
    grid-template-rows: 1fr;
}

.product-detail-specs__faq-panel-inner {
    overflow: hidden;
    min-height: 0;
}

.product-detail-specs__faq-answer {
    padding: 0 1.25rem 1.125rem;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.product-detail-specs__faq-answer p {
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-specs__faq-panel,
    .product-detail-specs__faq-icon {
        transition: none;
    }
}

@media (min-width: 1024px) {
    .product-detail-specs__inner {
        padding-block: clamp(2.5rem, 4vw, 3.5rem) clamp(5rem, 8vw, 8rem);
    }

    .product-detail-specs__panels {
        margin-block-start: 2rem;
    }

    .product-detail-specs__tabs {
        column-gap: 2rem;
    }

    .product-detail-specs__tab {
        font-size: var(--font-size-base);
    }
}

@media (min-width: 1280px) {
    .product-detail-specs__inner {
        width: var(--layout-col-8);
    }
}

/* -----------------------------------------
   Related products (swiper)
----------------------------------------- */
.product-detail-related {
    background-color: var(--color-background);
    color: var(--color-text);
}

.product-detail-related__inner {
    width: var(--layout-col-10);
    margin-inline: auto;
    padding-block: clamp(3.5rem, 8vw, 7rem);
}

.product-detail-related__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    margin-block-end: clamp(2rem, 4vw, 3rem);
}

.product-detail-related__intro {
    width: min(100%, var(--layout-col-7));
}

.product-detail-related__title {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0em;
    color: var(--color-text);
}

.product-detail-related__nav {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.75rem;
}

.product-detail-related__nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    color: var(--color-text);
    background: none;
    border: 0;
    cursor: pointer;
    transition:
        color var(--transition-base),
        opacity var(--transition-base);
}

.product-detail-related__nav-button:hover {
    color: var(--color-brand-red);
}

.product-detail-related__nav-button:focus-visible {
    outline: 2px solid var(--color-brand-red);
    outline-offset: 4px;
}

.product-detail-related__nav-button.is-disabled,
.product-detail-related__nav-button:disabled {
    color: var(--color-text-muted);
    opacity: 0.35;
    pointer-events: none;
}

.product-detail-related__nav-icon {
    display: block;
    width: 1.5rem;
    height: 1.5rem;
}

.product-detail-related__swiper {
    overflow: hidden;
    margin-block-end: clamp(2rem, 4vw, 2.75rem);
}

.product-detail-related__swiper .swiper-slide {
    height: auto;
}

.product-detail-related__footer {
    display: flex;
    align-items: center;
}

@media (min-width: 1280px) {
    .product-detail-related__inner {
        width: var(--layout-col-8);
    }
}

/* -----------------------------------------
   Lightbox
----------------------------------------- */
.product-detail-lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2.5rem);
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear var(--overlay-transition-duration);
}

.product-detail-lightbox.is-open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s;
}

body.is-product-lightbox-open {
    overflow: hidden;
}

.product-detail-lightbox__page-blur {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: rgb(0 0 0 / 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--overlay-transition-duration) var(--overlay-transition-timing),
        visibility var(--overlay-transition-duration) var(--overlay-transition-timing);
}

.product-detail-lightbox.is-open .product-detail-lightbox__page-blur {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.product-detail-lightbox__panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 48rem, calc(100svh - 7rem));
    max-height: 100%;
    opacity: 0;
    transform: translateY(0.5rem);
    transition:
        opacity var(--overlay-transition-duration) var(--overlay-transition-timing),
        transform var(--overlay-transition-duration) var(--overlay-transition-timing);
}

.product-detail-lightbox.is-open .product-detail-lightbox__panel {
    opacity: 1;
    transform: none;
}

.product-detail-lightbox__stage {
    position: relative;
    width: 100%;
}

.product-detail-lightbox__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
}

.product-detail-lightbox__swiper {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-color: transparent;
}

.product-detail-lightbox__swiper .swiper-slide {
    height: auto;
    background-color: transparent;
}

.product-detail-lightbox__slide-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    padding: 10%;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
}

.product-detail-lightbox__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.product-detail-lightbox__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-block-start: 1.25rem;
}

.product-detail-lightbox__nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    color: #fff;
    cursor: pointer;
    background-color: rgb(0 0 0 / 0.35);
    border: 0;
    border-radius: 999px;
    transition:
        background-color var(--transition-base),
        opacity var(--transition-base);
}

.product-detail-lightbox__nav-button:hover {
    background-color: rgb(0 0 0 / 0.55);
}

.product-detail-lightbox__nav-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.product-detail-lightbox__nav-button.is-disabled,
.product-detail-lightbox__nav-button:disabled {
    opacity: 0.35;
    pointer-events: none;
}

.product-detail-lightbox__nav-icon {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
    .product-detail-hero__nav,
    .product-detail-lightbox,
    .product-detail-lightbox__page-blur,
    .product-detail-lightbox__panel {
        transition: none;
    }

    .product-detail-lightbox.is-open .product-detail-lightbox__panel {
        transform: none;
    }
}

/* -----------------------------------------
   Where to buy (dialog)
----------------------------------------- */
.product-where-to-buy.dialog {
    --bs-dialog-bg: var(--color-background);
    --bs-dialog-color: var(--color-text);
    --bs-dialog-border-color: var(--color-border);
    --bs-dialog-border-radius: var(--radius-lg);
    --bs-dialog-backdrop-bg: rgb(0 0 0 / 0.2);
    --bs-dialog-backdrop-blur: 18px;
    --bs-dialog-transition-duration: var(--overlay-transition-duration);
    --bs-dialog-transition-timing: var(--overlay-transition-timing);
    color-scheme: light;
    transform: scale(0.96);
}

/* Bootstrap's dialog rules live in @layer, so unlayered page rules must restate the open state. */
.product-where-to-buy.dialog[open]:not(.hiding) {
    transform: none;
}

@starting-style {
    .product-where-to-buy.dialog[open] {
        transform: scale(0.96);
    }
}

.product-where-to-buy.dialog::backdrop {
    background-color: rgb(0 0 0 / 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.product-where-to-buy.dialog.hiding::backdrop {
    background-color: transparent;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
}

@starting-style {
    .product-where-to-buy.dialog[open]::backdrop {
        background-color: transparent;
        backdrop-filter: blur(0);
        -webkit-backdrop-filter: blur(0);
    }
}

.product-where-to-buy__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.25rem 0.75rem;
    border-bottom: 0;
}

.product-where-to-buy__title {
    margin: 0;
    font-family: var(--font-manrope);
    font-size: var(--font-size-lg);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.product-where-to-buy__body {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding: 0.5rem 1.25rem 1.5rem;
}

.product-where-to-buy__search-input {
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 0.875rem;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.product-where-to-buy__search-input::placeholder {
    color: var(--color-text-muted);
}

.product-where-to-buy__search-input:focus-visible {
    outline: 2px solid var(--color-brand-red);
    outline-offset: 2px;
    border-color: var(--color-brand-red);
}

.product-where-to-buy__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.product-where-to-buy__item[hidden] {
    display: none;
}

.product-where-to-buy__link {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    column-gap: 0.75rem;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--color-text);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition:
        background-color var(--transition-fast),
        border-color var(--transition-fast),
        color var(--transition-fast);
}

.product-where-to-buy__link:hover,
.product-where-to-buy__link:focus-visible {
    background-color: var(--color-background);
    border-color: var(--color-brand-red);
    color: var(--color-brand-red);
}

.product-where-to-buy__link:focus-visible {
    outline: 2px solid var(--color-brand-red);
    outline-offset: 2px;
}

.product-where-to-buy__name {
    min-width: 0;
    overflow: hidden;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 650;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-where-to-buy__channel {
    font-family: var(--font-manrope);
    font-size: var(--font-size-xs);
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-text-muted);
    white-space: nowrap;
}

.product-where-to-buy__link:hover .product-where-to-buy__channel,
.product-where-to-buy__link:focus-visible .product-where-to-buy__channel {
    color: inherit;
}

.product-where-to-buy__icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

.product-where-to-buy__empty {
    margin: 0;
    padding-block: 0.75rem;
    font-family: var(--font-manrope);
    font-size: var(--font-size-sm);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text-muted);
    text-align: center;
}

.product-where-to-buy__empty[hidden] {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .product-where-to-buy.dialog,
    .product-where-to-buy.dialog::backdrop,
    .product-where-to-buy__link {
        transition: none;
    }
}

