/*
Theme Name: Woo-Craft
Theme URI: https://woocraft.local
Author: Woo-Craft Team
Author URI: https://woocraft.local
Description: Premium Jamaican Grocery Marketplace - A professional WooCommerce theme with modern design, mega menu, quick view, and full e-commerce features.
Version: 6.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woo-craft
Tags: e-commerce, woocommerce, grocery, marketplace, responsive

/* ============================================
   Woo-Craft - Premium Jamaican Grocery Theme
   ============================================ */

/* ===== CSS Variables ===== */
:root {
    --wc-primary: #009B3A;
    --wc-primary-dark: #007a2e;
    --wc-primary-light: #00c04d;
    --wc-secondary: #FED100;
    --wc-secondary-dark: #e6bc00;
    --wc-black: #1a1a1a;
    --wc-white: #ffffff;
    --wc-gray-100: #f7f8fa;
    --wc-gray-200: #eef1f5;
    --wc-gray-300: #dfe2e8;
    --wc-gray-400: #9ca3af;
    --wc-gray-500: #6b7280;
    --wc-gray-600: #4b5563;
    --wc-gray-700: #374151;
    --wc-gray-800: #1f2937;
    --wc-gray-900: #111827;
    --wc-danger: #ef4444;
    --wc-warning: #f59e0b;
    --wc-success: #10b981;
    --wc-info: #3b82f6;
    --wc-body-bg: #f8fafc;
    --wc-card-bg: #ffffff;
    --wc-text: #1a1a1a;
    --wc-text-light: #6b7280;
    --wc-border: #e5e7eb;
    --wc-border-light: #f3f4f6;
    --wc-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --wc-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --wc-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --wc-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --wc-radius-sm: 6px;
    --wc-radius: 10px;
    --wc-radius-lg: 16px;
    --wc-radius-xl: 24px;
    --wc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --wc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --wc-max-width: 1400px;
    --wc-header-height: 70px;
    --wc-topbar-height: 40px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--wc-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--wc-text);
    background-color: var(--wc-body-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: var(--wc-transition); }
a:hover { color: var(--wc-primary); }

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

ul, ol { list-style: none; }

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

button { cursor: pointer; border: none; background: none; }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--wc-black);
}

/* ===== Container ===== */
.wc-container {
    width: 100%;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wc-container-fluid {
    width: 100%;
    padding: 0 20px;
}

/* ===== Top Bar ===== */
.wc-topbar {
    background: var(--wc-black);
    color: var(--wc-white);
    font-size: 13px;
    height: var(--wc-topbar-height);
    display: flex;
    align-items: center;
}

.wc-topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wc-topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wc-topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wc-topbar-item i { color: var(--wc-secondary); }

.wc-topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wc-topbar-link {
    color: rgba(255,255,255,0.8);
    transition: var(--wc-transition);
}

.wc-topbar-link:hover { color: var(--wc-secondary); }

/* ===== Header ===== */
.wc-header {
    background: var(--wc-white);
    height: var(--wc-header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--wc-shadow-sm);
    transition: var(--wc-transition);
}

.wc-header.scrolled {
    box-shadow: var(--wc-shadow);
}

.wc-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wc-header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.wc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-logo img {
    display: block;
    max-height: 80px;
    width: auto;
    height: 80px;
}

.wc-logo-text {
    font-size: 28px;
    font-weight: 800;
    color: var(--wc-primary);
    letter-spacing: -0.5px;
}

.wc-logo-text span { color: var(--wc-secondary); }

/* ===== Category Menu ===== */
.wc-category-menu {
    position: relative;
}

.wc-category-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--wc-primary);
    color: var(--wc-white);
    padding: 12px 24px;
    border-radius: var(--wc-radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--wc-transition);
}

.wc-category-btn:hover { background: var(--wc-primary-dark); color: var(--wc-white); }

.wc-category-btn i { font-size: 18px; }

.wc-category-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 280px;
    background: var(--wc-white);
    border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--wc-transition);
    z-index: 100;
    overflow: hidden;
}

.wc-category-menu:hover .wc-category-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wc-category-list { padding: 10px 0; }

.wc-category-item {
    position: relative;
}

.wc-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: var(--wc-gray-700);
    font-size: 14px;
    font-weight: 500;
    transition: var(--wc-transition);
}

.wc-category-link:hover {
    background: var(--wc-gray-100);
    color: var(--wc-primary);
}

.wc-category-link i { font-size: 12px; color: var(--wc-gray-400); }

.wc-category-item:hover .wc-category-link { background: var(--wc-gray-100); color: var(--wc-primary); }

