/*
Theme Name: GadgetsGuru
Theme URI: https://gadgetsguru.com
Author: GadgetsGuru
Author URI: https://gadgetsguru.com
Description: Premium electronics e-commerce WordPress theme with Myntra-inspired design. Features orange (#e85d04) accent color to match the GadgetsGuruStore logo, modern product cards, hero slider, category pills, and full WooCommerce support.
Version: 1.0.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gadgetsguru
Tags: e-commerce, woocommerce, custom-menu, custom-logo, featured-images, theme-options
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
WooCommerce tested up to: 9.0
*/

/* ============================================
   GADGETS GURU - MYNTRA STYLE DESIGN
   Color: White + Orange (#e85d04)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #e85d04;
    --primary-light: #ff7b1c;
    --primary-pale: #fff4ea;
    --primary-mid: #ffd9bd;
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f5;
    --border: #ebebeb;
    --text-dark: #282c3f;
    --text-mid: #535766;
    --text-light: #94969f;
    --success: #03a685;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    background: var(--white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden; /* safety net: nothing should ever cause horizontal scroll / off-screen elements */
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ---- ANNOUNCEMENT BAR ---- */
.announcement-bar {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 9px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ---- HEADER ---- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    height: 70px;
}
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
/* Header logo — HAR page pe (category/product included) strict cap.
   !important isliye: LiteSpeed lazyload placeholder + WP ke
   contain-intrinsic-size rules (3000x1500!) logo ko kabhi-kabhi
   full natural size (345x128) me render kara dete hain — khaas kar
   category pages ke stale page-cache me. */
.site-logo { max-width: 240px; overflow: hidden; }
img.gg-logo-img,
.site-logo .gg-logo-img,
.site-logo .custom-logo {
    height: 52px !important;
    width: auto !important;
    max-width: 100% !important;
    max-height: 52px !important;
    min-height: 0 !important;
    object-fit: contain;
    contain-intrinsic-size: 345px 52px !important;
    display: block;
}
.site-logo span { color: var(--text-dark); }

/* Search */
.header-search {
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border: 1.5px solid var(--border);
    border-radius: 6px;
    overflow: visible; /* lets the live-search dropdown show below the bar */
    transition: border-color 0.2s;
}
.header-search form { flex: 1; display: flex; min-width: 0; }
.header-search:focus-within { border-color: var(--primary); }
.header-search input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 11px 16px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
}
.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0 20px;
    height: 44px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    border-radius: 0 4px 4px 0;
    flex-shrink: 0;
}

/* Nav Icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    flex-shrink: 0;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-mid);
    gap: 3px;
    border-radius: 4px;
    transition: all 0.2s;
}
.action-item:hover { color: var(--primary); background: var(--primary-pale); }
.action-item i { font-size: 20px; }

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--text-dark);
    cursor: pointer;
    padding: 8px;
}

.cart-count {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -4px;
    right: -4px;
}

/* Nav Menu & Mega Menu */
.nav-menu {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 100;
}
.nav-menu > ul,
.nav-menu .menu {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
}
.nav-menu li {
    position: relative;
    list-style: none;
}
.nav-menu > ul > li > a,
.nav-menu .menu > li > a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 15px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 3px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
}
.nav-menu > ul > li:hover > a,
.nav-menu .menu > li:hover > a,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Caret indicator for dropdowns */
.nav-menu li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    transition: transform 0.25s ease;
}
.nav-menu li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Standard Dropdown Submenu */
.nav-menu ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(0,0,0,0.06);
    border-radius: 0 0 10px 10px;
    border-top: 3px solid var(--primary);
    padding: 10px 0;
    margin: 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
}
.nav-menu li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-menu ul.sub-menu li {
    width: 100%;
    position: relative;
}
.nav-menu ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    text-transform: none;
    letter-spacing: 0;
    border-bottom: none;
    transition: all 0.2s;
    text-decoration: none;
}
.nav-menu ul.sub-menu li a:hover {
    background: var(--primary-pale);
    color: var(--primary);
    padding-left: 24px;
}
.nav-menu ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    border-top: none;
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 10px;
}

/* Stunning Mega Menu Multi-column Support */
.nav-menu li.mega-menu {
    position: static !important;
}
.nav-menu li.mega-menu > ul.sub-menu {
    left: 50% !important;
    transform: translateX(-50%) translateY(12px) !important;
    width: 92%;
    max-width: 1200px;
    padding: 25px 30px;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}
.nav-menu li.mega-menu:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) !important;
}
.nav-menu li.mega-menu > ul.sub-menu > li > a {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 0 10px 0;
    border-bottom: 2px solid var(--primary-mid);
    margin-bottom: 8px;
}
.nav-menu li.mega-menu > ul.sub-menu > li > a:hover {
    background: transparent;
    padding-left: 0;
    color: var(--primary-light);
}
.nav-menu li.mega-menu > ul.sub-menu > li ul.sub-menu {
    position: static;
    display: block !important;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    min-width: auto;
}
.nav-menu li.mega-menu > ul.sub-menu > li ul.sub-menu li a {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-mid);
}
.nav-menu li.mega-menu > ul.sub-menu > li ul.sub-menu li a:hover {
    background: transparent;
    color: var(--primary);
    padding-left: 6px;
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- SECTION TITLES ---- */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    padding-left: 16px;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70%;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}
.view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}
.view-all:hover { text-decoration: underline; }

/* ---- BANNER STRIP ---- */
.banner-strip {
    padding: 30px 0;
    background: var(--off-white);
}
.banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.banner-card {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    display: block;
    height: 180px;
    background: var(--light-gray);
    transition: all 0.3s ease;
}
.banner-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Text-overlay banners: poori card clickable (ek stretched anchor),
   text uske upar — anchor ke andar anchor nahi ho sakta isliye aisa. */
.banner-card.has-text::after {
    background: linear-gradient(180deg, rgba(13,17,28,0.82) 0%, rgba(13,17,28,0.55) 55%, rgba(13,17,28,0.15) 100%);
}
.banner-card-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
}
.banner-text {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 20px;
    text-align: left;
}
.banner-text-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.banner-text-title .bt-accent { color: var(--primary-light); }
.banner-text-sub {
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255,255,255,0.9);
    max-width: 92%;
}
.banner-text-btn {
    position: relative;
    z-index: 4;
    display: inline-block;
    margin-top: 4px;
    background: var(--primary);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 9px 18px;
    border-radius: 4px;
    transition: background 0.2s;
}
.banner-text-btn:hover { background: var(--primary-light); }
@media (max-width: 900px) {
    .banner-text { padding: 12px 14px; gap: 5px; }
    .banner-text-sub { font-size: 11px; }
    .banner-text-title { font-size: 20px !important; }
}
.banner-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2), transparent);
}

