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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Header & Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1em 3em;
    max-width: 1400px;
    margin: 0 auto;
}

/* Logo */
nav .logo {
    display: flex;
    align-items: center;
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    gap: 0.5em;
}

/* Navigation Links */
nav ul.nav-links {
    list-style: none;
    display: flex;
    gap: 2em;
}

nav ul.nav-links li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 0.5em 0;
    transition: all 0.3s ease;
    position: relative;
}

nav ul.nav-links li a.active,
nav ul.nav-links li a:hover {
    color: #FF7300;
}

nav ul.nav-links li a.active::after,
nav ul.nav-links li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF7300;
}

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 30px;
    padding: 0.5em 1em;
    margin-right: 1.5em;
    position: relative;
}

.search-input {
    border: none;
    background: transparent;
    padding: 0.5em;
    width: 180px;
    outline: none;
    font-size: 0.95em;
}

.search-btn {
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 1em;
    transition: color 0.3s;
}

.search-btn:hover {
    color: #FF7300;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    margin-top: 0.5em;
    z-index: 1001;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 0.8em 1em;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8em;
    transition: background 0.2s;
}

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

.search-result-item:hover {
    background-color: #f5f5f5;
}

.search-result-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 600;
    color: #333;
    font-size: 0.9em;
}

.search-result-price {
    color: #FF7300;
    font-size: 0.85em;
    margin-top: 0.2em;
}

.search-btn:hover {
    color: #FF7300;
}

/* User Actions */
.nav-actions {
    display: flex;
    align-items: center;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1.5em;
}

.user-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    color: #555;
    cursor: pointer;
    transition: color 0.3s;
}

.user-btn:hover {
    color: #FF7300;
}

/* Cart Icon */
.carticon {
    position: relative;
    cursor: pointer;
    font-size: 1.2em;
    color: #555;
    transition: color 0.3s;
}

.carticon:hover {
    color: #FF7300;
}

.carticon::after {
    content: attr(data-count);
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #FF3B30;
    color: #fff;
    font-size: 0.7em;
    padding: 0.2em 0.6em;
    border-radius: 50%;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    min-width: 18px;
    text-align: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #555;
    cursor: pointer;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    padding: 2em;
    flex-direction: column;
    justify-content: center;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 1.5em 0;
}

.mobile-nav a {
    text-decoration: none;
    color: #333;
    font-size: 1.5em;
    font-weight: 500;
}

.mobile-nav a.active {
    color: #FF7300;
}

.mobile-search-btn {
    background-color: #FF7300;
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    border-radius: 30px;
    font-size: 1em;
    cursor: pointer;
    margin-top: 1em;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4em 5em;
    gap: 3em;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 90vh;
}

/* Hero Content */
.hero-content {
    max-width: 600px;
    flex: 1;
}

.hero-content h1 {
    font-size: 4.5em;
    line-height: 1.1;
    margin-bottom: 0.5em;
    color: #222;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero-content p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2em;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5em;
    margin-bottom: 3em;
}

.btn1, .btn2 {
    padding: 1em 2.5em;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

/* Primary Button */
.btn1 {
    background-color: #FF7300;
    color: #fff;
    box-shadow: 0 8px 15px rgba(255,115,0,0.3);
}

.btn1:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(255,115,0,0.4);
}

/* Secondary Button */
.btn2 {
    background-color: transparent;
    color: #FF7300;
    border: 2px solid #FF7300;
}

.btn2:hover {
    background-color: #FF7300;
    color: #fff;
    transform: translateY(-3px);
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2em;
    margin-top: 2em;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: #555;
    font-weight: 500;
}

.feature i {
    color: #FF7300;
    font-size: 1.2em;
}

/* Hero Image */
.hero-image {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: translateY(-20px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(-20px); }
    50% { transform: translateY(-30px); }
}

.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #FF7300;
    color: white;
    padding: 0.5em 1em;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9em;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5em;
    color: #222;
    margin-bottom: 0.5em;
}

.section-header p {
    color: #666;
    font-size: 1.1em;
}

