* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #c53030;
    --primary-dark: #9b2c2c;
    --primary-light: #4a1a1a;
    --secondary-color: #1a5490;
    --accent-color: #d69e2e;
    --text-dark: #2d3748;
    --text-light: #718096;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

.section-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.view-all {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.view-all:hover {
    gap: 12px;
}

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

.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.contact-info {
    display: flex;
    gap: 20px;
}

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

.header-links {
    display: flex;
    gap: 20px;
}

.header-links a {
    color: var(--white);
    font-size: 13px;
}

.header-links a:hover {
    text-decoration: underline;
}

.header-main {
    padding: 20px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    gap: 15px;
}

.search-btn,
.cart-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: relative;
    color: var(--text-dark);
    transition: var(--transition);
}

.search-btn:hover,
.cart-btn:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
}

.hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    padding: 100px 0;
    color: var(--white);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--primary-color);
}

.trust-badges {
    background-color: var(--white);
    padding: 60px 0;
}

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

.badge-item {
    text-align: center;
    padding: 30px;
}

.badge-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.badge-item h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.badge-item p {
    color: var(--text-light);
    font-size: 14px;
}

.categories-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
}

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

.category-image {
    height: 180px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-card:hover .category-image {
    background: var(--primary-light);
    color: var(--white);
}

.category-content {
    padding: 20px;
    text-align: center;
}

.category-content h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.category-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.category-count {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.featured-products {
    padding: 80px 0;
}

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.product-image {
    height: 220px;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary-color);
}

.product-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.product-description {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

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

.product-rating {
    color: var(--accent-color);
    font-size: 14px;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.btn-add {
    flex: 1;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.products-grid.empty {
    text-align: center;
    padding: 60px 0;
}

.products-grid.empty i {
    font-size: 60px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.products-grid.empty p {
    color: var(--text-light);
    font-size: 1.2rem;
}

.features-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 35px;
}

.feature-item h3 {
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.featured-bundles {
    padding: 80px 0;
}

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

.bundle-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
}

.bundle-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.bundle-card:nth-child(2) .bundle-badge {
    background: var(--primary-color);
}

.bundle-card:nth-child(3) .bundle-badge {
    background: var(--secondary-color);
}

.bundle-card h3 {
    padding: 60px 30px 20px;
    color: var(--text-dark);
    font-size: 1.5rem;
    text-align: center;
}

.bundle-items {
    padding: 0 30px;
    margin-bottom: 20px;
}

.bundle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 14px;
}

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

.bundle-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.bundle-price {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 20px;
}

.bundle-btn {
    width: 100%;
    margin: 20px 0;
}

.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.testimonial-card .rating {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    color: var(--text-dark);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--primary-color);
    font-size: 13px;
}

.main-footer {
    background: var(--primary-light);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-contact p i {
    color: var(--primary-color);
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
}

.newsletter-form button {
    padding: 12px 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    transition: var(--transition);
}

.footer-socials a:hover {
    color: var(--white);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.payment-methods {
    margin-top: 15px;
}

.payment-methods i {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 5px;
    font-size: 24px;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.3rem;
}

.cart-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart i {
    font-size: 60px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.cart-totals {
    margin-bottom: 20px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.total-row.total {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    margin-top: 15px;
    padding-top: 15px;
}

.total-row.shipping span:last-child {
    color: var(--primary-color);
}

.cart-actions {
    display: flex;
    gap: 15px;
}

.cart-actions .btn {
    flex: 1;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    position: relative;
    width: 90%;
    max-width: 600px;
}

.search-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-light);
}

.search-form {
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

.search-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.search-submit {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--primary-color);
}

.search-results {
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    background: var(--light-bg);
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 15px;
}

.search-result-content h4 {
    font-size: 14px;
    color: var(--text-dark);
}

.search-result-content span {
    font-size: 12px;
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .main-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .search-overlay .search-container {
        width: 100%;
        padding: 20px;
    }
    
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
    
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .contact-info {
        display: none;
    }
    
    .header-links {
        display: none;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-header .section-title {
        font-size: 2rem;
    }
    
    .products-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }
}
