/* ═══════════════════════════════════════════════════════
   WallDecor Theme - Main Stylesheet
   Modern, elegant wall art shop design
   ═══════════════════════════════════════════════════════ */

/* ─── CSS Variables ─── */
:root {
    --wd-primary: #1a1a2e;
    --wd-primary-light: #16213e;
    --wd-secondary: #0f3460;
    --wd-accent: #c9a84c;
    --wd-accent-hover: #b8972e;
    --wd-accent-light: #f8f3e3;
    --wd-gold: #c9a84c;
    --wd-text: #2d2d2d;
    --wd-text-light: #6b6b6b;
    --wd-text-muted: #999;
    --wd-bg: #fafafa;
    --wd-bg-alt: #f7f6f2;
    --wd-white: #ffffff;
    --wd-border: #e5e3de;
    --wd-border-light: #f0efe9;
    --wd-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --wd-shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --wd-shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --wd-radius: 12px;
    --wd-radius-sm: 8px;
    --wd-radius-lg: 20px;
    --wd-font-heading: 'Playfair Display', Georgia, serif;
    --wd-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --wd-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --wd-container: 1320px;
    --wd-header-height: 80px;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--wd-font-body);
    color: var(--wd-text);
    background: var(--wd-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--wd-transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.wd-container {
    max-width: var(--wd-container);
    margin: 0 auto;
    padding: 0 24px;
}

.wd-container-narrow { max-width: 860px; }

/* ─── Preloader ─── */
.wd-preloader {
    position: fixed; inset: 0; z-index: 99999;
    background: var(--wd-white);
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
}
.wd-preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.wd-preloader-spinner {
    width: 48px; height: 48px;
    border: 3px solid var(--wd-border);
    border-top-color: var(--wd-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Buttons ─── */
.wd-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600; font-size: 14px;
    letter-spacing: 0.3px;
    transition: var(--wd-transition);
    border: 2px solid transparent;
    white-space: nowrap;
}
.wd-btn i { font-size: 13px; }
.wd-btn-primary {
    background: linear-gradient(135deg, var(--wd-accent), var(--wd-accent-hover));
    color: var(--wd-white);
}
.wd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,163,115,0.4);
}
.wd-btn-outline {
    border-color: var(--wd-primary);
    color: var(--wd-primary);
    background: transparent;
}
.wd-btn-outline:hover {
    background: var(--wd-primary);
    color: var(--wd-white);
}
.wd-btn-outline-light {
    border-color: rgba(255,255,255,0.5);
    color: var(--wd-white);
    background: transparent;
}
.wd-btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--wd-white);
}
.wd-btn-lg { padding: 16px 36px; font-size: 16px; }
.wd-btn-block { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════ */
.wd-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.98);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: var(--wd-header-height);
    transition: var(--wd-transition);
}
.wd-header.scrolled {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    height: 70px;
}
.wd-header-inner {
    max-width: var(--wd-container);
    margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 100%;
}

/* Logo */
.wd-logo a { display: flex; align-items: center; gap: 10px; }
.wd-logo-text {
    font-family: var(--wd-font-heading);
    font-size: 24px; font-weight: 700;
    color: var(--wd-primary);
    display: flex; align-items: center; gap: 10px;
}
.wd-logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--wd-gold), var(--wd-accent-hover));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--wd-white); font-size: 18px;
}
.wd-logo img { max-height: 50px; width: auto; }
.wd-header.scrolled .wd-logo img { max-height: 42px; }

/* Navigation */
.wd-nav { display: flex; align-items: center; }
.wd-nav-menu {
    list-style: none; display: flex; gap: 8px;
    margin: 0; padding: 0;
}
.wd-nav-item a {
    display: block; padding: 10px 18px;
    font-size: 15px; font-weight: 500;
    color: var(--wd-text);
    border-radius: 8px;
    position: relative;
}
.wd-nav-item a:hover,
.wd-nav-item.active a {
    color: var(--wd-accent);
    background: var(--wd-accent-light);
}

/* Mega Dropdown */
.wd-has-dropdown { position: relative; }
.wd-mega-dropdown {
    position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--wd-white);
    border-radius: var(--wd-radius);
    box-shadow: var(--wd-shadow-lg);
    padding: 20px;
    min-width: 700px;
    opacity: 0; visibility: hidden;
    transition: var(--wd-transition);
    border: 1px solid var(--wd-border-light);
    z-index: 100;
}
.wd-has-dropdown:hover .wd-mega-dropdown {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.wd-mega-dropdown-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
}
.wd-mega-cat-item {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px;
    border-radius: var(--wd-radius-sm);
    transition: var(--wd-transition);
    white-space: nowrap;
}
.wd-mega-cat-item:hover {
    background: var(--wd-bg-alt);
}
.wd-mega-cat-item img {
    display: none;
}
.wd-mega-cat-icon {
    display: none;
}
.wd-mega-cat-item span {
    font-size: 13px; font-weight: 500;
    color: var(--wd-text);
    white-space: nowrap;
}
.wd-mega-cat-item small {
    font-size: 11px; color: var(--wd-text-muted);
    white-space: nowrap;
}

/* Header Actions */
.wd-header-actions { display: flex; align-items: center; gap: 8px; }
.wd-icon-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    color: var(--wd-text);
    transition: var(--wd-transition);
    position: relative;
}
.wd-icon-btn:hover {
    background: var(--wd-bg-alt);
    color: var(--wd-accent);
}

/* Search Dropdown */
.wd-header-search { position: relative; }
.wd-search-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    width: 420px;
    background: var(--wd-white);
    border-radius: var(--wd-radius);
    box-shadow: var(--wd-shadow-lg);
    border: 1px solid var(--wd-border-light);
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: var(--wd-transition);
    z-index: 100;
    overflow: hidden;
}
.wd-search-dropdown.active {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.wd-search-input-wrap {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wd-border-light);
}
.wd-search-input-wrap i { color: var(--wd-text-muted); }
.wd-search-input-wrap input {
    flex: 1; border: none; outline: none;
    font-size: 15px; background: transparent;
}
.wd-search-close {
    color: var(--wd-text-muted);
    font-size: 14px; padding: 4px;
}
.wd-search-results {
    max-height: 400px; overflow-y: auto;
    padding: 8px;
}
.wd-search-result-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border-radius: var(--wd-radius-sm);
    transition: var(--wd-transition);
}
.wd-search-result-item:hover { background: var(--wd-bg-alt); }
.wd-search-result-item img {
    width: 50px; height: 50px;
    border-radius: var(--wd-radius-sm);
    object-fit: cover;
}
.wd-search-result-info { flex: 1; }
.wd-search-result-info h5 {
    font-size: 14px; font-weight: 500;
    margin-bottom: 2px;
}
.wd-search-result-info .price {
    font-size: 13px; color: var(--wd-accent);
    font-weight: 600;
}
.wd-search-no-results {
    padding: 30px; text-align: center;
    color: var(--wd-text-muted);
}
.wd-search-loading {
    padding: 20px; text-align: center;
    color: var(--wd-text-muted);
}