/* ---- HERO BANNER SLIDER ---- */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
.slide {
    min-width: 100%;
}
.slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}
.slider-dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    color: var(--text-dark);
    transition: all 0.2s;
}
.slider-arrow:hover { background: var(--primary); color: white; }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ---- CATEGORIES PILL ---- */
.categories-scroll {
    padding: 30px 0;
}
.cat-pills {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
}
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    cursor: pointer;
    padding: 0 8px;
}
.cat-pill-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--primary-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    border: 2px solid var(--primary-mid);
    transition: all 0.3s;
}
.cat-pill:hover .cat-pill-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(232,93,4,0.3);
}
.cat-pill span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
    text-align: center;
}

/* ---- CATEGORY CARDS (Big Grid) ---- */
.category-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.cat-card {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    background: var(--primary-pale);
    border: 1px solid var(--primary-mid);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cat-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(232,93,4,0.2);
}
.cat-card i { font-size: 36px; color: var(--primary); display: block; margin-bottom: 12px; transition: color 0.3s; }
.cat-card:hover i { color: white; }
.cat-card h3 { font-size: 13px; font-weight: 600; color: var(--text-dark); transition: color 0.3s; }
.cat-card:hover h3 { color: white; }
.cat-card p { font-size: 11px; color: var(--text-light); margin-top: 4px; transition: color 0.3s; }
.cat-card:hover p { color: rgba(255,255,255,0.8); }

/* ---- PRODUCT CARDS & CAROUSEL SLIDER ---- */
.products-section { padding: 40px 0; position: relative; }

.products-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 15px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Slider Track Mode when sliding is active */
.products-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 10px 4px 20px;
}
.products-slider-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.products-slider-track .product-card {
    flex: 0 0 230px;
    min-width: 230px;
    max-width: 250px;
}

/* Section Header Slider Arrows */
.section-nav-arrows {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}
.prod-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    font-size: 12px;
}
.prod-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.08);
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
    border-color: var(--primary-mid);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.wishlist-btn:hover { color: var(--primary); border-color: var(--primary); }

.product-img-wrap {
    height: 200px;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    flex-shrink: 0;
}

.product-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.product-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.product-name {
    font-size: 12px;
    color: var(--text-mid);
    margin-bottom: 8px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    flex: 1;
}

