/*
Theme Name: HomeKitchen Store
Theme URI: https://homekitchen.com
Author: HomeKitchen
Author URI: https://homekitchen.com
Description: Premium Home & Kitchen and Ladies Accessories WooCommerce Theme with 3D effects, dark UI, and modern design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: homekitchen
Tags: woocommerce, e-commerce, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
WC requires at least: 7.0
WC tested up to: 8.5
*/

/* =============================================
   GOOGLE FONTS
============================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* =============================================
   CSS VARIABLES
============================================= */
:root {
    --primary:       #c8956c;
    --primary-dark:  #a0522d;
    --primary-light: #faeadb;
    --dark:          #1a1208;
    --dark-2:        #2d1a0a;
    --cream:         #fdf6f0;
    --text:          #1a1208;
    --text-muted:    #6b5a4e;
    --border:        rgba(200,149,108,0.2);
    --white:         #ffffff;
    --success:       #16a34a;
    --error:         #dc2626;
    --warning:       #d97706;
    --shadow:        0 4px 24px -4px rgba(200,149,108,0.15);
    --shadow-hover:  0 12px 40px -8px rgba(200,149,108,0.35);
    --shadow-glow:   0 0 20px rgba(200,149,108,0.4);
    --radius:        12px;
    --radius-lg:     20px;
    --font-display:  'Playfair Display', Georgia, serif;
    --font-body:     'DM Sans', sans-serif;
    --transition:    all 0.3s ease;
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* =============================================
   SCROLLBAR
============================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* =============================================
   TYPOGRAPHY
============================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.8rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }

.text-gradient {
    background: linear-gradient(135deg, #c8956c, #eab308, #a0522d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   CONTAINER
============================================= */
.container, .hk-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =============================================
   BUTTONS
============================================= */
.btn, .button,
button[type="submit"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
    line-height: 1;
}

.btn-primary,
.woocommerce a.button,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
#place_order {
    background: var(--primary);
    color: #fff !important;
}
.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button.alt:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-glow);
    color: #fff !important;
}

.btn-dark {
    background: var(--dark);
    color: #fff;
}
.btn-dark:hover { background: #2d1a0a; color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* =============================================
   ANNOUNCEMENT BAR
============================================= */
.hk-announcement-bar {
    background: linear-gradient(90deg, var(--dark-2), var(--primary-dark), var(--dark-2));
    color: #fff;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}
.hk-announcement-bar strong { color: var(--primary-light); }

/* =============================================
   HEADER / NAVBAR
============================================= */
.hk-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(200,149,108,0.08);
    transition: var(--transition);
}

.hk-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* Logo */
.hk-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
    flex-shrink: 0;
}
.hk-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-glow);
}
.hk-logo-text { display: flex; flex-direction: column; }
.hk-logo-text .name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}
.hk-logo-text .sub {
    font-size: 0.65rem;
    color: var(--primary);
    line-height: 1;
    margin-top: 2px;
}

/* Search */
.hk-search-form {
    flex: 1;
    max-width: 480px;
    position: relative;
}
.hk-search-form input[type="search"] {
    width: 100%;
    padding: 0.625rem 3rem 0.625rem 1rem;
    border: 2px solid #e8d8cc;
    border-radius: var(--radius);
    background: var(--cream);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text);
    transition: var(--transition);
    outline: none;
}
.hk-search-form input[type="search"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,149,108,0.15);
}
.hk-search-form button[type="submit"] {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1rem;
    transition: var(--transition);
}
.hk-search-form button[type="submit"]:hover { background: var(--primary-dark); }

/* Header Icons */
.hk-header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}
.hk-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 1.1rem;
    transition: var(--transition);
    background: transparent;
    border: none;
    text-decoration: none;
}
.hk-icon-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.hk-icon-btn .count {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User Menu Dropdown */
.hk-user-menu { position: relative; }
.hk-user-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
    overflow: hidden;
    z-index: 100;
}
.hk-user-menu:hover .hk-user-dropdown { display: block; }
.hk-user-dropdown-header {
    padding: 1rem;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
}
.hk-user-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text);
    transition: var(--transition);
}
.hk-user-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* Navigation */
.hk-nav {
    background: #fff;
    border-top: 1px solid var(--border);
}
.hk-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.hk-nav-inner::-webkit-scrollbar { display: none; }
.hk-nav-inner a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
    flex-shrink: 0;
}
.hk-nav-inner a:hover,
.hk-nav-inner a.current-menu-item {
    color: var(--primary-dark);
    background: var(--primary-light);
}