/* Cart Dropdown */
.wd-header-cart { position: relative; }
.wd-cart-count {
    position: absolute; top: 2px; right: 2px;
    background: var(--wd-accent);
    color: var(--wd-white);
    font-size: 10px; font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.wd-cart-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    width: 380px;
    background: var(--wd-white);
    border-radius: var(--wd-radius);
    box-shadow: var(--wd-shadow-lg);
    border: 1px solid var(--wd-border-light);
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: var(--wd-transition);
    z-index: 100;
    overflow: hidden;
}
.wd-cart-dropdown.active {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.wd-cart-dropdown-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wd-border-light);
}
.wd-cart-dropdown-header h4 {
    font-family: var(--wd-font-heading);
    font-size: 18px;
}
.wd-cart-dropdown-close { color: var(--wd-text-muted); font-size: 14px; }
.wd-cart-items {
    max-height: 300px; overflow-y: auto;
    padding: 12px 16px;
}
.wd-cart-item {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--wd-border-light);
}
.wd-cart-item:last-child { border-bottom: none; }
.wd-cart-item-image {
    width: 60px; height: 60px;
    border-radius: var(--wd-radius-sm);
    object-fit: cover; flex-shrink: 0;
}
.wd-cart-item-info { flex: 1; min-width: 0; }
.wd-cart-item-name {
    font-size: 14px; font-weight: 500;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wd-cart-item-meta {
    font-size: 12px; color: var(--wd-text-muted);
    margin-top: 2px;
}
.wd-cart-item-remove {
    color: var(--wd-text-muted); font-size: 12px;
    padding: 4px; flex-shrink: 0;
}
.wd-cart-item-remove:hover { color: #e74c3c; }
.wd-cart-loading { text-align: center; padding: 20px; color: var(--wd-text-muted); }
.wd-cart-empty {
    text-align: center; padding: 40px 20px;
    color: var(--wd-text-muted);
}
.wd-cart-empty i { font-size: 40px; margin-bottom: 12px; display: block; }
.wd-cart-dropdown-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--wd-border-light);
    background: var(--wd-bg);
}
.wd-cart-total {
    display: flex; justify-content: space-between;
    font-size: 16px; font-weight: 600;
    margin-bottom: 12px;
}
.wd-cart-actions {
    display: flex; gap: 8px;
}
.wd-cart-actions .wd-btn { flex: 1; justify-content: center; padding: 10px; font-size: 13px; }
.wd-cart-account-link {
    display: block; text-align: center;
    margin-top: 10px; font-size: 13px;
    color: var(--wd-text-muted);
}
.wd-cart-account-link:hover { color: var(--wd-accent); }

/* Mobile Menu */
.wd-menu-toggle { display: none; }
.wd-hamburger {
    width: 24px; height: 18px;
    position: relative; display: flex; flex-direction: column;
    justify-content: space-between;
}
.wd-hamburger span {
    display: block; width: 100%; height: 2px;
    background: var(--wd-text); border-radius: 2px;
    transition: var(--wd-transition);
}
.wd-menu-toggle.active .wd-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}
.wd-menu-toggle.active .wd-hamburger span:nth-child(2) { opacity: 0; }
.wd-menu-toggle.active .wd-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}
.wd-mobile-nav-overlay {
    position: fixed; inset: 0; z-index: 998;
    background: rgba(0,0,0,0.5);
    opacity: 0; visibility: hidden;
    transition: var(--wd-transition);
}
.wd-mobile-nav-overlay.active { opacity: 1; visibility: visible; }

/* ─── Main ─── */
.wd-main { margin-top: var(--wd-header-height); }