.product-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.star-badge {
    background: var(--success);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-count { font-size: 11px; color: var(--text-light); }

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.price-current {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.price-original {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-discount {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.btn-add-cart {
    width: 100%;
    padding: 9px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}
.btn-add-cart:hover { background: var(--primary-light); }

/* ---- CTR BANNER ---- */
.ctr-banner {
    border-radius: 12px;
    overflow: hidden;
    margin: 40px 0;
    position: relative;
    background: linear-gradient(135deg, #e85d04 0%, #ff9a3c 50%, #ffd9bd 100%);
    padding: 50px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ctr-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.ctr-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}
.ctr-text p {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    margin-bottom: 24px;
}
.ctr-btn {
    background: white;
    color: var(--primary);
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    display: inline-block;
}
.ctr-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.ctr-img { position: relative; z-index: 1; }
.ctr-img img { height: 180px; object-fit: contain; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2)); }

/* ---- WHY CHOOSE US ---- */
.why-us-section {
    background: var(--off-white);
    padding: 60px 0;
    margin-top: 40px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.why-card {
    background: var(--white);
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.why-card:hover {
    border-color: var(--primary-mid);
    box-shadow: 0 8px 30px rgba(232,93,4,0.1);
    transform: translateY(-4px);
}
.why-icon {
    width: 72px;
    height: 72px;
    background: var(--primary-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary);
    transition: all 0.3s;
}
.why-card:hover .why-icon { background: var(--primary); color: white; }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ---- HOMEPAGE SEO TEXT ---- */
.homepage-seo { padding: 60px 0; }
.homepage-seo .section-header {
    margin-bottom: 40px;
    justify-content: flex-start;
}
.homepage-seo .section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}
.homepage-seo .seo-content {
    max-width: none;
    columns: 2 320px;
    column-gap: 48px;
    text-align: justify;
    text-justify: inter-word;
}
.homepage-seo .seo-content p { break-inside: avoid; text-align: justify; text-justify: inter-word; }
@media (max-width: 768px) {
    .homepage-seo .seo-content { columns: 1; }
}
.homepage-seo p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ---- SINGLE BLOG POST: wider reading area (pehle 800px tha, side space bahut zyada tha) ---- */
.gg-single-wrap { max-width: 1200px; margin: 0 auto; padding: 40px 0; }
.gg-single-wrap .homepage-seo { padding: 30px 0; }
.gg-single-wrap .comments-area, .gg-single-wrap #comments { max-width: 800px; margin-left: auto; margin-right: auto; }
@media (max-width: 768px) { .gg-single-wrap { padding: 24px 0; } }

/* ---- CATEGORY PAGE: CONTENT BELOW THE TITLE ---- */
.gg-cat-intro {
    max-width: 900px;
    margin: 14px auto 6px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    color: var(--text-mid);
    font-size: 14px;
    line-height: 1.8;
}
.gg-cat-intro p { margin-bottom: 12px; font-size: 14px; }
.gg-cat-intro p:last-child { margin-bottom: 0; }
.gg-cat-intro h2, .gg-cat-intro h3, .gg-cat-intro h4 { color: var(--text-dark); margin: 16px 0 8px; }
.gg-cat-intro a { color: var(--primary); }

/* ---- SINGLE PRODUCT: tabs hamesha full-width row me ----
   WooCommerce ka tabs block div.product (flex container) ke andar
   .images/.summary ke saath third column ban ke squeeze ho raha tha —
   isko full-width basis dena zaroori hai. */
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs.wc-tabs-wrapper {
    width: 100% !important;
    max-width: 100%;
    flex: 1 1 100%;
    float: none;
    clear: both;
    margin-top: 10px;
}

/* ---- FOOTER ---- */
.site-footer {
    background: var(--text-dark);
    color: #ccc;
    padding: 60px 0 0;
    margin-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #3a3f51;
}
.footer-brand .logo { display: inline-block; background: #fff; border-radius: 12px; padding: 10px 16px; margin-bottom: 16px; }
.footer-brand .gg-logo-img { height: 54px; }
.footer-brand p { font-size: 13px; line-height: 1.7; color: #aaa; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #3a3f51;
    display: flex; align-items: center; justify-content: center;
    color: #ccc;
    font-size: 15px;
    transition: all 0.2s;
}
.social-icon:hover { background: var(--primary); color: white; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: white; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; color: #aaa; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--primary); }
.footer-bottom {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #3a3f51;
}
.footer-bottom a { color: #999; margin: 0 10px; }

/* ---- PAGE BANNER ---- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-pale) 0%, var(--primary-mid) 100%);
    padding: 40px 24px;
    margin-bottom: 30px;
}
.page-banner h1 { font-size: 28px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.page-banner p { font-size: 14px; color: var(--text-mid); }
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.breadcrumb a { color: var(--primary); }

/* ---- HTML SITEMAP ---- */
.gg-sitemap-wrap { padding: 10px 0 60px; }
.gg-sm-section { margin-bottom: 44px; }
.gg-sm-section h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 20px;
}
.gg-sm-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.gg-sm-block { background: var(--off-white); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; }
.gg-sm-block h3 { font-size: 15px; margin-bottom: 10px; }
.gg-sm-block h3 a { color: var(--primary); font-weight: 700; }
.gg-sm-block h3 a:hover { text-decoration: underline; }
.gg-sm-count { color: var(--text-light); font-size: 12px; font-weight: 500; }
.gg-sm-block ul { list-style: none; margin: 0 0 10px; }
.gg-sm-block ul li { padding: 5px 0; border-bottom: 1px dashed var(--border); font-size: 13px; }
.gg-sm-block ul li a { color: var(--text-mid); }
.gg-sm-block ul li a:hover { color: var(--primary); }
.gg-sm-sub { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.gg-sm-more { font-size: 12px; font-weight: 600; color: var(--primary); }
.gg-sm-pages, .gg-sm-posts { list-style: none; columns: 2 300px; column-gap: 48px; }
.gg-sm-pages li, .gg-sm-posts li { padding: 7px 0; border-bottom: 1px dashed var(--border); break-inside: avoid; font-size: 14px; }
.gg-sm-pages a, .gg-sm-posts a { color: var(--text-mid); }
.gg-sm-pages a:hover, .gg-sm-posts a:hover { color: var(--primary); }
.gg-sm-pages .children { margin-left: 18px; list-style: none; }
@media (max-width: 700px) { .gg-sm-pages, .gg-sm-posts { columns: 1; } }

/* ---- ABOUT / CONTACT PAGE TEMPLATES ---- */
.gg-pt-banner {
    position: relative;
    overflow: hidden;
}
.gg-pt-banner.has-image {
    min-height: 260px;
    display: flex;
    align-items: center;
    background: var(--text-dark);
}
.gg-pt-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.gg-pt-banner-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(40,44,63,0.78), rgba(232,93,4,0.4));
    z-index: 1;
}
.gg-pt-banner-inner { position: relative; z-index: 2; }
.gg-pt-banner.has-image .breadcrumb a,
.gg-pt-banner.has-image h1 { color: #fff; }
.gg-pt-banner.has-image .breadcrumb,
.gg-pt-banner.has-image p { color: rgba(255,255,255,0.85); }
.gg-pt-body { padding: 10px 0 60px; }

.gg-about-story { max-width: 900px; margin: 0 auto; text-align: center; padding: 40px 0 10px; }
.gg-about-story h2 { font-size: 26px; font-weight: 800; color: var(--text-dark); margin-bottom: 18px; }
.gg-about-text { text-align: justify; text-justify: inter-word; color: var(--text-mid); font-size: 15px; line-height: 1.9; }
.gg-about-text p { margin-bottom: 16px; }
/* About page ke 3 highlight cards — poore width me center, aur
   kam cards hone pe bhi left crowding na ho */
.gg-about-features {
    margin: 45px auto;
    max-width: 1100px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 3fr));
    justify-items: center;
}
.gg-about-features .why-card { width: 100%; max-width: 380px; }

.gg-stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    padding: 28px 24px;
    margin: 10px 0 40px;
}
.gg-stat { text-align: center; color: #fff; }
.gg-stat strong { display: block; font-size: 28px; font-weight: 800; line-height: 1.1; }
/* Number aur label ke beech gap — "19,000+Pin Codes" chipakne se bachne ke liye */
.gg-stat strong::after { content: ' '; }
.gg-stat span { display: inline-block; margin-top: 6px; font-size: 12px; opacity: 0.9; letter-spacing: 0.4px; text-transform: uppercase; }
.gg-about-editor { max-width: 900px; margin: 0 auto; color: var(--text-mid); line-height: 1.8; }
.gg-about-editor.is-centered,
.gg-contact-editor-block.is-centered { text-align: center; }
.gg-about-editor.is-centered h1, .gg-about-editor.is-centered h2, .gg-about-editor.is-centered h3 { text-align: center; }
.gg-contact-editor-block { max-width: 900px; margin: 0 auto 20px; color: var(--text-mid); line-height: 1.8; }

.gg-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    padding: 40px 0 10px;
}
.gg-contact-cards h2 { font-size: 22px; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.gg-contact-lede { font-size: 14px; color: var(--text-mid); margin-bottom: 22px; }
.gg-contact-card {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 14px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.gg-contact-card:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.gg-contact-icon {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}
.gg-contact-card-body h4 { font-weight: 700; margin-bottom: 4px; color: var(--text-dark); }
.gg-contact-card-body p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.gg-contact-card-body a { color: var(--primary); font-weight: 600; }
.gg-contact-card-link { position: absolute; inset: 0; }

.gg-contact-form-wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    align-self: start;
}
.gg-contact-form-wrap h3 { font-size: 20px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
.gg-contact-form { display: flex; flex-direction: column; gap: 14px; }
.gg-contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.gg-contact-form input,
.gg-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: var(--text-dark);
    background: var(--off-white);
}
.gg-contact-form input:focus,
.gg-contact-form textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.gg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gg-contact-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    padding: 13px 28px;
    cursor: pointer;
    transition: background 0.2s;
}
.gg-contact-submit:hover { background: var(--primary-light); }
.gg-form-msg { padding: 12px 16px; border-radius: 6px; font-size: 14px; margin-bottom: 14px; }
.gg-form-msg.is-success { background: #e7f8f2; color: #03795f; border: 1px solid #b5ebd8; }
.gg-form-msg.is-error { background: #fdecea; color: #d93025; border: 1px solid #f5c6c2; }
.gg-contact-editor { margin-bottom: 16px; }
.gg-contact-map { margin-top: 40px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.gg-contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }
@media (max-width: 900px) {
    .gg-contact-grid { grid-template-columns: 1fr; }
    .gg-form-row { grid-template-columns: 1fr; }
    .gg-stats-strip { padding: 20px 14px; }
    .gg-stat strong { font-size: 22px; }
}

/* ---- SHOP LAYOUT ---- */
.shop-layout { display: flex; gap: 30px; padding: 30px 0; }
.shop-sidebar { width: 260px; flex-shrink: 0; }
.shop-main { flex: 1; }
.filter-widget { background: white; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 20px; overflow: hidden; }
.filter-widget-title {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
}
.filter-widget-body { padding: 16px 20px; }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.filter-option input { accent-color: var(--primary); width: 16px; height: 16px; cursor: pointer; }
.filter-option label { font-size: 13px; color: var(--text-mid); cursor: pointer; }
.price-range { font-size: 13px; color: var(--text-mid); margin-bottom: 10px; }

.shop-toolbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 16px 20px; background: white; border: 1px solid var(--border); border-radius: 8px; margin-bottom: 20px;
}
.shop-result-count { font-size: 14px; color: var(--text-mid); }
.shop-sort select {
    padding: 8px 16px; border: 1px solid var(--border); border-radius: 4px;
    font-size: 13px; color: var(--text-dark); font-family: 'Poppins', sans-serif; outline: none;
    cursor: pointer; accent-color: var(--primary);
}
.shop-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---- PRODUCT PAGE LAYOUT ---- */
.product-page { display: flex; gap: 50px; padding: 30px 0; }
.product-gallery { width: 45%; }
.main-img-wrap { border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 12px; background: var(--off-white); }
.main-img-wrap img { width: 100%; height: 450px; object-fit: contain; display: block; padding: 20px; }
.thumb-row { display: flex; gap: 10px; }
.thumb-img {
    width: 70px; height: 70px;
    border: 2px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    padding: 4px;
    background: white;
    transition: all 0.2s;
}
.thumb-img:hover, .thumb-img.active { border-color: var(--primary); }
.thumb-img img { width: 100%; height: 100%; object-fit: contain; }

.product-details { flex: 1; }
.product-page-brand { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.product-page-title { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.product-page-rating { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 14px; }
.product-page-price { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.current-price { font-size: 32px; font-weight: 700; color: var(--text-dark); }
.original-price { font-size: 16px; color: var(--text-light); text-decoration: line-through; margin-left: 12px; }
.discount-badge { font-size: 14px; font-weight: 600; color: var(--primary); margin-left: 8px; }
.offer-section { background: var(--primary-pale); border-radius: 8px; padding: 16px; margin-bottom: 20px; }
.offer-section h4 { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.offer-item { font-size: 13px; color: var(--text-mid); margin-bottom: 6px; padding-left: 20px; position: relative; }
.offer-item::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.product-actions { display: flex; gap: 12px; margin-top: 24px; }
.btn-primary-lg {
    flex: 1; padding: 16px; background: var(--primary); color: white;
    border: none; border-radius: 4px; font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-primary-lg:hover { background: var(--primary-light); }
.btn-outline-lg {
    flex: 1; padding: 16px; background: white; color: var(--primary);
    border: 2px solid var(--primary); border-radius: 4px; font-size: 15px; font-weight: 700;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-outline-lg:hover { background: var(--primary-pale); }
.delivery-info { display: flex; align-items: flex-start; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.delivery-info i { color: var(--success); font-size: 18px; margin-top: 2px; }
.delivery-info h5 { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.delivery-info p { font-size: 12px; color: var(--text-light); }

/* ---- BLOG LAYOUT ---- */
.blog-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.blog-card { border-radius: 10px; overflow: hidden; background: white; border: 1px solid var(--border); transition: all 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.blog-card-img { height: 200px; background: var(--primary-pale); display: flex; align-items: center; justify-content: center; font-size: 50px; color: var(--primary); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-tag { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.blog-card-title { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; }
.blog-card-excerpt { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 16px; }
.blog-meta { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 12px; }
.read-more { font-size: 13px; font-weight: 600; color: var(--primary); display: flex; align-items: center; gap: 4px; margin-top: 12px; }

/* ---- WOOCOMMERCE OVERRIDES ---- */

/* Fix: WooCommerce's core stylesheet adds ::before/::after "clearfix"
   pseudo-elements to ul.products for its old float-based layout. Once
   the list becomes a CSS grid those pseudo-elements turn into real,
   empty grid cells and land in the FIRST slot — which is exactly why
   the first product (on every category page, and in Related Products)
   looked blank. Killing them fixes both. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.woocommerce ul.products li.product > a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
    border-color: var(--primary-mid);
}
.woocommerce ul.products li.product a img {
    height: 210px;
    width: 100%;
    object-fit: contain;
    padding: 14px;
    background: var(--off-white);
    margin: 0 !important;
    transition: transform 0.3s ease;
}
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 12px 14px 0 !important;
    font-family: 'Poppins', sans-serif;
    line-height: 1.45;
    /* Clamp every title to exactly 2 lines so no card grows taller
       than its neighbours just because its name is longer. */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 37px;
}
.woocommerce ul.products li.product .price {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark) !important;
    padding: 8px 14px 14px !important;
    font-family: 'Poppins', sans-serif;
    margin-top: auto; /* pins price+button to the bottom of every card */
}
.woocommerce ul.products li.product .price del {
    font-size: 12px;
    color: var(--text-light) !important;
    opacity: 1;
}
.woocommerce ul.products li.product .price ins {
    font-weight: 700;
    text-decoration: none;
}
.woocommerce ul.products li.product .onsale {
    background: var(--primary) !important;
    color: white !important;
    border-radius: 3px;
    top: 10px;
    left: 10px;
    right: auto;
    min-width: auto;
    min-height: auto;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button,
.woocommerce ul.products li.product .ajax_add_to_cart {
    background: var(--primary) !important;
    color: white !important;
    border: none !important;
    border-radius: 0 0 8px 8px !important;
    padding: 10px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    margin: 0 !important;
    transition: background 0.2s;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
    background: var(--primary-light) !important;
}

/* ---- SHOP / CATEGORY ARCHIVE HEADER ---- */
/* Breadcrumb (re-added — was being stripped out entirely) */
.site-breadcrumb.woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--text-light);
    padding: 18px 0 0;
}
.site-breadcrumb.woocommerce-breadcrumb a {
    color: var(--text-mid);
    font-weight: 500;
}
.site-breadcrumb.woocommerce-breadcrumb a:hover { color: var(--primary); }
.site-breadcrumb.woocommerce-breadcrumb .crumb-sep {
    margin: 0 8px;
    color: var(--text-light);
}

.woocommerce-products-header {
    padding: 14px 0 22px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}
.woocommerce-products-header__title.page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.woocommerce-products-header .term-description,
.woocommerce-products-header p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-mid);
    max-width: 900px;
}

/* Result count (left) + sort dropdown (right) on one tidy row above the grid */
.shop-main { overflow: hidden; } /* clearfix for the floated row below */
.woocommerce .woocommerce-result-count {
    float: left;
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--text-mid);
    line-height: 40px;
}
.woocommerce .woocommerce-ordering {
    float: right;
    margin: 0 0 18px;
}
.woocommerce-ordering select.orderby {
    border: 1.5px solid var(--border);
    border-radius: 4px;
    padding: 8px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
}
.woocommerce-ordering select.orderby:focus { outline: none; border-color: var(--primary); }

/* ---- SINGLE PRODUCT PAGE ---- */
.product-page-wrap { padding: 10px 0 50px; }

.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}
.woocommerce div.product div.images {
    width: 100% !important;
    max-width: 460px;
    flex: 1 1 420px;
    float: none;
}
.woocommerce div.product div.images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
}
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: 72px;
    height: 72px;
    list-style: none;
}
.woocommerce div.product div.images .flex-control-thumbs img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    padding: 6px;
    cursor: pointer;
}
.woocommerce div.product div.summary {
    width: 100% !important;
    flex: 1 1 380px;
    float: none;
}
.woocommerce div.product .product_title {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
}
.woocommerce div.product p.price {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}
.woocommerce div.product .single_add_to_cart_button {
    background: var(--primary) !important;
    border-radius: 4px !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 40px !important;
    font-size: 14px !important;
    transition: all 0.2s;
}
.woocommerce div.product .single_add_to_cart_button:hover {
    background: var(--primary-light) !important;
}

/* WooCommerce Cart & Checkout */
.woocommerce .checkout .woocommerce-checkout #place_order,
.woocommerce .cart .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: var(--primary) !important;
    color: white !important;
    border: none;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.2s;
}
.woocommerce .checkout .woocommerce-checkout #place_order:hover,
.woocommerce .cart .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: var(--primary-light) !important;
}

/* WooCommerce Star Rating */
.woocommerce .star-rating span::before {
    color: var(--primary) !important;
}

/* WooCommerce Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* WooCommerce Messages */
.woocommerce-message {
    border-top-color: var(--primary) !important;
}
.woocommerce-message::before {
    color: var(--primary) !important;
}

/* WooCommerce Pagination */
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary) !important;
    color: white !important;
}

/* ---- FLOATING QUICK-CONTACT + BACK-TO-TOP BUTTONS ---- */
.gg-floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.gg-float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.12);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, opacity 0.25s, visibility 0.25s;
    position: relative;
}
.gg-float-btn:hover { transform: translateY(-4px) scale(1.06); box-shadow: 0 16px 34px rgba(0,0,0,0.28); }
.gg-whatsapp-btn {
    background: linear-gradient(145deg, #2fe373, #1fb855);
}
.gg-whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: gg-pulse 2.4s infinite;
    pointer-events: none;
}
@keyframes gg-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.gg-call-btn { background: linear-gradient(145deg, var(--primary-light), var(--primary)); }
.gg-top-btn {
    background: linear-gradient(145deg, #3a3f52, var(--text-dark));
    font-size: 17px;
    width: 44px;
    height: 44px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.85);
}
.gg-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.gg-top-btn:hover { transform: translateY(-4px) scale(1); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .woocommerce ul.products { grid-template-columns: repeat(3, 1fr) !important; }
    .header-inner { padding: 0 16px; }
    .nav-menu > ul, .nav-menu .menu { padding: 0 16px; }
}