/* Mobile Menu Toggle */
.hk-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.hk-mobile-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* =============================================
   HERO BANNER (3D)
============================================= */
.hk-hero {
    position: relative;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #3d2010 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

#hk-3d-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hk-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,18,8,0.85) 0%, rgba(26,18,8,0.4) 60%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hk-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    max-width: 640px;
    margin-left: max(1.5rem, calc(50vw - 640px));
}

.hk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200,149,108,0.2);
    border: 1px solid rgba(200,149,108,0.4);
    color: #e8b88a;
    font-size: 0.8rem;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}
.hk-hero-badge .pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse 2s infinite;
}

.hk-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.hk-hero-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 480px;
}

.hk-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.hk-hero-stats {
    display: flex;
    gap: 2rem;
}
.hk-hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.hk-hero-stat span {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* Scroll indicator */
.hk-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}
.hk-scroll-indicator span { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.hk-scroll-indicator .wheel {
    width: 20px;
    height: 32px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4px;
}
.hk-scroll-indicator .wheel::after {
    content: '';
    width: 3px;
    height: 6px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollDown 1.5s ease-in-out infinite;
}

/* =============================================
   FEATURES STRIP
============================================= */
.hk-features-strip {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}
.hk-features-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.hk-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hk-feature-icon { font-size: 1.5rem; }
.hk-feature-text strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}
.hk-feature-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =============================================
   SECTION HEADERS
============================================= */
.hk-section { padding: 4rem 0; }
.hk-section-header { margin-bottom: 2.5rem; }
.hk-section-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    display: block;
    margin-bottom: 0.375rem;
}
.hk-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.hk-section-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =============================================
   CATEGORIES GRID
============================================= */
.hk-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.hk-category-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.25rem 0.75rem;
    text-align: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hk-category-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.hk-category-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-light), #faeadb);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}
.hk-category-card:hover .hk-category-icon-wrap {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.hk-category-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}
.hk-category-card:hover .hk-category-name { color: var(--primary-dark); }

/* =============================================
   PRODUCTS GRID
============================================= */
.hk-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* Product Card */
.hk-product-card,
.woocommerce ul.products li.product {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.hk-product-card:hover,
.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(200,149,108,0.3);
}

.hk-product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--cream);
}
.hk-product-img-wrap img,
.woocommerce ul.products li.product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hk-product-card:hover .hk-product-img-wrap img { transform: scale(1.06); }