/* ═══════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════ */
.wd-hero {
    position: relative; min-height: 90vh;
    display: flex; align-items: center;
    background: var(--wd-primary);
    overflow: hidden;
}
.wd-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-color: var(--wd-primary);
}
.wd-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.92) 0%, rgba(15,52,96,0.85) 50%, rgba(22,33,62,0.9) 100%);
}
.wd-hero-particles {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(201,168,76,0.12) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleFloat 20s linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50px); }
}
.wd-hero .wd-container { position: relative; z-index: 2; }
.wd-hero-content {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center;
}
.wd-hero-text { max-width: 600px; }
.wd-hero-product {
    display: flex; align-items: center; justify-content: center;
}
.wd-hero-product-link {
    display: block;
    border-radius: var(--wd-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
    max-width: 450px;
    width: 100%;
}
.wd-hero-product-link:hover {
    transform: translateY(-8px) scale(1.02);
}
.wd-hero-product-link img {
    width: 100%; aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}
.wd-hero-product-info {
    padding: 16px 20px;
    background: rgba(255,255,255,0.1);
}
.wd-hero-product-info h4 {
    color: var(--wd-white); font-size: 15px; font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wd-hero-product-info span {
    color: var(--wd-accent); font-size: 16px; font-weight: 700;
}
.wd-hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(201,168,76,0.15);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50px;
    color: var(--wd-accent);
    font-size: 14px; font-weight: 500;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease both;
}
.wd-hero-title {
    font-family: var(--wd-font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--wd-white);
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s 0.2s ease both;
}
.wd-hero-desc {
    font-size: 18px; line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    animation: fadeInUp 0.8s 0.4s ease both;
}
.wd-hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s 0.6s ease both;
}
.wd-hero-stats {
    display: flex; gap: 48px;
    animation: fadeInUp 0.8s 0.8s ease both;
}
.wd-hero-stat { text-align: center; }
.wd-hero-stat-number {
    display: block;
    font-family: var(--wd-font-heading);
    font-size: 32px; font-weight: 700;
    color: var(--wd-accent);
}
.wd-hero-stat-label {
    font-size: 13px; color: rgba(255,255,255,0.6);
    text-transform: uppercase; letter-spacing: 1px;
}
.wd-hero-scroll {
    position: absolute; bottom: 30px;
    left: 50%; transform: translateX(-50%);
    z-index: 2;
}
.wd-hero-scroll a {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%; color: var(--wd-white);
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   CATEGORY SHOWCASE SECTIONS
   ═══════════════════════════════════════════════════════ */
.wd-categories-showcase { padding: 0; }
.wd-cat-section {
    padding: 80px 0;
    border-bottom: 1px solid var(--wd-border-light);
}
.wd-cat-section:nth-child(even) { background: var(--wd-bg-alt); }
.wd-cat-section-inner {
    display: grid; grid-template-columns: 1fr 2fr; gap: 60px;
    align-items: center;
}
.wd-cat-section-reverse .wd-cat-section-inner {
    grid-template-columns: 2fr 1fr;
}
.wd-cat-section-reverse .wd-cat-info { order: 2; }
.wd-cat-section-reverse .wd-cat-products { order: 1; }

.wd-cat-label {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--wd-accent);
    margin-bottom: 12px;
}
.wd-cat-title {
    font-family: var(--wd-font-heading);
    font-size: 36px; font-weight: 700;
    color: var(--wd-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}
.wd-cat-desc {
    color: var(--wd-text-light);
    line-height: 1.7; margin-bottom: 20px;
}
.wd-cat-meta {
    font-size: 14px; color: var(--wd-text-muted);
    margin-bottom: 24px;
}
.wd-cat-meta i { color: var(--wd-accent); margin-right: 6px; }

.wd-cat-products {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.wd-cat-product-card {
    border-radius: var(--wd-radius);
    overflow: hidden;
    background: var(--wd-white);
    box-shadow: var(--wd-shadow);
    transition: var(--wd-transition);
}
.wd-cat-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wd-shadow-hover);
}
.wd-cat-product-image {
    position: relative; overflow: hidden;
    aspect-ratio: 1/1;
}
.wd-cat-product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.wd-cat-product-card:hover .wd-cat-product-image img {
    transform: scale(1.05);
}
.wd-cat-product-info {
    padding: 14px 16px;
}
.wd-cat-product-info h4 {
    font-size: 14px; font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wd-cat-product-price {
    font-size: 15px; font-weight: 600;
    color: var(--wd-accent);
}
.wd-cat-no-products { display: contents; }
.wd-cat-placeholder {
    aspect-ratio: 1/1;
    border-radius: var(--wd-radius);
    background: var(--wd-bg-alt);
    border: 2px dashed var(--wd-border);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; color: var(--wd-text-muted);
}
.wd-cat-placeholder i { font-size: 32px; opacity: 0.4; }
.wd-cat-placeholder p { font-size: 13px; }

/* ─── Trust Section ─── */
.wd-trust-section {
    padding: 60px 0;
    background: var(--wd-primary);
}
.wd-trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.wd-trust-item {
    text-align: center; color: var(--wd-white);
}
.wd-trust-item i {
    font-size: 36px; color: var(--wd-accent);
    margin-bottom: 16px;
}
.wd-trust-item h4 {
    font-family: var(--wd-font-heading);
    font-size: 18px; margin-bottom: 6px;
}
.wd-trust-item p {
    font-size: 13px; color: rgba(255,255,255,0.6);
}

/* ═══════════════════════════════════════════════════════
   PRODUCT CARD
   ═══════════════════════════════════════════════════════ */
.wd-product-card {
    background: var(--wd-white);
    border-radius: var(--wd-radius);
    overflow: hidden;
    box-shadow: var(--wd-shadow);
    transition: var(--wd-transition);
    position: relative;
}
.wd-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wd-shadow-hover);
}
.wd-product-card-link { display: block; color: inherit; }
.wd-product-image-wrap {
    position: relative; overflow: hidden;
    aspect-ratio: 1/1;
    background: var(--wd-bg-alt);
}
.wd-product-image {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.wd-product-card:hover .wd-product-image { transform: scale(1.05); }
.wd-product-no-image {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: var(--wd-border);
}
.wd-product-overlay {
    position: absolute; inset: 0;
    background: rgba(26,26,46,0.5);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: var(--wd-transition);
}
.wd-product-card:hover .wd-product-overlay { opacity: 1; }
.wd-quick-view-btn {
    padding: 10px 24px;
    background: var(--wd-white);
    border-radius: 50px;
    font-size: 13px; font-weight: 600;
    color: var(--wd-primary);
    transform: translateY(10px);
    transition: var(--wd-transition);
}
.wd-product-card:hover .wd-quick-view-btn { transform: translateY(0); }
.wd-sale-badge {
    position: absolute; top: 12px; left: 12px;
    background: #e74c3c; color: var(--wd-white);
    padding: 4px 12px; border-radius: 50px;
    font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    z-index: 2;
}
.wd-sale-badge-lg { padding: 6px 16px; font-size: 13px; }
.wd-product-info { padding: 16px 18px 12px; }
.wd-product-title {
    font-size: 15px; font-weight: 500;
    margin-bottom: 6px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.wd-product-price {
    font-size: 16px; font-weight: 700;
    color: var(--wd-accent);
}
.wd-product-price del {
    color: var(--wd-text-muted); font-weight: 400;
    font-size: 13px; margin-right: 6px;
}
.wd-product-rating { margin-top: 6px; }
.wd-product-rating .star-rating {
    font-size: 12px; color: #f39c12;
}
.wd-add-to-cart-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: calc(100% - 24px); margin: 0 12px 12px;
    padding: 12px;
    background: var(--wd-primary);
    color: var(--wd-white);
    border-radius: 8px;
    font-size: 13px; font-weight: 600;
    transition: var(--wd-transition);
}
.wd-add-to-cart-btn:hover {
    background: var(--wd-accent);
}
.wd-add-to-cart-btn.wd-select-options {
    background: transparent;
    border: 2px solid var(--wd-primary);
    color: var(--wd-primary);
}
.wd-add-to-cart-btn.wd-select-options:hover {
    background: var(--wd-primary);
    color: var(--wd-white);
}

/* ═══════════════════════════════════════════════════════
   SHOP / ARCHIVE PAGE
   ═══════════════════════════════════════════════════════ */
.wd-shop-header {
    background: linear-gradient(135deg, var(--wd-primary), var(--wd-secondary));
    padding: 50px 0 40px;
    text-align: center;
}
.wd-shop-title {
    font-family: var(--wd-font-heading);
    font-size: 40px; font-weight: 700;
    color: var(--wd-white);
    margin-bottom: 8px;
}
.wd-shop-desc {
    color: rgba(255,255,255,0.7);
    font-size: 16px; max-width: 500px; margin: 0 auto;
}
.wd-shop-layout {
    display: grid; grid-template-columns: 280px 1fr; gap: 30px;
    padding: 40px 0 60px;
}

/* Sidebar Filters */
.wd-shop-sidebar {
    position: sticky; top: calc(var(--wd-header-height) + 20px);
    align-self: start;
    background: var(--wd-white);
    border-radius: var(--wd-radius);
    box-shadow: var(--wd-shadow);
    padding: 24px;
    max-height: calc(100vh - var(--wd-header-height) - 40px);
    overflow-y: auto;
}
.wd-sidebar-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 20px; padding-bottom: 16px;
    border-bottom: 1px solid var(--wd-border-light);
}
.wd-sidebar-header h3 {
    font-size: 18px; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
}
.wd-clear-filters {
    font-size: 13px; color: var(--wd-accent);
    font-weight: 500;
}
.wd-filter-group {
    margin-bottom: 20px; padding-bottom: 20px;
    border-bottom: 1px solid var(--wd-border-light);
}
.wd-filter-group:last-of-type { border-bottom: none; }
.wd-filter-title {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 15px; font-weight: 600;
    cursor: pointer; padding: 4px 0;
    user-select: none;
}
.wd-filter-title i { font-size: 12px; color: var(--wd-text-muted); transition: var(--wd-transition); }
.wd-filter-group.collapsed .wd-filter-title i { transform: rotate(-90deg); }
.wd-filter-group.collapsed .wd-filter-body { display: none; }
.wd-filter-body { margin-top: 12px; }