.wc-mega-menu {
    position: absolute;
    left: 100%;
    top: 0;
    width: 600px;
    background: var(--wc-white);
    border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow-xl);
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--wc-transition);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.wc-category-item:hover > .wc-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.wc-mega-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--wc-black);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--wc-primary);
}

.wc-mega-column ul { display: flex; flex-direction: column; gap: 8px; }

.wc-mega-column li a {
    font-size: 14px;
    color: var(--wc-gray-600);
    transition: var(--wc-transition);
}

.wc-mega-column li a:hover { color: var(--wc-primary); }

/* ===== Search ===== */
.wc-header-center { flex: 1; max-width: 600px; margin: 0 40px; }

.wc-search-form {
    display: flex;
    align-items: center;
    background: var(--wc-gray-100);
    border-radius: 50px;
    padding: 6px 6px 6px 24px;
    transition: var(--wc-transition);
    border: 2px solid transparent;
}

.wc-search-form:focus-within {
    background: var(--wc-white);
    border-color: var(--wc-primary);
    box-shadow: 0 0 0 4px rgba(0,155,58,0.1);
}

.wc-search-input {
    flex: 1;
    border: none;
    background: none;
    padding: 10px 0;
    font-size: 14px;
    outline: none;
}

.wc-search-input::placeholder { color: var(--wc-gray-400); }

.wc-search-categories {
    border: none;
    background: var(--wc-white);
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 14px;
    color: var(--wc-gray-700);
    cursor: pointer;
    margin-right: 10px;
    border: 1px solid var(--wc-border);
}

.wc-search-btn {
    background: var(--wc-primary);
    color: var(--wc-white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--wc-transition);
}

.wc-search-btn:hover { background: var(--wc-primary-dark); }

/* ===== Header Actions ===== */
.wc-header-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.wc-header-action {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wc-gray-700);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.wc-header-action:hover { color: var(--wc-primary); }

.wc-header-action i { font-size: 24px; }

.wc-header-action .count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--wc-secondary);
    color: var(--wc-black);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-header-action .count.zero { display: none; }

.wc-action-text { display: flex; flex-direction: column; }

.wc-action-text span:first-child { font-size: 12px; color: var(--wc-gray-400); }

.wc-action-text span:last-child { font-weight: 600; }



/* ===== Navigation ===== */
.wc-nav {
    background: var(--wc-white);
    border-bottom: 1px solid var(--wc-border-light);
}

.wc-nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wc-main-menu {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wc-main-menu li { position: relative; }

.wc-main-menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 18px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-gray-700);
    transition: var(--wc-transition);
}

.wc-main-menu > li > a:hover,
.wc-main-menu > li.active > a {
    color: var(--wc-primary);
}

.wc-main-menu > li > a i { font-size: 10px; }

.wc-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    background: var(--wc-white);
    border-radius: var(--wc-radius);
    box-shadow: var(--wc-shadow-xl);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--wc-transition);
    z-index: 100;
}

.wc-main-menu li:hover > .wc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.wc-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--wc-gray-700);
    transition: var(--wc-transition);
}

.wc-dropdown-menu a:hover {
    background: var(--wc-gray-100);
    color: var(--wc-primary);
}

/* ===== Hero Section ===== */
.wc-hero {
    background: linear-gradient(135deg, var(--wc-primary) 0%, var(--wc-primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.wc-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(-15deg);
}

.wc-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wc-hero-text { position: relative; z-index: 1; }

.wc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    color: var(--wc-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.wc-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--wc-white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.wc-hero-title span { color: var(--wc-secondary); }

.wc-hero-desc {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 500px;
}

.wc-hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.wc-hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wc-white);
    font-size: 15px;
    font-weight: 500;
}

.wc-hero-feature i { color: var(--wc-secondary); font-size: 18px; }

.wc-hero-btns { display: flex; gap: 15px; }

.wc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--wc-transition);
    cursor: pointer;
}

.wc-btn-primary {
    background: var(--wc-secondary);
    color: var(--wc-black);
}

.wc-btn-primary:hover {
    background: var(--wc-secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(254,209,0,0.3);
}

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

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

.wc-hero-image {
    position: relative;
    z-index: 1;
}

.wc-hero-img {
    width: 100%;
    max-width: 550px;
    border-radius: var(--wc-radius-xl);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

/* ===== Features Bar ===== */
.wc-features-bar {
    background: var(--wc-white);
    padding: 40px 0;
    border-bottom: 1px solid var(--wc-border-light);
}

.wc-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wc-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--wc-gray-100);
    border-radius: var(--wc-radius);
}

