/* Explain: Styling for UI components like buttons, cards, and galleries, including aquarium theme elements. */
.ripple-panel {
    position: relative;
    overflow: hidden;
}

.ripple-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.38;
    background-image:
        radial-gradient(circle at 20% 22%, rgba(220, 199, 161, 0.32) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 46%, rgba(217, 167, 160, 0.26) 0 1px, transparent 3px),
        radial-gradient(circle at 44% 82%, rgba(201, 199, 194, 0.22) 0 2px, transparent 4px);
    background-size: 46px 46px, 38px 38px, 62px 62px;
}

.btn-deep {
    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-deep:hover,
.btn-deep:focus-visible {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-outline-soft {
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: rgba(251, 248, 243, 0.72);
    color: var(--espresso-color);
    border: 1px solid rgba(45, 36, 32, 0.24);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-outline-soft:hover,
.btn-outline-soft: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(220, 199, 161, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.editorial-card {
    border: 1px solid rgba(201, 199, 194, 0.7);
    background: rgba(255, 253, 248, 0.78);
    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(201, 199, 194, 0.7);
    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);
}

.filter-chip {
    min-height: 2.75rem;
    border-radius: var(--radius-oval);
    border: 1px solid rgba(201, 199, 194, 0.9);
    background: rgba(255, 253, 248, 0.72);
    padding: 0.5rem 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 240ms ease;
}

.filter-chip:hover,
.filter-chip:focus-visible {
    border-color: var(--espresso-color);
    color: var(--espresso-color);
}

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

.is-filtered-out {
    display: none !important;
}

.toast-note {
    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-note.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    transition: transform 240ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

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

.aquarium-header {
    background:
        radial-gradient(circle at 14% -30%, rgba(168, 236, 242, 0.42), transparent 24rem),
        linear-gradient(155deg, var(--aquarium-mid) 0%, var(--aquarium-deep) 100%);
    box-shadow: 0 16px 38px rgba(10, 65, 73, 0.32);
}

.aquarium-bubbles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0.55;
    background-image:
        radial-gradient(circle at 6% 88%, rgba(255, 255, 255, 0.6) 0 3px, transparent 4px),
        radial-gradient(circle at 20% 46%, rgba(255, 255, 255, 0.4) 0 2px, transparent 3px),
        radial-gradient(circle at 38% 92%, rgba(255, 255, 255, 0.5) 0 4px, transparent 5px),
        radial-gradient(circle at 56% 34%, rgba(255, 255, 255, 0.45) 0 2px, transparent 3px),
        radial-gradient(circle at 72% 80%, rgba(255, 255, 255, 0.5) 0 3px, transparent 4px),
        radial-gradient(circle at 88% 40%, rgba(255, 255, 255, 0.35) 0 2px, transparent 3px);
    background-size: 200px 130px;
    animation: aquarium-drift 16s linear infinite;
}

@keyframes aquarium-drift {
    from { background-position: 0 0; }
    to { background-position: 0 -130px; }
}

@media (prefers-reduced-motion: reduce) {
    .aquarium-bubbles {
        animation: none;
    }
}

.nav-aqua {
    position: relative;
    padding-block: 0.35rem;
}

.nav-aqua::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--aquarium-glow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms ease;
}

.nav-aqua:hover::after,
.nav-aqua:focus-visible::after {
    transform: scaleX(1);
}