/* ==========================================================================
   Reset y Base
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ==========================================================================
   WhatsApp Float Button
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    color: white;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

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

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
    background: #fff;
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

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

.header-info {
    font-size: 12px;
    letter-spacing: 0.5px;
}

.header-logo h1 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-menu {
    font-size: 12px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

/* Wishlist Widget */
.wishlist-widget {
    margin-right: 20px;
}

.wishlist-link {
    display: flex;
    align-items: center;
    color: #000;
    text-decoration: none;
    position: relative;
}

.wishlist-link svg {
    width: 20px;
    height: 20px;
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #000;
    color: #fff;
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.cart-widget {
    position: relative;
    cursor: pointer;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-total {
    font-weight: 500;
}

.cart-count {
    font-size: 12px;
    color: #666;
}

/* Mini Cart Dropdown */
.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cart-widget:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 20px;
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.mini-cart-item-image {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.mini-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

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

.mini-cart-item-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.mini-cart-item-info .quantity {
    font-size: 12px;
    color: #666;
}

.mini-cart-item-remove {
    flex-shrink: 0;
}

.mini-cart-item-remove .remove-item {
    width: 24px;
    height: 24px;
    border: none;
    background: #f0f0f0;
    border-radius: 50%;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: all 0.3s ease;
}

.mini-cart-item-remove .remove-item:hover {
    background: #e74c3c;
    color: #fff;
}

.mini-cart-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    background: #f9f9f9;
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 16px;
}

.mini-cart-buttons {
    display: flex;
    gap: 10px;
}

.mini-cart-buttons .btn {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-outline {
    border: 1px solid #333;
    color: #333;
    background: transparent;
}

.btn-outline:hover {
    background: #333;
    color: #fff;
}

.btn-primary {
    background: #000;
    color: #fff;
    border: 1px solid #000;
}

.btn-primary:hover {
    background: #333;
}

.mini-cart-empty {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.main-navigation {
    background: #000;
    color: #fff;
}

.main-navigation .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 20px 25px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.nav-menu > li:hover > a {
    background-color: #333;
}

/* Sub-menu styles */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    color: #333;
    min-width: 250px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1000;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu .sub-menu li:last-child {
    border-bottom: none;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 15px 20px;
    font-size: 13px;
    color: #666;
    text-transform: none;
    transition: all 0.3s ease;
}

.nav-menu .sub-menu a:hover {
    background: #f9f9f9;
    color: #000;
}

/* Sub-sub-menu styles */
.nav-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

.nav-menu .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega menu styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    color: #333;
    min-width: 800px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    gap: 40px;
    z-index: 1000;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-column h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column li {
    margin-bottom: 8px;
}

.mega-menu-column a {
    font-size: 13px;
    color: #666;
    transition: color 0.3s ease;
}

.mega-menu-column a:hover {
    color: #000;
}

.nav-search button {
    padding: 20px;
    color: #fff;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    height: 100%;
}

.slide-image {
    height: 100%;
    overflow: hidden;
}

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

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}

.slide-text h2 {
    font-size: 48px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0;
    line-height: 1em;
}

.slide-text p {
    font-size: 14px;
    line-height: 1em;
    padding: 14px 0;
    letter-spacing: 1px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots .dot.active {
    background: #fff;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.hero-slider:hover .slider-prev,
.hero-slider:hover .slider-next {
    opacity: 1;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
}

.btn-white {
    background: #fff;
    color: #000;
    border: 2px solid #fff;
}

.btn-white:hover {
    background: transparent;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* ==========================================================================
   Category Blocks
   ========================================================================== */

.category-blocks {
    padding: 80px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #00000021;
}

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

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

.category-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 250px;
}

.category-item:hover .category-overlay {
    transform: translate(-50%, -50%) scale(1.05);
}

.category-overlay h3 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.category-overlay span {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 2px solid #000;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    color: #000;
}

/* ==========================================================================
   Products Grid
   ========================================================================== */

.recent-products {
    padding: 80px 0;
    background: #f8f8f8;
}

.section-title {
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.products-carousel {
    position: relative;
}

.carousel-inner {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-inner::-webkit-scrollbar {
    display: none;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.products-carousel .product-grid {
    display: flex;
    gap: 30px;
    padding: 0 5px;
}

.products-carousel .product-item {
    flex: 0 0 calc(25% - 22.5px);
}

.product-item {
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.product-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-image .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.product-item:hover .hover-image {
    opacity: 1;
}

.product-actions {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-item:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.add-to-wishlist {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.quick-view,
.add-to-cart-btn {
    background: #fff;
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view:hover,
.add-to-cart-btn:hover {
    background: #000;
    color: #fff;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-brand {
    font-size: 11px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-title {
    font-size: 14px;
    font-weight: 400;
    margin: 10px 0;
}

.product-price {
    font-size: 16px;
    font-weight: 500;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #e5e5e5;
    font-size: 24px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #000;
    color: #fff;
}

/* ==========================================================================
   Single Product
   ========================================================================== */

.product-single {
    padding: 50px 0;
}

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

.product-gallery {
    display: grid;
    gap: 20px;
}

.product-main-image {
    position: relative;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: auto;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* Gallery Navigation */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-main-image:hover .gallery-nav {
    opacity: 1;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-nav svg {
    color: #333;
}

/* Gallery Zoom */
.gallery-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.product-main-image:hover .gallery-zoom {
    opacity: 1;
}

.gallery-zoom:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-zoom svg {
    color: #333;
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10000;
}

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

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #ccc;
}

/* Product Carousel for Related Products */
.product-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-carousel {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    transition: transform 0.3s ease;
}

.product-carousel .product-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 250px;
    max-width: calc(25% - 15px);
}

.carousel-nav {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-nav svg {
    color: #333;
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 992px) {
    .product-carousel .product-item {
        flex: 0 0 calc(33.333% - 13px);
        max-width: calc(33.333% - 13px);
    }
    
    /* Product Tabs for Tablet */
    .tab-button {
        padding: 18px 20px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .product-carousel-container {
        gap: 10px;
    }
    
    .product-carousel .product-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 200px;
        max-width: calc(50% - 10px);
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
    }
    
    /* Product Tabs Responsive */
    .tab-headers {
        flex-wrap: wrap;
        gap: 0;
    }
    
    .tab-button {
        flex: 1;
        min-width: 0;
        padding: 15px 10px;
        font-size: 12px;
        text-align: center;
        line-height: 1.2;
        word-break: break-word;
    }
    
    .product-tabs {
        margin-top: 40px;
    }
    
    .tab-contents {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    /* Product Tabs for Very Small Screens */
    .tab-button {
        padding: 12px 8px;
        font-size: 11px;
        letter-spacing: 0.5px;
    }
    
    .product-tabs {
        margin-top: 30px;
    }
    
    .tab-contents {
        padding: 20px 0;
    }
}

/* Quick View Modal */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.quick-view-content {
    position: relative;
    background: white;
    max-width: 900px;
    max-height: 90vh;
    width: 90%;
    overflow-y: auto;
    z-index: 10001;
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 10002;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-close:hover {
    color: #000;
}

.quick-view-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}

.quick-view-image {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-view-image .main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

.quick-view-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.gallery-thumb {
    width: 60px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: #000;
}

.quick-view-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-view-details .product-brand {
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
}

.quick-view-details .product-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.quick-view-details .product-price {
    font-size: 20px;
    font-weight: 600;
    color: #000;
}

.quick-view-details .product-description {
    color: #666;
    line-height: 1.6;
}

.quick-view-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.quick-view-actions .btn {
    padding: 12px 24px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.quick-view-actions .btn-outline {
    border: 2px solid #000;
    background: transparent;
    color: #000;
}

.quick-view-actions .btn-outline:hover {
    background: #000;
    color: white;
}

.quick-view-actions .btn-primary {
    background: #000;
    color: white;
    border: 2px solid #000;
}

.quick-view-actions .btn-primary:hover {
    background: transparent;
    color: #000;
}

.quick-view-actions .out-of-stock {
    padding: 12px 24px;
    text-align: center;
    background: #f0f0f0;
    color: #999;
    font-weight: 600;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .quick-view-product {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .quick-view-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .quick-view-details .product-title {
        font-size: 20px;
    }
}

.product-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: #000;
}

.product-thumbnail img {
    width: 100%;
    height: auto;
}

.product-details {
    padding: 40px 0;
}

.product-breadcrumb {
    font-size: 12px;
    color: #999;
    margin-bottom: 30px;
}

.product-breadcrumb a {
    color: #999;
}

.product-breadcrumb a:hover {
    color: #333;
}

.product-single-title {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 10px;
}

.product-single-price {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
}

.product-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 30px;
}

.product-meta span {
    display: block;
    margin-bottom: 5px;
}

.product-form {
    margin-bottom: 30px;
}

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

.quantity-selector label {
    margin-right: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quantity-input {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
}

.quantity-input button {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.quantity-minus,
.quantity-plus {
    background: #f5f5f5;
    transition: background 0.3s ease;
}

.quantity-minus:hover,
.quantity-plus:hover {
    background: #e5e5e5;
}

.quantity-input input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

.add-to-cart-button {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

.add-to-cart-button:hover {
    background: #333;
}

.add-to-wishlist-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-wishlist-button:hover {
    background: #f5f5f5;
}

.product-categories {
    margin: 30px 0;
    font-size: 13px;
}

.product-categories p {
    margin: 5px 0;
}

.product-share {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-share a {
    width: 30px;
    height: 30px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-share a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.product-tabs {
    margin-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.tab-headers {
    display: flex;
    border-bottom: 1px solid #e5e5e5;
    flex-wrap: wrap;
}

.tab-button {
    padding: 20px 30px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
}

.tab-button.active {
    border-bottom-color: #000;
}

.tab-contents {
    padding: 40px 0;
}

.tab-content {
    display: none;
}

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

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

.info-table td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-table td:first-child {
    font-weight: 500;
    width: 150px;
}

.related-products {
    margin-top: 80px;
}

/* ==========================================================================
   Category Page
   ========================================================================== */

.category-page {
    padding: 50px 0;
}

.category-page-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
}

.category-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Hide mobile header on desktop */
.sidebar-mobile-header {
    display: none;
}

.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-list,
.subcategory-list {
    list-style: none;
}

.category-list > li {
    margin-bottom: 15px;
}

.category-list > li > a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    display: block;
    padding: 5px 0;
}

.category-parent.active > a {
    font-weight: 700;
}

.subcategory-list {
    margin-top: 10px;
    margin-left: 15px;
}

.subcategory-list li {
    margin-bottom: 8px;
}

.subcategory-list a {
    font-size: 12px;
    color: #666;
}

.subcategory-list a:hover {
    color: #000;
}

.price-filter {
    margin-top: 30px;
}

.price-range-slider {
    margin: 20px 0;
}

#price-range {
    width: 100%;
    -webkit-appearance: none;
    height: 4px;
    background: #e5e5e5;
    outline: none;
}

#price-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #000;
    cursor: pointer;
    border-radius: 50%;
}

#price-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #000;
    cursor: pointer;
    border-radius: 50%;
}

.price-range-display {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
}

.filter-button {
    background: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
    transition: background 0.3s ease;
}

.filter-button:hover {
    background: #333;
}

.category-content {
    flex: 1;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.category-title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
}

.category-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.results-count {
    font-size: 13px;
    color: #666;
}

.view-options {
    display: flex;
    gap: 10px;
}

.view-option {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-option.active {
    background: #000;
    color: #fff;
}

.view-option svg {
    fill: currentColor;
}

.sort-dropdown {
    position: relative;
}

.sort-dropdown select {
    padding: 8px 30px 8px 12px;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 13px;
    appearance: none;
    cursor: pointer;
}

.sort-dropdown::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: #666;
    pointer-events: none;
}

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

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.page-numbers:hover {
    background: #f5f5f5;
}

.page-numbers.current {
    background: #000;
    color: #fff;
    border-color: #000;
}

.page-numbers.next {
    width: auto;
    padding: 0 15px;
}

/* ==========================================================================
   Cart Page
   ========================================================================== */

.cart-page {
    padding: 50px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.cart-table th {
    text-align: left;
    padding: 20px 0;
    border-bottom: 2px solid #000;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cart-table td {
    padding: 30px 0;
    border-bottom: 1px solid #e5e5e5;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-product-image {
    width: 100px;
    height: 120px;
}

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

.cart-product-info h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}

.cart-product-info p {
    font-size: 13px;
    color: #666;
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
}

.cart-quantity button {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.cart-quantity input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

.cart-price {
    font-size: 16px;
    font-weight: 500;
}

.cart-remove {
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

.cart-remove:hover {
    color: #000;
}

.cart-summary {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

.cart-actions button {
    margin-right: 15px;
    padding: 12px 30px;
    border: 1px solid #e5e5e5;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cart-totals {
    background: #f8f8f8;
    padding: 30px;
}

.cart-totals h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.totals-row.total {
    font-size: 18px;
    font-weight: 500;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.checkout-button {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* ==========================================================================
   WooCommerce Page Fixes 
   ========================================================================== */

/* Hide duplicate page titles on WooCommerce pages - REMOVED TO PREVENT BREAKING LAYOUT */

/* My Account Layout */
.mi-cuenta-header {
    padding: 50px 0 30px;
}

.woocommerce-account-wrapper {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-top: 40px;
    min-height: 500px;
}

/* Navigation Sidebar */
.account-navigation-sidebar {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation-link {
    display: block;
    padding: 20px 30px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-MyAccount-navigation-link:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation-link:hover,
.woocommerce-MyAccount-navigation-link.is-active {
    background: #000;
    color: #fff;
}

/* Content Area */
.account-content-area {
    background: #fff;
    padding: 40px;
    border: 1px solid #e5e5e5;
}

.woocommerce-MyAccount-content {
    margin: 0;
}

.woocommerce-MyAccount-content .woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

/* Dashboard Welcome */
.woocommerce-MyAccount-content p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-account-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Mobile accordion navigation */
    .account-navigation-sidebar {
        position: relative;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    .woocommerce-MyAccount-navigation {
        display: none;
    }
    
    .woocommerce-MyAccount-navigation.active {
        display: block;
    }
    
    .account-content-area {
        padding: 20px;
    }
}


/* Override WooCommerce product layout to match custom design */
.woocommerce .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce .products li.product {
    background: #fff !important;
    transition: box-shadow 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    float: none !important;
}

.woocommerce .products li.product:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.woocommerce .products li.product a img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    transition: opacity 0.3s ease !important;
}

.woocommerce .products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 400 !important;
    margin: 15px 0 5px 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.woocommerce .products li.product .price {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin-bottom: 15px !important;
}

/* Style add to cart buttons to match design */
.woocommerce .products li.product .button {
    background: #000 !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border: none !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 1px !important;
    transition: background-color 0.3s ease !important;
    width: 100% !important;
    margin-top: 10px !important;
}

.woocommerce .products li.product .button:hover {
    background: #333 !important;
}

/* Hide only specific review elements */
.woocommerce-Reviews,
#reviews,
.reviews_tab,
li.reviews_tab {
    display: none !important;
}

/* Hide comment admin bar items */
#wp-admin-bar-comments {
    display: none !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #000;
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-column li {
    margin-bottom: 10px;
    font-size: 13px;
}

.footer-column a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 12px;
    color: #999;
}

.footer-bottom a {
    color: #fff;
}

.footer-bottom .payment-methods {
    margin-top: 20px;
}

.footer-bottom .payment-methods img {
    max-height: 40px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1200;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1300;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #000;
}

.mobile-nav {
    list-style: none;
    padding: 60px 20px 20px;
}

.mobile-nav > li {
    border-bottom: 1px solid #e5e5e5;
}

.mobile-nav > li > a {
    display: block;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submenu-toggle {
    position: absolute;
    right: 0;
    top: 10px;
    width: 30px;
    height: 30px;
    font-size: 20px;
}

.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    display: none;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu li {
    padding: 10px 0;
}

.mobile-submenu a {
    font-size: 13px;
    color: #666;
}

/* ==========================================================================
   Search Overlay
   ========================================================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.search-close {
    position: absolute;
    top: 40px;
    right: 40px;
    font-size: 40px;
    color: #000;
}

.search-content {
    width: 90%;
    max-width: 600px;
}

.search-form {
    display: flex;
    gap: 20px;
}

.search-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-bottom: 2px solid #000;
    font-size: 24px;
    background: transparent;
}

.search-form button {
    padding: 15px 40px;
    background: #000;
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   Cart Sidebar
   ========================================================================== */

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1300;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1250;
}

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

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

.cart-header h3 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-close {
    font-size: 30px;
    color: #000;
}

.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 #e5e5e5;
}

.cart-item-image {
    width: 80px;
    height: 100px;
}

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

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

.cart-item-details h4 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.cart-item-quantity button {
    width: 25px;
    height: 25px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
}

.cart-item-quantity input {
    width: 40px;
    text-align: center;
    border: 1px solid #e5e5e5;
    padding: 4px;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 500;
}

.cart-item-remove {
    font-size: 20px;
    color: #999;
    cursor: pointer;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
}

.cart-subtotal {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.cart-footer .btn {
    width: 100%;
    margin-bottom: 10px;
}

/* ==========================================================================
   Notifications
   ========================================================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    z-index: 3000;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #000;
}

input.error {
    border-color: #dc3545;
}

/* ==========================================================================
   Cart Page Specific Styles
   ========================================================================== */

.cart-page {
    padding: 50px 0;
}

.page-title {
    font-size: 32px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cart-page-content {
    margin-bottom: 40px;
}

.cart-table-container {
    overflow-x: auto;
    margin-bottom: 40px;
}

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

.cart-table th {
    text-align: left;
    padding: 20px 10px;
    border-bottom: 2px solid #000;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cart-table td {
    padding: 30px 10px;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
}

.cart-remove-cell {
    width: 50px;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cart-product-image {
    width: 100px;
    height: 120px;
    flex-shrink: 0;
}

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

.cart-product-info h3 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 5px;
}

.cart-product-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.cart-quantity-cell {
    width: 150px;
}

.cart-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    width: fit-content;
    margin: 0 auto;
}

.cart-quantity button {
    width: 35px;
    height: 35px;
    font-size: 16px;
    background: #f5f5f5;
    transition: background 0.3s ease;
}

.cart-quantity button:hover {
    background: #e5e5e5;
}

.cart-quantity input {
    width: 50px;
    height: 35px;
    text-align: center;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

.cart-price {
    font-size: 16px;
    font-weight: 500;
    text-align: right;
}

.cart-remove {
    font-size: 20px;
    color: #999;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s ease;
}

.cart-remove:hover {
    color: #000;
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.cart-actions {
    flex: 1;
}

.cart-totals {
    width: 350px;
    background: #f8f8f8;
    padding: 30px;
}

.cart-totals h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.totals-row.total {
    font-size: 18px;
    font-weight: 500;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.checkout-button {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.checkout-button:hover {
    background: #333;
}

/* ==========================================================================
   Checkout Page Specific Styles
   ========================================================================== */

.checkout-page {
    padding: 50px 0;
}

.breadcrumb {
    font-size: 12px;
    color: #999;
    margin-bottom: 40px;
    text-align: center;
}

.breadcrumb a {
    color: #999;
}

.breadcrumb a:hover {
    color: #333;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.checkout-form {
    background: #fff;
}

.checkout-form h2,
.checkout-form h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-form h3 {
    margin-top: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

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

.order-summary {
    background: #f8f8f8;
    padding: 30px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.order-summary h2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-details {
    margin-bottom: 30px;
}

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

.order-table th {
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.order-table td {
    padding: 10px 0;
    font-size: 14px;
}

.order-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.order-table tfoot tr {
    border-top: 1px solid #e5e5e5;
}

.order-table tfoot td {
    padding: 15px 0;
}

.payment-methods {
    margin: 30px 0;
}

.payment-methods h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.payment-option {
    margin-bottom: 20px;
}

.payment-option input[type="radio"] {
    margin-right: 10px;
}

.payment-option label {
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.payment-info {
    background: #e8f4f8;
    padding: 15px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.6;
    border-radius: 4px;
}

.terms-checkbox {
    margin-bottom: 30px;
}

.terms-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.terms-checkbox label {
    font-size: 13px;
    line-height: 1.5;
}

.terms-checkbox a {
    color: #000;
    text-decoration: underline;
}

.place-order-button {
    width: 100%;
    padding: 15px;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease;
}

.place-order-button:hover {
    background: #333;
}

.checkout-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.info-column h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.info-column p {
    font-size: 13px;
    line-height: 1.6;
}

/* ==========================================================================
   Brands Page Specific Styles
   ========================================================================== */

.brands-page {
    padding: 50px 0;
}

.brands-filter {
    text-align: center;
    margin-bottom: 40px;
}

.brands-filter button {
    background: none;
    border: 1px solid #e5e5e5;
    padding: 8px 15px;
    margin: 0 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brands-filter button:hover,
.brands-filter button.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.brands-grid-container {
    margin: 40px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 0;
    margin: 0;
}

.brand-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.brand-item:hover {
    border-color: #000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.brand-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.brand-logo {
    width: 100%;
    max-width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-item:hover .brand-logo img {
    filter: grayscale(0%);
}

.brand-name {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    color: #333;
    transition: color 0.3s ease;
}

.brand-item:hover .brand-name {
    color: #000;
}

.brand-logo.no-image {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #ddd;
}

.brand-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

.brand-item:nth-child(1) { animation-delay: 0.05s; }
.brand-item:nth-child(2) { animation-delay: 0.1s; }
.brand-item:nth-child(3) { animation-delay: 0.15s; }
.brand-item:nth-child(4) { animation-delay: 0.2s; }
.brand-item:nth-child(5) { animation-delay: 0.25s; }
.brand-item:nth-child(6) { animation-delay: 0.3s; }
.brand-item:nth-child(7) { animation-delay: 0.35s; }
.brand-item:nth-child(8) { animation-delay: 0.4s; }
.brand-item:nth-child(9) { animation-delay: 0.45s; }
.brand-item:nth-child(10) { animation-delay: 0.5s; }
.brand-item:nth-child(11) { animation-delay: 0.55s; }
.brand-item:nth-child(12) { animation-delay: 0.6s; }

/* ==========================================================================
   Utilities
   ========================================================================== */

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

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

.text-right {
    text-align: right;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* Table Responsive Wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    min-width: 600px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-carousel .product-item {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 992px) {
    .header-top .container {
        flex-wrap: wrap;
    }
    
    .header-logo {
        order: -1;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .mega-menu {
        min-width: 600px;
    }
    
    .product-single-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .main-navigation {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .slide-text h2 {
        font-size: 32px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .products-carousel .product-item {
        flex: 0 0 calc(50% - 15px);
    }
    
    .category-page-grid {
        grid-template-columns: 1fr;
    }
    
    .category-sidebar {
        position: static;
        margin-bottom: 40px;
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 20px;
    }
    
    /* Mobile sidebar collapsible functionality */
    .sidebar-mobile-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 15px 20px;
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 20px;
        background-color: #f8f8f8;
        border-radius: 5px;
    }
    
    .sidebar-mobile-title {
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin: 0;
    }
    
    .sidebar-toggle {
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
        transition: transform 0.3s ease;
        color: #666;
        padding: 5px;
    }
    
    .sidebar-toggle::after {
        content: '▼';
    }
    
    .category-sidebar.collapsed .sidebar-toggle {
        transform: rotate(180deg);
    }
    
    .category-sidebar.collapsed .sidebar-content {
        display: none;
    }
    
    .sidebar-content {
        transition: all 0.3s ease;
    }
    
    .category-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .product-image img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .header-info {
        display: none;
    }

    .header-actions {
        gap: 10px;
    }

    .cart-count {
        display: none;
    }

    .slide-text h2 {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }

    .products-carousel .product-item {
        flex: 0 0 100%;
    }
    
    .category-products {
        grid-template-columns: 1fr;
    }

    .product-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .search-form input {
        font-size: 18px;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

/* Brand link styling - global */
.product-brand a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-brand a:hover {
    color: #000;
}

/* Hide WooCommerce automatic page titles to prevent duplicates */
.woocommerce-page-title,
.woocommerce .page-title:not(.custom-title),
.entry-header .entry-title,
body.woocommerce .entry-title,
body.woocommerce-page .entry-title,
.woocommerce-content .page-title:first-child,
.content-area .entry-header {
    display: none !important;
}

/* Featured Brands Carousel */
.featured-brands {
    padding: 60px 0;
    background: #f8f8f8;
}

.brands-carousel-container {
    position: relative;
    overflow: visible; /* Change to visible so arrows show */
    margin: 40px 30px; /* Reasonable margin */
    padding: 0 60px; /* Padding to make space for arrows inside */
}

.brands-carousel {
    width: 100%;
    overflow: hidden; /* Move overflow hidden here */
}

.brands-track {
    display: flex;
    width: calc(200% + 40px); /* Double width for seamless loop */
    transition: transform 0.5s ease;
}

/* Carousel Navigation Arrows */
.brands-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brands-carousel-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.brands-carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.brands-prev {
    left: 5px;
}

.brands-next {
    right: 5px;
}

.brands-carousel-arrow svg {
    color: #333;
    transition: color 0.3s ease;
}

.brands-carousel-arrow:hover svg {
    color: #000;
}

.brand-slide {
    flex: 0 0 180px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    background: #fff;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    box-sizing: border-box;
}

.brand-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.brand-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.brand-slide img {
    max-width: 140px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-slide:hover img {
    filter: grayscale(0%);
}

.brand-slide .brand-name {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    text-align: center;
    transition: color 0.3s ease;
}

.brand-slide:hover .brand-name {
    color: #000;
}

/* Remove keyframes animation - now controlled by JavaScript */

/* Responsive adjustments */
@media (max-width: 768px) {
    .brands-carousel-container {
        margin: 40px 20px;
        padding: 0 50px;
    }
    
    .brand-slide {
        flex: 0 0 150px;
        height: 100px;
        padding: 15px;
    }
    
    .brand-slide img {
        max-width: 120px;
        max-height: 60px;
    }
    
    .brands-carousel-arrow {
        width: 45px;
        height: 45px;
    }
    
    .brands-prev {
        left: 2px;
    }
    
    .brands-next {
        right: 2px;
    }
}

@media (max-width: 480px) {
    .brands-carousel-container {
        margin: 40px 15px;
        padding: 0 45px;
    }
    
    .brand-slide {
        flex: 0 0 130px;
        height: 80px;
        padding: 10px;
    }
    
    .brand-slide img {
        max-width: 100px;
        max-height: 50px;
    }
    
    .brands-carousel-arrow {
        width: 40px;
        height: 40px;
    }
    
    .brands-carousel-arrow svg {
        width: 18px;
        height: 18px;
    }
    
    .brands-prev {
        left: 2px;
    }
    
    .brands-next {
        right: 2px;
    }
}