/* Explain: Styles for UI components including buttons, cards, modals, and form inputs. */
.texture-panel {
    position: relative;
    overflow: hidden;
}

.texture-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(220, 199, 161, 0.28) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 42%, rgba(217, 167, 160, 0.2) 0 1px, transparent 3px),
        linear-gradient(135deg, transparent 0 48%, rgba(201, 199, 194, 0.16) 49% 51%, transparent 52% 100%);
    background-size: 46px 46px, 40px 40px, 30px 30px;
}

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

.btn-wingz-outline {
    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-wingz-outline:hover,
.btn-wingz-outline:focus-visible {
    border-color: var(--espresso-color);
    background: var(--surface-color);
}

.media-frame {
    border-radius: 1.75rem;
    border: 1px solid rgba(220, 199, 161, 0.9);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.icon-badge {
    display: flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-oval);
    background: var(--surface-warm);
    color: var(--espresso-color);
}

.icon-badge-lg {
    width: 4rem;
    height: 4rem;
}

.soft-card {
    border: 1px solid rgba(201, 199, 194, 0.7);
    background: rgba(255, 253, 248, 0.8);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
}

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

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

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

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

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

.wishlist-on.hidden,
.wishlist-off.hidden {
    display: none !important;
}

.rental-modal {
    display: none;
}

.rental-modal.is-open {
    display: flex;
}

.transport-modal {
    display: none;
}

.transport-modal.is-open {
    display: flex;
}

.input-error {
    border-color: var(--rose-nude-color) !important;
    box-shadow: 0 0 0 3px rgba(217, 167, 160, 0.4);
}