.wc-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--wc-primary);
    border-radius: var(--wc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-white);
    font-size: 24px;
}

.wc-feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--wc-black);
    margin-bottom: 4px;
}

.wc-feature-text p {
    font-size: 13px;
    color: var(--wc-gray-500);
}

/* ===== Section Titles ===== */
.wc-section {
    padding: 80px 0;
}

.wc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.wc-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--wc-black);
}

.wc-section-title span { color: var(--wc-primary); }

.wc-section-subtitle {
    font-size: 15px;
    color: var(--wc-gray-500);
    margin-top: 5px;
}

.wc-section-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.wc-section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.wc-section-link:hover { color: var(--wc-primary-dark); gap: 10px; }

.wc-nav-tabs {
    display: flex;
    gap: 10px;
}

.wc-nav-tab {
    padding: 10px 20px;
    border-radius: var(--wc-radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-gray-600);
    background: var(--wc-gray-100);
    transition: var(--wc-transition);
}

.wc-nav-tab.active, .wc-nav-tab:hover {
    background: var(--wc-primary);
    color: var(--wc-white);
}

/* ===== Product Grid ===== */
.wc-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ===== Product Card ===== */
.wc-product-card {
    background: var(--wc-white);
    border-radius: var(--wc-radius-lg);
    overflow: hidden;
    transition: var(--wc-transition);
    position: relative;
    border: 1px solid var(--wc-border-light);
}

.wc-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--wc-shadow-xl);
    border-color: var(--wc-primary);
}

.wc-product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.wc-badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wc-badge-sale { background: var(--wc-danger); color: var(--wc-white); }

.wc-badge-new { background: var(--wc-primary); color: var(--wc-white); }

.wc-badge-hot { background: var(--wc-secondary); color: var(--wc-black); }

.wc-badge-stock { background: var(--wc-gray-800); color: var(--wc-white); }

.wc-product-thumb {
    position: relative;
    padding: 20px;
    background: var(--wc-gray-100);
    aspect-ratio: 1;
    overflow: hidden;
}

.wc-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--wc-transition);
}

.wc-product-card:hover .wc-product-thumb img {
    transform: scale(1.08);
}

.wc-product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--wc-transition);
}

.wc-product-card:hover .wc-product-actions {
    opacity: 1;
    transform: translateX(0);
}

.wc-product-action {
    width: 40px;
    height: 40px;
    background: var(--wc-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-gray-700);
    box-shadow: var(--wc-shadow);
    transition: var(--wc-transition);
}

.wc-product-action:hover {
    background: var(--wc-primary);
    color: var(--wc-white);
}

.wc-product-content { padding: 20px; }

.wc-product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--wc-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.wc-product-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--wc-black);
    margin-bottom: 8px;
    line-height: 1.4;
}

.wc-product-title a:hover { color: var(--wc-primary); }

.wc-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.wc-stars {
    display: flex;
    gap: 2px;
    color: var(--wc-secondary);
    font-size: 12px;
}

.wc-stars .empty { color: var(--wc-gray-300); }

.wc-rating-count { font-size: 12px; color: var(--wc-gray-500); }

.wc-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wc-product-price {
    display: flex;
    flex-direction: column;
}

.wc-price-current {
    font-size: 20px;
    font-weight: 800;
    color: var(--wc-primary);
}

.wc-price-old {
    font-size: 14px;
    color: var(--wc-gray-400);
    text-decoration: line-through;
}

.wc-product-btn {
    background: var(--wc-primary);
    color: var(--wc-white);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--wc-transition);
}

.wc-product-btn:hover {
    background: var(--wc-primary-dark);
    transform: scale(1.05);
}

input[type="number"].qty::-webkit-outer-spin-button,
input[type="number"].qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ===== Quick View Modal ===== */
.wc-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--wc-transition);
}

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

.wc-modal {
    background: var(--wc-white);
    border-radius: var(--wc-radius-lg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: auto;
    transform: scale(0.9);
    transition: var(--wc-transition);
}

.wc-modal-overlay.active .wc-modal { transform: scale(1); }

.wc-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--wc-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--wc-gray-600);
    box-shadow: var(--wc-shadow);
    z-index: 10;
}

.wc-modal-close:hover { background: var(--wc-danger); color: var(--wc-white); }

/* ===== Mini Cart ===== */
.wc-mini-cart {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100vh;
    background: var(--wc-white);
    z-index: 9999;
    transition: var(--wc-transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--wc-shadow-xl);
}