.hk-product-badges {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 2;
}
.hk-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
}
.hk-badge-sale { background: #ef4444; color: #fff; }
.hk-badge-new  { background: var(--primary); color: #fff; }
.hk-badge-hot  { background: #f97316; color: #fff; }
.hk-badge-out  { background: #6b7280; color: #fff; }
.hk-badge-free { background: #16a34a; color: #fff; }

/* Wishlist button */
.hk-wishlist-btn {
    position: absolute;
    top: 0.625rem;
    right: 0.625rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: var(--transition);
    z-index: 2;
}
.hk-wishlist-btn:hover,
.hk-wishlist-btn.active {
    background: #fee2e2;
    color: #ef4444;
    transform: scale(1.1);
}

/* Quick add overlay */
.hk-quick-add {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 3;
}
.hk-product-card:hover .hk-quick-add { transform: translateY(0); }
.hk-quick-add button {
    width: 100%;
    padding: 0.625rem;
    background: rgba(26,18,8,0.92);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.hk-quick-add button:hover { background: var(--primary-dark); }

/* Product info */
.hk-product-info {
    padding: 0.875rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hk-product-brand {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.hk-product-name,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    font-family: var(--font-body);
}
.hk-product-name:hover { color: var(--primary-dark); }

.hk-product-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}
.hk-stars { display: flex; gap: 1px; }
.hk-star { font-size: 0.75rem; color: #d1d5db; }
.hk-star.filled { color: #eab308; }
.hk-rating-count { font-size: 0.7rem; color: var(--text-muted); }

.hk-product-price,
.woocommerce ul.products li.product .price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
    font-family: var(--font-body);
}
.hk-price-current,
.woocommerce ul.products li.product .price ins {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none !important;
}
.hk-price-old,
.woocommerce ul.products li.product .price del {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* =============================================
   PROMO BANNERS
============================================= */
.hk-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.hk-promo-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 180px;
    cursor: pointer;
    transition: var(--transition);
}
.hk-promo-card:hover { transform: scale(1.01); }
.hk-promo-card-1 { background: linear-gradient(135deg, var(--primary-dark), #5c2a0e); }
.hk-promo-card-2 { background: linear-gradient(135deg, #92400e, #b45309); }
.hk-promo-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}
.hk-promo-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}
.hk-promo-sub { font-size: 0.875rem; color: rgba(255,255,255,0.75); margin-bottom: 1.25rem; }
.hk-promo-emoji {
    font-size: 5rem;
    opacity: 0.2;
    transition: var(--transition);
}
.hk-promo-card:hover .hk-promo-emoji { opacity: 0.3; transform: scale(1.1); }
.hk-promo-circle-1 {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.hk-promo-circle-2 {
    position: absolute;
    top: -1rem;
    right: 4rem;
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

/* =============================================
   SHOP / ARCHIVE PAGE
============================================= */
.hk-shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem 0;
}

/* Sidebar */
.hk-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}
.hk-widget { margin-bottom: 1.75rem; }
.hk-widget:last-child { margin-bottom: 0; }
.hk-widget-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.875rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
    font-family: var(--font-body);
}
.hk-filter-list { display: flex; flex-direction: column; gap: 0.375rem; }
.hk-filter-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.hk-filter-item:hover { color: var(--primary-dark); }
.hk-filter-item input { accent-color: var(--primary); }
.hk-price-range { padding: 0.5rem 0; }
.hk-price-range input[type="range"] {
    width: 100%;
    accent-color: var(--primary);
    height: 4px;
    margin: 0.5rem 0;
}
.hk-price-inputs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.hk-price-inputs input {
    flex: 1;
    padding: 0.375rem 0.5rem;
    border: 1px solid #e8d8cc;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
}
.hk-price-inputs input:focus { border-color: var(--primary); }

/* Shop Toolbar */
.hk-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.hk-shop-count { font-size: 0.875rem; color: var(--text-muted); }
.hk-shop-sort select,
.woocommerce .woocommerce-ordering select {
    padding: 0.5rem 0.875rem;
    border: 1px solid #e8d8cc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text);
    background: var(--cream);
    outline: none;
    cursor: pointer;
}

/* =============================================
   SINGLE PRODUCT PAGE
============================================= */
.hk-single-product { padding: 2rem 0 4rem; }
.hk-single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* View Toggle */
.hk-view-toggle {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.hk-view-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #e8d8cc;
    background: #fff;
    color: var(--text-muted);
}
.hk-view-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Product Gallery */
.hk-product-gallery { position: sticky; top: 100px; }
.hk-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--cream);
    margin-bottom: 0.875rem;
    position: relative;
}
.hk-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hk-3d-viewer-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--dark), var(--dark-2));
    display: none;
    position: relative;
}
.hk-3d-viewer-wrap canvas { width: 100% !important; height: 100% !important; }
.hk-3d-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(200,149,108,0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    z-index: 5;
}
.hk-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}
.hk-thumbnail {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: var(--transition);
}
.hk-thumbnail.active,
.hk-thumbnail:hover { border-color: var(--primary); }
.hk-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

/* Product Info */
.hk-product-brand-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    display: block;
}
.hk-single-title,
.woocommerce div.product .product_title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}
.hk-single-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.hk-single-price,
.woocommerce div.product .price {
    display: flex;
    align-items: baseline;
    gap: 0.875rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}
