/*
Theme Name: Matjary.ai
Description: Premium E-commerce Theme for DUCRAY Products - Complete WooCommerce Integration
Version: 1.0.0
Author: Matjary Team
Text Domain: matjary
*/

/* =========================================
   1. RESET & BASE STYLES
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #121212;
    background: #ffffff;
}

.site-wrapper,
body.home {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content,
.main-content {
    flex: 1 0 auto;
}

/* =========================================
   2. TYPOGRAPHY
   ========================================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #121212;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    color: #121212;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #757575;
}

/* =========================================
   3. LAYOUT
   ========================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 60px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    color: #121212;
}

.section-heading p {
    font-size: 1.125rem;
    color: #757575;
}

/* =========================================
   4. HEADER
   ========================================= */

.header {
    background: #ffffff;
    border-bottom: 1px solid #e3e3e3;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #121212;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions button,
.header-actions a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #121212;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.cart-count,
.wishlist-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #121212;
    color: #fff;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.wishlist-count:empty,
.wishlist-count[style*="display: none"] {
    display: none !important;
}

/* Wishlist Dropdown */
.wishlist-dropdown {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.wishlist-dropdown.active {
    right: 0;
}

.wishlist-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wishlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e3e3e3;
    background: #f8f9fa;
}

.wishlist-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #121212;
}

.wishlist-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.wishlist-close:hover {
    background: #e3e3e3;
    color: #121212;
}

.wishlist-content {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.wishlist-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #666;
}

.wishlist-loading .spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e3e3e3;
    border-top: 2px solid #121212;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #666;
}

.wishlist-empty-icon {
    margin-bottom: 1rem;
    color: #ccc;
}

.wishlist-empty p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.wishlist-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wishlist-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s ease;
}

.wishlist-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wishlist-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.wishlist-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wishlist-item-title {
    font-weight: 500;
    color: #121212;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.wishlist-item-price {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.wishlist-item-actions {
    display: flex;
    gap: 0.5rem;
}

.wishlist-item-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    min-height: auto;
}

.wishlist-footer {
    padding: 1.5rem;
    border-top: 1px solid #e3e3e3;
    background: #f8f9fa;
}

.wishlist-footer .btn {
    width: 100%;
    justify-content: center;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wishlist-dropdown {
        width: 100%;
        right: -100%;
    }
}

/* =========================================
   5. HERO SECTION - FIXED
   ========================================= */

.hero-section {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #121212;
    max-width: 600px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #121212;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #666;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   6. BUTTONS
   ========================================= */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.5;
    text-decoration: none;
}

.btn-primary {
    background: #121212;
    color: #ffffff;
    border-color: #121212;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: #121212;
    border-color: #121212;
}

.btn-outline:hover {
    background: #121212;
    color: #ffffff;
}