.wc-mini-cart.active { right: 0; }

.wc-mini-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--wc-transition);
}

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

.wc-mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--wc-border-light);
}

.wc-mini-cart-title {
    font-size: 18px;
    font-weight: 700;
}

.wc-mini-cart-count {
    background: var(--wc-primary);
    color: var(--wc-white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.wc-mini-cart-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--wc-gray-500);
}

.wc-mini-cart-close:hover { background: var(--wc-gray-100); }

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

.wc-cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--wc-border-light);
}

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

.wc-cart-item-thumb {
    width: 80px;
    height: 80px;
    background: var(--wc-gray-100);
    border-radius: var(--wc-radius);
    overflow: hidden;
}

.wc-cart-item-thumb img { width: 100%; height: 100%; object-fit: contain; }

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

.wc-cart-item-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--wc-black);
    margin-bottom: 5px;
}

.wc-cart-item-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--wc-primary);
    margin-bottom: 8px;
}

.wc-cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wc-qty-btn {
    width: 28px;
    height: 28px;
    background: var(--wc-gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--wc-gray-600);
}

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

.wc-cart-item-qty span { font-size: 14px; font-weight: 600; }

.wc-cart-item-remove {
    color: var(--wc-gray-400);
    font-size: 16px;
}

.wc-cart-item-remove:hover { color: var(--wc-danger); }

.wc-mini-cart-footer {
    padding: 20px;
    background: var(--wc-gray-100);
    border-top: 1px solid var(--wc-border-light);
}

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

.wc-cart-subtotal span:last-child { color: var(--wc-primary); }

.wc-cart-btns { display: flex; gap: 10px; }

.wc-cart-btn {
    flex: 1;
    padding: 14px;
    border-radius: var(--wc-radius);
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: var(--wc-transition);
}

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

.wc-cart-btn-checkout:hover { background: var(--wc-primary-dark); }

.wc-cart-btn-view {
    background: var(--wc-white);
    color: var(--wc-black);
    border: 1px solid var(--wc-border);
}

.wc-cart-btn-view:hover { border-color: var(--wc-primary); color: var(--wc-primary); }

/* ===== Footer ===== */
.wc-footer {
    background: var(--wc-gray-900);
    color: var(--wc-gray-400);
    padding-top: 80px;
}

.wc-footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px 60px;
}

.wc-footer-about {}

.wc-footer-logo {
    margin-bottom: 20px;
}

.wc-footer-logo img {
    display: block;
    max-height: 40px;
    width: auto;
}

.wc-footer-logo span { color: var(--wc-primary); }

.wc-footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.wc-footer-social {
    display: flex;
    gap: 12px;
}

.wc-footer-social a {
    width: 40px;
    height: 40px;
    background: var(--wc-gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wc-gray-400);
    font-size: 16px;
    transition: var(--wc-transition);
}

.wc-footer-social a:hover {
    background: var(--wc-primary);
    color: var(--wc-white);
}

.wc-footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--wc-white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.wc-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--wc-primary);
    border-radius: 2px;
}

.wc-footer-col ul { display: flex; flex-direction: column; gap: 12px; }

.wc-footer-col li a {
    font-size: 14px;
    transition: var(--wc-transition);
}

.wc-footer-col li a:hover { color: var(--wc-white); padding-left: 5px; }

.wc-footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.wc-footer-contact i { color: var(--wc-primary); margin-top: 3px; }

/* ===== Newsletter ===== */
.wc-newsletter {
    background: var(--wc-primary);
    padding: 60px 0;
}

.wc-newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wc-newsletter-text h3 {
    font-size: 28px;
    color: var(--wc-white);
    margin-bottom: 8px;
}

.wc-newsletter-text p { color: rgba(255,255,255,0.8); font-size: 15px; }

.wc-newsletter-form {
    display: flex;
    gap: 10px;
}

.wc-newsletter-input {
    width: 350px;
    padding: 16px 24px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
}

.wc-newsletter-btn {
    background: var(--wc-black);
    color: var(--wc-white);
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    transition: var(--wc-transition);
}

.wc-newsletter-btn:hover { background: var(--wc-secondary); color: var(--wc-black); }

/* ===== Footer Bottom ===== */
.wc-footer-bottom {
    border-top: 1px solid var(--wc-gray-800);
    padding: 30px 0;
}

.wc-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.wc-footer-copyright {
    font-size: 14px;
    color: var(--wc-gray-500);
}

.wc-footer-copyright a { color: var(--wc-primary); }

.wc-footer-payments {
    display: flex;
    gap: 10px;
}