/* Price filter */
.wd-price-inputs {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
}
.wd-price-input {
    width: 80px; min-width: 0; flex: 0 0 80px;
    padding: 8px 10px;
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius-sm);
    font-size: 13px;
    -moz-appearance: textfield;
}
.wd-price-input::-webkit-outer-spin-button,
.wd-price-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wd-range-slider {
    width: 100%; height: 4px;
    -webkit-appearance: none;
    background: var(--wd-border);
    border-radius: 2px; outline: none;
}
.wd-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px; height: 18px;
    background: var(--wd-accent);
    border-radius: 50%; cursor: pointer;
    box-shadow: 0 2px 6px rgba(212,163,115,0.4);
}

/* Colour filter */
.wd-filter-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 12px;
}
.wd-colour-filter-item {
    display: flex; align-items: center; gap: 6px;
    font-size: 12px; cursor: pointer;
    padding: 5px 6px; border-radius: 6px;
    transition: var(--wd-transition);
    overflow: hidden;
    min-width: 0;
}
.wd-colour-filter-item:hover { background: var(--wd-bg-alt); }
.wd-colour-filter-item input { display: none; }
.wd-colour-swatch {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--wd-transition);
    flex-shrink: 0;
}
.wd-colour-filter-item input:checked + .wd-colour-swatch {
    border-color: var(--wd-accent);
    box-shadow: 0 0 0 2px var(--wd-white), 0 0 0 4px var(--wd-accent);
}
.wd-colour-name { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Checkbox filters */
.wd-filter-checkbox {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 0; cursor: pointer;
    font-size: 13px;
}
.wd-filter-checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--wd-accent);
    cursor: pointer;
}
.wd-filter-note { font-size: 12px; color: var(--wd-text-muted); font-style: italic; }

/* Shop Content */
.wd-shop-categories {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--wd-border-light);
}
.wd-cat-btn {
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px; font-weight: 500;
    background: var(--wd-bg-alt);
    color: var(--wd-text);
    transition: var(--wd-transition);
    white-space: nowrap;
}
.wd-cat-btn:hover,
.wd-cat-btn.active {
    background: var(--wd-primary);
    color: var(--wd-white);
}

.wd-shop-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; flex-wrap: wrap; gap: 12px;
}
.wd-view-toggle { display: flex; gap: 4px; }
.wd-view-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px; font-size: 16px;
    color: var(--wd-text-muted);
    transition: var(--wd-transition);
}
.wd-view-btn.active, .wd-view-btn:hover {
    background: var(--wd-primary);
    color: var(--wd-white);
}
.wd-sort-select {
    padding: 10px 16px;
    border: 1px solid var(--wd-border);
    border-radius: 8px;
    font-size: 13px;
    background: var(--wd-white);
    cursor: pointer;
}
.wd-shop-count { font-size: 13px; color: var(--wd-text-muted); }

.wd-products-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.wd-products-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* List View */
.wd-products-grid.list-view {
    grid-template-columns: 1fr;
}
.wd-products-grid.list-view .wd-product-card {
    display: grid; grid-template-columns: 250px 1fr auto;
    align-items: center;
}
.wd-products-grid.list-view .wd-product-image-wrap { aspect-ratio: 1/1; }
.wd-products-grid.list-view .wd-add-to-cart-btn {
    width: auto; margin: 0 16px; white-space: nowrap;
}

.wd-mobile-filter-btn {
    display: none;
    padding: 10px 20px; border-radius: 8px;
    background: var(--wd-primary); color: var(--wd-white);
    font-size: 14px; font-weight: 500;
    margin-bottom: 16px;
}
.wd-filter-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.5); z-index: 998;
}

/* No products */
.wd-no-products {
    grid-column: 1 / -1;
    text-align: center; padding: 80px 20px;
    color: var(--wd-text-muted);
}
.wd-no-products i { font-size: 48px; margin-bottom: 16px; display: block; }
.wd-no-products h3 { font-size: 20px; margin-bottom: 8px; color: var(--wd-text); }

/* Pagination */
.wd-pagination { padding: 40px 0; text-align: center; }
.wd-pagination .nav-links {
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.wd-pagination .page-numbers {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px;
    border-radius: 8px; font-size: 14px; font-weight: 500;
    background: var(--wd-white); color: var(--wd-text);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: var(--wd-transition);
}
.wd-pagination .page-numbers.current,
.wd-pagination .page-numbers:hover {
    background: var(--wd-primary);
    color: var(--wd-white);
}

/* ═══════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════════════════ */
.wd-breadcrumb-wrap {
    background: var(--wd-bg-alt);
    padding: 14px 0;
}
.wd-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--wd-text-muted);
    flex-wrap: wrap;
}
.wd-breadcrumb a:hover { color: var(--wd-accent); }
.wd-breadcrumb i { font-size: 8px; }

.wd-product-main {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px;
    padding: 50px 0;
}
.wd-product-main-image {
    position: relative;
    border-radius: var(--wd-radius-lg);
    overflow: hidden;
    background: var(--wd-bg-alt);
}
.wd-main-product-image {
    width: 100%; aspect-ratio: 1/1;
    object-fit: cover;
    transition: var(--wd-transition);
}
.wd-product-thumbnails {
    display: flex; gap: 10px;
    margin-top: 16px; overflow-x: auto;
    padding-bottom: 4px;
}
.wd-product-thumb {
    width: 80px; height: 80px; flex-shrink: 0;
    border-radius: var(--wd-radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--wd-transition);
    padding: 0;
}
.wd-product-thumb.active,
.wd-product-thumb:hover {
    border-color: var(--wd-accent);
}
.wd-product-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}

