/* Compiled template scope: .pg-template */
/* 18+ yaş doğrulama: kart/galeri blur + sayfa üstü onay çubuğu */

.pg-template .product-card.is-age-blurred .product-card__img,
.pg-template .product-gallery.is-age-blurred .product-gallery__frame img,
.pg-template .product-gallery.is-age-blurred .product-gallery__thumb img {
    filter: blur(24px);
    transform: scale(1.08);
    user-select: none;
}

/* card.css'in hover'da filter'ı sıfırlayan kuralını (saturate/contrast)
   ezmek için aynı özgüllükte + is-age-blurred class'ı ile daha spesifik
   bir seçici — blur hover'da kaybolmamalı. */
.pg-template .product-card.is-age-blurred:hover .product-card__img {
    filter: blur(24px);
    transform: scale(1.08);
}

.pg-template .product-card.is-age-blurred .product-card__fav,
.pg-template .product-card.is-age-blurred .product-card__compare {
    display: none;
}

.pg-template .is-age-blurred .product-gallery__zoom,
.pg-template .is-age-blurred .product-gallery__nav {
    pointer-events: none;
    opacity: .35;
}

/* --- Kart rozeti: mevcut frosted-glass pill diliyle birebir (bkz. .product-card__preowned-badge) --- */
.pg-template .product-card__age-badge {
    position: absolute;
    z-index: 6;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    min-height: 1.9rem;
    padding: .32rem .72rem;
    border-radius: 999px;
    border: 1px solid rgba(28, 23, 19, .14);
    background: rgba(255, 255, 255, .88);
    color: var(--color-text);
    font-size: .68rem;
    line-height: 1;
    letter-spacing: .04em;
    font-weight: 700;
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

.pg-template .product-card__age-badge svg {
    flex-shrink: 0;
    color: var(--color-brand);
}

/* --- Onay çubuğu: kompakt tek satır alert, UI kit token/buton sınıfları --- */
.pg-template .age-gate-banner {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
    padding: var(--space-3) var(--space-5);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-brand);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 2px rgba(42, 38, 35, .04);
}

.pg-template .age-gate-banner__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: var(--color-brand-subtle);
    color: var(--color-brand-text);
}

.pg-template .age-gate-banner__body {
    flex: 1 1 auto;
    min-width: 0;
}

.pg-template .age-gate-banner__title {
    margin: 0;
    color: var(--color-text);
    font-size: var(--text-sm);
    font-weight: var(--fw-semibold, 600);
}

.pg-template .age-gate-banner__desc {
    margin: 2px 0 0;
    color: var(--color-text-muted);
    font-size: var(--text-xs);
}

.pg-template .age-gate-banner__form {
    flex-shrink: 0;
    display: flex;
    gap: var(--space-2);
}

@media (max-width: 640px) {
    .pg-template .age-gate-banner {
        flex-wrap: wrap;
    }

    .pg-template .age-gate-banner__form {
        width: 100%;
        padding-left: calc(38px + var(--space-4));
    }

    .pg-template .age-gate-banner__form .btn {
        flex: 1;
    }
}
