/* Explain: Styling for cards, buttons, and other UI components. - */
.lace-panel {
    position: relative;
    overflow: hidden;
}

.lace-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.72;
    background-image:
        linear-gradient(90deg, rgb(var(--primary-rgb) / 0.08) 1px, transparent 1px),
        linear-gradient(180deg, rgb(var(--primary-rgb) / 0.08) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgb(var(--accent-rgb) / 0.16), transparent 24rem);
    background-size: 42px 42px, 42px 42px, 100% 100%;
}

.btn-bridal {
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--pearl-color);
    border: 1px solid rgb(var(--primary-rgb) / 0.16);
    box-shadow: 0 16px 34px rgb(var(--primary-rgb) / 0.24);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-bridal:hover,
.btn-bridal:focus-visible {
    background: linear-gradient(135deg, var(--primary-hover), #0891b2);
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgb(var(--primary-rgb) / 0.28);
}

.btn-veil {
    min-height: 3rem;
    border-radius: var(--radius-oval);
    background: rgb(var(--surface-rgb) / 0.78);
    color: var(--secondary-color);
    border: 1px solid rgb(var(--border-rgb) / 0.95);
    padding-inline: 1.35rem;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-veil:hover,
.btn-veil:focus-visible {
    border-color: rgb(var(--primary-rgb) / 0.42);
    background: var(--surface-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.oval-frame {
    border-radius: 2.25rem;
    border: 1px solid rgb(var(--border-rgb) / 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.editorial-card {
    border: 1px solid rgb(var(--border-rgb) / 0.86);
    background: rgb(var(--surface-rgb) / 0.84);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
}

.product-card {
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

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

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgb(var(--primary-rgb) / 0.36);
    box-shadow: 0 24px 60px rgb(var(--primary-rgb) / 0.13);
}

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

.tech-chip {
    display: inline-flex;
    min-height: 2.25rem;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--radius-oval);
    border: 1px solid rgb(var(--border-rgb) / 0.8);
    background: rgb(var(--surface-rgb) / 0.72);
    padding: 0.45rem 0.85rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.signal-card {
    position: relative;
    overflow: hidden;
}

.signal-card::after {
    content: '';
    position: absolute;
    right: -4rem;
    top: -4rem;
    width: 11rem;
    height: 11rem;
    border-radius: 999px;
    background: rgb(var(--accent-rgb) / 0.16);
    filter: blur(4px);
}

.gallery-thumb {
    border: 1px solid rgb(var(--border-rgb) / 0.8);
    opacity: 0.7;
    transition: all 240ms ease;
    cursor: pointer;
}

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

.option-chip {
    min-height: 2.75rem;
    border-radius: var(--radius-oval);
    border: 1px solid rgb(var(--border-rgb) / 0.9);
    background: rgb(var(--surface-rgb) / 0.76);
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: all 240ms ease;
}

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

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

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