.wd-product-cats { margin-bottom: 8px; }
.wd-product-cat-link {
    display: inline-block;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--wd-accent);
    margin-right: 8px;
}
.wd-product-name {
    font-family: var(--wd-font-heading);
    font-size: 32px; font-weight: 700;
    line-height: 1.2; margin-bottom: 12px;
}
.wd-product-rating-wrap {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 16px;
}
.wd-review-count { font-size: 13px; color: var(--wd-text-muted); }
.wd-product-price-wrap {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
}
.wd-product-price-main {
    font-size: 28px; font-weight: 700;
    color: var(--wd-accent);
}
.wd-product-price-main del {
    color: var(--wd-text-muted); font-weight: 400;
    font-size: 18px;
}
.wd-save-badge {
    padding: 4px 12px;
    background: #e8f5e9; color: #2e7d32;
    border-radius: 50px;
    font-size: 12px; font-weight: 600;
}
.wd-product-short-desc {
    font-size: 15px; color: var(--wd-text-light);
    line-height: 1.7;
}
.wd-product-divider {
    border-top: 1px solid var(--wd-border-light);
    margin: 20px 0;
}

/* Quantity */
.wd-quantity-wrap { margin-bottom: 20px; }
.wd-quantity-wrap label {
    display: block; font-size: 14px; font-weight: 600;
    margin-bottom: 8px;
}
.wd-quantity-selector {
    display: inline-flex; align-items: center;
    border: 1px solid var(--wd-border);
    border-radius: 8px; overflow: hidden;
}
.wd-qty-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: var(--wd-text);
    transition: var(--wd-transition);
}
.wd-qty-btn:hover { background: var(--wd-bg-alt); }
.wd-quantity-selector .qty {
    width: 50px; height: 40px;
    text-align: center; border: none;
    border-left: 1px solid var(--wd-border);
    border-right: 1px solid var(--wd-border);
    font-weight: 600; font-size: 15px;
    -moz-appearance: textfield;
}
.wd-quantity-selector .qty::-webkit-outer-spin-button,
.wd-quantity-selector .qty::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}

/* Variable Product - Variation Selectors */
.wd-variations-wrap {
    margin-bottom: 20px;
}
.wd-variation-row {
    margin-bottom: 16px;
}
.wd-variation-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--wd-text);
}
.wd-variation-select,
.wd-product-form .variations_form select {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--wd-border);
    border-radius: 8px;
    font-family: var(--wd-font-body);
    font-size: 14px;
    color: var(--wd-text);
    background: #fff;
    outline: none;
    cursor: pointer;
    transition: var(--wd-transition);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.wd-variation-select:hover,
.wd-product-form .variations_form select:hover {
    border-color: var(--wd-accent);
}
.wd-variation-select:focus,
.wd-product-form .variations_form select:focus {
    border-color: var(--wd-accent);
    box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}
.wd-variation-row .reset_variations {
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--wd-accent);
    text-decoration: none;
}
.wd-variation-row .reset_variations:hover {
    text-decoration: underline;
}

/* Variation price display */
.wd-product-form .woocommerce-variation-price {
    margin-bottom: 16px;
}
.wd-product-form .woocommerce-variation-price .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--wd-primary);
}
.wd-product-form .woocommerce-variation-availability {
    margin-bottom: 12px;
}
.wd-product-form .woocommerce-variation-availability .stock {
    font-size: 13px;
    font-weight: 600;
}
.wd-product-form .woocommerce-variation-availability .in-stock {
    color: #27ae60;
}
.wd-product-form .woocommerce-variation-availability .out-of-stock {
    color: #e74c3c;
}

/* Hide WooCommerce default table layout if any */
.wd-product-form table.variations {
    display: none;
}

.wd-add-to-cart-wrap {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.wd-btn-add-to-cart { width: 100%; justify-content: center; }

/* WhatsApp Button */
.wd-btn-whatsapp {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 24px;
    background: #25D366; color: var(--wd-white) !important;
    border-radius: 50px;
    font-size: 14px; font-weight: 600;
    transition: var(--wd-transition);
    width: 100%;
    border: none; cursor: pointer;
}
.wd-btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}
.wd-btn-whatsapp i { font-size: 18px; }

/* Legacy WhatsApp button (unused) */
.wd-whatsapp-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px;
    background: #25D366; color: var(--wd-white);
    border-radius: 50px;
    font-size: 14px; font-weight: 600;
    transition: var(--wd-transition);
}
.wd-whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}
.wd-whatsapp-btn i { font-size: 18px; }

/* Product Meta */
.wd-product-meta-info {
    font-size: 13px; color: var(--wd-text-light);
}
.wd-meta-row { margin-bottom: 6px; }
.wd-meta-row span:first-child { font-weight: 600; color: var(--wd-text); }
.wd-product-meta-row { margin-top: 8px; font-size: 13px; }
.wd-meta-label { font-weight: 600; margin-right: 6px; }
.wd-colour-tag {
    display: inline-block; padding: 2px 10px;
    border-radius: 50px; font-size: 11px;
    background: var(--wd-bg-alt);
    border: 1px solid var(--wd-border);
    margin: 2px;
}

/* Trust signals */
.wd-product-trust { margin-top: 24px; }
.wd-trust-mini {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 0; font-size: 13px;
    color: var(--wd-text-light);
}
.wd-trust-mini i { color: var(--wd-accent); width: 18px; }