/* Featured Products */
.featured-products {
    padding: 5em 2em;
    background-color: #fff;
    max-width: 1400px;
    margin: 0 auto;
}

.products-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    position: relative;
}

.products-carousel {
    display: flex;
    gap: 2em;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1em;
    scrollbar-width: none; /* Firefox */
}

.products-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-card {
    flex: 0 0 auto;
    width: 280px;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-info {
    padding: 1.5em;
}

.product-title {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 0.5em;
    color: #333;
}

.product-price {
    color: #FF7300;
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 1em;
    display: block;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.2em;
    margin-bottom: 1em;
}

.product-rating .star {
    color: gold;
    font-size: 0.9em;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.8em;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #FF7300;
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 2em;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dot.active {
    background-color: #FF7300;
}

/* Categories */
.categories {
    padding: 5em 2em;
    max-width: 1400px;
    margin: 0 auto;
}

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

.category-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 1.5em;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.5em;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-card h3 {
    margin-bottom: 0.5em;
    color: #333;
    font-size: 1.3em;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5em;
    padding: 0 1em;
}

.category-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.category-btn:hover {
    background-color: #FF7300;
}

/* Product Details */
.product-details {
    padding: 5em 2em;
    max-width: 1400px;
    margin: 0 auto;
}

.descriptive {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4em;
    flex-wrap: wrap;
}

.descriptive-carousel {
    display: flex;
    align-items: center;
    gap: 1em;
}

.carousel-images {
    display: flex;
    gap: 1em;
    width: 350px;
    overflow: hidden;
}

.descriptive-img {
    flex: 0 0 auto;
    width: 350px;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0.7;
    transform: scale(0.9);
}

.descriptive-img.active {
    opacity: 1;
    transform: scale(1);
}

.descriptive-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.carousel-btn {
    background-color: rgba(0,0,0,0.05);
    border: none;
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: #FF7300;
    color: #fff;
    transform: scale(1.1);
}

.descriptive-info {
    max-width: 500px;
}

.product-name {
    font-size: 2em;
    color: #222;
    margin-bottom: 0.5em;
}

.product-price {
    font-size: 2.2em;
    font-weight: 700;
    color: #FF7300;
    margin-bottom: 0.5em;
    display: block;
}

.descriptive-rating {
    display: flex;
    align-items: center;
    gap: 0.3em;
    margin: 1em 0;
}

.star {
    color: gold;
    font-size: 1.3em;
}

.star-half {
    color: gold;
    font-size: 1.3em;
    position: relative;
    display: inline-block;
}

.star-half::before {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
}

.rating-text {
    margin-left: 0.8em;
    font-size: 0.95em;
    color: #555;
}

.descriptive-text {
    font-size: 1em;
    color: #666;
    line-height: 1.6;
    margin: 1.5em 0;
}

/* Product Options */
.product-options {
    margin: 1.5em 0;
}

.color-options, .quantity-selector {
    margin-bottom: 1.5em;
}

.color-options span, .quantity-selector span {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #333;
}

.color-selector {
    display: flex;
    gap: 0.8em;
}

.color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.color-option.active {
    border-color: #333;
    transform: scale(1.1);
}

.quantity-control {
    display: flex;
    align-items: center;
    width: 120px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    background-color: #f5f5f5;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: none;
    background-color: #f9f9f9;
    font-weight: 600;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1em;
    margin: 2em 0;
}

.btn-add-to-cart, .btn-wishlist {
    flex: 1;
    padding: 1em;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
}

.btn-add-to-cart {
    background-color: #FF7300;
    color: white;
    border: none;
}

.btn-add-to-cart:hover {
    background-color: #e65c00;
    transform: translateY(-3px);
}

.btn-wishlist {
    background-color: transparent;
    color: #333;
    border: 2px solid #ddd;
}

.btn-wishlist:hover {
    border-color: #FF7300;
    color: #FF7300;
}

/* Product Features */
.product-features {
    display: flex;
    gap: 1.5em;
    margin-top: 2em;
    padding-top: 1.5em;
    border-top: 1px solid #eee;
}

.product-features .feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5em;
    font-size: 0.9em;
}

.product-features .feature i {
    font-size: 1.5em;
    color: #FF7300;
}

/* Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
    justify-content: flex-end;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    background-color: white;
    width: 100%;
    max-width: 450px;
    height: 100%;
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5em;
    border-bottom: 1px solid #eee;
}

.cart-header h3 {
    font-size: 1.5em;
    color: #333;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2em;
    cursor: pointer;
    color: #777;
    transition: color 0.3s;
}

.close-cart:hover {
    color: #FF7300;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5em;
}

.empty-cart {
    text-align: center;
    padding: 3em 1em;
    color: #888;
}

.empty-cart i {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: #ddd;
}

.empty-cart p {
    margin-bottom: 1.5em;
    font-size: 1.1em;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1em;
    border-radius: 10px;
    background-color: #f9f9f9;
    margin-bottom: 1em;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 1em;
}

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

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

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.3em;
    color: #333;
}

.cart-item-price {
    color: #FF7300;
    font-weight: 600;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
}

.remove-item {
    background: none;
    border: none;
    color: #FF3B30;
    cursor: pointer;
    font-size: 0.9em;
}

.cart-summary {
    padding: 1.5em;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 1.5em;
    color: #333;
}

.total-price {
    color: #FF7300;
}

.cart-actions {
    display: flex;
    gap: 1em;
}

.btn-clear-cart, .btn-checkout {
    flex: 1;
    padding: 1em;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-clear-cart {
    background-color: transparent;
    color: #666;
    border: 2px solid #ddd;
}

.btn-clear-cart:hover {
    border-color: #FF3B30;
    color: #FF3B30;
}

.btn-checkout {
    background-color: #333;
    color: white;
    border: none;
}

.btn-checkout:hover {
    background-color: #FF7300;
}

/* Newsletter */
.newsletter {
    background-color: #FF7300;
    color: white;
    padding: 4em 2em;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h3 {
    font-size: 2em;
    margin-bottom: 0.5em;
}

.newsletter p {
    margin-bottom: 2em;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1em 1.5em;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 1em;
    outline: none;
}

.newsletter-form button {
    background-color: #333;
    color: white;
    border: none;
    padding: 1em 2em;
    border-radius: 0 30px 30px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #222;
}

/* Footer */
footer {
    background-color: #222;
    color: #ddd;
    padding: 3em 2em 1em;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3em;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-section .logo {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-bottom: 1em;
    color: white;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1em;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: #FF7300;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5em;
    font-size: 1.2em;
}

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

.footer-section li {
    margin-bottom: 0.8em;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #FF7300;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.8em;
}

.contact-info i {
    color: #FF7300;
}

.footer-bottom {
    text-align: center;
    padding-top: 2em;
    margin-top: 2em;
    border-top: 1px solid #333;
    color: #888;
    font-size: 0.9em;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 1em 2em;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content h1 {
        font-size: 3.5em;
    }
    
    .descriptive {
        gap: 2em;
    }
}

@media (max-width: 992px) {
    nav {
        padding: 1em 2em;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .search-container {
        display: none;
    }
    
    .hero {
        padding: 3em 2em;
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .descriptive {
        flex-direction: column;
    }
    
    .carousel-images {
        width: 300px;
    }
    
    .descriptive-img {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8em;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn1, .btn2 {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header h2 {
        font-size: 2em;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 0.5em;
    }
    
    .cart-modal-content {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 1em;
    }
    
    .hero {
        padding: 2em 1em;
    }
    
    .hero-content h1 {
        font-size: 2.2em;
    }
    
    .featured-products,
    .categories,
    .product-details {
        padding: 3em 1em;
    }
    
    .product-card {
        width: 250px;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    justify-content: center;
    align-items: center;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    background-color: black;
    width: 90%;
    max-width: 900px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-video {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2em;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: all 0.3s ease;
}

.close-video:hover {
    background: white;
    transform: rotate(90deg);
}