* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Arial', sans-serif;
    background: linear-gradient(to bottom, #fff5f8 0%, #ffffff 100%);
    color: #333;
    min-height: 100vh;
    overflow-x: hidden; /* Chỉ ẩn scroll ngang */
    overflow-y: auto; /* Cho phép scroll dọc */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: visible; /* Cho phép dropdown hiển thị */
}

/* Header */
header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.logo:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1;
}

.logo-tagline {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1;
    text-align: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.logo:hover {
    transform: scale(1.05);
}

.search-box {
    flex: 1;
    max-width: 500px;
    display: flex;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-size: 14px;
    outline: none;
}

.search-box input:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.2);
}

.search-box button {
    padding: 12px 25px;
    border: none;
    background: white;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
}

.search-box button:hover {
    background: #fff0f5;
    transform: scale(1.05);
}

/* Contact Info in Categories */
.category-menu-wrapper {
    display: block;
    width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #333;
    padding: 5px 20px 0;
}

/* Desktop: Contact info bên phải */
@media (min-width: 769px) {
    .category-menu-wrapper {
        display: flex;
        align-items: center;
        gap: 15px;
        flex-direction: row;
    }
    
    .category-menu {
        order: 1;
        flex: 1;
    }
    
    .contact-info {
        order: 2;
        flex-shrink: 0;
        padding: 0 20px 0 15px;
        gap: 3px;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 5px 12px;
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #f5f5f5;
}

.contact-icon {
    font-size: 16px;
    flex-shrink: 0;
    filter: hue-rotate(320deg) saturate(1.5);
}

.contact-icon-img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    object-fit: contain;
}

.contact-separator {
    color: #ffb3d1;
    margin: 0 4px;
    font-weight: 300;
}

.contact-text {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.contact-text:hover {
    color: #ff6b9d;
}

.cart-icon {
    background: rgba(255, 255, 255, 0.25);
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.cart-icon:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Categories Wrapper */
.categories-wrapper {
    position: relative;
    z-index: 100;
    margin-bottom: 20px;
    overflow: visible !important; /* Quan trọng */
}

/* Categories */
.categories {
    background: white;
    padding: 8px 0;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.1);
    position: relative;
    overflow: visible !important;
    clip-path: none !important;
    border-bottom: none !important;
}

.categories::after {
    display: none !important;
}

.categories .container {
    overflow: visible !important;
    clip-path: none !important;
}

.category-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 2px 0;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-menu::-webkit-scrollbar {
    display: none;
}

/* Category Dropdown */
.category-dropdown {
    position: relative;
    flex-shrink: 0;
}

.category-btn {
    padding: 8px 18px;
    border: 2px solid #ffb3d1;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    color: #ff6b9d;
    font-weight: 600;
    flex-shrink: 0;
}

.category-btn:hover, .category-btn.active {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    border-color: #ff6b9d;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

/* Subcategory Menu */
.subcategory-menu {
    display: none;
    position: fixed !important;
    margin-top: 0px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    border: 2px solid #ffb3d1;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999 !important;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.subcategory-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.subcategory-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.subcategory-item:last-child {
    border-bottom: none;
}

.subcategory-item:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
}

.subcategory-item:first-child {
    font-weight: 600;
    color: #ff6b9d;
}

.subcategory-item:first-child:hover {
    color: white;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    padding: 9px 0 5px 0;
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.breadcrumb-nav a {
    color: #ff6b9d;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
}

.breadcrumb-nav a:hover {
    color: #c94b7a;
    text-decoration: underline;
}

.breadcrumb-nav span {
    color: #333;
    font-weight: 500;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.25);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: #fff5f8;
}

.product-info {
    padding: 15px;
}

.product-brand {
    color: #ff6b9d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    color: #ffa500;
    font-size: 14px;
    margin-bottom: 8px;
}

.product-price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.product-price {
    font-size: 20px;
    font-weight: bold;
    color: #ff6b9d;
}

.product-original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* Product Detail Page */
.product-detail-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.1);
    margin-bottom: 30px;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.product-detail-image {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0; /* Quan trọng: cho phép flex item co lại */
    max-width: 100%; /* Giới hạn chiều rộng */
}

.main-image-container {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(255, 107, 157, 0.15);
    background: #fff5f8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.main-image-container img:hover {
    transform: scale(1.02);
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ffb3d1;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(255, 107, 157, 0.2);
    z-index: 10;
    color: #ff6b9d;
}

.gallery-nav-btn:hover {
    background: #ff6b9d;
    color: white;
    border-color: #ff6b9d;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 5px 0;
    flex-wrap: nowrap;
    max-width: 100%;
}

.thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background: #ff6b9d;
    border-radius: 10px;
}

.thumbnail-container::-webkit-scrollbar-thumb:hover {
    background: #c94b7a;
}

.thumbnail-wrapper {
    position: relative;
    flex-shrink: 0;
}

.thumbnail-wrapper.removed {
    display: none;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: #ff6b9d;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: #ff6b9d;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.4);
}

.product-detail-info h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.product-brand-detail {
    color: #ff6b9d;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-rating-detail {
    color: #ffa500;
    font-size: 16px;
    margin-bottom: 20px;
}

.product-price-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.price-detail {
    font-size: 32px;
    font-weight: bold;
    color: #ff6b9d;
}

.original-price-detail {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.original-price {
    color: #999;
    text-decoration: line-through;
}

.product-volume {
    background: #fff5f8;
    padding: 12px 20px;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    border-left: 4px solid #ff6b9d;
}

.product-stock {
    color: #666;
    margin-bottom: 20px;
}

.product-quantity {
    margin-bottom: 25px;
}

.product-quantity label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.quantity-selector {
    display: flex;
    gap: 10px;
    align-items: center;
}

.quantity-selector button {
    width: 40px;
    height: 40px;
    border: 2px solid #ffb3d1;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: #ff6b9d;
    transition: all 0.3s;
}

.quantity-selector button:hover {
    background: #ff6b9d;
    color: white;
    transform: scale(1.1);
}

.quantity-selector input {
    width: 60px;
    text-align: center;
    padding: 10px;
    border: 2px solid #ffb3d1;
    border-radius: 10px;
    font-size: 16px;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.add-to-cart-btn-large {
    flex: 1;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.add-to-cart-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.buy-now-btn {
    flex: 1;
    padding: 15px;
    background: white;
    color: #ff6b9d;
    border: 2px solid #ff6b9d;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.buy-now-btn:hover {
    background: #ff6b9d;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.product-description-section {
    background: #fff5f8;
    padding: 15px 20px;
    border-radius: 0 0 10px 10px;
    margin-top: 0;
    margin-bottom: 20px;
    border-left: 4px solid #ff6b9d;
}

.product-description-section h2 {
    color: #ff6b9d;
    margin-bottom: 15px;
    font-size: 18px;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(255, 107, 157, 0.2);
    transition: right 0.3s;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #fff5f8;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.cart-item-price {
    font-size: 16px;
    color: #ff6b9d;
    font-weight: bold;
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 2px solid #ff6b9d;
    background: white;
    color: #ff6b9d;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
}

.qty-btn:hover {
    background: #ff6b9d;
    color: white;
    transform: scale(1.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.cart-item-quantity span {
    min-width: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}

.remove-btn {
    margin-left: 6px;
    padding: 4px 12px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
}

.remove-btn:hover {
    background: #cc0000;
    transform: scale(1.05);
}

.remove-btn:active {
    transform: scale(0.95);
}

.cart-footer {
    padding: 20px;
    border-top: 2px solid #fff5f8;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #ff6b9d;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

/* Responsive */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Product image mobile - giảm khoảng trắng */
    .main-image-container {
        height: 350px;
        padding: 5px;
    }
    
    /* Product detail container - giảm padding trái */
    .product-detail-container {
        padding: 20px 20px 20px 15px;
        border-radius: 15px;
    }
    
    /* Header mobile */
    header {
        padding: 3px 0;
    }
    
    .container {
        padding: 0 6px 0 3px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .logo {
        order: 1;
        padding: 0;
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 100px);
        background: none;
        border-radius: 0;
    }
    
    .logo-text {
        gap: 0px;
    }
    
    .logo-main {
        font-size: 12px;
        letter-spacing: 0.2px;
        line-height: 1;
    }
    
    .logo-tagline {
        font-size: 5px;
        letter-spacing: 0.1px;
        line-height: 1;
        margin-top: 1px;
    }
    
    .menu-toggle {
        order: 0;
        padding: 5px 8px;
        font-size: 16px;
        white-space: nowrap;
        min-width: 40px;
    }
    
    .menu-toggle::before {
        content: '☰';
    }
    
    .menu-toggle::after {
        content: '';
        display: none;
    }
    
    .menu-text {
        display: none;
    }
    
    .menu-icon {
        font-size: 20px;
    }
    
    .cart-icon {
        order: 2;
        padding: 5px 8px;
        font-size: 16px;
        white-space: nowrap;
        min-width: 50px;
    }
    
    .cart-text {
        display: none;
    }
    
    .cart-emoji {
        font-size: 20px;
    }
    
    .cart-count {
        font-size: 12px;
    }
    
    .search-box {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
    }
    
    .search-box input {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .search-box button {
        padding: 4px 8px;
        font-size: 13px;
    }
    
    /* Categories mobile */
    .categories {
        padding: 6px 0;
    }
    
    .category-menu-wrapper {
        flex-direction: column;
        gap: 6px;
    }
    
    .category-menu {
        padding: 2px 0;
        gap: 5px;
        flex-wrap: wrap;
        max-height: none;
    }
    
    .category-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    /* Contact info mobile */
    .contact-info {
        border-top: none;
        padding-left: 0;
        padding-top: 8px;
        width: 100%;
        gap: 4px;
    }
    
    .contact-item {
        font-size: 9px;
        padding: 3px 6px;
        gap: 3px;
        flex-wrap: wrap;
    }
    
    .contact-text {
        font-size: 9px;
        white-space: normal;
        word-break: break-word;
    }
    
    .contact-icon-img {
        width: 14px;
        height: 14px;
    }
    
    .contact-separator {
        margin: 0 2px;
        font-size: 9px;
    }
    
    /* Product cards mobile */
    .product-card-horizontal {
        min-width: 160px;
        max-width: 160px;
    }
    
    .product-card-horizontal .product-image {
        height: 160px;
    }
    
    .product-card-horizontal .product-info {
        padding: 10px;
    }
    
    .product-card-horizontal .product-name {
        font-size: 13px;
        height: 36px;
    }
    
    .product-card-horizontal .price {
        font-size: 16px;
    }
    
    /* Category section mobile */
    .category-header h2 {
        font-size: 20px;
    }
    
    .view-all-btn {
        padding: 6px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 6px;
    }
    
    .logo {
        padding: 0;
        max-width: calc(100% - 90px);
        background: none;
    }
    
    .logo-main {
        font-size: 13px;
        letter-spacing: 0.2px;
    }
    
    .logo-tagline {
        font-size: 6px;
        letter-spacing: 0.1px;
    }
    
    .menu-toggle {
        padding: 4px 6px;
        font-size: 14px;
        min-width: 35px;
    }
    
    .menu-icon {
        font-size: 16px;
    }
    
    .cart-icon {
        padding: 4px 6px;
        font-size: 14px;
        min-width: 45px;
    }
    
    .cart-emoji {
        font-size: 16px;
    }
    
    .cart-count {
        font-size: 10px;
    }
    
    .category-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .contact-item {
        font-size: 8px;
        padding: 2px 5px;
    }
    
    .contact-text {
        font-size: 8px;
    }
    
    .contact-icon-img {
        width: 12px;
        height: 12px;
    }
    
    .product-card-horizontal {
        min-width: 140px;
        max-width: 140px;
    }
    
    .product-card-horizontal .product-image {
        height: 140px;
    }
    
    /* Cart Sidebar Mobile */
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .cart-header {
        padding: 10px 12px;
    }
    
    .cart-header h2 {
        font-size: 16px;
    }
    
    .cart-header button {
        font-size: 18px;
    }
    
    .cart-items {
        padding: 10px;
        flex: 1;
        overflow-y: auto;
    }
    
    .cart-item {
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }
    
    .cart-item img {
        width: 50px;
        height: 50px;
    }
    
    .cart-item-info {
        flex: 1;
        min-width: 0;
    }
    
    .cart-item-name {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 4px;
        color: #333;
    }
    
    .cart-item-price {
        font-size: 14px;
        color: #ff6b9d;
        font-weight: bold;
        margin-bottom: 6px;
    }
    
    .cart-item-quantity {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-top: 6px;
    }
    
    .qty-btn {
        width: 24px;
        height: 24px;
        border: 1px solid #ff6b9d;
        background: white;
        color: #ff6b9d;
        border-radius: 50%;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s;
        padding: 0;
    }
    
    .qty-btn:hover {
        background: #ff6b9d;
        color: white;
        transform: scale(1.1);
    }
    
    .qty-btn:active {
        transform: scale(0.95);
    }
    
    .cart-item-quantity span {
        min-width: 20px;
        text-align: center;
        font-weight: 600;
        font-size: 13px;
    }
    
    .remove-btn {
        margin-left: 4px;
        padding: 3px 8px;
        background: #ff4444;
        color: white;
        border: none;
        border-radius: 12px;
        cursor: pointer;
        font-size: 11px;
        font-weight: 600;
        transition: all 0.2s;
    }
    
    .remove-btn:hover {
        background: #cc0000;
        transform: scale(1.05);
    }
    
    .remove-btn:active {
        transform: scale(0.95);
    }
    
    .cart-footer {
        padding: 12px;
        background: white;
        position: sticky;
        bottom: 0;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .cart-total {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .checkout-btn {
        padding: 10px;
        font-size: 14px;
    }
}

/* Category Section */
.category-section {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff6b9d;
}

.category-header h2 {
    font-size: 28px;
    color: #c94b7a;
    font-weight: bold;
}

.category-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-count {
    color: #999;
    font-size: 14px;
}

.view-all-btn {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* Horizontal Scroll Container */
.horizontal-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0 20px 0;
    scroll-behavior: smooth;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    border-radius: 10px;
}

.horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c94b7a 0%, #ff6b9d 100%);
}

/* Product Card Horizontal */
.product-card-horizontal {
    min-width: 250px;
    max-width: 250px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    flex-shrink: 0;
}

.product-card-horizontal:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.3);
}

.product-card-horizontal .product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card-horizontal .product-info {
    padding: 15px;
}

.product-card-horizontal .product-brand {
    color: #ff6b9d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-card-horizontal .product-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-horizontal .product-rating {
    font-size: 13px;
    color: #ffa500;
    margin-bottom: 10px;
}

.product-card-horizontal .product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.product-card-horizontal .price {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b9d;
}

.product-card-horizontal .original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.product-card-horizontal .add-to-cart-btn {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.product-card-horizontal .add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* Main Content */
main {
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Menu Toggle Button */
.menu-toggle {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Side Menu */
.side-menu {
    position: fixed;
    left: -320px;
    top: 0;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.side-menu.active {
    left: 0;
}

.side-menu-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #c94b7a 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.side-menu-header h3 {
    font-size: 20px;
    margin: 0;
}

.side-menu-header button {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.side-menu-header button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.side-menu-content {
    padding: 10px 0;
}

.side-menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.side-menu-item:hover {
    background: #fff5f8;
    border-left-color: #ff6b9d;
}

.side-menu-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.side-menu-text {
    flex: 1;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.side-menu-arrow {
    font-size: 20px;
    color: #999;
}

.side-menu-item.has-submenu:hover .side-menu-arrow {
    color: #ff6b9d;
}

.side-submenu {
    background: #f9f9f9;
    padding: 5px 0;
}

.side-submenu-item {
    padding: 12px 20px 12px 70px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.side-submenu-item .submenu-icon {
    font-size: 16px;
    min-width: 20px;
}

.side-submenu-item:hover {
    background: #fff5f8;
    color: #ff6b9d;
    padding-left: 75px;
}

/* Side Menu Overlay */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Category Page */
.category-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(255, 107, 157, 0.1);
}

.category-page-header h1 {
    font-size: 32px;
    color: #c94b7a;
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}


/* Checkout Page */
.checkout-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
}

.checkout-container h2 {
    font-size: 28px;
    color: #ff6b9d;
    margin-bottom: 30px;
    text-align: center;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.checkout-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(255, 107, 157, 0.1);
}

.checkout-form h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b9d;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ffb3d1;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b9d;
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.order-summary {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(255, 107, 157, 0.1);
    height: fit-content;
}

.order-summary h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b9d;
}

.order-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #f5f5f5;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 15px;
}

.total-row.final {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #ff6b9d;
    font-size: 18px;
    color: #ff6b9d;
}

/* Checkout Responsive */
@media (max-width: 768px) {
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-container {
        padding: 15px;
    }
    
    .checkout-container h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .checkout-form,
    .order-summary {
        padding: 18px;
    }
    
    .checkout-form h3,
    .order-summary h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .total-row {
        font-size: 14px;
    }
    
    .total-row.final {
        font-size: 16px;
    }
}


/* Product Footer */
.product-footer {
    margin-top: 60px;
    padding: 0;
}

.footer-divider {
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d 0%, #c94b7a 100%);
    margin: 0;
}

.footer-info {
    background: white;
    padding: 20px;
}

.footer-contact {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-contact p {
    margin: 8px 0;
    font-size: 13px;
    color: #333;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer-separator {
    margin: 0 8px;
    color: #999;
}

.footer-contact a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #ff6b9d;
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .product-footer {
        margin-top: 40px;
    }
    
    .footer-info {
        padding: 15px 10px;
    }
    
    .footer-contact p {
        font-size: 11px;
        gap: 5px;
    }
    
    .footer-icon {
        width: 16px;
        height: 16px;
    }
}