/* Product Tabs */
.wd-product-tabs {
    margin-bottom: 60px;
}
.wd-tabs-nav {
    display: flex; gap: 0;
    border-bottom: 2px solid var(--wd-border-light);
    margin-bottom: 30px;
}
.wd-tab-btn {
    padding: 14px 28px;
    font-size: 15px; font-weight: 600;
    color: var(--wd-text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: var(--wd-transition);
}
.wd-tab-btn:hover { color: var(--wd-text); }
.wd-tab-btn.active {
    color: var(--wd-accent);
    border-bottom-color: var(--wd-accent);
}
.wd-tab-pane { display: none; }
.wd-tab-pane.active { display: block; }
.wd-product-description { line-height: 1.8; }
.wd-product-description h2,
.wd-product-description h3 {
    font-family: var(--wd-font-heading);
    margin: 24px 0 12px;
}
.wd-product-description p { margin-bottom: 16px; }

/* Related Products */
.wd-related-products {
    padding: 40px 0 60px;
    border-top: 1px solid var(--wd-border-light);
}
.wd-section-title {
    font-family: var(--wd-font-heading);
    font-size: 28px; font-weight: 700;
    text-align: center; margin-bottom: 36px;
}

/* ═══════════════════════════════════════════════════════
   WOOCOMMERCE REVIEWS / COMMENT FORM
   ═══════════════════════════════════════════════════════ */
.wd-tab-pane .comment-respond,
#comments {
    max-width: 700px;
}
#comments .woocommerce-Reviews-title,
.comment-reply-title {
    font-family: var(--wd-font-heading);
    font-size: 22px; font-weight: 700;
    margin-bottom: 24px;
}
#comments .commentlist {
    list-style: none; padding: 0; margin: 0 0 30px;
}
#comments .commentlist .comment {
    padding: 20px; margin-bottom: 16px;
    background: var(--wd-bg-alt);
    border-radius: var(--wd-radius);
}
#comments .comment_container {
    display: flex; gap: 16px;
}
#comments .comment_container img.avatar {
    width: 48px; height: 48px;
    border-radius: 50%; flex-shrink: 0;
}
#comments .comment-text {
    flex: 1;
}
#comments .comment-text .meta {
    font-size: 14px; margin-bottom: 8px;
}
#comments .comment-text .meta strong {
    font-size: 15px;
}
#comments .comment-text .meta time {
    color: var(--wd-text-muted); font-size: 12px;
    margin-left: 8px;
}
#comments .star-rating {
    display: inline-flex; gap: 2px;
    color: var(--wd-accent);
    font-size: 14px;
    margin-bottom: 8px;
}
#comments .description p {
    font-size: 14px; line-height: 1.6;
    margin: 0;
}
/* Review form */
.comment-form {
    display: flex; flex-direction: column; gap: 16px;
}
.comment-form label {
    display: block; font-size: 14px; font-weight: 600;
    margin-bottom: 6px; color: var(--wd-text);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--wd-border);
    border-radius: var(--wd-radius-sm);
    font-size: 14px;
    background: var(--wd-white);
    transition: var(--wd-transition);
}
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--wd-accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.comment-form textarea {
    min-height: 120px; resize: vertical;
}
.comment-form .form-submit {
    margin-top: 4px;
}
.comment-form .form-submit input[type="submit"],
.comment-form .form-submit button {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px;
    background: var(--wd-accent); color: var(--wd-white);
    border: none; border-radius: 50px;
    font-size: 14px; font-weight: 600;
    cursor: pointer; transition: var(--wd-transition);
}
.comment-form .form-submit input[type="submit"]:hover,
.comment-form .form-submit button:hover {
    background: var(--wd-accent-hover);
    transform: translateY(-2px);
}
.comment-form p.stars {
    display: flex; gap: 4px; margin-bottom: 8px;
}
.comment-form p.stars a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: var(--wd-bg-alt);
    color: var(--wd-text-muted);
    font-size: 0;
    transition: var(--wd-transition);
    position: relative;
}
.comment-form p.stars a::before {
    content: '\f005'; font-family: 'Font Awesome 6 Free';
    font-weight: 400; font-size: 16px;
}
.comment-form p.stars a:hover,
.comment-form p.stars a.active {
    background: var(--wd-accent); color: var(--wd-white);
}
.comment-form p.stars a:hover::before,
.comment-form p.stars a.active::before {
    font-weight: 900;
}
.comment-form .comment-form-cookies-consent {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--wd-text-light);
}
.comment-form .comment-form-cookies-consent input {
    accent-color: var(--wd-accent);
}

/* ═══════════════════════════════════════════════════════
   PAGE TEMPLATES
   ═══════════════════════════════════════════════════════ */
.wd-page-header-banner {
    background: linear-gradient(135deg, var(--wd-primary), var(--wd-secondary));
    padding: 50px 0 40px;
    text-align: center;
}
.wd-page-title {
    font-family: var(--wd-font-heading);
    font-size: 40px; font-weight: 700;
    color: var(--wd-white);
}
.wd-page-desc {
    color: rgba(255,255,255,0.7);
    margin-top: 8px; font-size: 16px;
}
.wd-page-content-area {
    padding: 50px 0;
    max-width: 900px; margin: 0 auto;
}
.wd-page-body { line-height: 1.8; }
.wd-page-body h2, .wd-page-body h3 {
    font-family: var(--wd-font-heading);
    margin: 30px 0 16px;
}
.wd-page-body p { margin-bottom: 16px; }
.wd-page-body img { border-radius: var(--wd-radius); margin: 20px 0; }
.wd-page-featured-image {
    margin-bottom: 30px; border-radius: var(--wd-radius-lg);
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════
   SINGLE POST / BLOG
   ═══════════════════════════════════════════════════════ */
.wd-post-hero {
    position: relative; min-height: 50vh;
    display: flex; align-items: flex-end;
    background: var(--wd-primary);
    overflow: hidden;
}
.wd-post-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
}
.wd-post-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 30%, rgba(26,26,46,0.9));
}
.wd-post-hero-content {
    position: relative; z-index: 2;
    padding-bottom: 50px; max-width: 800px;
}
.wd-post-categories a {
    display: inline-block; padding: 4px 14px;
    background: rgba(212,163,115,0.2);
    border-radius: 50px; font-size: 12px;
    color: var(--wd-accent); font-weight: 600;
    margin: 0 4px 10px 0;
}
.wd-post-title {
    font-family: var(--wd-font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700; color: var(--wd-white);
    line-height: 1.2; margin-bottom: 16px;
}
.wd-post-meta-hero {
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
    font-size: 14px; color: rgba(255,255,255,0.7);
}
.wd-post-author {
    display: flex; align-items: center; gap: 8px;
}
.wd-post-author img { border-radius: 50%; }

.wd-post-content-wrap { padding: 60px 0; position: relative; }
.wd-post-share-sidebar {
    position: absolute; left: -60px; top: 0;
}
.wd-share-sticky {
    position: sticky; top: calc(var(--wd-header-height) + 30px);
    display: flex; flex-direction: column;
    align-items: center; gap: 10px;
}
.wd-share-label {
    font-size: 11px; text-transform: uppercase;
    letter-spacing: 1px; color: var(--wd-text-muted);
    writing-mode: vertical-rl; margin-bottom: 6px;
}
.wd-share-btn {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--wd-bg-alt); color: var(--wd-text);
    font-size: 15px;
    transition: var(--wd-transition);
}
.wd-share-btn:hover {
    background: var(--wd-primary); color: var(--wd-white);
    transform: translateY(-2px);
}

