/* Explain: Styles for reusable components like buttons, cards, and galleries. */
.texture-panel {
    position: relative;
    overflow: hidden;
}

.texture-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.25;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(26, 155, 212, 0.35) 0 1.5px, transparent 2.5px),
        radial-gradient(circle at 80% 45%, rgba(17, 42, 84, 0.22) 0 1px, transparent 2px);
    background-size: 32px 32px, 24px 24px;
}

.btn-primary {
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: var(--espresso-color);
    color: var(--pearl-color);
    border: 1px solid var(--espresso-color);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: rgba(255, 255, 255, 0.78);
    color: var(--espresso-color);
    border: 1px solid rgba(17, 42, 84, 0.28);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    border-color: var(--espresso-color);
    background: var(--surface-color);
}

.oval-frame {
    border-radius: 48% 48% 44% 44% / 54% 54% 40% 40%;
    border: 1px solid rgba(26, 155, 212, 0.55);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.editorial-card {
    border: 1px solid rgba(199, 216, 230, 0.85);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

.product-card img {
    transition: transform 600ms ease;
}

.product-card:hover img {
    transform: scale(1.035);
}

.gallery-thumb {
    border: 1px solid rgba(199, 216, 230, 0.85);
    opacity: 0.62;
    transition: all 240ms ease;
    cursor: pointer;
}

.gallery-thumb.is-active,
.gallery-thumb:hover,
.gallery-thumb:focus-visible {
    opacity: 1;
    border-color: var(--espresso-color);
}

.option-chip {
    min-height: 2.75rem;
    border-radius: var(--radius-oval);
    border: 1px solid rgba(199, 216, 230, 0.9);
    background: rgba(255, 255, 255, 0.78);
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: all 240ms ease;
}

.option-chip.is-selected {
    border-color: var(--espresso-color);
    background: var(--espresso-color);
    color: var(--pearl-color);
}

.toast-main {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    z-index: 80;
    transform: translateX(-50%) translateY(1rem);
    opacity: 0;
    pointer-events: none;
    transition: all 240ms ease;
}

.toast-main.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.featured-special {
    border: 1px solid rgba(26, 155, 212, 0.6);
    box-shadow: 0 32px 90px rgba(17, 42, 84, 0.18);
}

.featured-special::after {
    content: 'מהטאבון ישירות אליכם';
    position: absolute;
    top: 0;
    inset-inline-end: 2.5rem;
    padding: 0.4rem 1.1rem;
    border-radius: 0 0 1rem 1rem;
    background: var(--rose-nude-color);
    color: var(--espresso-color);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

@media (max-width: 767px) {
    .featured-special::after {
        display: none;
    }
}

.mobile-sticky-cta {
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}