.hk-single-price-current {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
}
.hk-single-price-old { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.hk-single-save {
    background: #f0fdf4;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.2rem 0.625rem;
    border-radius: 6px;
    border: 1px solid #bbf7d0;
}

.hk-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.hk-stock-badge.in-stock { color: var(--success); }
.hk-stock-badge.out-of-stock { color: var(--error); }
.hk-stock-badge.low-stock { color: var(--warning); }
.hk-stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.hk-product-tags-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.hk-product-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
}
.hk-tag-free-ship { background: #f0fdf4; color: #166534; border-color: #bbf7d0; }
.hk-tag-return    { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.hk-tag-warranty  { background: #faf5ff; color: #6b21a8; border-color: #e9d5ff; }

/* Quantity + Cart */
.hk-cart-form {
    display: flex;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
    align-items: stretch;
}
.hk-qty-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #e8d8cc;
    border-radius: var(--radius);
    overflow: hidden;
}
.hk-qty-btn {
    width: 44px;
    height: 44px;
    background: var(--cream);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--text);
    transition: var(--transition);
}
.hk-qty-btn:hover { background: var(--primary-light); }
.hk-qty-wrap input {
    width: 48px;
    text-align: center;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-body);
    color: var(--text);
    background: #fff;
    outline: none;
}

/* Product Tabs */
.hk-product-tabs { margin-top: 3rem; }
.hk-tabs-nav {
    display: flex;
    border-bottom: 2px solid #e8d8cc;
    margin-bottom: 1.5rem;
}
.hk-tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition);
}
.hk-tab-btn.active {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}
.hk-tab-content { display: none; }
.hk-tab-content.active { display: block; }

/* Specs Table */
.hk-specs-table { width: 100%; border-collapse: collapse; }
.hk-specs-table tr { border-bottom: 1px solid var(--border); }
.hk-specs-table td { padding: 0.75rem 0.5rem; font-size: 0.875rem; }
.hk-specs-table td:first-child { color: var(--text-muted); width: 40%; }
.hk-specs-table td:last-child { font-weight: 600; color: var(--text); }

/* =============================================
   REVIEWS
============================================= */
.hk-review-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}
.hk-star-rating { display: flex; gap: 0.375rem; margin-bottom: 1rem; }
.hk-star-rating button {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #d1d5db;
    transition: var(--transition);
}
.hk-star-rating button.active,
.hk-star-rating button:hover { color: #eab308; transform: scale(1.1); }

.hk-review-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}
.hk-reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* =============================================
   CART PAGE
============================================= */
.hk-cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    padding: 2rem 0 4rem;
    align-items: start;
}
.hk-cart-table {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hk-cart-table table { width: 100%; border-collapse: collapse; }
.hk-cart-table th {
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: var(--cream);
    text-align: left;
}
.hk-cart-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
    font-size: 0.875rem;
}
.hk-cart-item-img {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--cream);
}
.hk-cart-summary {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}
.hk-coupon-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.hk-coupon-form input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 2px solid #e8d8cc;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
    text-transform: uppercase;
}
.hk-coupon-form input:focus { border-color: var(--primary); }
.hk-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.625rem;
}
.hk-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    border-top: 2px solid var(--border);
    padding-top: 0.875rem;
    margin-top: 0.375rem;
}

