/* Med Store - High-Conversion E-commerce CSS */

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



:root {
    /* Professional medical color palette */
    --primary-blue: #1e3a8a;        /* Darker, more serious blue */
    --cta-orange: #dc2626;          /* Professional red instead of orange */
    --success-green: #059669;       /* Deeper green */
    --bg-light: #f8fafc;            /* Cooler gray background */
    --text-dark: #1e293b;           /* Darker, more professional text */
    --text-gray: #64748b;           /* Professional gray */
    --border-color: #e2e8f0;        /* Subtle border */
    --white: #FFFFFF;
    --accent-blue: #3b82f6;         /* Lighter blue for accents */
    
    /* Subtle shadows for professional look */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.08);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ==================== BUTTONS (High Conversion) ==================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--cta-orange);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==================== HEADER ==================== */
.top-bar {
    background: var(--primary-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 18px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-info {
    display: flex;
    gap: 2rem;
}

.contact-info a {
    color: var(--white);
    text-decoration: none;
}

.contact-info i {
    margin-right: 5px;
}

.promo i {
    margin-right: 8px;
}

.hero-badge i {
    margin-right: 5px;
}

.urgency-banner i {
    margin-right: 5px;
    color: var(--cta-orange);
}

.cta-guarantee i {
    margin: 0 5px;
}

.footer-col i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.promo {
    font-weight: 700;
    font-size: 16px;
    background: var(--cta-orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 6px;
}

.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 700;
}

.logo-icon {
    font-size: 32px;
    color: var(--primary-blue);
}

.logo-icon i {
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.cart-btn {
    background: var(--bg-light);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

.cart-count {
    background: var(--cta-orange);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    position: absolute;
    top: -5px;
    right: -5px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: var(--spacing-lg) 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid #bfdbfe;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-icon {
    font-size: 20px;
}

.feature-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    opacity: 0.8;
}

.trust-badges img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.hero-image-placeholder {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1; /* Квадратный контейнер */
}

.hero-image-placeholder svg,
.hero-image-placeholder img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
}

.badge-text {
    display: block;
    font-size: 14px;
    color: var(--text-gray);
}

/* ==================== URGENCY BANNER ==================== */
.urgency-banner {
    background: #fef3c7;
    border-top: 2px solid #f59e0b;
    border-bottom: 2px solid #f59e0b;
    padding: 1rem 0;
    text-align: center;
    font-weight: 600;
}

.countdown {
    color: #dc3545;
    font-size: 18px;
}

/* ==================== PRODUCTS SECTION ==================== */
.products-section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 18px;
    color: var(--text-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card.featured {
    border: 2px solid var(--primary-blue);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.product-badge.best-value {
    background: #1e8a2c;
}

.product-badge.popular {
    background: var(--cta-orange);
}

.product-badge.premium {
    background: #0400bf;
}

.product-image {
    padding: 2rem;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;  /* Фиксированная высота для всех карточек */
    overflow: hidden;
    position: relative;
}

.product-image svg {
    width: 100%;
    height: auto;
    display: block;
}

.product-image img {
    width: 100%;           /* Заполняет ширину контейнера */
    height: 100%;          /* Заполняет высоту контейнера */
    object-fit: contain;   /* Сохраняет пропорции, вмещается полностью */
    object-position: center; /* Центрирование изображения */
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-rating {
    color: #fbbf24;
    font-size: 14px;
    margin-bottom: 1rem;
}

.product-rating i {
    color: #fbbf24;
}

.product-rating span {
    color: var(--text-gray);
}

.product-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    margin-bottom: 1rem;
}

.product-features li {
    color: var(--text-gray);
    padding: 0.25rem 0;
    font-size: 14px;
}

.product-features li i {
    color: var(--success-green);
    margin-right: 8px;
    width: 16px;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-current {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-original {
    font-size: 20px;
    color: var(--text-gray);
    text-decoration: line-through;
}

.section-cta {
    text-align: center;
    grid-column: 1 / -1;
    margin-top: 2rem;
}

/* ==================== WHY US SECTION ==================== */
.why-us {
    background: var(--bg-light);
    padding: var(--spacing-lg) 0;
}

.why-us h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.benefit-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: inline-block;
}

.benefit h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.benefit p {
    color: var(--text-gray);
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    padding: var(--spacing-lg) 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 1rem;
}

.stars i {
    margin-right: 2px;
}

.testimonial p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-style: italic;
}

.author strong {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
}

.author span {
    font-size: 14px;
    color: var(--text-gray);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
    color: var(--white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-guarantee {
    font-size: 16px;
    opacity: 0.9;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 12px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-image {
        order: -1;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-md);
        padding: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
}



/* ==================== ANIMATIONS ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeIn 0.6s ease-out;
}

/* Pulse effect removed for professional look */

/* ==================== PRODUCT PAGE STYLES ==================== */
.product-page { 
    padding: 4rem 0; 
}

.product-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 4rem; 
}

.product-gallery { 
    position: relative;
}

/* CRITICAL: Main image container with fixed height */
.main-image { 
    background: #f8f9fa; 
    padding: 2rem; 
    border-radius: 16px; 
    margin-bottom: 1rem; 
    position: relative; 
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-image #mainImageContainer { 
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CRITICAL: Image size constraints */
.main-image #mainImageContainer img { 
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-details { 
    /* Details column styles */
}

.price-box {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    text-align: center; /* центрирует весь контент блока */
}

.price-display,
.stock-warning {
    display: block;
    text-align: center; /* на случай переопределения */
    justify-content: center;
    align-items: center;
}

.features-list { 
    list-style: none; 
    margin: 2rem 0; 
}

.features-list li { 
    padding: 1rem 0; 
    border-bottom: 1px solid #dee2e6; 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
}

.buy-box { 
    background: #f8f9fa; 
    padding: 2rem; 
    border-radius: 12px; 
}

.thumbnail-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 0.5rem; 
    margin-top: 1rem; 
}

.thumbnail { 
    background: #f8f9fa; 
    padding: 0.5rem; 
    border-radius: 8px; 
    cursor: pointer; 
    border: 2px solid transparent; 
    transition: all 0.3s; 
}

.thumbnail:hover, 
.thumbnail.active { 
    border-color: #0066CC; 
}

.thumbnail svg,
.thumbnail img { 
    width: 100%; 
    height: auto;
    display: block;
}

/* Thumbnail images - ensure they fit properly */
.thumbnail {
    overflow: hidden;
    height: 100px;
}

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

.gallery-nav { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(255,255,255,0.9); 
    border: none; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    cursor: pointer; 
    font-size: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 10; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.15); 
}

.gallery-nav:hover { 
    background: white; 
}

.gallery-nav.prev { 
    left: 10px; 
}

.gallery-nav.next { 
    right: 10px; 
}

/* Product page responsive */
@media (max-width: 768px) {
    .product-layout { 
        grid-template-columns: 1fr; 
    }
    
    .main-image {
        height: 400px;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 350px;
        padding: 0.5rem;
    }
}

/* ==================== ADDITIONAL PRODUCT PAGE STYLES ==================== */

/* Back to shop link */
.back-to-shop {
    margin-bottom: 2rem;
}

.back-to-shop a {
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-to-shop a:hover {
    color: #0052a3;
    text-decoration: underline;
}

/* Product badges row */
.product-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.badge-item {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    flex: 1;
    text-align: center;
    font-weight: 500;
}

.badge-item i {
    margin-right: 0.5rem;
}

/* Popular badge */
.popular-badge {
    display: inline-block;
    background: #FF6B35;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.popular-badge i {
    margin-right: 0.5rem;
}

/* Product title */
.product-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* Product rating */
.product-rating {
    font-size: 18px;
    margin-bottom: 2rem;
}

.product-rating .stars {
    color: #fbbf24;
}

.product-rating span {
    color: #6C757D;
}

/* Price display */
.price-display {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.current-price {
    font-size: 42px;
    font-weight: 700;
    color: #FF6B35;
}

.original-price {
    font-size: 24px;
    color: #6C757D;
    text-decoration: line-through;
}

.save-badge {
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

/* Stock warning */
.stock-warning {
    color: #856404;
    font-weight: 600;
}

.stock-warning i {
    margin-right: 0.5rem;
}

/* Guarantee list */
.guarantee-list {
    margin-top: 1rem;
    text-align: center;
    color: #6C757D;
}

.guarantee-list p {
    margin: 0.5rem 0;
}

/* Advanced features section */
.advanced-features {
    margin: 3rem 0;
}

.advanced-features h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.features-list li span {
    font-size: 24px;
}

/* What's included box */
.whats-included {
    background: #f0f7ff;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.whats-included h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.whats-included ul {
    list-style: none;
    padding: 0;
}

.whats-included ul li {
    padding: 0.5rem 0;
}

/* Doctor recommendation box */
.doctor-recommendation {
    background: #fff3cd;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    margin: 2rem 0;
}

.doctor-recommendation h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.doctor-recommendation h3 i {
    margin-right: 0.5rem;
}

.doctor-recommendation p {
    color: #856404;
}

.doctor-recommendation .doctor-name {
    margin-top: 1rem;
    font-weight: 600;
    color: #856404;
}

/* Testimonials section on product page */
.testimonials.product-testimonials {
    background: #f8f9fa;
    padding: 4rem 0;
}

.testimonials.product-testimonials h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 3rem;
}

/* Responsive adjustments for product page elements */
@media (max-width: 1024px) {
    .product-image {
        height: 280px;  /* Немного меньше на планшетах */
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 250px;  /* Меньше на мобильных */
        padding: 1.5rem;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .current-price {
        font-size: 32px;
    }
    
    .original-price {
        font-size: 20px;
    }
    
    .advanced-features h2 {
        font-size: 24px;
    }
    
    .whats-included h3,
    .doctor-recommendation h3 {
        font-size: 20px;
    }
    
    .product-badges {
        flex-direction: column;
    }
    
    .testimonials.product-testimonials h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 350px;
        padding: 0.5rem;
    }
}

/* Additional responsive fix for small screens */
@media (max-width: 480px) {
    .product-image {
        height: 220px;
        padding: 1rem;
    }

/* === Extracted from main.js === */
/* === CSS from cart.html (block 1) === */
.remove-btn{
  margin-top: 6px;
  background: transparent;
  border: 0;
  color: #ef4444;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 13px;
  padding: 0;
}
.remove-btn:hover{ text-decoration: underline; }
.remove-btn i{ font-size: 14px; }

        body {
            background: #f6f9fc;
        }
        
        .checkout-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
            min-height: 100vh;
        }
        
        .checkout-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 3rem;
            margin-top: 2rem;
        }
        
        .checkout-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0;
            border-bottom: 1px solid #e3e8ef;
            margin-bottom: 2rem;
        }
        
        .checkout-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
            text-decoration: none;
        }
        
        .checkout-logo i {
            color: #1e3a8a;
            font-size: 28px;
        }
        
        .secure-badge {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #059669;
            font-weight: 600;
            font-size: 14px;
        }
        
        .secure-badge i {
            font-size: 16px;
        }
        
        /* Left Column - Form */
        .checkout-form {
            background: white;
            border-radius: 12px;
            padding: 2.5rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .form-section {
            margin-bottom: 2.5rem;
        }
        
        .form-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid #f1f5f9;
        }
        
        .form-section-header h2 {
            font-size: 18px;
            font-weight: 600;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .section-number {
            background: #1e3a8a;
            color: white;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .form-group {
            margin-bottom: 1rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            font-size: 14px;
            color: #475569;
        }
        
        .form-group input,
        .form-group select {
            width: 100%;
            padding: 0.875rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 15px;
            font-family: inherit;
            transition: all 0.2s;
            background: white;
        }
        
        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #1e3a8a;
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
        }
        
        .form-group input::placeholder {
            color: #94a3b8;
        }
        
        /* Card Input Special */
        .card-element {
            padding: 0.875rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            background: white;
            transition: all 0.2s;
        }
        
        .card-element:focus-within {
            border-color: #1e3a8a;
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
        }
        
        .card-input-row {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 1rem;
        }
        
        .card-icons {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        
        .card-icons img {
            height: 24px;
            opacity: 0.6;
        }
        
        /* Right Column - Order Summary */
        .order-summary {
            background: #f8fafc;
            border-radius: 12px;
            padding: 2rem;
            height: fit-content;
            position: sticky;
            top: 2rem;
            border: 1px solid #e2e8f0;
        }
        
        .order-summary h2 {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: #1e293b;
        }
        
        .order-item {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .order-item:first-child {
            padding-top: 0;
        }
        
        .item-image {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            border: 1px solid #e2e8f0;
            overflow: hidden;
        }
        
        .item-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .item-image i {
            font-size: 40px;
            color: #1e3a8a;
        }
        
        .item-details {
            flex: 1;
        }
        
        .item-name {
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 0.25rem;
            font-size: 14px;
        }
        
        .item-qty {
            color: #64748b;
            font-size: 13px;
        }
        
        .item-price {
            font-weight: 700;
            color: #1e293b;
            font-size: 16px;
            white-space: nowrap;
        }
        
        .promo-code {
            padding: 1rem 0;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .promo-code-input {
            display: flex;
            gap: 0.5rem;
        }
        
        .promo-code-input input {
            flex: 1;
            padding: 0.625rem 0.875rem;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            font-size: 14px;
        }
        
        .promo-code-input button {
            padding: 0.625rem 1.25rem;
            background: #1e3a8a;
            color: white;
            border: none;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s;
            font-size: 14px;
        }
        
        .promo-code-input button:hover {
            background: #1e40af;
        }
        
        .order-totals {
            padding: 1.5rem 0;
        }
        
        .total-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
            font-size: 15px;
            color: #475569;
        }
        
        .total-row.grand-total {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 2px solid #e2e8f0;
            font-size: 18px;
            font-weight: 700;
            color: #1e293b;
        }
        
        .discount {
            color: #059669;
            font-weight: 600;
        }
        
        /* Express Checkout */
        .express-checkout {
            padding: 1.5rem 0;
            border-bottom: 1px solid #e2e8f0;
            margin-bottom: 1.5rem;
        }
        
        .express-checkout h3 {
            font-size: 14px;
            font-weight: 600;
            color: #64748b;
            text-align: center;
            margin-bottom: 1rem;
        }
        
        .express-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }
        
        .express-btn {
            padding: 0.875rem;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            background: white;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
            font-size: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .express-btn:hover {
            background: #f8fafc;
            border-color: #cbd5e1;
        }
        
        .express-btn i {
            font-size: 18px;
        }
        
        /* Pay Button */
        .pay-button {
            width: 100%;
            padding: 1.125rem;
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
        }
        
        .pay-button:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
        }
        
        .pay-button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }
        
        /* Trust Badges */
        .trust-badges {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-top: 1.5rem;
        }
        
        .trust-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 1rem 0.5rem;
            background: #f8fafc;
            border-radius: 6px;
            font-size: 12px;
            color: #64748b;
            font-weight: 500;
        }
        
        .trust-badge i {
            font-size: 24px;
            color: #1e3a8a;
            margin-bottom: 0.5rem;
        }
        
        /* Checkbox */
        .checkbox-group {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .checkbox-group input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
        }
        
        .checkbox-group label {
            font-size: 14px;
            color: #475569;
            cursor: pointer;
        }
        
        .checkbox-group label a {
            color: #1e3a8a;
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
        }
        
        .checkbox-group label a:hover {
            text-decoration: underline;
        }
        
        /* Security Notice */
        .security-notice {
            display: flex;
            gap: 0.75rem;
            padding: 1rem;
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            border-radius: 8px;
            font-size: 13px;
            color: #166534;
        }
        
        .security-notice i {
            color: #059669;
            font-size: 20px;
            flex-shrink: 0;
        }
        
        /* Success Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            animation: fadeIn 0.3s ease;
        }
        
        .modal-content {
            position: relative;
            background-color: white;
            margin: 10% auto;
            padding: 0;
            width: 90%;
            max-width: 500px;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            animation: slideIn 0.3s ease;
            overflow: hidden;
        }
        
        .modal-header {
            background: linear-gradient(135deg, #059669 0%, #10b981 100%);
            padding: 2rem;
            text-align: center;
            color: white;
        }
        
        .success-icon {
            width: 80px;
            height: 80px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            animation: scaleIn 0.5s ease;
        }
        
        .success-icon i {
            font-size: 40px;
            color: white;
        }
        
        .modal-header h2 {
            font-size: 28px;
            font-weight: 700;
            margin: 0 0 0.5rem 0;
        }
        
        .modal-header p {
            font-size: 16px;
            opacity: 0.95;
            margin: 0;
        }
        
        .modal-body {
            padding: 2rem;
            text-align: center;
        }
        
        .order-number {
            display: inline-block;
            background: #f0fdf4;
            color: #059669;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 700;
            font-size: 18px;
            margin: 1rem 0;
            border: 2px dashed #bbf7d0;
        }
        
        .redirect-message {
            color: #64748b;
            font-size: 14px;
            margin-top: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .redirect-message i {
            animation: spin 1s linear infinite;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideIn {
            from {
                transform: translateY(-50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }
        
        @keyframes scaleIn {
            0% {
                transform: scale(0);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }
        
        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        
        /* Document Modal (iframe) */
        .doc-modal {
            display: none;
            position: fixed;
            z-index: 1001;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.8);
        }
        
        .doc-modal-content {
            position: relative;
            background-color: white;
            margin: 2% auto;
            width: 90%;
            max-width: 900px;
            height: 90vh;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
        }
        
        .doc-modal-header {
            background: #1e3a8a;
            color: white;
            padding: 1rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .doc-modal-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
        }
        
        .doc-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
        
        .doc-close:hover {
            background: rgba(255, 255, 255, 0.3);
        }
        
        .doc-modal-body {
            height: calc(100% - 60px);
        }
        
        .doc-modal-body iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        /* Empty cart message */
        .empty-cart {
            text-align: center;
            padding: 4rem 2rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .empty-cart i {
            font-size: 64px;
            color: #cbd5e1;
            margin-bottom: 1rem;
        }
        
        .empty-cart h2 {
            font-size: 24px;
            color: #1e293b;
            margin-bottom: 0.5rem;
        }
        
        .empty-cart p {
            color: #64748b;
            margin-bottom: 2rem;
        }
        
        .empty-cart a {
            display: inline-block;
            padding: 0.875rem 2rem;
            background: #1e3a8a;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: background 0.2s;
        }
        
        .empty-cart a:hover {
            background: #1e40af;
        }
        
        /* Responsive */
        @media (max-width: 968px) {
            .checkout-grid {
                grid-template-columns: 1fr;
            }
            
            .order-summary {
                position: static;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .card-input-row {
                grid-template-columns: 1fr;
            }
            
            .express-buttons {
                grid-template-columns: 1fr;
            }
            
            .trust-badges {
                grid-template-columns: 1fr;
            }
        }

/* === CSS from order-confirmation.html (block 1) === */
/* Page specific styles */
        .confirmation-section {
            padding: 4rem 0;
            background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            min-height: calc(100vh - 200px);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }
        
        .success-header {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .success-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #059669 0%, #10b981 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            animation: scaleIn 0.6s ease;
            box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
        }
        
        @keyframes scaleIn {
            0% {
                transform: scale(0) rotate(-180deg);
            }
            50% {
                transform: scale(1.1) rotate(10deg);
            }
            100% {
                transform: scale(1) rotate(0deg);
            }
        }
        
        .success-icon i {
            font-size: 50px;
            color: white;
        }
        
        .success-header h1 {
            font-size: 36px;
            font-weight: 700;
            color: #1e293b;
            margin: 0 0 0.5rem 0;
        }
        
        .success-header p {
            font-size: 18px;
            color: #64748b;
            margin: 0;
        }
        
        .order-number-box {
            background: white;
            border: 2px solid #86efac;
            border-radius: 12px;
            padding: 1.5rem;
            text-align: center;
            margin-bottom: 3rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .order-number-label {
            font-size: 14px;
            color: #166534;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .order-number {
            font-size: 32px;
            font-weight: 700;
            color: #059669;
            font-family: 'Courier New', monospace;
        }
        
        .confirmation-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        .info-card {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .info-card h2 {
            font-size: 20px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .info-card h2 i {
            color: #1e3a8a;
            font-size: 22px;
        }
        
        .info-grid {
            display: grid;
            gap: 1rem;
        }
        
        .info-item {
            display: flex;
            flex-direction: column;
        }
        
        .info-label {
            font-size: 12px;
            color: #64748b;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 0.25rem;
            letter-spacing: 0.5px;
        }
        
        .info-value {
            font-size: 15px;
            color: #1e293b;
            font-weight: 500;
        }
        
        .order-items-card {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            margin-bottom: 2rem;
        }
        
        .order-items-card h2 {
            font-size: 20px;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }
        
        .order-items-card h2 i {
            color: #1e3a8a;
            font-size: 22px;
        }
        
        .order-item {
            display: flex;
            gap: 1rem;
            padding: 1rem 0;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .order-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        .order-item:first-child {
            padding-top: 0;
        }
        
        .item-image {
            width: 80px;
            height: 80px;
            background: #f8fafc;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            border: 1px solid #e2e8f0;
            overflow: hidden;
        }
        
        .item-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .item-image i {
            font-size: 40px;
            color: #1e3a8a;
        }
        
        .item-details {
            flex: 1;
        }
        
        .item-name {
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 0.25rem;
            font-size: 15px;
        }
        
        .item-qty {
            font-size: 13px;
            color: #64748b;
        }
        
        .item-price {
            font-weight: 700;
            color: #1e293b;
            font-size: 18px;
        }
        
        .order-summary {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 2px solid #e2e8f0;
        }
        
        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.75rem;
            font-size: 15px;
            color: #475569;
        }
        
        .summary-row.total {
            font-size: 22px;
            font-weight: 700;
            color: #1e293b;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 2px solid #e2e8f0;
        }
        
        .discount-text {
            color: #059669;
            font-weight: 600;
        }
        
        .action-buttons {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 2rem;
        }
        
        .btn {
            padding: 1rem;
            border-radius: 8px;
            font-size: 15px;
            font-weight: 600;
            text-align: center;
            text-decoration: none;
            transition: all 0.2s;
            cursor: pointer;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
            color: white;
            box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
        }
        
        .btn-secondary {
            background: white;
            color: #1e3a8a;
            border: 2px solid #1e3a8a;
        }
        
        .btn-secondary:hover {
            background: #f8fafc;
        }
        
        .email-notice {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            background: white;
            border: 2px solid #bfdbfe;
            border-radius: 12px;
            padding: 1.25rem;
            margin-bottom: 2rem;
            font-size: 14px;
            color: #1e40af;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .email-notice i {
            font-size: 24px;
            color: #2563eb;
            flex-shrink: 0;
        }
        
        .support-box {
            background: white;
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .support-box h3 {
            color: #1e293b;
            font-size: 18px;
            margin-bottom: 1rem;
        }
        
        .support-box p {
            color: #64748b;
            font-size: 14px;
            margin-bottom: 0.5rem;
        }
        
        .support-box a {
            color: #1e3a8a;
            text-decoration: none;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        
        .support-box a:hover {
            text-decoration: underline;
        }
        
        /* Error State */
        .error-state {
            text-align: center;
            padding: 4rem 2rem;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }
        
        .error-state i {
            font-size: 64px;
            color: #ef4444;
            margin-bottom: 1rem;
        }
        
        .error-state h2 {
            font-size: 24px;
            color: #1e293b;
            margin-bottom: 0.5rem;
        }
        
        .error-state p {
            color: #64748b;
            margin-bottom: 2rem;
        }
        
        @media (max-width: 968px) {
            .confirmation-grid {
                grid-template-columns: 1fr;
            }
            
            .action-buttons {
                grid-template-columns: 1fr;
            }
            
            .success-header h1 {
                font-size: 28px;
            }
            
            .order-number {
                font-size: 24px;
            }
        }

/* === CSS from shipping.html (block 1) === */
.page-header {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
            padding: 4rem 0 3rem;
            color: white;
            text-align: center;
        }
        .page-header h1 {
            font-size: 48px;
            margin-bottom: 1rem;
        }
        .page-header p {
            font-size: 20px;
            opacity: 0.9;
        }
        .content-section {
            padding: 4rem 0;
        }
        .shipping-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        .highlight-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            border-top: 4px solid #1e3a8a;
        }
        .highlight-icon {
            font-size: 48px;
            color: #1e3a8a;
            margin-bottom: 1rem;
        }
        .highlight-card h3 {
            font-size: 20px;
            margin-bottom: 0.5rem;
            color: #1e293b;
        }
        .highlight-card p {
            color: #64748b;
            line-height: 1.6;
        }
        .info-box {
            background: #f8fafc;
            padding: 2rem;
            border-radius: 12px;
            margin: 2rem 0;
            border-left: 4px solid #1e3a8a;
        }
        .info-box h3 {
            font-size: 24px;
            margin-bottom: 1rem;
            color: #1e293b;
        }
        .info-box p, .info-box ul {
            color: #64748b;
            line-height: 1.8;
        }
        .info-box ul {
            margin-left: 1.5rem;
            margin-top: 1rem;
        }
        .info-box ul li {
            margin-bottom: 0.5rem;
        }
        .timeline {
            position: relative;
            padding-left: 3rem;
            margin: 2rem 0;
        }
        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 2px;
            background: #e2e8f0;
        }
        .timeline-item {
            position: relative;
            margin-bottom: 2rem;
        }
        .timeline-item::before {
            content: '';
            position: absolute;
            left: -3.5rem;
            top: 0;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #1e3a8a;
            border: 4px solid white;
            box-shadow: 0 0 0 2px #1e3a8a;
        }
        .timeline-item h4 {
            font-size: 18px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 0.5rem;
        }
        .timeline-item p {
            color: #64748b;
        }
        .table-responsive {
            overflow-x: auto;
            margin: 2rem 0;
        }
        .shipping-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .shipping-table th {
            background: #1e3a8a;
            color: white;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
        }
        .shipping-table td {
            padding: 1rem;
            border-bottom: 1px solid #e2e8f0;
            color: #64748b;
        }
        .shipping-table tr:last-child td {
            border-bottom: none;
        }
        .shipping-table tr:hover {
            background: #f8fafc;
        }
        .alert-box {
            background: #fef3c7;
            border-left: 4px solid #f59e0b;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
        }
        .alert-box strong {
            color: #92400e;
            display: block;
            margin-bottom: 0.5rem;
        }
        .alert-box p {
            color: #78350f;
        }

/* === CSS from terms-of-service.html (block 1) === */
.page-content {
        .contact-box {
            background: #f0f7ff;
            padding: 2rem;
            border-radius: 12px;
            margin: 3rem 0;
            border-left: 4px solid #1e3a8a;
        }
        
        .contact-box h3 {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1rem;
        }
        
        .contact-box p {
            margin-bottom: 0.5rem;
        }
        
        .contact-box a {
            color: #1e3a8a;
            text-decoration: none;
        }
        
        .contact-box a:hover {
            text-decoration: underline;
        }
            padding: 4rem 0;
            background: #fff;
        }
        
        .content-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 2px solid #e2e8f0;
        }
        
        .content-header h1 {
            font-size: 42px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1rem;
        }
        
        .last-updated {
            color: #64748b;
            font-size: 14px;
            font-weight: 500;
        }
        
        .intro {
            background: #f0f7ff;
            padding: 2rem;
            border-radius: 12px;
            margin-bottom: 3rem;
            border-left: 4px solid #1e3a8a;
        }
        
        .intro p {
            font-size: 18px;
            line-height: 1.8;
            color: #1e293b;
        }
        
        .section {
            margin-bottom: 3rem;
        }
    <div class="page-content">
        
        .section h2 {
            font-size: 28px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .section-number {
            color: #1e3a8a;
            font-weight: 700;
        }
        
        .section h3 {
            font-size: 20px;
            font-weight: 600;
            color: #1e293b;
            margin: 2rem 0 1rem 0;
        }
        
        .section p {
            font-size: 16px;
            line-height: 1.8;
            color: #475569;
            margin-bottom: 1rem;
        }
        
        .section ul {
            list-style: none;
            padding-left: 0;
            margin: 1.5rem 0;
        }
        
        .section ul li {
            padding: 0.75rem 0;
            padding-left: 2rem;
            position: relative;
            line-height: 1.6;
            color: #475569;
        }
        
        .section ul li:before {
            content: "•";
            position: absolute;
            left: 0.5rem;
            color: #1e3a8a;
            font-weight: bold;
            font-size: 20px;
        }
        
        .section ul li strong {
            color: #1e293b;
        }
        
        @media (max-width: 768px) {
            .content-header h1 {
                font-size: 32px;
            }
            
            .section h2 {
                font-size: 24px;
            }
            
            .page-content {
        .contact-box {
            background: #f0f7ff;
            padding: 2rem;
            border-radius: 12px;
            margin: 3rem 0;
            border-left: 4px solid #1e3a8a;
        }
        
        .contact-box h3 {
            font-size: 24px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1rem;
        }
        
        .contact-box p {
            margin-bottom: 0.5rem;
        }
        
        .contact-box a {
            color: #1e3a8a;
            text-decoration: none;
        }
        
        .contact-box a:hover {
            text-decoration: underline;
        }
                padding: 2rem 0;
            }
        }

/* === CSS from about.html (block 1) === */
.page-header {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
            padding: 4rem 0 3rem;
            color: white;
            text-align: center;
        }
        .page-header h1 {
            font-size: 48px;
            margin-bottom: 1rem;
        }
        .page-header p {
            font-size: 20px;
            opacity: 0.9;
        }
        .content-section {
            padding: 4rem 0;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        .stat-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .stat-number {
            font-size: 48px;
            font-weight: 700;
            color: #1e3a8a;
            display: block;
            margin-bottom: 0.5rem;
        }
        .stat-label {
            color: #64748b;
            font-size: 16px;
        }
        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        .value-card {
            background: #f8fafc;
            padding: 2rem;
            border-radius: 12px;
            border-left: 4px solid #1e3a8a;
        }
        .value-icon {
            font-size: 40px;
            color: #1e3a8a;
            margin-bottom: 1rem;
        }
        .value-card h3 {
            font-size: 24px;
            margin-bottom: 1rem;
            color: #1e293b;
        }
        .value-card p {
            color: #64748b;
            line-height: 1.6;
        }
        .team-section {
            background: #f8fafc;
            padding: 4rem 0;
        }
        .mission-box {
            background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
            padding: 3rem;
            border-radius: 16px;
            margin: 3rem 0;
            border: 2px solid #3b82f6;
        }
        .mission-box h2 {
            color: #1e3a8a;
            font-size: 32px;
            margin-bottom: 1rem;
        }
        .mission-box p {
            font-size: 18px;
            line-height: 1.8;
            color: #1e293b;
        }

/* === CSS from contact.html (block 1) === */
.page-header {
            background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
            padding: 4rem 0 3rem;
            color: white;
            text-align: center;
        }
        .page-header h1 {
            font-size: 48px;
            margin-bottom: 1rem;
        }
        .page-header p {
            font-size: 20px;
            opacity: 0.9;
        }
        .contact-section {
            padding: 4rem 0;
        }
        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin-top: 3rem;
        }
        .contact-form {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .form-group {
            margin-bottom: 1.5rem;
        }
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #1e293b;
        }
        .form-group input,
        .form-group textarea,
        .form-group select {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        .form-group input:focus,
        .form-group textarea:focus,
        .form-group select:focus {
            outline: none;
            border-color: #1e3a8a;
        }
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        .contact-info-card {
            background: #f8fafc;
            padding: 2rem;
            border-radius: 12px;
            margin-bottom: 1.5rem;
            border-left: 4px solid #1e3a8a;
        }
        .contact-info-card h3 {
            font-size: 20px;
            margin-bottom: 1rem;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .contact-info-card p {
            color: #64748b;
            line-height: 1.8;
            margin-bottom: 0.5rem;
        }
        .contact-info-card a {
            color: #1e3a8a;
            text-decoration: none;
            font-weight: 600;
        }
        .contact-info-card a:hover {
            text-decoration: underline;
        }
        .hours-table {
            width: 100%;
            margin-top: 1rem;
        }
        .hours-table td {
            padding: 0.5rem 0;
            border-bottom: 1px solid #e2e8f0;
        }
        .hours-table td:first-child {
            font-weight: 600;
            color: #1e293b;
        }
        .hours-table td:last-child {
            text-align: right;
            color: #64748b;
        }
        .faq-section {
            background: #f8fafc;
            padding: 4rem 0;
        }
        .faq-item {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            margin-bottom: 1rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        }
        .faq-question {
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 0.5rem;
            font-size: 18px;
        }
        .faq-answer {
            color: #64748b;
            line-height: 1.6;
        }
        @media (max-width: 768px) {
            .contact-grid {
                grid-template-columns: 1fr;
            }
        }

/* === CSS from privacy-policy.html (block 1) === */
.page-content {
            padding: 4rem 0;
            background: #fff;
        }
        
        .content-header {
            text-align: center;
            margin-bottom: 3rem;
            padding-bottom: 2rem;
            border-bottom: 2px solid #e2e8f0;
        }
        
        .content-header h1 {
            font-size: 42px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1rem;
        }
        
        .last-updated {
            color: #64748b;
            font-size: 14px;
            font-weight: 500;
        }
        
        .intro {
            background: #f0f7ff;
            padding: 2rem;
            border-radius: 12px;
            margin-bottom: 3rem;
            border-left: 4px solid #1e3a8a;
        }
        
        .intro p {
            font-size: 18px;
            line-height: 1.8;
            color: #1e293b;
        }
        
        .section {
            margin-bottom: 3rem;
        }
        
        .section h2 {
            font-size: 28px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .section-number {
            color: #1e3a8a;
            font-weight: 700;
        }
        
        .section h3 {
            font-size: 20px;
            font-weight: 600;
            color: #1e293b;
            margin: 2rem 0 1rem 0;
        }
        
        .section p {
            font-size: 16px;
            line-height: 1.8;
            color: #475569;
            margin-bottom: 1rem;
        }
        
        .section ul {
            list-style: none;
            padding-left: 0;
            margin: 1.5rem 0;
        }
        
        .section ul li {
            padding: 0.75rem 0;
            padding-left: 2rem;
            position: relative;
            line-height: 1.6;
            color: #475569;
        }
        
        .section ul li:before {
            content: "•";
            position: absolute;
            left: 0.5rem;
            color: #1e3a8a;
            font-weight: bold;
            font-size: 20px;
        }
        
        .section ul li strong {
            color: #1e293b;
        }
        
        @media (max-width: 768px) {
            .content-header h1 {
                font-size: 32px;
            }
            
            .section h2 {
                font-size: 24px;
            }
            
            .page-content {
                padding: 2rem 0;
            }
        }

/* === CSS from returns.html (block 1) === */
.page-header {
            background: linear-gradient(135deg, #059669 0%, #047857 100%);
            padding: 4rem 0 3rem;
            color: white;
            text-align: center;
        }
        .page-header h1 {
            font-size: 48px;
            margin-bottom: 1rem;
        }
        .page-header p {
            font-size: 20px;
            opacity: 0.9;
        }
        .content-section {
            padding: 4rem 0;
        }
        .guarantee-box {
            background: linear-gradient(135deg, #d1fae5 0%, #f0fdf4 100%);
            padding: 3rem;
            border-radius: 16px;
            text-align: center;
            margin: 3rem 0;
            border: 3px solid #059669;
        }
        .guarantee-badge {
            font-size: 72px;
            color: #059669;
            margin-bottom: 1rem;
        }
        .guarantee-box h2 {
            font-size: 36px;
            color: #047857;
            margin-bottom: 1rem;
        }
        .guarantee-box p {
            font-size: 20px;
            color: #065f46;
            line-height: 1.6;
        }
        .steps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }
        .step-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            position: relative;
        }
        .step-number {
            position: absolute;
            top: -15px;
            left: 50%;
            transform: translateX(-50%);
            background: #1e3a8a;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 20px;
        }
        .step-card h3 {
            margin-top: 1rem;
            font-size: 20px;
            color: #1e293b;
            margin-bottom: 0.5rem;
        }
        .step-card p {
            color: #64748b;
            line-height: 1.6;
        }
        .info-box {
            background: #f8fafc;
            padding: 2rem;
            border-radius: 12px;
            margin: 2rem 0;
            border-left: 4px solid #1e3a8a;
        }
        .info-box h3 {
            font-size: 24px;
            margin-bottom: 1rem;
            color: #1e293b;
        }
        .info-box p, .info-box ul {
            color: #64748b;
            line-height: 1.8;
        }
        .info-box ul {
            margin-left: 1.5rem;
            margin-top: 1rem;
        }
        .info-box ul li {
            margin-bottom: 0.5rem;
        }
        .yes-no-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin: 2rem 0;
        }
        .condition-card {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        .condition-card.yes {
            border-top: 4px solid #059669;
        }
        .condition-card.no {
            border-top: 4px solid #dc2626;
        }
        .condition-card h4 {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 20px;
            margin-bottom: 1rem;
        }
        .condition-card.yes h4 {
            color: #059669;
        }
        .condition-card.no h4 {
            color: #dc2626;
        }
        .condition-card ul {
            list-style: none;
            padding: 0;
        }
        .condition-card ul li {
            padding: 0.5rem 0;
            color: #64748b;
            display: flex;
            align-items: start;
            gap: 0.5rem;
        }
        .condition-card.yes ul li::before {
            content: '✓';
            color: #059669;
            font-weight: 700;
            font-size: 18px;
        }
        .condition-card.no ul li::before {
            content: '✗';
            color: #dc2626;
            font-weight: 700;
            font-size: 18px;
        }
        .alert-box {
            background: #dbeafe;
            border-left: 4px solid #1e3a8a;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
        }
        .alert-box strong {
            color: #1e3a8a;
            display: block;
            margin-bottom: 0.5rem;
        }
        .alert-box p {
            color: #1e40af;
        }
        @media (max-width: 768px) {
            .yes-no-grid {
                grid-template-columns: 1fr;
            }
        }