.wd-post-body {
    font-size: 17px; line-height: 1.9;
    color: var(--wd-text);
}
.wd-post-body h2 {
    font-family: var(--wd-font-heading);
    font-size: 28px; margin: 40px 0 16px;
}
.wd-post-body h3 {
    font-family: var(--wd-font-heading);
    font-size: 22px; margin: 32px 0 12px;
}
.wd-post-body p { margin-bottom: 20px; }
.wd-post-body img { border-radius: var(--wd-radius); margin: 24px 0; }
.wd-post-body blockquote {
    border-left: 4px solid var(--wd-accent);
    padding: 20px 28px; margin: 30px 0;
    background: var(--wd-bg-alt);
    border-radius: 0 var(--wd-radius) var(--wd-radius) 0;
    font-style: italic; font-size: 18px;
}

.wd-post-tags {
    display: flex; align-items: center; gap: 10px;
    margin-top: 40px; padding-top: 24px;
    border-top: 1px solid var(--wd-border-light);
    flex-wrap: wrap;
}
.wd-post-tags a {
    padding: 4px 14px; border-radius: 50px;
    background: var(--wd-bg-alt); font-size: 13px;
    color: var(--wd-text-light);
    transition: var(--wd-transition);
}
.wd-post-tags a:hover { background: var(--wd-accent); color: var(--wd-white); }

.wd-author-bio {
    display: flex; gap: 20px;
    margin-top: 40px; padding: 30px;
    background: var(--wd-bg-alt);
    border-radius: var(--wd-radius);
}
.wd-author-avatar img { border-radius: 50%; width: 80px; height: 80px; }
.wd-author-label { font-size: 12px; color: var(--wd-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.wd-author-name { font-size: 18px; font-weight: 600; margin: 4px 0; }
.wd-author-desc { font-size: 14px; color: var(--wd-text-light); }

.wd-post-navigation {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-top: 40px;
}
.wd-post-nav-item {
    padding: 20px;
    background: var(--wd-bg-alt);
    border-radius: var(--wd-radius);
    transition: var(--wd-transition);
}
.wd-post-nav-item:hover { background: var(--wd-primary); color: var(--wd-white); }
.wd-post-nav-label { font-size: 12px; color: var(--wd-text-muted); text-transform: uppercase; display: block; margin-bottom: 6px; }
.wd-post-nav-title { font-size: 15px; font-weight: 600; }
.wd-post-nav-next { text-align: right; }

/* Blog Cards */
.wd-posts-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
    padding: 40px 0;
}
.wd-post-card {
    background: var(--wd-white);
    border-radius: var(--wd-radius);
    overflow: hidden;
    box-shadow: var(--wd-shadow);
    transition: var(--wd-transition);
}
.wd-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wd-shadow-hover);
}
.wd-post-card-image img {
    width: 100%; aspect-ratio: 16/10; object-fit: cover;
}
.wd-post-card-body { padding: 20px; }
.wd-post-meta {
    display: flex; gap: 16px; font-size: 12px;
    color: var(--wd-text-muted); margin-bottom: 10px;
}
.wd-post-card-title {
    font-family: var(--wd-font-heading);
    font-size: 18px; line-height: 1.3;
    margin-bottom: 8px;
}
.wd-post-card-title a:hover { color: var(--wd-accent); }
.wd-post-card-excerpt {
    font-size: 14px; color: var(--wd-text-light);
    margin-bottom: 12px;
}
.wd-read-more {
    font-size: 13px; font-weight: 600;
    color: var(--wd-accent);
    display: inline-flex; align-items: center; gap: 6px;
}
.wd-read-more:hover { gap: 10px; }

/* ═══════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════ */
.wd-404-page {
    min-height: 70vh; display: flex; align-items: center;
    justify-content: center; text-align: center;
}
.wd-404-number {
    font-family: var(--wd-font-heading);
    font-size: 120px; font-weight: 700;
    background: linear-gradient(135deg, var(--wd-accent), var(--wd-accent-hover));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1;
}
.wd-404-content h1 {
    font-family: var(--wd-font-heading);
    font-size: 32px; margin: 16px 0 8px;
}
.wd-404-content p { color: var(--wd-text-light); margin-bottom: 24px; }
.wd-404-actions { display: flex; gap: 12px; justify-content: center; }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.wd-footer {
    background: var(--wd-primary);
    color: rgba(255,255,255,0.8);
}
.wd-footer-top { padding: 60px 0 40px; }
.wd-footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
}
.wd-footer-logo { margin-bottom: 20px; }
.wd-footer-logo .wd-logo-text { color: var(--wd-white); font-size: 22px; }
.wd-footer-address,
.wd-footer-phone,
.wd-footer-email {
    font-size: 14px; margin-bottom: 8px;
    display: flex; align-items: flex-start; gap: 10px;
}
.wd-footer-address i,
.wd-footer-phone i,
.wd-footer-email i {
    color: var(--wd-accent); margin-top: 3px;
}
.wd-footer a { color: rgba(255,255,255,0.7); }
.wd-footer a:hover { color: var(--wd-accent); }
.wd-footer-heading {
    font-family: var(--wd-font-heading);
    font-size: 18px; font-weight: 600;
    color: var(--wd-white);
    margin-bottom: 20px;
}
.wd-footer-links {
    list-style: none; padding: 0; margin: 0;
}
.wd-footer-links li { margin-bottom: 10px; }
.wd-footer-links a {
    font-size: 14px;
    transition: var(--wd-transition);
    display: inline-flex; align-items: center; gap: 6px;
}
.wd-footer-links a::before {
    content: '→'; font-size: 12px; opacity: 0;
    transition: var(--wd-transition);
}
.wd-footer-links a:hover::before { opacity: 1; }
.wd-footer-cats {
    column-count: 2; column-gap: 20px;
}
.wd-footer-cats li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wd-footer-desc {
    font-size: 14px; margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}
.wd-social-links { display: flex; gap: 10px; }
.wd-social-link {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: var(--wd-white) !important;
    font-size: 16px;
    transition: var(--wd-transition);
}
.wd-social-link:hover {
    background: var(--wd-accent);
    transform: translateY(-3px);
}
.wd-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px; color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════════
   EXIT POPUP
   ═══════════════════════════════════════════════════════ */
