/* Explain: Styles for site components like cards, forms, and the header. */
.site-header {
    background: linear-gradient(180deg, rgba(247, 244, 237, 0.92), rgba(247, 244, 237, 0.58));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(197, 164, 93, 0.42);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(72vh, 680px);
    min-height: 460px;
    border-radius: 999px 999px 2.4rem 2.4rem;
}

.arch-frame-medium {
    height: 520px;
    max-width: 400px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 4rem;
    display: flex;
    max-width: 260px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.product-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.product-card:hover {
    border-color: rgba(197, 164, 93, 0.6);
    box-shadow: 0 26px 80px rgba(4, 20, 36, 0.14);
    transform: translateY(-6px);
}

.product-media {
    overflow: hidden;
    background: var(--surface-color);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

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

.product-badge {
    display: inline-flex;
    width: max-content;
    align-items: center;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.35rem 0.85rem;
    color: var(--sage-dark);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-price {
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
}

.filter-chip {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: all 300ms ease;
}

.filter-chip:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
}

.filter-chip.is-active {
    border-color: transparent;
    background: var(--primary-color);
    color: var(--text-color);
    box-shadow: var(--shadow-button);
}

.is-hidden {
    display: none !important;
}

.value-card {
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease;
}

.value-card:hover {
    border-color: rgba(197, 164, 93, 0.55);
    transform: translateY(-4px);
}

.info-tile {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 1.35rem;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #8A6D2F;
}

.form-status.error {
    color: #9B4A3D;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 440px);
        height: 500px;
        min-height: 0;
    }

    .arch-frame-medium {
        height: 440px;
    }

    .floating-note {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.5rem auto 0;
    }
}

.product-media-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
}

.product-media-status {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: none;
    border-radius: 999px;
    background: rgba(4, 20, 36, 0.78);
    padding: 0.45rem 1rem;
    color: #F7F4ED;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-media.is-loading .product-media-status {
    display: block;
}

.product-thumb {
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.1rem;
    background: var(--surface-color);
    padding: 0;
    transition: border-color 300ms ease, transform 300ms ease;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.product-thumb.product-thumb-wide {
    grid-column: span 2;
}

.product-thumb.is-active {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-button);
}

.product-size-chip {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0 1.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.product-price-large {
    font-size: 1.85rem;
}

.spec-list {
    display: grid;
    gap: 0.85rem;
    margin: 0;
}

.spec-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.85rem;
}

.spec-row dt {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.spec-row dd {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: right;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(4, 20, 36, 0.9);
    backdrop-filter: blur(6px);
}

.product-lightbox.is-open {
    display: flex;
}

.product-lightbox-image {
    max-width: min(100%, 1100px);
    max-height: 84vh;
    width: auto;
    height: auto;
    border-radius: 1.4rem;
    object-fit: contain;
}

.product-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    min-height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(247, 244, 237, 0.4);
    border-radius: 999px;
    background: rgba(247, 244, 237, 0.14);
    color: #F7F4ED;
    font-size: 1.1rem;
}

.product-lightbox-status {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    display: none;
    transform: translateX(-50%);
    color: #F7F4ED;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-lightbox.is-loading .product-lightbox-status {
    display: block;
}

.nav-filter-chip {
    display: inline-flex;
    min-height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    padding: 0 1rem;
    color: var(--text-color);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: all 300ms ease;
}

.nav-filter-chip:hover {
    border-color: var(--accent-color);
    background: var(--surface-color);
    color: var(--primary-hover);
}

.nav-filter-chip.is-active,
.nav-filter-chip.is-active:hover {
    border-color: transparent;
    background: var(--primary-color);
    color: var(--text-color);
    box-shadow: var(--shadow-button);
}

.nav-filter-chip.is-active:hover {
    background: var(--primary-hover);
}

@media (min-width: 1024px) {
    .nav-filter-chip {
        min-height: 2.1rem;
        padding: 0 0.7rem;
        font-size: 0.6rem;
    }
}