/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff5900;
    --primary-dark: #cc4700;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    margin: 0; /* remove default browser margin so hero blocks touch the viewport edges */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header - Clean & Simple */
/* Old header styles - commented out in favor of header-modern.css */
/* .header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    gap: 2rem;
} */

/* Old logo styles - commented out in favor of header-modern.css */
/* .logo {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex-shrink: 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.logo .site-logo {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.logo .logo-link {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    text-decoration: none;
    color: inherit;
}

.logo .logo-link:hover {
    opacity: 0.85;
}

.tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 500;
} */

/* Old navigation styles - commented out in favor of header-modern.css */
/* .nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-container {
    display: contents;
}

.mobile-menu-header {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.08);
}

.nav-links a.active {
    color: white;
    background: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
} */

/* Old currency switcher and cart styles - commented out in favor of header-modern.css */
/* .currency-switcher {
    position: relative;
}

.currency-toggle {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    transition: all 0.2s;
}

.currency-toggle:hover {
    background: #f9fafb;
    border-color: #ff5900;
}

.currency-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    width: 180px;
    display: none;
    z-index: 1000;
}

.currency-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background 0.15s;
}

.currency-option:last-child {
    border-bottom: none;
}

.currency-option:hover {
    background: #f8fafc;
}

.currency-option.active {
    background: #fff7ed;
    font-weight: 600;
    color: #ff5900;
}

.currency-option svg {
    width: 14px;
    height: 14px;
    color: #ff5900;
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
} */

/* Old header search styles - commented out in favor of header-modern.css */
/* .header-search {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.header-search input[type="search"] {
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    outline: none;
    width: 200px;
}

.header-search input[type="search"]:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.header-search .btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
} */

/* Mobile Menu Toggle - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 6px;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-close {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .header-content {
        padding: 0.875rem 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }

    .nav.mobile-menu-open {
        display: block;
    }

    .nav-container {
        position: absolute;
        right: 0;
        top: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: white;
        padding: 1.5rem;
        overflow-y: auto;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-close {
        display: block;
        background: none;
        border: 1px solid var(--border-color);
        padding: 0.5rem;
        cursor: pointer;
        border-radius: 6px;
    }

    .header-search {
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .header-search input[type="search"] {
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .nav-links a {
        padding: 0.875rem 1rem;
        font-size: 1rem;
        display: block;
        width: 100%;
    }

    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .header-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cart-link {
        text-align: center;
    }
}

/* Mobile-First Container Improvements */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .section-header {
        text-align: center;
        padding: 2rem 0 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .section-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-outline {
    border-color: var(--border-color);
    color: var(--text-dark);
    background: transparent;
}

.btn-outline:hover {
    background: var(--bg-light);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: #ff5900;
}

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

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.highlight {
    background: #ff5900, var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.price-item {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
}

.amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-divider {
    font-size: 2rem;
    color: var(--border-color);
}

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

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.badge-item svg {
    color: var(--secondary-color);
}

.hero-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
}

/* Stats Section */
.stats {
    padding: 3rem 0;
    background: var(--bg-white);
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Featured Products Section */
.featured-products {
    padding: 5rem 0;
    background: var(--bg-light);
}

.featured-products .section-header {
    position: relative;
    margin-bottom: 3rem;
}

.view-all-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.view-all-link:hover {
    color: var(--primary-dark);
    transform: translateY(-50%) translateX(4px);
}

/* Modern Compact Product Cards */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.product-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
}

.product-image {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f8fafc;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: #ff5900;
    color: white;
    padding: 0.25rem 0.625rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    z-index: 10;
}

.product-badge.featured {
    background: #ff5900;
}

.product-badge.new {
    background: #ff5900;
}

.product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-category {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: -0.25rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.product-title a:hover {
    color: #ff5900;
}

.product-description {
    display: none;
}

.product-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
    align-items: center;
}

.stock-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.stock-badge.in-stock {
    background: #dcfce7;
    color: #166534;
}

