/* Explain: Styles for reusable UI components like buttons, cards, and vehicle display. */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.pill {
    display: inline-flex;
    max-width: 100%;
    min-height: 34px;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-strong);
    padding: 0.3rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--primary-color);
    overflow-wrap: anywhere;
    text-align: center;
}

.btn-solid,
.btn-line {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border-radius: 999px;
    padding: 0.8rem 1.6rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn-solid {
    border: 2px solid var(--primary-color);
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(14, 110, 128, 0.26);
}

.btn-solid:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-solid:disabled {
    opacity: 0.6;
    transform: none;
}

.btn-line {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
}

.btn-line:hover {
    background: var(--surface-strong);
    transform: translateY(-2px);
}

.btn-line-light {
    border-color: #ffffff;
    color: #ffffff;
}

.btn-line-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-accent {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 14px 28px rgba(242, 166, 90, 0.3);
}

.btn-accent:hover {
    background: var(--secondary-hover);
    border-color: var(--secondary-hover);
}

.site-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: var(--surface-color);
    box-shadow: var(--shadow-card);
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.site-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.media-frame {
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    aspect-ratio: 4 / 3;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-media-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--surface-strong), var(--surface-color));
    aspect-ratio: 4 / 3;
    padding: 1rem;
}

.detail-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.icon-badge {
    display: inline-flex;
    height: 3.1rem;
    width: 3.1rem;
    align-items: center;
    justify-content: center;
    border-radius: 1.1rem;
    background: var(--surface-strong);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.spec-item {
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    padding: 0.9rem 1rem;
}

.spec-item dt {
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.spec-item dd {
    margin: 0.2rem 0 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 1.1rem 1.35rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
}

.faq-item .faq-chevron {
    transition: transform 220ms ease;
    color: var(--primary-color);
}

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

.form-status:empty {
    display: none;
}

.number-step {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--secondary-color);
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.hero-slide {
    opacity: 0;
    pointer-events: none;
    transition: opacity 900ms ease;
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-dot {
    height: 10px;
    width: 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    transition: background 200ms ease, transform 200ms ease;
}

.hero-dot.is-active {
    background: #ffffff;
    transform: scale(1.3);
}

.vehicle-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--surface-strong), var(--surface-color));
    aspect-ratio: 4 / 3;
    padding: 1rem;
}

.vehicle-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 320ms ease;
}

.site-card:hover .vehicle-frame img {
    transform: scale(1.05);
}

.filter-pill {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-pill.is-active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.cart-drawer {
    transform: translateX(105%);
    transition: transform 320ms ease;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

.cart-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 320ms ease, visibility 320ms ease;
}

.cart-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.cart-line {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--surface-color);
    padding: 0.85rem;
}

.qty-btn {
    display: inline-flex;
    height: 36px;
    width: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
}

.qty-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}