/* ========================================
   WARRANTY PAGE — Clean, minimal design
   ======================================== */

.warranty-header {
    text-align: center;
    margin: 40px 0 28px;
}

.gradient-text-violet {
    background: linear-gradient(135deg, var(--accent-violet), #818cf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.warranty-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    color: var(--accent-violet);
}

.warranty-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.warranty-header p {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

/* ---- Native Select ---- */
.select-wrapper {
    margin-bottom: 28px;
}

.select-box {
    position: relative;
}

.select-box select {
    width: 100%;
    padding: 14px 48px 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-primary);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: all 0.25s var(--ease);
}

.select-box select:hover {
    background: var(--bg-card-hover);
    border-color: rgba(168, 85, 247, 0.25);
}

.select-box select:focus {
    border-color: var(--accent-violet);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.select-box select option {
    background: #111118;
    color: var(--text-primary);
    padding: 12px;
}

.select-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* ---- Warranty Content Card ---- */
.warranty-content {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-xl);
    padding: 28px;
    min-height: 160px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s var(--ease);
}

.warranty-content::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.03), transparent 70%);
    pointer-events: none;
}

.placeholder-text {
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 32px 0;
}

/* Product Title */
.w-product-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.w-product-type {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

/* Warranty Sections */
.w-section {
    margin-bottom: 18px;
}

.w-section:last-child {
    margin-bottom: 0;
}

.w-section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.w-section ul {
    list-style: none;
    padding: 0;
}

.w-section ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.w-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-violet);
    font-weight: 700;
}

.w-section p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.w-section p strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Warranty Duration Badge */
.w-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 16px;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-violet);
}

/* Fade */
.warranty-content.fade-out {
    opacity: 0.3;
    transform: scale(0.98);
    transition: all 0.15s ease-out;
}

.warranty-content.fade-in {
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s ease-out;
}