@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .shop-layout { flex-direction: column; }
    .shop-sidebar { width: 100%; }
    .product-page { flex-direction: column; }
    .product-gallery { width: 100%; }
    .category-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr 1fr; }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; }
    .woocommerce div.product { gap: 24px; }
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary { width: 100% !important; float: none; max-width: 100%; flex-basis: 100%; }
    .woocommerce div.product div.images img { max-width: 420px; margin: 0 auto; display: block; }
    .header-search { display: none; }
    .action-item-optional { display: none; }
    .header-actions { gap: 4px; }
    .mobile-nav-toggle { flex-shrink: 0; }
    .ctr-banner { flex-direction: column; text-align: center; padding: 30px; }
    .ctr-text h2 { font-size: 24px; }
    .slide img { height: 300px; }

    /* Mobile nav: hamburger + collapsible vertical menu */
    .mobile-nav-toggle { display: inline-flex; }
    .nav-menu {
        position: absolute;
        left: 0; right: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: none;
    }
    .nav-menu.nav-open {
        max-height: 80vh;
        overflow-y: auto;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }
    .nav-menu > ul, .nav-menu .menu {
        flex-direction: column;
        padding: 6px 0;
        gap: 0;
    }
    .nav-menu > ul > li > a, .nav-menu .menu > li > a {
        padding: 13px 20px;
        border-bottom: 1px solid var(--border);
        justify-content: space-between;
    }
    .nav-menu ul.sub-menu,
    .nav-menu li.mega-menu > ul.sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        width: 100% !important;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        grid-template-columns: 1fr !important;
        padding: 0 !important;
    }
    .nav-menu li.menu-item-has-children.nav-open-child > ul.sub-menu,
    .nav-menu li.mega-menu.nav-open-child > ul.sub-menu {
        display: block !important;
    }
    .gg-floating-actions { right: 14px; bottom: 14px; }
    .gg-float-btn { width: 46px; height: 46px; font-size: 18px; }
}

