/* Explain: Reusable component styles for glass panels, cards, and hero slider. */
.site-header {
    background: linear-gradient(180deg, rgba(6, 10, 16, 0.92), rgba(6, 10, 16, 0.66));
    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(20, 24, 16, 0.78), rgba(14, 18, 11, 0.55));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0.5rem 1rem;
    color: var(--text-color);
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(12px);
}

.trust-badge i {
    color: var(--sage-dark);
    font-size: 0.72rem;
}

.hero-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--glass-border);
    border-radius: 2.6rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.floating-note {
    position: absolute;
    inset-inline-start: -1.25rem;
    bottom: 1.75rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.8rem;
    border-radius: 1.5rem;
    padding: 0.9rem 1.1rem;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: rgba(20, 24, 16, 0.6);
    padding: 1.15rem;
}

.step-number {
    display: inline-flex;
    height: 2.3rem;
    width: 2.3rem;
    flex: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent-color);
    color: #1A1206;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
}

.search-wrap {
    position: relative;
}

.search-wrap > i {
    position: absolute;
    inset-inline-start: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sage-dark);
    pointer-events: none;
}

.search-results {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 0.4rem);
    max-height: 15rem;
    overflow-y: auto;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
    padding: 0.4rem;
}

.search-result-item {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    padding: 0.7rem 0.95rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: start;
    transition: background 200ms ease;
}

.search-result-item:hover {
    background: var(--surface-color);
}

.result-card {
    border-radius: 2rem;
    padding: clamp(1.25rem, 4vw, 2rem);
}

.result-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.45rem 1rem;
    color: var(--sage-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-media {
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 1px solid var(--glass-border);
    border-radius: 2.6rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 2rem;
    padding: 1.75rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.feature-card:hover {
    border-color: rgba(16, 185, 129, 0.58);
    box-shadow: 0 26px 80px rgba(16, 185, 129, 0.14);
    transform: translateY(-6px);
}

.feature-icon {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    background: var(--sage-soft);
    color: var(--accent-color);
    font-size: 1.2rem;
}

.review-card {
    border-radius: 1.9rem;
    padding: 1.6rem;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(20, 24, 16, 0.6);
    padding: 0 1.4rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    padding: 1.2rem 0;
    color: var(--text-color);
    font-size: 1.02rem;
    font-weight: 600;
}

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

.faq-item summary i {
    color: var(--accent-color);
    transition: transform 300ms ease;
}

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

.faq-item p {
    padding-bottom: 1.3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

.form-status.success {
    color: #34D399;
}

.form-status.error {
    color: #F87171;
}

.order-overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    overflow-y: auto;
    background: rgba(31, 46, 35, 0.42);
    padding: 1rem;
}

.order-overlay.is-open {
    display: block;
}

.order-overlay-panel {
    width: 100%;
    max-width: 44rem;
    margin: 1.5rem auto;
    border-radius: 2.2rem;
    background: var(--background-color);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: 0 30px 90px rgba(31, 46, 35, 0.28);
}

.order-product-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: var(--surface-color);
    padding: 0.9rem;
}

.hero-slider {
    position: relative;
}

.hero-slider .swiper {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 80vh;
}

.hero-slider .swiper-slide {
    overflow: hidden;
}

.hero-slider .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .swiper-pagination {
    bottom: 0.75rem;
}

.hero-slider .swiper-pagination-bullet {
    background: var(--text-color);
    opacity: 0.45;
}

.hero-slider .swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    color: var(--accent-color);
}

@media (max-width: 767px) {
    .hero-slider .swiper {
        aspect-ratio: 4 / 3;
    }
}

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

    .floating-note {
        position: static;
        margin-top: 1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }

    .hero-frame {
        aspect-ratio: 1 / 1;
    }
}