.wd-exit-popup {
    position: fixed; inset: 0; z-index: 99998;
    display: none; align-items: center; justify-content: center;
}
.wd-exit-popup.active {
    display: flex;
}
.wd-exit-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.65);
}
.wd-exit-popup-content {
    position: relative; z-index: 2;
    background: var(--wd-white);
    border-radius: var(--wd-radius-lg);
    max-width: 520px; width: 90%;
    overflow: hidden;
    animation: popupIn 0.4s ease;
    box-shadow: var(--wd-shadow-lg);
}
@keyframes popupIn {
    from { transform: scale(0.9) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.wd-exit-popup-close {
    position: absolute; top: 16px; right: 16px;
    width: 36px; height: 36px; z-index: 3;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--wd-text);
    transition: var(--wd-transition);
}
.wd-exit-popup-close:hover { background: rgba(0,0,0,0.2); }
.wd-exit-popup-body { padding: 0; }
.wd-exit-popup-banner {
    background: linear-gradient(135deg, var(--wd-primary), var(--wd-secondary));
    padding: 40px 30px; text-align: center; color: var(--wd-white);
}
.wd-exit-popup-banner h2 {
    font-family: var(--wd-font-heading);
    font-size: 28px; margin-bottom: 10px;
}
.wd-exit-popup-banner p {
    font-size: 15px; color: rgba(255,255,255,0.8);
}
.wd-exit-popup-coupon-area {
    padding: 30px; text-align: center;
}
.wd-coupon-code {
    display: inline-block; padding: 14px 30px;
    background: var(--wd-bg-alt);
    border: 2px dashed var(--wd-accent);
    border-radius: var(--wd-radius-sm);
    font-size: 24px; font-weight: 700;
    font-family: monospace;
    letter-spacing: 3px; color: var(--wd-accent);
    margin: 16px 0;
    cursor: pointer;
}
.wd-coupon-copy-hint {
    font-size: 12px; color: var(--wd-text-muted);
}

/* WhatsApp Floating Button */
.wd-whatsapp-float {
    position: fixed; bottom: 24px; right: 24px;
    width: 56px; height: 56px; z-index: 997;
    background: #25D366; color: var(--wd-white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    transition: var(--wd-transition);
    animation: float 3s ease-in-out infinite;
}
.wd-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ═══════════════════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
   ═══════════════════════════════════════════════════════ */
.woocommerce .star-rating {
    overflow: hidden; position: relative;
    height: 1em; width: 5.4em; font-family: star;
    font-size: 1em; line-height: 1;
}
.woocommerce .star-rating::before {
    content: '\73\73\73\73\73';
    color: #ddd; float: left; top: 0; left: 0;
    position: absolute;
}
.woocommerce .star-rating span {
    overflow: hidden; float: left;
    top: 0; left: 0; position: absolute;
    padding-top: 1.5em;
}
.woocommerce .star-rating span::before {
    content: '\53\53\53\53\53';
    color: #f39c12; top: 0; left: 0;
    position: absolute;
}
.woocommerce .quantity .qty {
    width: 60px; text-align: center;
    padding: 8px; border: 1px solid var(--wd-border);
    border-radius: 6px;
}
.woocommerce table.variations {
    width: 100%; margin-bottom: 16px;
}
.woocommerce table.variations td {
    padding: 8px 0; vertical-align: middle;
}
.woocommerce table.variations label {
    font-weight: 600; font-size: 14px;
}
.woocommerce table.variations select {
    width: 100%; padding: 10px 14px;
    border: 1px solid var(--wd-border);
    border-radius: 8px; font-size: 14px;
    background: var(--wd-white);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .wd-products-grid { grid-template-columns: repeat(3, 1fr); }
    .wd-products-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .wd-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .wd-nav { display: none; }
    .wd-menu-toggle { display: flex; }
    .wd-nav.active {
        display: flex;
        position: fixed; top: var(--wd-header-height); left: 0; right: 0; bottom: 0;
        background: var(--wd-white);
        z-index: 999;
        padding: 20px;
        overflow-y: auto;
    }
    .wd-nav.active .wd-nav-menu {
        flex-direction: column; width: 100%;
    }
    .wd-mega-dropdown {
        position: static; transform: none;
        min-width: 100%; box-shadow: none;
        border: 1px solid var(--wd-border-light);
        margin-top: 8px;
        display: none;
    }
    .wd-has-dropdown:hover .wd-mega-dropdown {
        display: block; opacity: 1; visibility: visible;
        transform: none;
    }
    .wd-mega-dropdown-grid { grid-template-columns: repeat(2, 1fr); }

    .wd-hero-content { grid-template-columns: 1fr; gap: 30px; }
    .wd-hero-product { display: none; }

    .wd-shop-layout { grid-template-columns: 1fr; }
    .wd-shop-sidebar {
        position: fixed; top: 0; left: -300px; bottom: 0;
        width: 300px; z-index: 999;
        border-radius: 0; max-height: 100vh;
        transition: left 0.3s ease;
    }
    .wd-shop-sidebar.active { left: 0; }
    .wd-mobile-filter-btn { display: flex; align-items: center; gap: 8px; }
    .wd-filter-overlay.active { display: block; }

    .wd-cat-section-inner {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    .wd-cat-info, .wd-cat-products { order: unset !important; }

    .wd-product-main { grid-template-columns: 1fr; gap: 30px; }
    .wd-products-grid { grid-template-columns: repeat(2, 1fr); }
    .wd-products-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .wd-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .wd-trust-grid { grid-template-columns: repeat(2, 1fr); }

    .wd-hero-stats { gap: 30px; }
    .wd-post-share-sidebar { display: none; }
    .wd-search-dropdown { width: calc(100vw - 48px); right: -60px; }
}

@media (max-width: 640px) {
    :root { --wd-header-height: 64px; }
    
    .wd-hero { min-height: 80vh; }
    .wd-hero-title { font-size: 2rem; }
    .wd-hero-actions { flex-direction: column; }
    .wd-hero-stats { gap: 20px; }
    .wd-hero-stat-number { font-size: 24px; }

    .wd-cat-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .wd-cat-products .wd-cat-product-card:nth-child(3) { display: none; }
    .wd-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .wd-products-grid.list-view { grid-template-columns: 1fr; }
    .wd-products-grid.list-view .wd-product-card {
        grid-template-columns: 120px 1fr;
    }
    .wd-products-grid.list-view .wd-add-to-cart-btn {
        display: none;
    }

    .wd-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .wd-footer-cats { column-count: 1; }
    .wd-posts-grid { grid-template-columns: 1fr; }
    .wd-trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }

    .wd-product-name { font-size: 24px; }
    .wd-product-price-main { font-size: 22px; }
    .wd-add-to-cart-wrap { grid-template-columns: 1fr; }
    .wd-shop-title, .wd-page-title { font-size: 28px; }
    .wd-post-navigation { grid-template-columns: 1fr; }
    .wd-author-bio { flex-direction: column; text-align: center; }
    .wd-404-number { font-size: 80px; }
    .wd-cart-dropdown { width: calc(100vw - 48px); right: -16px; }
}

/* ─── Print ─── */
@media print {
    .wd-header, .wd-footer, .wd-exit-popup, .wd-whatsapp-float,
    .wd-hero-scroll, .wd-preloader { display: none !important; }
    .wd-main { margin-top: 0; }
    body { background: #fff; }
}