/* =============================================
   CHECKOUT PAGE
============================================= */
.hk-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    padding: 2rem 0 4rem;
    align-items: start;
}
.hk-checkout-steps {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    overflow-x: auto;
}
.hk-step {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.hk-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition);
}
.hk-step.done .hk-step-num  { background: var(--success); color: #fff; }
.hk-step.active .hk-step-num { background: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }
.hk-step.pending .hk-step-num { background: #e8d8cc; color: var(--text-muted); }
.hk-step-label { font-size: 0.8rem; font-weight: 600; margin-left: 0.5rem; }
.hk-step.active .hk-step-label  { color: var(--primary-dark); }
.hk-step.pending .hk-step-label { color: var(--text-muted); }
.hk-step-line { flex: 1; height: 2px; margin: 0 0.75rem; min-width: 24px; }
.hk-step-line.done   { background: var(--success); }
.hk-step-line.active { background: linear-gradient(90deg, var(--primary), #e8d8cc); }
.hk-step-line.pending { background: #e8d8cc; }

.hk-checkout-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    margin-bottom: 1.25rem;
}
.hk-payment-methods { display: flex; flex-direction: column; gap: 0.75rem; }
.hk-payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid #e8d8cc;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}
.hk-payment-method:hover { border-color: var(--primary-light); }
.hk-payment-method.active { border-color: var(--primary); background: var(--cream); }
.hk-payment-method input { accent-color: var(--primary); }
.hk-payment-icon { font-size: 1.5rem; }
.hk-payment-info strong { display: block; font-size: 0.875rem; color: var(--text); }
.hk-payment-info span  { font-size: 0.75rem; color: var(--text-muted); }

/* WooCommerce form fields override */
.woocommerce-checkout .form-row label,
.woocommerce-cart .form-row label { font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 0.375rem; display: block; }
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e8d8cc;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text);
    outline: none;
    transition: var(--transition);
    background: var(--cream);
}
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(200,149,108,0.15);
}

/* =============================================
   MY ACCOUNT PAGE
============================================= */
.hk-myaccount-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    padding: 2rem 0 4rem;
    align-items: start;
}
.hk-account-sidebar {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hk-account-profile {
    background: linear-gradient(135deg, var(--primary-dark), var(--dark));
    padding: 1.5rem;
    text-align: center;
}
.hk-account-avatar {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 auto 0.75rem;
}
.hk-account-name { color: #fff; font-weight: 700; font-size: 1rem; }
.hk-account-email { color: rgba(255,255,255,0.6); font-size: 0.75rem; margin-top: 0.25rem; }

.hk-account-nav a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
}
.hk-account-nav a:hover,
.hk-account-nav a.is-active {
    color: var(--primary-dark);
    background: var(--primary-light);
    padding-left: 1.5rem;
}
.hk-account-nav a:last-child { border-bottom: none; }

.hk-account-content {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

/* Order status badges */
.hk-order-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: capitalize;
}
.hk-status-processing  { background: #fef3c7; color: #92400e; }
.hk-status-completed   { background: #d1fae5; color: #065f46; }
.hk-status-shipped     { background: #dbeafe; color: #1e40af; }
.hk-status-cancelled   { background: #fee2e2; color: #991b1b; }
.hk-status-on-hold     { background: #e0e7ff; color: #3730a3; }

/* Order tracking steps */
.hk-tracking-steps {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    overflow-x: auto;
}
.hk-tracking-step { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.hk-tracking-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    transition: var(--transition);
}
.hk-tracking-circle.done    { background: var(--primary); color: #fff; }
.hk-tracking-circle.current { background: var(--primary); color: #fff; box-shadow: var(--shadow-glow); }
.hk-tracking-circle.pending { background: #e8d8cc; color: var(--text-muted); }
.hk-tracking-label { font-size: 0.65rem; text-align: center; color: var(--text-muted); max-width: 60px; }
.hk-tracking-line {
    flex: 1;
    height: 2px;
    min-width: 20px;
    margin: 0 0.375rem 1.25rem;
}
.hk-tracking-line.done    { background: var(--primary); }
.hk-tracking-line.pending { background: #e8d8cc; }

/* =============================================
   WISHLIST PAGE
============================================= */
.hk-wishlist-page { padding: 2rem 0 4rem; }
.hk-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

/* =============================================
   NEWSLETTER
============================================= */
.hk-newsletter {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    padding: 4rem 1.5rem;
    text-align: center;
}
.hk-newsletter h2 { color: #fff; margin-bottom: 0.75rem; }
.hk-newsletter p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.hk-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto;
}
.hk-newsletter-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.875rem;
    outline: none;
}
.hk-newsletter-form input::placeholder { color: rgba(255,255,255,0.6); }
.hk-newsletter-form input:focus { border-color: rgba(255,255,255,0.6); }
.hk-newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: #fff;
    color: var(--primary-dark);
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.hk-newsletter-form button:hover { background: var(--cream); }

/* =============================================
   FOOTER
============================================= */
.hk-footer {
    background: var(--dark);
    color: var(--cream);
    padding: 3.5rem 0 0;
}
.hk-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.hk-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
    text-decoration: none;
}
.hk-footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.25rem; }
.hk-footer-socials { display: flex; gap: 0.625rem; }
.hk-social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}
.hk-social-btn:hover { background: var(--primary); color: #fff; }
.hk-footer-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.125rem;
}
.hk-footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.hk-footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.hk-footer-links a:hover { color: var(--primary); }
.hk-footer-links a::before { content: '›'; color: var(--primary); }
.hk-footer-contact { display: flex; flex-direction: column; gap: 0.75rem; }
.hk-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}
.hk-footer-newsletter-mini { margin-top: 1rem; }
.hk-footer-newsletter-mini p { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 0.5rem; }
.hk-footer-newsletter-mini form { display: flex; gap: 0.375rem; }
.hk-footer-newsletter-mini input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    outline: none;
}
.hk-footer-newsletter-mini button {
    padding: 0.5rem 0.875rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}
.hk-footer-newsletter-mini button:hover { background: var(--primary-dark); }
.hk-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding: 1.25rem 1.5rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.hk-footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.35); }
.hk-payment-icons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hk-payment-icon {
    padding: 0.25rem 0.625rem;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
}

/* =============================================
   PAGE HERO
============================================= */
.hk-page-hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--dark));
    color: #fff;
    padding: 3rem 1.5rem;
}
.hk-page-hero h1 { color: #fff; font-size: 2rem; margin-bottom: 0.5rem; }
.hk-breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.hk-breadcrumb a { color: var(--primary); }
.hk-breadcrumb span { color: rgba(255,255,255,0.3); }

/* =============================================
   EMPTY STATES
============================================= */
.hk-empty-state {
    text-align: center;
    padding: 5rem 1.5rem;
}
.hk-empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.hk-empty-state h2 { font-family: var(--font-display); margin-bottom: 0.75rem; }
.hk-empty-state p { color: var(--text-muted); margin-bottom: 1.75rem; }

/* =============================================
   WOOCOMMERCE OVERRIDES
============================================= */
.woocommerce .products { padding: 0 !important; margin: 0 !important; }
.woocommerce .products li.product { float: none !important; width: 100% !important; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; list-style: none; }
.woocommerce .woocommerce-notices-wrapper .woocommerce-message {
    background: #f0fdf4;
    border-color: var(--success);
    color: #065f46;
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.woocommerce .woocommerce-notices-wrapper .woocommerce-error {
    background: #fef2f2;
    color: #991b1b;
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    font-size: 0.875rem;
}
.woocommerce-cart .cart-collaterals h2,
.woocommerce-cart .cart_totals h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.woocommerce table.shop_table {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.woocommerce table.shop_table th {
    background: var(--cream);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 700;
    padding: 0.875rem 1rem;
}
.woocommerce table.shop_table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.woocommerce .cart_totals { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); }
#place_order {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
}

/* =============================================
   PAGINATION
============================================= */
.hk-pagination,
.woocommerce nav.woocommerce-pagination {
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    padding: 2rem 0;
}
.hk-pagination a,
.hk-pagination span,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    background: #fff;
    color: var(--text-muted);
    text-decoration: none;
    box-shadow: var(--shadow);
    border: 1px solid transparent;
    transition: var(--transition);
}
.hk-pagination a:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}
.hk-pagination span.current,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* =============================================
   TOAST NOTIFICATIONS