.btn-disabled {
    background: #e3e3e3;
    color: #999;
    cursor: not-allowed;
    border-color: #e3e3e3;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

/* =========================================
   7. CATEGORIES SECTION - IMPROVED
   ========================================= */

.shop-categories {
    padding: 4rem 0;
    background: #f7f7f7;
}

.category-carousel-wrapper {
    position: relative;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.category-grid.has-carousel {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    overflow: hidden;
}

.category-card {
    text-align: center;
    transition: transform 0.3s ease;
    cursor: pointer;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    background: #ffffff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-info {
    padding: 1rem;
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    color: #121212;
    margin-bottom: 0.25rem;
}

.category-count {
    font-size: 0.875rem;
    color: #757575;
}

/* Category Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #e3e3e3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: #121212;
    color: #ffffff;
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-nav.prev {
    left: -24px;
}

.carousel-nav.next {
    right: -24px;
}

.no-categories {
    text-align: center;
    padding: 3rem;
    background: #ffffff;
    border-radius: 8px;
}

/* =========================================
   8. PRODUCTS SECTION - ENHANCED
   ========================================= */

.featured-products {
    padding: 4rem 0;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    background: #f7f7f7;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image .badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: #e74c3c;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.badge.sale {
    background: #e74c3c;
}

.badge.new {
    background: #27ae60;
}

.badge.low-stock {
    background: #f39c12;
}

.product-info {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    min-height: 2.5rem;
    line-height: 1.3;
}

.product-title a {
    color: #121212;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.product-price .price {
    color: #121212;
}

.product-price .original-price,
.product-price del {
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-rating .star-rating {
    color: #ffc107;
}

.review-count {
    font-size: 0.875rem;
    color: #757575;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0 1.25rem 1.25rem;
    margin-top: auto;
}

.product-actions .btn {
    padding: 0.625rem 0.75rem;
    font-size: 0.75rem;
}

.product-actions .btn-disabled {
    grid-column: span 2;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 3rem;
}

.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #f7f7f7;
    border-radius: 8px;
}

.no-products-message h3 {
    margin-bottom: 1rem;
    color: #121212;
}

.no-products-message p {
    margin-bottom: 2rem;
    color: #666;
}

/* =========================================
   9. SHOP PAGE STYLES
   ========================================= */

.shop-page {
    padding: 2rem 0;
}

.shop-header {
    text-align: center;
    margin-bottom: 3rem;
}

.shop-header h1 {
    margin-bottom: 1rem;
}

.shop-description {
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
    margin-top: 2rem;
}

.shop-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.filter-toggle {
    display: none;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #e3e3e3;
    cursor: pointer;
    font-size: 14px;
    align-items: center;
    gap: 0.5rem;
}

.sort-dropdown select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid #e3e3e3;
    background: white;
    cursor: pointer;
    font-size: 14px;
}

.view-mode {
    display: flex;
    gap: 0.25rem;
    border: 1px solid #e3e3e3;
}

.view-mode-btn {
    padding: 0.5rem;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-mode-btn.active {
    background: #121212;
    color: white;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    border-bottom: 1px solid #e3e3e3;
    padding: 1.5rem 0;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.toggle-icon {
    font-size: 18px;
    color: #999;
}

.filter-content {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.filter-checkbox input {
    margin-right: 0.5rem;
}

.filter-checkbox .count {
    margin-left: auto;
    color: #999;
    font-size: 14px;
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e3e3e3;
}

.active-filters {
    background: #f7f7f7;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.active-filters h4 {
    font-size: 14px;
    margin-bottom: 0.75rem;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: white;
    border: 1px solid #e3e3e3;
    border-radius: 20px;
    font-size: 13px;
}

.remove-filter {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    color: #999;
}

.clear-all {
    font-size: 13px;
    text-decoration: underline;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.products-list .product-card {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    align-items: center;
}

.products-list .product-image {
    aspect-ratio: 1;
}

.products-list .product-info {
    padding: 1rem 2rem;
}

.products-list .product-actions {
    padding: 1rem;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
}

.shop-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.shop-pagination ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.shop-pagination li {
    display: flex;
}

.shop-pagination a, .shop-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    border: 1px solid #e3e3e3;
    background: white;
    color: #121212;
    text-decoration: none;
    transition: all 0.2s;
}

.shop-pagination .current {
    background: #121212;
    color: white;
    border-color: #121212;
}

.shop-pagination a:hover {
    background: #f7f7f7;
}

/* =========================================
   10. TEXT WITH IMAGE SECTIONS
   ========================================= */

.text-with-image {
    padding: 5rem 0;
    background: #ffffff;
}

.text-with-image .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-with-image:nth-child(even) {
    background: #f7f7f7;
}

.text-with-image:nth-child(even) .container {
    direction: rtl;
}

.text-with-image:nth-child(even) .text-content {
    direction: ltr;
}

.text-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.text-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.image-wrapper {
    border-radius: 8px;
    overflow: hidden;
    background: #f7f7f7;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f7f7f7 25%, transparent 25%), 
                linear-gradient(-45deg, #f7f7f7 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, #f7f7f7 75%), 
                linear-gradient(-45deg, transparent 75%, #f7f7f7 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: 600;
}

/* =========================================
   11. GALLERY SECTION
   ========================================= */

.gallery-section {
    padding: 4rem 0;
    background: #f7f7f7;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* =========================================
   12. TESTIMONIALS SECTION
   ========================================= */

.testimonials {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
}

.google-reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.google-reviews-header h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.google-reviews-header p {
    font-size: 1.125rem;
    color: #757575;
    margin-bottom: 1.5rem;
}

.overall-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: #121212;
}

.overall-rating .stars {
    display: flex;
    gap: 0.125rem;
    color: #ffc107;
    font-size: 1.25rem;
}

.total-reviews {
    font-size: 1rem;
    color: #757575;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 2.5rem;
}

.testimonial-card {
    background: #f7f7f7;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
}

.google-rating {
    margin-bottom: 1.5rem;
}

.google-rating .stars {
    color: #ffc107;
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #121212;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    font-size: 0.875rem;
    color: #757575;
    margin: 0;
}

.review-date {
    font-size: 0.75rem;
    color: #999;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e3e3e3;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: #121212;
}

/* =========================================
   13. NEWSLETTER SECTION
   ========================================= */

.newsletter-section {
    padding: 5rem 0;
    background: #121212;
    color: #ffffff;
    text-align: center;
}

.newsletter-section h2 {
    font-size: 2.25rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.newsletter-section p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
}

.newsletter-section a {
    color: #ffffff;
    text-decoration: underline;
}

/* =========================================
   14. FOOTER - PROPERLY POSITIONED
   ========================================= */

.footer {
    background: #f7f7f7;
    border-top: 1px solid #e3e3e3;
    padding: 4rem 0 1.5rem;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #757575;
    margin-bottom: 1.5rem;
}

.newsletter-signup h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.newsletter-form {
    display: flex;
    max-width: 300px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid #e3e3e3;
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    padding: 0.75rem 1.25rem;
    background: #121212;
    color: #ffffff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #333;
}

.footer-section h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #757575;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #121212;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #e3e3e3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #757575;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #121212;
    color: #ffffff;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #e3e3e3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: #757575;
    font-size: 0.875rem;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
}

.payment-icons span {
    padding: 0.25rem 0.75rem;
    background: #e3e3e3;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    color: #757575;
}

/* =========================================
   15. ABOUT & CONTACT PAGES
   ========================================= */

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.page-content h1 {
    text-align: center;
    margin-bottom: 2rem;
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.quick-links {
    margin-top: 3rem;
}

.quick-links ul {
    list-style: none;
    padding: 0;
}

.quick-links ul li {
    margin-bottom: 0.5rem;
}

/* =========================================
   16. LOADING & ANIMATIONS
   ========================================= */

.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: none;
}

.loading-indicator.active {
    display: block;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e3e3e3;
    border-top: 3px solid #121212;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Toast notifications */
.cart-message {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #27ae60;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 9999;
    animation: slideIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-message-error {
    background: #e74c3c;
}

.message-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =========================================
   17. RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .text-with-image .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100%;
        background: white;
        z-index: 1001;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        padding: 1rem;
    }
    
    .shop-sidebar.active {
        left: 0;
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid #e3e3e3;
        margin-bottom: 1rem;
    }
    
    .close-filters {
        font-size: 24px;
        background: none;
        border: none;
        cursor: pointer;
    }
    
    .filter-toggle {
        display: flex;
    }
    
    .filter-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        display: none;
    }
    
    .filter-overlay.active {
        display: block;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    .view-mode {
        display: none;
    }
    
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .shop-controls {
        justify-content: space-between;
    }
    
    .carousel-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

@media (min-width: 769px) {
    .mobile-only {
        display: none !important;
    }
}

/* =========================================
   18. UTILITIES
   ========================================= */

.text-center {
    text-align: center;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fade-in {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WooCommerce specific styles */
.woocommerce-message {
    background: #27ae60;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.woocommerce-error {
    background: #e74c3c;
    color: white;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.star-rating {
    color: #ffc107;
    font-size: 1rem;
}

.price {
    font-weight: 600;
    color: #121212;
}

.price del {
    color: #999;
    margin-right: 0.5rem;
}
/* Mobile Menu Fix - Add this to your style.css */

/* Hide mobile menu on desktop */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: none; /* Hide by default */
}

/* Mobile menu toggle - hide on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Show mobile elements only on mobile */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .mobile-menu.active {
        left: 0;
    }
    
    /* Hide desktop navigation on mobile */
    .nav {
        display: none;
    }
}

/* Ensure desktop nav is visible on desktop */
@media (min-width: 769px) {
    .nav {
        display: flex;
    }
    
    .mobile-menu,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* =========================================
   BOXED PRODUCTS DESIGN (like categories)
   ========================================= */

.section-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-title-area {
    flex: 1;
}

.section-title-area h2 {
    margin-bottom: 0.5rem;
    text-align: left;
}

.section-title-area p {
    margin-bottom: 0;
    text-align: left;
}

.view-all-link {
    flex-shrink: 0;
}

.products-container {
    background: #f7f7f7;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e3e3e3;
    width: 100%;
    max-width: 100%;
}

.products-grid-boxed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 100%;
}

/* Enhanced Product Cards for Boxed Design */
.products-container .product-card {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.products-container .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.products-container .product-image {
    position: relative;
    width: 100%;
    height: 250px;
    background: #f9f9f9;
    overflow: hidden;
}

.products-container .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.products-container .product-card:hover .product-image img {
    transform: scale(1.05);
}

.products-container .product-info {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.products-container .product-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    min-height: 2.4rem;
    line-height: 1.2;
}

.products-container .product-price {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #121212;
}

.products-container .product-actions {
    padding: 0 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
}

.products-container .product-actions .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    text-align: center;
}

/* Specific styling for add-to-cart and buy-now buttons in best seller section */
.products-container .product-actions .add-to-cart-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-container .product-actions .add-to-cart-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.products-container .product-actions .add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.products-container .product-actions .buy-now-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: white;
    color: #000;
    border: 2px solid #000;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.products-container .product-actions .buy-now-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.products-container .product-actions .buy-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* No Products Message in Box */
.products-container .no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 8px;
    border: 2px dashed #e3e3e3;
}

.products-container .no-products-message h3 {
    margin-bottom: 1rem;
    color: #121212;
}

.products-container .no-products-message p {
    margin-bottom: 2rem;
    color: #666;
}

/* Responsive Design for Boxed Products */
@media (max-width: 768px) {
    .section-header-with-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .section-title-area h2,
    .section-title-area p {
        text-align: center;
    }
    
    .products-container {
        padding: 1rem;
    }
    
    .products-grid-boxed {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid-boxed {
        grid-template-columns: 1fr;
    }
    
    .products-container .product-actions {
        flex-direction: column;
    }
}

/* ========================================
   SEARCH POPUP - MODERN & SMOOTH
   ======================================== */

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.search-overlay.active .search-container {
    transform: translateY(0) scale(1);
}

.search-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-close:hover {
    background: #f5f5f5;
    color: #333;
}

.search-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
}

.search-input:focus {
    border-color: #000;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.1);
}

.search-submit {
    padding: 1rem 2rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-submit:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.search-results-grid {
    display: grid;
    gap: 1rem;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.search-result-item:hover {
    background: #f8f9fa;
    transform: translateX(4px);
}

.search-result-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: #1a1a1a;
}

.search-result-price {
    color: #666;
    font-weight: 500;
}

.search-loading,
.search-no-results,
.search-error {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.search-more {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* ========================================
   CART SLIDER - ENHANCED
   ======================================== */

.cart-slide-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-slide-panel.active {
    right: 0;
}

.cart-slide-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.cart-slide-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.cart-slide-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-slide-close:hover {
    background: #e9ecef;
    color: #333;
}

.cart-slide-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-loading,
.cart-empty,
.cart-error {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.cart-item:hover {
    border-color: #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-details h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.cart-item-details h4 a {
    color: #1a1a1a;
    text-decoration: none;
}

.cart-item-details h4 a:hover {
    color: #000;
}

.cart-item-price {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.cart-item-quantity {
    font-size: 0.8rem;
    color: #666;
}

.remove-cart-item {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ff4757;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0;
}

.cart-item:hover .remove-cart-item {
    opacity: 1;
}

.remove-cart-item:hover {
    background: #ff3742;
    transform: scale(1.1);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.cart-total {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.cart-actions {
    display: flex;
    gap: 1rem;
}

.cart-actions .btn {
    flex: 1;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-outline {
    background: white;
    color: #1a1a1a;
    border: 2px solid #ddd;
}

.btn-outline:hover {
    border-color: #1a1a1a;
    background: #f8f9fa;
}

.btn-primary {
    background: #000;
    color: white;
    border: 2px solid #000;
}

.btn-primary:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-1px);
}

/* Spinner animations */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .search-container {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-submit {
        width: 100%;
    }
    
    .cart-slide-panel {
        width: 100%;
        right: -100%;
    }
    
    .cart-item {
        padding: 0.75rem;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .search-container {
        padding: 1rem;
    }
    
    .search-input {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .cart-slide-header {
        padding: 1rem;
    }
    
    .cart-slide-body {
        padding: 1rem;
    }
}

/* ========================================
   WISHLIST STYLES
   ======================================== */

/* Wishlist Button Styles */
.wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.wishlist-btn:hover {
    border-color: #ff4757;
    color: #ff4757;
}

.wishlist-btn.in-wishlist {
    background: #ff4757;
    border-color: #ff4757;
    color: white;
}

.wishlist-btn.in-wishlist:hover {
    background: #ff3742;
    border-color: #ff3742;
}

.wishlist-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.wishlist-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: wishlist-spin 1s linear infinite;
}

@keyframes wishlist-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wishlist-icon {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.wishlist-btn:hover .wishlist-icon {
    transform: scale(1.1);
}

.wishlist-text {
    font-weight: 500;
}

/* Menu Wishlist Count */
.menu-item-wishlist .wishlist-count {
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 0.5rem;
    animation: wishlist-bounce 0.3s ease;
}

@keyframes wishlist-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Wishlist Messages */
.wishlist-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: wishlist-slideIn 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-message.success {
    background: #28a745;
}

.wishlist-message.error {
    background: #dc3545;
}

@keyframes wishlist-slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Product Loop Wishlist Button */
.woocommerce-loop-product__link .wishlist-btn,
.product .wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 10;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.woocommerce-loop-product__link:hover .wishlist-btn,
.product:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Single Product Wishlist Button */
.wishlist-single-product {
    margin: 1rem 0;
}

.wishlist-single-product .wishlist-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1rem;
    background: #f8f9fa;
    border: 2px solid #e3e3e3;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wishlist-single-product .wishlist-btn:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.wishlist-single-product .wishlist-btn.in-wishlist {
    background: #ff4757;
    border-color: #ff4757;
    color: white;
}

.wishlist-single-product .wishlist-btn.in-wishlist:hover {
    background: #e63946;
    border-color: #e63946;
}

.wishlist-single-product .wishlist-btn:hover {
    background: #e9ecef;
    border-color: #ff4757;
}

.wishlist-single-product .wishlist-btn.in-wishlist {
    background: #ff4757;
    border-color: #ff4757;
    color: white;
}

/* Wishlist Page Specific Styles */
.wishlist-page {
    padding: 2rem 0;
    min-height: 60vh;
}

.wishlist-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e3e3e3;
}

.wishlist-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #121212;
}

.wishlist-header p {
    font-size: 1.125rem;
    color: #666;
    margin: 0;
}

.wishlist-login-required {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.login-message {
    text-align: center;
    max-width: 400px;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e3e3e3;
}

.login-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.login-message h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #121212;
}

.login-message p {
    color: #666;
    margin-bottom: 2rem;
}

.login-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.wishlist-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.wishlist-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e3e3e3;
}

.wishlist-count {
    font-weight: 500;
    color: #121212;
}

.wishlist-actions {
    display: flex;
    gap: 1rem;
}

.wishlist-grid {
    padding: 2rem;
}

.loading-wishlist {
    text-align: center;
    padding: 3rem;
}

.loading-wishlist .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.wishlist-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
    position: relative;
}

.wishlist-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.wishlist-item.selected {
    background: #f0f8ff;
    border-color: #007bff;
}

.wishlist-item-checkbox {
    display: flex;
    align-items: center;
}

.wishlist-item-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.wishlist-item-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-image .placeholder {
    color: #ccc;
    font-size: 2rem;
}

.wishlist-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.wishlist-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #121212;
    text-decoration: none;
    line-height: 1.3;
}

.wishlist-item-title:hover {
    color: #007bff;
}

.wishlist-item-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #007bff;
}

.wishlist-item-date {
    font-size: 0.875rem;
    color: #666;
}

.wishlist-item-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.wishlist-item-actions .btn {
    min-width: 120px;
    text-align: center;
}

.empty-wishlist {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-wishlist h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #121212;
}

.empty-wishlist p {
    color: #666;
    margin-bottom: 2rem;
}

/* Responsive Wishlist */
@media (max-width: 768px) {
    .wishlist-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .wishlist-text {
        display: none;
    }
    
    .wishlist-btn .wishlist-icon {
        font-size: 1.2rem;
    }
    
    .wishlist-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .wishlist-actions {
        justify-content: center;
    }
    
    .wishlist-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .wishlist-item-image {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .wishlist-item-actions {
        align-items: center;
    }
    
    .wishlist-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .wishlist-message {
        top: 10px;
        right: 10px;
        left: 10px;
        text-align: center;
    }
    
    .wishlist-page {
        padding: 1rem 0;
    }
    
    .wishlist-grid {
        padding: 1rem;
    }
    
    .wishlist-item {
        padding: 1rem;
    }
    
    .login-actions {
        flex-direction: column;
    }
}

/* Shop Product Items */
.product-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-title a {
    color: #121212;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title a:hover {
    color: #007bff;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 1rem;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.product-actions .add-to-cart-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-actions .add-to-cart-btn:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-actions .add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-actions .buy-now-btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    background: white;
    color: #000;
    border: 2px solid #000;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-actions .buy-now-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-actions .buy-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Product Grid Layout */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .shop-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-details {
        padding: 1rem;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   FILTER STYLES
   ========================================= */

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.filter-sidebar {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    padding: 1.5rem;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.filter-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.clear-filters {
    background: none;
    border: none;
    color: #666;
    font-size: 0.875rem;
    cursor: pointer;
    text-decoration: underline;
}

.clear-filters:hover {
    color: #1a1a1a;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Price Slider */
#priceSlider {
    margin: 1rem 0.5rem;
}

.price-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.price-display {
    text-align: center;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.875rem;
}

/* Checkboxes and Radio buttons */
.filter-checkbox,
.filter-radio {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.filter-checkbox input,
.filter-radio input {
    margin-right: 0.5rem;
}

.filter-checkbox .count {
    margin-left: auto;
    color: #999;
    font-size: 0.875rem;
}

/* Filter Actions */
.filter-actions {
    margin-top: 2rem;
}

.apply-filters {
    width: 100%;
    padding: 0.75rem;
    background: #000;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.apply-filters:hover {
    background: #333;
}

/* Loading State */
.loading-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Shop Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e3e3e3;
    border-bottom: 1px solid #e3e3e3;
}

.product-count span {
    font-weight: 500;
    color: #121212;
}

.shop-sort select {
    padding: 0.5rem 1rem;
    border: 1px solid #e3e3e3;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

/* Filter Toggle */
.filter-toggle {
    display: none;
    margin-bottom: 1rem;
}

.filter-toggle .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
}

.filter-icon {
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .filter-sidebar.active {
        left: 0;
    }
    
    .filter-toggle {
        display: block;
        margin-bottom: 1rem;
    }
    
    body.filter-open {
        overflow: hidden;
    }
    
    .shop-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
}

/* Modern Single Product Page Styles - JAR THURAYA Design */

/* Breadcrumbs */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumb-nav a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #0056b3;
}

.breadcrumb-nav .separator {
    margin: 0 8px;
    color: #6c757d;
}

.breadcrumb-nav .current {
    color: #495057;
    font-weight: 500;
}

/* Category Title */
.category-title-section {
    background: #fff;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.category-title {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Page Layout */
.product-page {
    padding: 40px 0;
    background: #fff;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 20px;
}

.gallery-main {
    margin-bottom: 20px;
}

.main-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    background: #fff;
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.product-badge.sale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.thumb-btn {
    width: 70px;
    height: 70px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    padding: 0;
}

.thumb-btn.active {
    border-color: #007bff;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Details */
.product-details {
    padding: 20px 0;
}

.product-title {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

/* Product Availability */
.product-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.availability-label {
    font-size: 14px;
    color: #6c757d;
}

.availability-status {
    font-size: 14px;
    font-weight: 500;
}

.availability-status.in-stock {
    color: #28a745;
}

.availability-status.out-of-stock {
    color: #dc3545;
}

/* Product SKU */
.product-sku {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.sku-label {
    font-size: 14px;
    color: #6c757d;
}

.sku-value {
    font-size: 14px;
    color: #495057;
    font-weight: 500;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.rating-count {
    font-size: 14px;
    color: #6c757d;
}

.no-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.no-rating .stars {
    color: #dee2e6;
    font-size: 16px;
}

.no-rating .rating-text {
    font-size: 14px;
    color: #6c757d;
}

/* Product Price */
.product-price {
    font-size: 28px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
}

.product-price del {
    font-size: 18px;
    color: #6c757d;
    margin-right: 10px;
}

.product-price ins {
    text-decoration: none;
}

/* Product Description */
.product-short-description {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 30px;
}

/* Quantity Controls */
.quantity-wrapper {
    margin-bottom: 25px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f8f9fa;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: #e9ecef;
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    background: #fff;
}

.qty-input:focus {
    outline: none;
}

/* Purchase Buttons */
.purchase-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.add-to-cart-btn, .buy-now-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn {
    background: #000;
    color: white;
}

.add-to-cart-btn:hover {
    background: #333;
}

.buy-now-btn {
    background: #6c757d;
    color: white;
}

.buy-now-btn:hover {
    background: #000;
}

.add-to-cart-btn:disabled, .buy-now-btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

/* Wishlist Section */
.wishlist-section {
    margin-bottom: 20px;
}

.wishlist-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.wishlist-link:hover {
    color: #dc3545;
}

.wishlist-icon {
    font-size: 16px;
}

.wishlist-text {
    font-weight: 500;
}

.wishlist-link.in-wishlist {
    color: #dc3545;
}

/* Key Features */
.key-features {
    margin-bottom: 25px;
}

.key-features h4 {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
}

.key-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

.key-features li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

/* Share Section */
.share-section {
    margin-bottom: 25px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    color: #6c757d;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
}

.share-icon {
    font-size: 14px;
}

/* Product Info Sections */
.product-info-sections {
    margin-top: 40px;
}

.info-section {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 20px;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    cursor: pointer;
}

.section-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.section-toggle {
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-content {
    padding: 20px;
    background: #fff;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #212529;
    font-weight: 500;
}

/* Related Products Section */
.related-products-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #dee2e6;
}

.related-products-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 25px;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.related-product {
    text-align: center;
}

.related-product-image {
    margin-bottom: 12px;
}

.related-product-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.related-product-title {
    font-size: 14px;
    font-weight: 500;
    color: #212529;
    margin-bottom: 8px;
}

.related-product-title a {
    color: inherit;
    text-decoration: none;
}

.related-product-title a:hover {
    color: #007bff;
}

.related-product-price {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.payment-method {
    padding: 5px 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

/* Product Guarantees */
.product-guarantees {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    justify-content: center;
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.guarantee-icon {
    font-size: 20px;
}

.guarantee-text {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
}

/* Product Tabs */
.product-tabs {
    margin: 40px 0;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #007bff;
    border-bottom-color: #007bff;
}

.tab-btn:hover {
    color: #007bff;
}

.tab-content {
    min-height: 300px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Sticky Bottom Bar */
.sticky-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 15px 0;
}

.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sticky-product-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
}

.sticky-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sticky-product-details {
    flex: 1;
}

.sticky-product-title {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.sticky-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #dc3545;
    margin: 0;
}

.sticky-quantity .quantity-controls {
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.sticky-quantity .qty-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
}

.sticky-quantity .qty-input {
    width: 50px;
    height: 35px;
    font-size: 14px;
}

.sticky-buttons {
    display: flex;
    gap: 10px;
}

.sticky-add-to-cart, .sticky-buy-now {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sticky-add-to-cart {
    background: #6c757d;
    color: white;
}

.sticky-buy-now {
    background: #212529;
    color: white;
}

.sticky-payment-methods {
    display: flex;
    gap: 8px;
}

.sticky-payment-methods .payment-method {
    padding: 3px 8px;
    font-size: 10px;
}

.scroll-to-top {
    width: 40px;
    height: 40px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: static;
    }
    
    .main-product-image {
        height: 300px;
    }
    
    .purchase-buttons {
        flex-direction: column;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .related-product-image img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
    }
    
    .product-price {
        font-size: 24px;
    }
    
    .main-product-image {
        height: 250px;
    }
    
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .related-product-image img {
        height: 80px;
    }
    
    .thumb-btn {
        width: 60px;
        height: 60px;
    }
}