.wc-footer-payments img {
    height: 24px;
    opacity: 0.6;
    filter: grayscale(100%);
}

/* ===== WooCommerce Overrides ===== */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 24px !important;
}

.woocommerce ul.products li.product {
    background: var(--wc-white) !important;
    border-radius: var(--wc-radius-lg) !important;
    border: 1px solid var(--wc-border-light) !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
    transition: var(--wc-transition) !important;
    overflow: hidden !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px) !important;
    box-shadow: var(--wc-shadow-xl) !important;
    border-color: var(--wc-primary) !important;
}

.woocommerce ul.products li.product a img {
    margin: 0 !important;
    border-radius: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 20px 20px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.woocommerce ul.products li.product .price {
    padding: 10px 20px !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--wc-primary) !important;
}

.woocommerce ul.products li.product .price del {
    font-size: 14px !important;
    color: var(--wc-gray-400) !important;
}

.woocommerce ul.products li.product .price ins { text-decoration: none !important; }

.woocommerce ul.products li.product a.button {
    margin: 15px 20px 20px !important;
    background: var(--wc-primary) !important;
    color: var(--wc-white) !important;
    border-radius: 50px !important;
    padding: 12px 24px !important;
}

/* ===== Single Product ===== */
.woocommerce div.product {
    max-width: var(--wc-max-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.woocommerce div.product div.images { margin-bottom: 0 !important; }

.woocommerce div.product div.images img {
    border-radius: var(--wc-radius-lg) !important;
}

.woocommerce div.product .product_title {
    font-size: 36px !important;
    font-weight: 800 !important;
}

.woocommerce div.product p.price {
    font-size: 32px !important;
    color: var(--wc-primary) !important;
    margin: 20px 0 !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 16px !important;
    color: var(--wc-gray-600) !important;
    line-height: 1.8 !important;
}

.woocommerce div.product form.cart .button {
    background: var(--wc-primary) !important;
    color: var(--wc-white) !important;
    padding: 18px 40px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
}

/* ===== Cart Page ===== */
.woocommerce-cart-form { background: var(--wc-white) !important; border-radius: var(--wc-radius-lg) !important; }

.woocommerce table.shop_table {
    border: none !important;
}

.woocommerce table.shop_table th, .woocommerce table.shop_table td {
    border-color: var(--wc-border-light) !important;
    padding: 20px !important;
}

.woocommerce table.shop_table .product-name a {
    font-weight: 600 !important;
    color: var(--wc-black) !important;
}

.woocommerce .cart-collaterals .cart_totals {
    background: var(--wc-white) !important;
    border-radius: var(--wc-radius-lg) !important;
    padding: 30px !important;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .wc-hero-content { grid-template-columns: 1fr; text-align: center; }
    .wc-hero-features { justify-content: center; }
    .wc-hero-btns { justify-content: center; }
    .wc-features-grid { grid-template-columns: repeat(2, 1fr); }
    .wc-footer-top { grid-template-columns: repeat(2, 1fr); }
    .wc-newsletter-content { flex-direction: column; text-align: center; gap: 30px; }
}

@media (max-width: 992px) {
    .wc-header-center { display: none; }
    .wc-main-menu { display: none; }
    .wc-products-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .wc-footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .wc-topbar { display: none; }
    .wc-hero-title { font-size: 36px; }
    .wc-features-grid { grid-template-columns: 1fr; }
    .wc-products-grid { grid-template-columns: 1fr !important; }
    .wc-section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .wc-newsletter-form { flex-direction: column; width: 100%; }
    .wc-newsletter-input { width: 100%; }
    .wc-footer-bottom-content { flex-direction: column; gap: 20px; text-align: center; }
    .wc-logo img { max-height: 60px; height: 60px; }
    .wc-header-left { gap: 20px; }
    .wc-logo { display: flex !important; }
}

@media (max-width: 480px) {
    .wc-hero-title { font-size: 28px; }
    .wc-hero-features { flex-direction: column; align-items: center; }
    .wc-hero-btns { flex-direction: column; }
    .wc-mini-cart { width: 100%; }
    .wc-logo img { max-height: 50px; height: 50px; }
}



/* ===== Animations ===== */
@keyframes wc-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes wc-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.wc-animate { animation: wc-fadeIn 0.6s ease forwards; }

/* ===== Utility Classes ===== */
.text-center { text-align: center; }
.text-primary { color: var(--wc-primary); }
.text-secondary { color: var(--wc-secondary); }
.bg-primary { background: var(--wc-primary); }
.bg-secondary { background: var(--wc-secondary); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
