:root {
    --primary: #081c54;
    --primary-dark: #1291c1;
    --secondary: #3190b3;
    --accent: #f4a261;
    --dark: #1d3557;
    --light: #f1faee;
    --text-dark: #2d3748;
    --text-light: #718096;
    --border: #e2e8f0;
    --success: #38a169;
    --warning: #ecc94b;
    --danger: #e53e3e;
    --ad-bg: #fff3cd;
    --ad-border: #ffeaa7;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    font-size: 14px;
    /* Base font size for mobile */
}

body {
    background-color: #f8f9fa;
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-text-size-adjust: 100%;
    /* Prevent zoom on iOS */
}

.container {
    max-width: 95%;
    margin: 0 auto;
    /* padding: 0 12px; */
    width: 100%;
}

/* Header Styles - Mobile First */
.header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    flex-shrink: 0;
    min-width: fit-content;
}

.logo-icon {
    font-size: 24px;
    margin-right: 6px;
    font-weight: 800;
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

/* Search Container - Improved Mobile Responsiveness */
.search-container {
    flex: 1;
    min-width: 0;
    /* Allow shrinking */
    margin: 0 8px;
    /* Default order for tablet/desktop */
}

.search-box {
    display: flex;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 0;
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    min-width: 0;
    width: 100%;
}

.search-input::placeholder {
    color: #a0aec0;
    font-size: 14px;
}

.search-button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 0 16px;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 50px;
    /* Better touch target */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-button:hover {
    background: #238276;
}

.search-button i {
    font-size: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    color: white;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 6px;
    min-width: 50px;
    /* Better touch target */
    min-height: 44px;
    justify-content: center;
    position: relative;
}

.action-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.action-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

.action-text {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.cart-count {
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 2px;
    right: 2px;
    font-weight: 700;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-top {
        gap: 8px;
        padding: 8px 0;
    }

    .logo {
        flex: 1;
        min-width: auto;
    }

    .logo-icon {
        font-size: 22px;
    }

    .logo-text {
        font-size: 16px;
    }

    .search-container {
        order: 3;
        /* Move search to bottom on mobile */
        margin: 8px 0 0;
        width: 100%;
        flex: 0 0 100%;
    }

    .search-box {
        border-radius: 10px;
    }

    .search-input {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    .search-input::placeholder {
        font-size: 16px;
    }

    .search-button {
        padding: 0 20px;
        min-width: 60px;
    }

    .header-actions {
        gap: 4px;
    }

    .action-item {
        min-width: 44px;
        padding: 4px 6px;
    }

    .action-text {
        font-size: 10px;
    }

    .action-icon {
        font-size: 14px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .logo-text {
        font-size: 14px;
    }

    .logo-icon {
        font-size: 20px;
        margin-right: 4px;
    }

    .header-actions {
        gap: 2px;
    }

    .action-item {
        min-width: 40px;
        padding: 4px;
    }

    .action-text {
        font-size: 9px;
    }

    .search-input {
        padding: 12px 14px;
    }

    .search-button {
        padding: 0 16px;
        min-width: 50px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .search-container {
        margin: 0 12px;
    }

    .search-input {
        padding: 11px 14px;
        font-size: 15px;
    }

    .search-button {
        padding: 0 18px;
    }
}

/* Desktop Styles */
@media (min-width: 1025px) {
    .search-container {
        max-width: 500px;
        margin: 0 20px;
    }
}

/* Navigation - Improved for mobile */
.nav-container {
    background: white;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

.nav-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar */
}

.nav-menu {
    display: flex;
    list-style: none;
    padding: 8px 0;
    min-width: max-content;
    /* Allow horizontal scrolling */
}

.nav-item {
    margin-right: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    color: var(--text-dark);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 6px;
    min-height: 40px;
    /* Better touch target */
    flex-shrink: 0;
}

.nav-item:hover {
    color: var(--primary);
    background-color: rgba(23, 71, 207, 0.05);
}

.nav-item.active {
    color: var(--primary);
    background-color: rgba(23, 71, 207, 0.1);
}

.nav-item i {
    margin-right: 6px;
    color: var(--secondary);
    font-size: 13px;
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 8px;
    }

    .nav-menu {
        padding: 6px 0;
    }

    .nav-item {
        font-size: 12px;
        padding: 6px 10px;
        margin-right: 6px;
        min-height: 36px;
    }

    .nav-item i {
        font-size: 12px;
        margin-right: 4px;
    }
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-light);
}

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

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Detail Section - Mobile First */
.product-detail {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.thumbnail.active {
    border-color: var(--primary);
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product-badge.hot {
    background: linear-gradient(135deg, #ff3b30, #ff6b6b);
}

.product-badge.new {
    background: linear-gradient(135deg, var(--secondary), #2cd4b0);
}

.product-info {
    padding: 0;
}

.product-category {
    color: var(--text-light);
    font-size: 12px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.stars {
    color: #ffc107;
    margin-right: 6px;
    font-size: 14px;
}

.rating-count {
    color: var(--text-light);
    font-size: 13px;
    margin-left: 6px;
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

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

.discount {
    color: var(--success);
    font-size: 13px;
    font-weight: 700;
    background: rgba(56, 161, 105, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.product-description {
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 14px;
}

.product-options {
    margin-bottom: 20px;
}

.option-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.option-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.option-button {
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 13px;
    min-height: 44px;
    /* Better touch target */
}

.option-button.active {
    border-color: var(--primary);
    background: rgba(23, 71, 207, 0.05);
    color: var(--primary);
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.quantity-title {
    font-size: 14px;
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 44px;
    /* Better touch target */
}

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

.quantity-input {
    width: 50px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    min-height: 44px;
    /* Better touch target */
}

.product-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-cart {
    flex: 1;
    background: var(--secondary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(31, 190, 171, 0.3);
    font-size: 14px;
    min-height: 44px;
    /* Better touch target */
    min-width: 140px;
}

.btn-cart:hover {
    background: #238276;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(31, 190, 171, 0.4);
}

.btn-buy {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(23, 71, 207, 0.3);
    font-size: 14px;
    min-height: 44px;
    /* Better touch target */
    min-width: 140px;
}

.btn-buy:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(23, 71, 207, 0.4);
}

.btn-wishlist {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-light);
    width: 44px;
    height: 44px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 44px;
    /* Better touch target */
}

.btn-wishlist:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    transform: scale(1.05);
}

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-dark);
    flex: 1 1 calc(50% - 12px);
    min-width: 120px;
}

.feature i {
    color: var(--primary);
    font-size: 14px;
}

/* Product Details Tabs */
.product-tabs {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab {
    padding: 12px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid var(--border);
}

.specifications-table td {
    padding: 12px 8px;
    font-size: 13px;
}

.spec-name {
    font-weight: 600;
    width: 40%;
}

.reviews-container {
    max-width: 100%;
}

.review-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 14px;
}

.review-date {
    color: var(--text-light);
    font-size: 12px;
}

.review-rating {
    margin-bottom: 8px;
}

.review-text {
    line-height: 1.6;
    font-size: 13px;
}

/* Related Products */
.related-products {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--card-shadow);
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
    color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    min-height: 200px;
    position: relative;
}

.product-card {
    border: 1px solid var(--border);
    background: white;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.2s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.product-card .product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--primary);
    color: white;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.product-card .product-badge.hot {
    background: linear-gradient(135deg, #ff3b30, #ff6b6b);
}

.product-card .product-badge.new {
    background: linear-gradient(135deg, var(--secondary), #2cd4b0);
}

.product-card .product-image {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
}

.product-card .product-image img {
    max-height: 100%;
    transition: all 0.1s ease;
}

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

.product-card .product-info {
    padding: 12px;
    border-top: 1px solid var(--border);
}

.product-card .product-category {
    color: var(--text-light);
    font-size: 10px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: 5px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.suggestion-category {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.suggestion-category:last-child {
    border-bottom: none;
}

.suggestion-title {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    gap: 10px;
}

.suggestion-item:hover {
    background: #f7fafc;
}

.suggestion-item i {
    width: 16px;
    color: #718096;
}

.suggestion-item.correction i {
    color: #3182ce;
}

.suggestion-item.popular i {
    color: #e53e3e;
}

.suggestion-item.category i {
    color: #38a169;
}

.suggestion-hint {
    margin-left: auto;
    font-size: 12px;
    color: #718096;
    background: #f7fafc;
    padding: 2px 6px;
    border-radius: 4px;
}

.suggestion-loading {
    padding: 20px;
    text-align: center;
    color: #718096;
}

.suggestion-loading i {
    margin-right: 8px;
}

mark {
    background: #fed7d7;
    color: #c53030;
    padding: 1px 2px;
    border-radius: 2px;
}

.product-card .product-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    height: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.product-card .product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.product-card .stars {
    color: #ffc107;
    margin-right: 4px;
    font-size: 11px;
}

.product-card .rating-count {
    color: var(--text-light);
    font-size: 11px;
}

.product-card .product-price {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 4px;
}

.product-card .current-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.product-card .original-price {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-card .discount {
    color: var(--success);
    font-size: 11px;
    font-weight: 700;
    background: rgba(56, 161, 105, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.product-card .product-actions {
    display: flex;
    gap: 6px;
    margin-bottom: 0;
}

.product-card .btn-cart {
    flex: 1;
    background: var(--secondary);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(31, 190, 171, 0.3);
    font-size: 12px;
    min-height: 36px;
    /* Better touch target */
    min-width: auto;
}

.product-card .btn-cart:hover {
    background: #238276;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(31, 190, 171, 0.4);
}

.product-card .btn-wishlist {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-light);
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-height: 36px;
}

.product-card .btn-wishlist:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    transform: scale(1.05);
}

/* Footer - Mobile Optimized */
.footer {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 30px 0 0;
    margin-top: auto;
}

.footer-main {
    padding-bottom: 25px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
    font-weight: 700;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-about {
    max-width: 100%;
}

.footer-about .logo {
    margin-bottom: 12px;
    color: white;
}

.footer-about p {
    color: #cbd5e0;
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #cbd5e0;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    font-size: 13px;
    padding: 4px 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(3px);
}

.footer-links a i {
    margin-right: 8px;
    width: 14px;
    text-align: center;
    color: var(--primary);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    color: #cbd5e0;
    font-size: 13px;
}

.contact-info li i {
    margin-right: 8px;
    color: var(--primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 0;
    border-top: 1px solid #2d3748;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s;
}

.footer-bottom-links a:hover {
    color: white;
}

.copyright {
    color: #94a3b8;
    font-size: 12px;
}

.payment-methods {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.payment-method {
    width: 36px;
    height: 24px;
    background: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    color: var(--dark);
}

/* Newsletter */
.newsletter {
    margin-top: 12px;
}

.newsletter p {
    color: #cbd5e0;
    margin-bottom: 10px;
    font-size: 12px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-input {
    padding: 10px 12px;
    border: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 13px;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    min-height: 44px;
    /* Better touch target */
}

.newsletter-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Tablet Styles */
@media (min-width: 768px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }

    .product-detail {
        padding: 25px;
        margin-bottom: 25px;
    }

    .product-detail-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .main-image {
        height: 350px;
    }

    .thumbnail {
        width: 80px;
        height: 80px;
    }

    .product-title {
        font-size: 20px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .product-card .product-image {
        height: 160px;
    }

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 30px;
    }

    .newsletter-form {
        flex-direction: row;
    }

    .feature {
        flex: 1 1 calc(33.333% - 12px);
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    html {
        font-size: 16px;
    }

    .product-detail {
        padding: 30px;
        margin-bottom: 30px;
    }

    .product-detail-container {
        gap: 40px;
    }

    .main-image {
        height: 400px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .product-card .product-image {
        height: 180px;
    }

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .container {
        padding: 0 15px;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .product-actions {
        flex-direction: column;
    }

    .btn-cart,
    .btn-buy {
        min-width: 100%;
    }

    .btn-wishlist {
        width: 100%;
        height: 44px;
    }

    .feature {
        flex: 1 1 100%;
    }

    .option-buttons {
        justify-content: space-between;
    }

    .option-button {
        flex: 1;
        min-width: calc(50% - 4px);
        text-align: center;
    }
}