@media (max-width: 600px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .woocommerce ul.products li.product a img { height: 130px; }
    .footer-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .category-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .banner-grid { grid-template-columns: 1fr 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .header-inner { gap: 10px; padding: 0 12px; }
    .gg-logo-img { height: 40px; }
    .action-item span, .action-item { font-size: 10px; padding: 6px 6px; }
    .nav-menu li a { padding: 10px 10px; font-size: 11px; }
    .woocommerce-products-header__title.page-title { font-size: 20px; }
    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering { float: none; display: block; width: 100%; margin: 0 0 10px; }
    .woocommerce div.product .product_title { font-size: 19px; }
    .woocommerce div.product p.price { font-size: 22px; }
}

/* =====================================================
   PREMIUM FEATURES STYLES
   ===================================================== */

/* ---- Card tools: wishlist / quick view / compare ---- */
.woocommerce ul.products li.product { position: relative; }
.woocommerce ul.products li.product .wishlist-btn,
.product-card .wishlist-btn {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    width: 34px; height: 34px; border-radius: 50%;
    background: #fff; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-mid); cursor: pointer; font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); transition: all .2s;
}
.wishlist-btn:hover, .wishlist-btn.is-active { color: var(--primary); border-color: var(--primary); transform: scale(1.1); }
.wishlist-btn.is-active i { color: var(--primary); }

.gg-card-tools {
    position: absolute; top: 52px; right: 10px; z-index: 3;
    display: flex; flex-direction: column; gap: 8px;
    opacity: 0; transform: translateX(8px); transition: all .25s;
}
.product-card:hover .gg-card-tools,
.woocommerce ul.products li.product:hover .gg-card-tools { opacity: 1; transform: translateX(0); }
.gg-card-tools button {
    width: 34px; height: 34px; border-radius: 50%; background: #fff;
    border: 1px solid var(--border); color: var(--text-dark); font-size: 13px;
    cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all .2s;
}
.gg-card-tools button:hover, .gg-card-tools button.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
@media (hover: none) { .gg-card-tools { opacity: 1; transform: none; } }

/* Stock urgency */
.gg-stock-urgency {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; color: #d93025;
    background: #fdecea; padding: 4px 10px; border-radius: 20px; margin: 4px 14px 8px;
}
.product-info .gg-stock-urgency { margin: 0 0 8px; align-self: flex-start; }
.summary .gg-stock-urgency { margin: 0 0 14px; font-size: 13px; }

/* ---- Overlays / drawer / modal ---- */
.gg-drawer-overlay, .gg-modal-overlay {
    position: fixed; inset: 0; background: rgba(15,18,30,.55); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: all .3s; z-index: 1100;
}
.gg-drawer-overlay.is-open, .gg-modal-overlay.is-open { opacity: 1; visibility: visible; }

.gg-drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 92vw;
    background: #fff; z-index: 1101; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
    display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.15);
}
.gg-drawer.is-open { transform: translateX(0); }
.gg-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.gg-drawer-head h3 { font-size: 17px; font-weight: 700; }
.gg-drawer-head h3 i { color: var(--primary); margin-right: 6px; }
.gg-drawer-close, .gg-modal-close { background: var(--off-white); border: none; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; font-size: 14px; }
.gg-drawer-close:hover, .gg-modal-close:hover { background: var(--primary); color: #fff; }
.gg-drawer-body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.gg-empty-msg { text-align: center; color: var(--text-light); font-size: 14px; padding: 40px 10px; }

.gg-mini-card { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); position: relative; }
.gg-mini-card-img { width: 68px; height: 68px; flex-shrink: 0; background: var(--off-white); border-radius: 8px; overflow: hidden; }
.gg-mini-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gg-mini-card-body { flex: 1; min-width: 0; }
.gg-mini-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.4; }
.gg-mini-card-price { font-size: 14px; font-weight: 700; margin-top: 4px; }
.gg-mini-card-remove { background: none; border: none; color: var(--text-light); cursor: pointer; padding: 6px; }
.gg-mini-card-remove:hover { color: var(--primary); }