.stock-badge.low-stock {
    background: #fef3c7;
    color: #92400e;
}

.stock-badge.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.product-pricing {
    margin-top: auto;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.price-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.025em;
}

.price .currency {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-right: 0.25rem;
}

.price-secondary {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: line-through;
}

.price-secondary .currency {
    font-size: 0.75rem;
}

.product-actions {
    display: flex;
    gap: 0.5rem;
}

.product-actions .btn {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    border: none;
    letter-spacing: 0.025em;
}

.product-actions .btn-primary {
    background: #ff5900;
    color: white;
    box-shadow: 0 2px 4px rgba(255, 89, 0, 0.2);
}

.product-actions .btn-primary:hover {
    background: #ff5900;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 89, 0, 0.35);
}

.product-actions .btn-outline {
    background: white;
    border: 2px solid #e2e8f0;
    color: #64748b;
}

.product-actions .btn-outline:hover {
    border-color: #ff5900;
    color: #ff5900;
    background: #f1f5f9;
    transform: translateY(-1px);
}

/* Modern Product Cards - Mobile First Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .product-card {
        border-radius: 12px;
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 1rem;
        gap: 0.5rem;
    }

    .product-category {
        font-size: 0.7rem;
        margin-bottom: 0.25rem;
    }

    .product-title {
        font-size: 1rem;
        line-height: 1.2;
    }

    .product-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .product-meta {
        gap: 0.5rem;
        font-size: 0.75rem;
        margin-top: 0.5rem;
    }

    .stock-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }

    .product-pricing {
        padding: 0.875rem 1rem;
    }

    .price-row {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }

    .price {
        font-size: 1.25rem;
    }

    .price-secondary {
        font-size: 1rem;
        margin-left: 0;
    }

    .product-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .product-actions .btn {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
        min-height: 44px; /* Better touch targets */
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0 0.75rem;
    }

    .product-card {
        border-radius: 10px;
        box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 0.875rem;
        gap: 0.375rem;
    }

    .product-category {
        font-size: 0.65rem;
        margin-bottom: 0.125rem;
    }

    .product-title {
        font-size: 0.95rem;
        line-height: 1.2;
    }

    .product-description {
        font-size: 0.75rem;
        line-height: 1.3;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .product-meta {
        gap: 0.375rem;
        font-size: 0.7rem;
        flex-wrap: wrap;
    }

    .stock-badge {
        font-size: 0.6rem;
        padding: 0.15rem 0.35rem;
    }

    .product-pricing {
        padding: 0.75rem 0.875rem;
    }

    .price {
        font-size: 1.125rem;
    }

    .price-secondary {
        font-size: 0.9rem;
    }

    .product-actions .btn {
        padding: 1rem;
        font-size: 0.875rem;
        min-height: 48px; /* Even better touch targets */
        border-radius: 8px;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .products-grid {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-image {
        height: 160px;
    }

    .product-info {
        padding: 0.75rem;
    }

    .product-title {
        font-size: 0.9rem;
    }

    .product-description {
        display: none; /* Hide on very small screens */
    }

    .product-pricing {
        padding: 0.625rem 0.75rem;
    }

    .price {
        font-size: 1rem;
    }

    .price-secondary {
        font-size: 0.8rem;
    }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.25rem;
    }

    .product-card {
        max-width: none;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 1.125rem;
    }

    .product-pricing {
        padding: 1rem 1.125rem;
    }
}

@media (max-width: 768px) {
    .view-all-link {
        position: static;
        display: block;
        text-align: center;
        margin-top: 1rem;
        transform: none;
    }

    .view-all-link:hover {
        transform: none;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: #ff5900;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Specifications Section */
.specifications {
    padding: 5rem 0;
    background: var(--bg-white);
}

.spec-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.specs-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.spec-category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: white;
    color: var(--text-light);
    border-radius: 2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

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

.spec-category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.specs-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .specs-content {
        grid-template-columns: 1fr 2fr;
    }
}

.specs-visual {
    position: sticky;
    top: 6rem;
}

.specs-image {
    margin-bottom: 2rem;
}

.specs-image img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.specs-image img:hover {
    transform: scale(1.02);
}

.spec-highlights {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    width: 100%;
    align-items: stretch;
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .spec-highlights {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.highlight-item {
    height: 100%;
}

@media (min-width: 1024px) {
    .specs-visual {
        grid-row: 1 / span 2;
    }

    .spec-highlights {
        grid-column: 2 / 3;
        grid-row: 1;
    }

    .specs-tables {
        grid-column: 2 / 3;
        grid-row: 2;
    }
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon svg {
    color: white;
}

.highlight-content h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.highlight-content p {
    font-size: 0.75rem;
    color: var(--text-light);
}

.specs-tables {
    position: relative;
}

.spec-category {
    display: none;
}

.spec-category.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.specs-table {
    overflow-x: auto;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-width: 600px;
}

.specs-table thead th {
    background: #ff5900, var(--primary-dark));
    color: white;
    padding: 1.25rem;
    font-weight: 700;
    text-align: left;
    font-size: 0.875rem;
}

.specs-table tbody tr:hover {
    background: var(--bg-light);
}

.specs-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
}

.specs-table td:nth-child(2) {
    color: var(--primary-color);
    font-weight: 600;
    width: 35%;
}

.specs-table td:last-child {
    color: var(--text-light);
    font-size: 0.875rem;
    width: 35%;
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* Material Compatibility */
.material-compatibility {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    margin-top: 3rem;
}

.material-compatibility h3 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.materials-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .materials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .materials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.material-item {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.material-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.material-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.material-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.material-item p {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Applications Section */
.applications {
    padding: 5rem 0;
    background: var(--bg-light);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.application-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.application-number {
    position: absolute;
    top: -1rem;
    right: -1rem;
    font-size: 6rem;
    font-weight: 800;
    color: var(--bg-light);
    opacity: 0.5;
}

.application-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.application-description {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ff5900 0%, #e04e00 100%);
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-price {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.price-label {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.price-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

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

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

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

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--bg-light);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    color: var(--primary-color);
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9375rem;
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Mobile Form Optimizations */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.5rem;
        border-radius: 0.75rem;
        margin: 1rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.375rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 1rem 0.875rem;
        font-size: 1rem;
        border-radius: 0.625rem;
        min-height: 48px;
        -webkit-appearance: none;
        appearance: none;
    }

    .form-group textarea {
        min-height: 120px;
        resize: vertical;
    }

    .form-group input[type="submit"],
    .form-group button {
        background: var(--primary-color);
        color: white;
        border: none;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
        min-height: 52px;
        font-size: 1rem;
    }

    .form-group input[type="submit"]:hover,
    .form-group button:hover {
        background: var(--primary-dark);
        transform: translateY(-1px);
    }

    .form-group input[type="submit"]:active,
    .form-group button:active {
        transform: translateY(0);
    }
}

/* Touch-Friendly Improvements */
@media (max-width: 768px) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }

    /* Better spacing for touch */
    .product-actions {
        gap: 0.75rem;
        margin-top: 1rem;
    }

    /* Improved readability */
    body {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* Better link spacing */
    .nav a {
        margin: 0.25rem;
        padding: 0.75rem 1rem;
    }
}

/* Accessibility and Mobile UX Improvements */
@media (max-width: 768px) {
    /* Focus indicators for better accessibility */
    .btn:focus,
    .nav a:focus,
    .product-title a:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }

    /* Improved contrast for better readability */
    .product-category {
        color: #ff5900;
        font-weight: 600;
    }

    /* Better spacing for mobile reading */
    .product-description {
        line-height: 1.5;
        color: #374151;
    }

    /* Improved button states */
    .btn:active {
        transform: scale(0.98);
    }

    /* Better mobile scroll behavior */
    html {
        scroll-behavior: smooth;
    }

    /* Prevent text size adjustment on orientation change */
    html {
        -webkit-text-size-adjust: 100%;
    }

    /* Improved mobile scrolling */
    body {
        -webkit-overflow-scrolling: touch;
    }

    /* Better mobile menu interaction */
    .nav a {
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    }
}

/* Loading Animation for Mobile */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-placeholder {
    background: #ff5900;
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@media (max-width: 768px) {
    .loading-placeholder {
        border-radius: 8px;
        height: 20px;
        margin: 0.5rem 0;
    }
}

/* Unified Checkout Progress Indicator */
.checkout-progress {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin: 2rem 0 3rem;
    padding: 0;
    list-style: none;
}

.checkout-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0.75rem;
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.checkout-progress .step:hover {
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.checkout-progress .step.active {
    background: #ff5900;
    border-color: #ff5900;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.checkout-progress .step.completed {
    background: #10b981;
    border-color: #10b981;
}

.step-marker {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 1.125rem;
    background: #f1f5f9;
    color: #64748b;
    transition: all 0.3s ease;
}

.step.active .step-marker,
.step.completed .step-marker {
    background: white;
    color: #ff5900;
}

.step.completed .step-marker {
    color: #10b981;
}

.step-number {
    display: block;
}

.step.completed .step-number {
    display: none;
}

.step-icon {
    display: none;
}

.step.completed .step-icon {
    display: block;
    font-size: 1.5rem;
}

.step-labels {
    text-align: center;
    width: 100%;
}

.step-title {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.step.active .step-title,
.step.completed .step-title {
    color: white;
}

.step-caption {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.3;
}

.step.active .step-caption,
.step.completed .step-caption {
    color: rgba(255, 255, 255, 0.85);
}

/* Checkout Progress Responsive */
@media (max-width: 1024px) {
    .checkout-progress {
        grid-template-columns: repeat(3, 1fr);
    }

    .checkout-progress .step:nth-child(4),
    .checkout-progress .step:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .checkout-progress {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .checkout-progress .step {
        padding: 1rem;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .step-labels {
        text-align: left;
    }
}

/* Footer - Modern Desktop Design */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 5rem 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff5900, #8b5cf6, #ec4899);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-col {
    min-width: 0;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
}

.footer-col h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    background: linear-gradient(90deg, #ff5900, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: capitalize;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, #ff5900 0%, #ff5900 100%);
    border-radius: 2px;
}

.footer-col p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.footer-col ul {
    list-style: none;
    font-size: 0.95rem;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.footer-col ul li:hover {
    transform: translateX(5px);
}

.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col a:hover {
    color: #60a5fa;
    text-decoration: none;
}

.footer-col ul li a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    font-weight: 700;
}

.footer-col ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a::before {
    display: none !important;
}

.footer-social a:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    border-color: transparent;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    margin-top: 3rem;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a::before {
    display: none !important;
}

.footer-bottom-links a:hover {
    color: #60a5fa;
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    margin-bottom: 1.25rem;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateY(-2px);
}

.footer-contact-item:hover .footer-contact-icon {
    transform: scale(1.1);
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    flex-shrink: 0;
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    margin-bottom: 0.5rem;
}

.footer-contact-item:hover .footer-contact-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.footer-contact-icon svg {
    width: 18px;
    height: 18px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-contact-item a:hover {
    color: #60a5fa;
    text-decoration: none;
    transform: translateX(2px);
}

.footer-contact-item a::before {
    display: none !important;
}

.footer-contact-item div {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.footer-contact-item div > div {
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 0.375rem;
}

.footer-contact-item div > div:last-child {
    margin-bottom: 0;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.9375rem;
}

.footer-contact-item .footer-contact-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.375rem;
    display: block;
}

.footer-hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 1rem;
}

.footer-hours-item:last-child {
    border-bottom: none;
}

.footer-hours-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-hours-item strong {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
}

/* Shopping Cart */
.cart-toggle {
    position: relative;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-toggle:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Mobile menu open state */
.nav.mobile-menu-open {
    display: flex !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: white;
    padding: 0.75rem 1rem 1.25rem;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(226,232,240,0.9);
    z-index: 90;
}

.mobile-menu-button {
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    cursor: pointer;
}

/* Mobile Footer Responsive Overrides */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col h3,
    .footer-col h4 {
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .footer-col p,
    .footer-col ul {
        font-size: 0.875rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.cart-count {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    min-width: 1.25rem;
    text-align: center;
}

.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
}

.cart-modal.active {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cart-content {
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-light);
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.cart-close:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-light);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.cart-item-price {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.quantity-btn {
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.quantity-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.quantity-input {
    width: 2.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    padding: 0.25rem;
    font-size: 0.75rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.remove-item:hover {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

.cart-empty p {
    margin: 1rem 0 2rem;
    font-size: 1.125rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.cart-total {
    margin-bottom: 1.5rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.total-main {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-actions {
    display: flex;
    gap: 0.75rem;
}

.cart-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Enhanced Mobile Hero Section */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }

    .hero-price {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        align-items: center;
    }

    .price-divider {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
        width: 100%;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        min-height: 48px;
    }

    .hero-image {
        margin-top: 1rem;
        order: -1;
    }

    .hero-image img {
        max-height: 250px;
        width: auto;
    }
}

/* Small Mobile Optimizations */
@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    .hero-cta .btn {
        max-width: 100%;
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
        min-height: 52px;
    }

    .hero-image img {
        max-height: 200px;
    }
}

/* Responsive Typography and Spacing */
@media (max-width: 640px) {
    .section-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .cta-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }
    
    .cta-description {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    .price-amount {
        font-size: 2rem !important;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
    
    .cta-price {
        padding: 1.5rem !important;
    }
    
    .cart-content {
        width: 100vw;
        max-height: 80vh;
    }
    
    .nav .cart-toggle {
        padding: 0.5rem;
        min-height: 36px;
        min-width: 36px;
    }
}

/* ========================================
   Upsell & Related Products Sections
   ======================================== */

.upsell-products,
.accessory-products,
.related-products {
    margin: 4rem 0;
    padding: 2rem 0;
}

.upsell-products {
    background: #ff5900;
    border-radius: 16px;
    padding: 3rem 2rem;
}

.accessory-products {
    background: #ff5900;
    border-radius: 16px;
    padding: 3rem 2rem;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 400;
}

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

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

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

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
}

.upgrade-badge {
    background: #ff5900;
}

.accessory-badge {
    background: #ff5900;
}

.featured-badge {
    background: #ff5900;
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--bg-light);
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff5900;
}

.product-info {
    padding: 1.25rem;
}

.product-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.product-sku {
    background: var(--bg-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: monospace;
}

.product-category {
    background: #ffedd5;
    color: #cc4700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.product-name a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.product-name a:hover {
    color: var(--primary-color);
}

.product-description {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0.75rem 0;
    line-height: 1.5;
}

.product-price {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-kes {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-tzs {
    font-size: 0.875rem;
    color: var(--text-light);
}

.price-difference {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fef3c7;
    border-radius: 6px;
}

.price-difference small {
    color: #92400e;
    font-weight: 500;
    font-size: 0.875rem;
}

.stock-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0.75rem 0;
    text-transform: uppercase;
}

.stock-badge.in-stock {
    background: #d1fae5;
    color: #065f46;
}

.stock-badge.low-stock {
    background: #fed7aa;
    color: #92400e;
}

.stock-badge.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.product-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.875rem;
    padding: 0.625rem 1rem;
}

.btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
}

/* Upsell-specific cards */
.upsell-card {
    border: 2px solid #ff5900;
}

.upsell-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.2);
}

/* Accessory-specific cards */
.accessory-card {
    border: 2px solid #f59e0b;
}

.accessory-card:hover {
    border-color: #d97706;
    box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .upsell-products,
    .accessory-products {
        padding: 2rem 1rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .product-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    
    .product-price {
        flex-direction: row;
        align-items: baseline;
        gap: 0.75rem;
    }
    
    .price-kes {
        font-size: 1.25rem;
    }
}

/* Alibaba Import Status & Image Preview */
.ai-badge, .image-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.ai-badge {
    background: #ff5900;
    color: white;
}

.image-badge {
    background: #ff5900;
    color: white;
}

.imported-images-preview {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.imported-images-preview h4 {
    margin: 0 0 1rem 0;
    color: #334155;
    font-size: 1rem;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.image-preview-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.image-preview-item:hover {
    transform: scale(1.05);
}

.image-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.image-preview-item .image-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    text-align: center;
}

.import-status.loading .spinner-inline {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #cbd5e1;
    border-top-color: #ff5900;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.import-status.success {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.import-status.error {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.status-icon {
    font-size: 1.2rem;
    margin-right: 0.25rem;
}

/* Large Screen Optimizations */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

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

    .hero-content {
        gap: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

/* Performance Optimizations */
.product-image img,
.hero-image img,
.feature-icon img {
    will-change: transform;
}

.product-card:hover .product-image img,
.hero-image:hover img {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Utility Classes for Production */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }

.w-full { width: 100%; }
.h-auto { height: auto; }

/* Print Styles */
@media print {
    .header, .footer, .btn, .no-print {
        display: none !important;
    }
    
    .container {
        max-width: none;
        margin: 0;
        padding: 0;
    }
    
    .product-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Conversion Optimization Styles */

/* Trust Signals */
.trust-signals-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: #ff5900;
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #166534;
}

.trust-item.urgency {
    color: #991b1b;
    animation: pulse-urgency 2s ease-in-out infinite;
}

@keyframes pulse-urgency {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* CTA Button Pulse Effect */
.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-pulse:hover::before {
    width: 300px;
    height: 300px;
}

.btn-pulse {
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 15px -3px rgb(37 99 235 / 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 20px 25px -5px rgb(37 99 235 / 0.4);
    }
}

/* Social Proof Banner */
.social-proof-banner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 1.5rem;
    background: #ff5900;
    border-radius: 0.75rem;
    margin-bottom: 2rem;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.proof-item strong {
    color: var(--primary-color);
    font-weight: 700;
}

.time-ago {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

@media (max-width: 768px) {
    .social-proof-banner {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #ff5900;
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card.featured {
    border: 2px solid #fbbf24;
    box-shadow: var(--shadow-xl);
}

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

.featured-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: #ff5900;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ff5900 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

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

.author-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

.testimonial-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: #ff5900;
    border-radius: 1rem;
}

.testimonial-cta .cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Urgency Indicators */
.urgency-timer {
    background: #ff5900;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid #ef4444;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
}

.urgency-timer svg {
    flex-shrink: 0;
}

.urgency-text {
    font-weight: 600;
    color: #991b1b;
}

.countdown {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc2626;
    font-variant-numeric: tabular-nums;
}

/* Mobile Responsive Fixes for CTA Section */
@media (max-width: 768px) {
    .cta {
        padding: 3rem 0;
    }
    
    /* Exclusive Offer Badge */
    .cta span[style*="inline-block"] {
        font-size: 0.75rem !important;
        padding: 0.5rem 1rem !important;
        white-space: normal !important;
    }
    
    /* Value Points Grid */
    .cta div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Bonus Box */
    .cta div[style*="pulse-glow"] {
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .cta div[style*="pulse-glow"] div {
        font-size: 0.9rem !important;
    }
    
    /* CTA Buttons Container */
    .cta-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 0 1rem;
    }
    
    .cta-buttons a {
        width: 100% !important;
        justify-content: center;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-signals-compact {
        grid-template-columns: 1fr;
    }
}