============================================= */
.hk-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.hk-toast-item {
    background: var(--dark);
    color: var(--cream);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-hover);
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 2.7s forwards;
    pointer-events: auto;
    max-width: 300px;
}
@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0);    opacity: 1; }
}
@keyframes fadeOut { to { opacity: 0; transform: translateX(100%); } }

/* =============================================
   ADMIN BAR FIX
============================================= */
.admin-bar .hk-header { top: 32px; }

/* =============================================
   ANIMATIONS
============================================= */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-12px); }
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}
@keyframes scrollDown {
    0%   { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(8px); opacity: 0; }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.hk-skeleton {
    background: linear-gradient(90deg, #faeadb 25%, #fdf6f0 50%, #faeadb 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}
.hk-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.hk-fade-up.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1200px) {
    .hk-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .hk-wishlist-grid   { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .hk-features-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .hk-products-grid,
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
    .hk-single-product-grid  { grid-template-columns: 1fr; gap: 2rem; }
    .hk-product-gallery       { position: static; }
    .hk-cart-layout           { grid-template-columns: 1fr; }
    .hk-checkout-layout       { grid-template-columns: 1fr; }
    .hk-myaccount-layout      { grid-template-columns: 1fr; }
    .hk-promo-grid            { grid-template-columns: 1fr; }
    .hk-footer-grid           { grid-template-columns: 1fr 1fr; }
    .hk-shop-layout           { grid-template-columns: 1fr; }
    .hk-sidebar               { position: static; }
    .hk-categories-grid       { grid-template-columns: repeat(3, 1fr); }
    .hk-wishlist-grid         { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .hk-search-form    { display: none; }
    .hk-mobile-toggle  { display: flex; }
    .hk-nav            { display: none; }
    .hk-nav.open       { display: block; }
    .hk-nav-inner      { flex-direction: column; padding: 0.5rem; }
    .hk-hero           { min-height: 70vh; }
    .hk-hero-content   { margin-left: 1.5rem; }
    .hk-hero-stats     { gap: 1.25rem; }
    .hk-products-grid,
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
    .hk-categories-grid      { grid-template-columns: repeat(3, 1fr); }
    .hk-wishlist-grid        { grid-template-columns: repeat(2, 1fr); }
    .hk-footer-grid          { grid-template-columns: 1fr; gap: 1.75rem; }
}

@media (max-width: 480px) {
    .hk-hero-title    { font-size: 2rem; }
    .hk-hero-buttons  { flex-direction: column; }
    .hk-cart-form     { flex-direction: column; }
    .hk-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .hk-features-strip-inner { grid-template-columns: 1fr; }
    .hk-promo-emoji   { display: none; }
}

/* =============================================
   DUMMY LISTING DESIGN IMPROVEMENTS
============================================= */

/* Product card - quick add always visible on mobile */
@media (hover: none) {
    .hk-quick-add { transform: translateY(0) !important; }
}

/* Shop toolbar WooCommerce ordering fix */
.woocommerce-ordering {
    margin: 0 !important;
    float: none !important;
}
.woocommerce-ordering select {
    padding: .5rem .875rem !important;
    border: 1.5px solid #e8d8cc !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: .825rem !important;
    color: var(--text) !important;
    background: var(--cream) !important;
    outline: none !important;
    cursor: pointer !important;
}

/* Hero category pills */
.hk-hero-content a[style*="border-radius:20px"]:hover {
    background: rgba(200,149,108,.3) !important;
}

/* Page hero category pills */
.hk-page-hero a[style*="border-radius:20px"]:hover {
    background: rgba(200,149,108,.3) !important;
}

/* Mobile sidebar open state */
@media (max-width: 991px) {
    .hk-sidebar {
        display: none;
        position: fixed;
        left: 0; top: 0;
        height: 100%;
        width: 280px;
        z-index: 200;
        overflow-y: auto;
        border-radius: 0;
        box-shadow: 4px 0 24px rgba(0,0,0,.15);
        animation: slideIn .3s ease;
    }
    .hk-sidebar.mobile-open {
        display: block !important;
    }
}

/* Featured badge on product */
.hk-featured-mark {
    position: absolute;
    bottom: .5rem;
    left: .5rem;
    background: rgba(26,18,8,.7);
    color: #eab308;
    font-size: .65rem;
    font-weight: 700;
    padding: .2rem .5rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* Product count badge */
.hk-shop-count {
    font-size: .825rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Promo card hover fix */
.hk-promo-card .btn:hover {
    background: var(--cream) !important;
    transform: none !important;
}

/* Section divider */
.hk-section + .hk-section {
    border-top: 1px solid rgba(200,149,108,.08);
}

/* Filter item link style */
a.hk-filter-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .825rem;
    color: var(--text-muted);
    padding: .25rem 0;
    transition: var(--transition);
    text-decoration: none;
    border-bottom: none !important;
}
a.hk-filter-item:hover {
    color: var(--primary-dark);
}

/* WooCommerce result count hide - we have custom */
.woocommerce-result-count { display: none !important; }

/* Category card count */
.hk-category-card::after {
    content: attr(data-count);
    font-size: .65rem;
    color: var(--text-muted);
    margin-top: .15rem;
}