.gg-modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -46%) scale(.96);
    width: 900px; max-width: 94vw; max-height: 90vh; overflow-y: auto;
    background: #fff; border-radius: 16px; padding: 28px; z-index: 1101;
    opacity: 0; visibility: hidden; transition: all .3s; box-shadow: 0 30px 80px rgba(0,0,0,.3);
}
.gg-modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.gg-modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.gg-modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; }

/* Quick view */
.gg-quickview { display: flex; gap: 30px; }
.gg-quickview-img { position: relative; flex: 0 0 42%; background: var(--off-white); border-radius: 12px; padding: 20px; display: flex; align-items: center; justify-content: center; }
.gg-quickview-img img { width: 100%; max-height: 360px; object-fit: contain; }
.gg-quickview-info { flex: 1; min-width: 0; }
.gg-quickview-info h2 { font-size: 20px; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.gg-quickview-price { font-size: 26px; font-weight: 800; margin: 10px 0; }
.gg-quickview-price del { font-size: 16px; color: var(--text-light); font-weight: 500; }
.gg-quickview-price ins { text-decoration: none; }
.gg-quickview-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin: 12px 0 18px; }
.gg-quickview-actions { display: flex; gap: 10px; align-items: center; }
.gg-quickview-actions .button {
    flex: 1; text-align: center; background: var(--primary); color: #fff; padding: 14px 20px;
    border-radius: 8px; font-weight: 700; font-size: 14px; border: none;
}
.gg-quickview-actions .button:hover { background: var(--primary-light); }
.gg-quickview-actions .gg-wishlist-toggle { width: 48px; height: 48px; border-radius: 8px; border: 1.5px solid var(--border); background: #fff; cursor: pointer; font-size: 18px; }
.gg-quickview-full-link { display: inline-block; margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--primary); }

/* Compare */
.gg-compare-bar {
    position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px);
    background: var(--text-dark); color: #fff; padding: 12px 20px; border-radius: 50px;
    display: flex; align-items: center; gap: 24px; z-index: 997; font-size: 13px; font-weight: 600;
    transition: transform .35s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 12px 34px rgba(0,0,0,.3);
}
.gg-compare-bar.is-visible { transform: translate(-50%, 0); }
.gg-compare-bar button { border: none; cursor: pointer; font-weight: 700; font-size: 12px; border-radius: 30px; padding: 8px 16px; }
.gg-compare-view-btn { background: var(--primary); color: #fff; }
.gg-compare-clear-btn { background: transparent; color: #ccc; }
.gg-compare-table-wrap { overflow-x: auto; }
.gg-compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.gg-compare-table th, .gg-compare-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; font-size: 13px; }
.gg-compare-table th img { width: 110px; height: 110px; object-fit: contain; display: block; margin-bottom: 8px; background: var(--off-white); border-radius: 8px; padding: 6px; }
.gg-compare-table th span { font-size: 13px; font-weight: 600; color: var(--text-dark); display: block; }
.gg-compare-label { font-weight: 700; color: var(--text-mid); width: 110px; background: var(--off-white); }

/* Newsletter popup */
.gg-newsletter-overlay {
    position: fixed; inset: 0; background: rgba(15,18,30,.6); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
    opacity: 0; visibility: hidden; transition: all .35s; z-index: 1200;
}
.gg-newsletter-overlay.is-open { opacity: 1; visibility: visible; }
.gg-newsletter-box {
    position: relative; background: #fff; border-radius: 20px; max-width: 420px; width: 100%;
    padding: 40px 32px 32px; text-align: center; transform: translateY(24px) scale(.96); transition: transform .35s;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.gg-newsletter-overlay.is-open .gg-newsletter-box { transform: none; }
.gg-newsletter-close { position: absolute; top: 14px; right: 14px; background: var(--off-white); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }
.gg-newsletter-banner { margin: -40px -32px 22px; border-radius: 20px 20px 0 0; overflow: hidden; line-height: 0; }
.gg-newsletter-banner img { width: 100%; height: auto; display: block; }
.gg-newsletter-icon { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: var(--gg-pop-accent, var(--primary)); color: #fff; font-size: 28px; display: flex; align-items: center; justify-content: center; }
.gg-newsletter-box h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.gg-newsletter-box p { font-size: 14px; color: var(--text-mid); margin-bottom: 20px; }
.gg-newsletter-box form { display: flex; flex-direction: column; gap: 10px; }
.gg-newsletter-box input[type=email] { padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; }
.gg-newsletter-box input[type=email]:focus { outline: none; border-color: var(--gg-pop-accent, var(--primary)); }
.gg-newsletter-box form button { padding: 14px; background: var(--gg-pop-accent, var(--primary)); color: #fff; border: none; border-radius: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
.gg-newsletter-box form button:hover { filter: brightness(1.08); }
.gg-newsletter-msg { margin-top: 12px; font-size: 13px; color: #1a8f4c; min-height: 18px; }
.gg-newsletter-msg.is-error { color: #d93025; }

/* Trust badges */
.gg-trust-badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.gg-trust-badge { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: var(--text-mid); background: var(--off-white); padding: 10px 12px; border-radius: 8px; }
.gg-trust-badge i { color: var(--primary); font-size: 16px; }

/* Sticky add to cart (mobile) */
.gg-sticky-atc {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: #fff;
    display: none; align-items: center; gap: 12px; padding: 10px 14px;
    box-shadow: 0 -6px 24px rgba(0,0,0,.12); transform: translateY(110%); transition: transform .3s;
}
.gg-sticky-atc.is-visible { transform: translateY(0); }
.gg-sticky-atc-img { width: 46px; height: 46px; flex-shrink: 0; }
.gg-sticky-atc-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.gg-sticky-atc-info { flex: 1; min-width: 0; }
.gg-sticky-atc-title { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gg-sticky-atc-price { font-size: 14px; font-weight: 800; }
.gg-sticky-atc-btn { background: var(--primary); color: #fff; border: none; padding: 12px 18px; border-radius: 8px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap; }

/* Mobile bottom nav */
.gg-bottom-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 998; background: #fff;
    display: none; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0,0,0,.08); border-top: 1px solid var(--border);
}
.gg-bottom-nav-item {
    position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    background: none; border: none; cursor: pointer; font-family: inherit;
    font-size: 10px; font-weight: 600; color: var(--text-mid); padding: 6px 0;
}
.gg-bottom-nav-item i { font-size: 18px; }
.gg-bottom-nav-item.active { color: var(--primary); }
.gg-bottom-badge {
    position: absolute; top: 0; left: 52%; background: var(--primary); color: #fff; font-style: normal;
    font-size: 9px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.gg-bottom-nav .gg-wishlist-count { display: none; }

/* Filter sidebar */
.gg-price-inputs { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.gg-price-inputs input { width: 100%; padding: 9px 10px; border: 1.5px solid var(--border); border-radius: 6px; font-size: 13px; font-family: inherit; }
.gg-price-inputs input:focus { outline: none; border-color: var(--primary); }
.gg-price-filter-form button { width: 100%; padding: 10px; background: var(--text-dark); color: #fff; border: none; border-radius: 6px; font-weight: 600; font-size: 13px; cursor: pointer; }
.gg-price-filter-form button:hover { background: var(--primary); }
.gg-filter-list, .gg-rating-list { list-style: none; }
.gg-filter-list li a { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: var(--text-mid); border-bottom: 1px dashed var(--border); }
.gg-filter-list li a:hover { color: var(--primary); }
.gg-filter-list li a span { color: var(--text-light); }
.gg-rating-list li { padding: 6px 0; }
.gg-rating-list label { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--text-mid); cursor: pointer; }
.gg-rating-list label input { margin-right: 6px; accent-color: var(--primary); }
.gg-rating-list .fa-star { color: #f5a623; font-size: 12px; }
.gg-clear-filter { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--primary); font-weight: 600; }

/* Product image zoom */
.woocommerce div.product div.images .woocommerce-product-gallery__image { overflow: hidden; border-radius: 10px; cursor: zoom-in; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { transition: transform .15s ease-out; }

@media (max-width: 900px) {
    .gg-quickview { flex-direction: column; gap: 18px; }
    .gg-quickview-img { flex-basis: auto; }
    .gg-modal { padding: 20px 16px; }
}
@media (max-width: 768px) {
    .gg-bottom-nav { display: flex; }
    body { padding-bottom: 64px; }
    .gg-floating-actions { bottom: 84px; }
    .gg-compare-bar { bottom: 78px; gap: 12px; font-size: 12px; padding: 10px 14px; }
    body.single-product .gg-sticky-atc { display: flex; }
    body.single-product .gg-bottom-nav { display: none; }
    body.single-product { padding-bottom: 70px; }
    body.single-product .gg-floating-actions { bottom: 90px; }
    .gg-card-tools { top: 48px; }
    .gg-trust-badges { grid-template-columns: 1fr 1fr; }
}

/* =====================================================
   MORE FEATURES STYLES
   ===================================================== */

/* Live search dropdown */
.header-search { position: relative; }
.gg-live-results {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; z-index: 1050;
    border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 44px rgba(0,0,0,.14);
    overflow: hidden; display: none; max-height: 70vh; overflow-y: auto;
}
.gg-live-results.is-open { display: block; }
.gg-ls-item { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text-dark); }
.gg-ls-item:hover { background: var(--primary-pale); }
.gg-ls-img { width: 46px; height: 46px; flex-shrink: 0; background: var(--off-white); border-radius: 6px; overflow: hidden; }
.gg-ls-img img { width: 100%; height: 100%; object-fit: contain; }
.gg-ls-text { display: flex; flex-direction: column; min-width: 0; }
.gg-ls-title { font-size: 13px; font-weight: 600; line-height: 1.35; }
.gg-ls-price { font-size: 13px; font-weight: 700; color: var(--primary); }
.gg-ls-price del { color: var(--text-light); font-weight: 500; margin-right: 4px; }
.gg-ls-price ins { text-decoration: none; }
.gg-ls-all { display: block; text-align: center; padding: 12px; font-size: 13px; font-weight: 700; color: var(--primary); }
.gg-ls-none { padding: 18px; text-align: center; color: var(--text-light); font-size: 13px; }

/* Deal of the day */
.gg-deal-section .section-title { margin-right: auto; }
.gg-countdown { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-mid); }
.gg-cd-label { margin-right: 4px; }
.gg-cd-box { background: var(--text-dark); color: #fff; border-radius: 6px; padding: 5px 8px; font-size: 11px; }
.gg-cd-box b { font-size: 15px; margin-right: 1px; font-variant-numeric: tabular-nums; }

/* Savings / price drop */
.gg-you-save, .gg-price-drop {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600;
    padding: 6px 12px; border-radius: 6px; margin: 0 8px 12px 0;
}
.gg-you-save { background: #e6f7f1; color: var(--success); }
.gg-price-drop { background: #fff4e5; color: #c25e00; }

/* Price alert */
.gg-price-alert { margin-top: 18px; padding: 14px 16px; border: 1.5px dashed var(--primary-mid); border-radius: 10px; background: var(--primary-pale); }
.gg-pa-title { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--text-dark); }
.gg-pa-title i { color: var(--primary); margin-right: 4px; }
.gg-pa-form { display: flex; gap: 8px; }
.gg-pa-form input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-family: inherit; }
.gg-pa-form input:focus { outline: none; border-color: var(--primary); }
.gg-pa-form button { background: var(--primary); color: #fff; border: none; border-radius: 8px; padding: 0 16px; font-weight: 700; font-size: 13px; cursor: pointer; }
.gg-pa-msg { font-size: 12px; color: var(--success); margin-top: 6px; }
.gg-pa-msg.is-error { color: #d93025; }

/* Share */
.gg-share { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--text-mid); }
.gg-share a, .gg-share button {
    width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: none; color: #fff; font-size: 14px; cursor: pointer; transition: transform .2s;
}
.gg-share a:hover, .gg-share button:hover { transform: translateY(-3px); }
.gg-share-wa { background: #25d366; } .gg-share-tg { background: #229ed9; } .gg-share-fb { background: #1877f2; }
.gg-share-x { background: #111; } .gg-share-copy { background: var(--text-mid); } .gg-share-copy.is-copied { background: var(--success); }

/* Dark toggle */
.gg-dark-toggle { background: none; border: none; font-size: 18px; color: var(--text-dark); cursor: pointer; padding: 8px 10px; border-radius: 50%; }
.gg-dark-toggle:hover { background: var(--primary-pale); color: var(--primary); }

/* Community join banner */
.gg-join-banner { background: linear-gradient(120deg, var(--text-dark), #3a2a1c 60%, var(--primary)); color: #fff; padding: 34px 0; margin-top: 50px; }
.gg-join-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gg-join-text h3 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.gg-join-text p { font-size: 14px; opacity: .85; }
.gg-join-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.gg-join-btns a { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 50px; font-weight: 700; font-size: 14px; color: #fff; transition: transform .2s; }
.gg-join-btns a:hover { transform: translateY(-3px); }
.gg-join-wa { background: #25d366; } .gg-join-tg { background: #229ed9; }

/* ---------------- DARK MODE ---------------- */
html[data-theme="dark"] {
    --white: #14161f; --off-white: #1b1e2a; --light-gray: #1f2331; --border: #2b2f40;
    --text-dark: #eceef5; --text-mid: #b4b8c8; --text-light: #7f849a;
    --primary-pale: #2b1a0d; --primary-mid: #5a3316;
    color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--white); color: var(--text-dark); }
html[data-theme="dark"] .site-header, html[data-theme="dark"] .nav-menu,
html[data-theme="dark"] .product-card, html[data-theme="dark"] .woocommerce ul.products li.product,
html[data-theme="dark"] .gg-modal, html[data-theme="dark"] .gg-drawer, html[data-theme="dark"] .gg-newsletter-box,
html[data-theme="dark"] .gg-live-results, html[data-theme="dark"] .gg-bottom-nav, html[data-theme="dark"] .gg-sticky-atc,
html[data-theme="dark"] .wishlist-btn, html[data-theme="dark"] .gg-card-tools button,
html[data-theme="dark"] .filter-widget, html[data-theme="dark"] .shop-sidebar { background: var(--white); color: var(--text-dark); border-color: var(--border); }
html[data-theme="dark"] .product-img-wrap, html[data-theme="dark"] .woocommerce ul.products li.product a img,
html[data-theme="dark"] .woocommerce div.product div.images img, html[data-theme="dark"] .gg-quickview-img { background: #fff; }
html[data-theme="dark"] .header-search { background: var(--light-gray); border-color: var(--border); }
html[data-theme="dark"] .header-search input, html[data-theme="dark"] .gg-price-inputs input,
html[data-theme="dark"] .gg-pa-form input, html[data-theme="dark"] .gg-newsletter-box input[type=email],
html[data-theme="dark"] .woocommerce-ordering select.orderby { background: var(--light-gray); color: var(--text-dark); border-color: var(--border); }
html[data-theme="dark"] .gg-cd-box { background: #000; }
html[data-theme="dark"] .gg-compare-bar { background: #000; }
html[data-theme="dark"] .gg-drawer-close, html[data-theme="dark"] .gg-modal-close, html[data-theme="dark"] .gg-newsletter-close { background: var(--light-gray); color: var(--text-dark); }

@media (max-width: 600px) {
    .gg-countdown .gg-cd-label { display: none; }
    .gg-join-inner { text-align: center; justify-content: center; }
}

/* Logo on dark mode: the wordmark is dark, so give it a light pill */
html[data-theme="dark"] .site-logo .gg-logo-img { background: #fff; border-radius: 8px; padding: 4px 10px; }
