/* ═══════════════════════════════════════════════════════════════
   GADGETOPIAH THEME — MAIN STYLESHEET
   ═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
    --primary-color:    #FF8D00;
    --primary-hover:    #e57e00;
    --primary-light:    #fff4e5;
    --text-color:       #222222;
    --text-light:       #777777;
    --text-muted:       #aaaaaa;
    --bg-color:         #ffffff;
    --bg-light:         #f8f8f8;
    --bg-dark:          #191919;
    --border-color:     #e5e5e5;
    --shadow-sm:        0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:        0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg:        0 15px 40px rgba(0,0,0,0.12);
    --radius-sm:        4px;
    --radius-md:        8px;
    --radius-lg:        12px;
    --radius-full:      9999px;
    --transition:       all 0.3s ease;
    --font-family:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --header-height:    80px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 15px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ─── Container ─────────────────────────────────────────────── */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-blue {
    background: linear-gradient(135deg, var(--primary-color), #0099ff);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,115,230,0.3);
}
.btn-blue:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    box-shadow: 0 6px 20px rgba(0,115,230,0.45);
    transform: translateY(-2px);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: #333;
    border-color: #e0e0e0;
}
.btn-white:hover { background: #f5f5f5; color: var(--primary-color); }

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

.btn-small { padding: 8px 18px; font-size: 12px; }
.btn-full { width: 100%; }

/* ─── Accessibility ─────────────────────────────────────────── */
.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ══════════════════════════════════════════════════════════════
   TOPBAR
══════════════════════════════════════════════════════════════ */
.topbar {
    background: var(--primary-color);
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    padding: 8px 0;
    line-height: 1;
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,0.9); }
.topbar a:hover { color: #fff; }
.topbar .divider { opacity: 0.4; }
.social-icons { display: inline-flex; gap: 14px; }
.social-icons a { font-size: 13px; }

/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.header {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229,229,229,0.6);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.sticky-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 12px 0;
}
.header .container {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.logo { flex-shrink: 0; }
.logo img { height: 44px; width: auto; }
.text-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

/* Search Bar */
.search-bar {
    flex: 1;
    max-width: 580px;
    display: flex;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-full);
    overflow: hidden;
    height: 48px;
    background: #fff;
}
#header-search-form {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
}
.search-bar input[type="search"] {
    flex: 1;
    border: none;
    padding: 0 18px;
    outline: none;
    font-size: 14px;
    color: var(--text-color);
    background: transparent;
    min-width: 0;
}
.search-bar input[type="search"]::placeholder { color: var(--text-muted); }
.search-bar select {
    border: none;
    border-left: 1px solid var(--border-color);
    padding: 0 14px;
    outline: none;
    background: #f9f9f9;
    cursor: pointer;
    font-size: 12px;
    color: var(--text-light);
    flex-shrink: 0;
    max-width: 130px;
}
.search-bar button[type="submit"] {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 22px;
    font-size: 16px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.search-bar button[type="submit"]:hover { background: var(--primary-hover); }

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.action-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    color: var(--text-color);
    transition: color 0.2s;
}
.action-item:hover { color: var(--primary-color); }
.action-label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; }

.badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    line-height: 1;
}
.cart-item .badge { right: auto; left: 14px; }
.cart-total-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
}

/* Mobile menu toggle — hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-color);
    padding: 4px;
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.navbar {
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 900;
    background: #fff;
}
.navbar .container {
    display: flex;
    align-items: stretch;
    min-height: 58px;
}

/* Browse Categories */
.browse-categories {
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 22px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    min-width: 250px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.browse-categories:hover { background: var(--primary-hover); }
.browse-categories i:last-child { margin-left: auto; transition: transform 0.3s; }
.browse-categories.open i:last-child { transform: rotate(180deg); }

/* Categories Dropdown */
.categories-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 20px;
    width: 250px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 800;
    border-top: 3px solid var(--primary-color);
}
.categories-dropdown.open { display: block; }
.categories-dropdown ul { padding: 8px 0; }
.categories-dropdown li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.categories-dropdown li a:hover { background: var(--bg-light); color: var(--primary-color); }
.categories-dropdown li a i { width: 18px; text-align: center; color: var(--text-light); }
.categories-dropdown li a:hover i { color: var(--primary-color); }
.cat-count-small { margin-left: auto; font-size: 11px; color: var(--text-muted); }

/* Primary Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    padding: 0 10px;
}
.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 16px;
    height: 58px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
    transition: color 0.2s;
}
.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.25s;
    border-radius: 3px 3px 0 0;
}
.nav-links > li > a:hover,
.nav-links > li.current-menu-item > a,
.nav-links > li.current-menu-ancestor > a { color: var(--primary-color); }
.nav-links > li > a:hover::after,
.nav-links > li.current-menu-item > a::after { transform: scaleX(1); }

/* Dropdown Sub-menus */
.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary-color);
    border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
    min-width: 220px;
    z-index: 700;
    display: none;
    padding: 8px 0;
}
.nav-links > li { position: relative; }
.nav-links > li:hover > .sub-menu { display: block; }
.nav-links .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-color);
}
.nav-links .sub-menu a:hover { color: var(--primary-color); background: var(--bg-light); }

/* Phone Number */
.phone-number {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-left: 1px solid var(--border-color);
    flex-shrink: 0;
}
.phone-number i { font-size: 20px; color: var(--text-light); }
.phone-text { display: flex; flex-direction: column; line-height: 1.3; }
.phone-text .title { font-size: 10px; color: var(--text-light); font-weight: 700; letter-spacing: 0.5px; }
.phone-text .number { font-size: 14px; font-weight: 700; color: var(--text-color); }

/* ══════════════════════════════════════════════════════════════
   MOBILE NAV DRAWER
══════════════════════════════════════════════════════════════ */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.35s ease;
    box-shadow: var(--shadow-lg);
}
.mobile-nav-drawer.open { left: 0; }
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 13px;
}
.mobile-nav-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-color);
}
.mobile-nav-links { padding: 10px 0; }
.mobile-nav-links li a {
    display: block;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid var(--bg-light);
    color: var(--text-color);
}
.mobile-nav-links li a:hover { color: var(--primary-color); background: var(--bg-light); }
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}
.mobile-nav-overlay.show { display: block; }

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════ */
.hero-section { padding: 30px 0; }
.hero-section .container { display: flex; gap: 28px; }

/* Category Sidebar */
.sidebar-categories {
    width: 250px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 8px 0;
    align-self: flex-start;
}
.sidebar-categories ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    transition: background 0.15s, color 0.15s;
}
.sidebar-categories ul li a:hover { background: var(--bg-light); color: var(--primary-color); }
.sidebar-categories ul li a i { width: 18px; text-align: center; color: var(--text-light); font-size: 14px; }
.sidebar-categories ul li a:hover i { color: var(--primary-color); }

/* Hero Banners Area */
.hero-banners { flex: 1; display: flex; flex-direction: column; gap: 24px; }

.main-banner {
    border-radius: var(--radius-md);
    padding: 55px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    min-height: 360px;
    background: #e8f1f9;
}
.main-banner .banner-content { position: relative; z-index: 2; max-width: 55%; }
.main-banner .subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}
.main-banner h2 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #111;
}
.main-banner p { color: var(--text-light); margin-bottom: 26px; font-size: 15px; }
.main-banner img {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 115%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.sub-banners { display: flex; gap: 24px; }
.sub-banner {
    flex: 1;
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    background: #eaf1f8;
}
.sub-banner.dark { background: #0b4e8c; color: #fff; }
.sub-banner .banner-content { position: relative; z-index: 2; }
.sub-banner .subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
    color: var(--primary-color);
}
.sub-banner.dark .subtitle { color: #8bb2df; }
.sub-banner h3 { font-size: 20px; font-weight: 700; line-height: 1.2; margin-bottom: 16px; }
.sub-banner img {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    max-height: 115%;
    z-index: 1;
    pointer-events: none;
    object-fit: contain;
}

/* ══════════════════════════════════════════════════════════════
   SECTION HEADERS
══════════════════════════════════════════════════════════════ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}
.section-header.center { justify-content: center; }
.section-header h2 {
    font-size: 22px;
    font-weight: 800;
    position: relative;
    letter-spacing: 0.3px;
}
.section-header h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 44px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}
.section-header.center h2::after { left: 50%; transform: translateX(-50%); }

.tabs { display: flex; gap: 20px; }
.tabs a { font-weight: 600; font-size: 13px; color: var(--text-light); transition: color 0.2s; }
.tabs a:hover, .tabs a.active { color: var(--text-color); }

/* ══════════════════════════════════════════════════════════════
   PRODUCT GRID & CARDS
══════════════════════════════════════════════════════════════ */
.electronics-section, .hot-deals-section, .featured-section, .blog-section, .partners-section {
    padding: 64px 0;
}
.hot-deals-section { background: var(--bg-light); }

.product-grid, ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-grid.columns-2, ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.product-grid.columns-3, ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.columns-4, ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }

/* Product Card */
.product-card, .woocommerce ul.products li.product {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    overflow: visible; /* must be visible so action buttons aren't clipped */
    list-style: none;
}
.product-card:hover, .woocommerce ul.products li.product:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Product Image */
.product-image, .product-card .product-thumbnail-wrap {
    position: relative;
    padding-bottom: 100%;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-light);
}
.product-image a { position: absolute; inset: 0; display: block; }
.product-image img, .product-card .product-thumbnail-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 8px;
}
.product-card:hover .product-image img { transform: scale(1.06); }

/* Hover Slide-in Action Buttons */
.product-actions {
    position: absolute;
    top: 12px;
    right: -52px;       /* hidden off-card to the right by default */
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
    transition: right 0.25s ease;
}
/* Reveal on card hover */
.product-card:hover .product-actions,
.woocommerce ul.products li.product:hover .product-actions {
    right: 12px;
}
/* Staggered slide-in per button */
.product-actions a:nth-child(1) { transition-delay: 0s; }
.product-actions a:nth-child(2) { transition-delay: 0.04s; }
.product-actions a:nth-child(3) { transition-delay: 0.08s; }
.product-actions a:nth-child(4) { transition-delay: 0.12s; }

.product-actions a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.97);
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    font-size: 15px;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    border: none;
    backdrop-filter: blur(4px);
    text-decoration: none;
}
.product-actions a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.12);
    box-shadow: 0 4px 14px rgba(255,141,0,0.35);
}
.product-actions a.active,
.product-actions a.wishlisted {
    background: var(--primary-color);
    color: #fff;
}
.product-actions a.compared {
    background: #3b82f6;
    color: #fff;
}
.product-actions a.added {
    background: #22c55e;
    color: #fff;
    pointer-events: none;
    animation: addedPop 0.4s ease;
}
@keyframes addedPop {
    0% { transform: scale(1); }
    30% { transform: scale(1.25); }
    60% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Tooltips for action buttons */
.product-actions a::before {
    content: attr(title);
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
    letter-spacing: 0.3px;
    z-index: 20;
}
.product-actions a:hover::before {
    opacity: 1;
}

/* Badges */
.badge-sale, .badge-new, .badge-hot, .badge-soldout {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.4;
}
.badge-sale { background: var(--primary-color); }
.badge-new  { background: #22c55e; }
.badge-hot  { background: #ef4444; }
.badge-soldout { background: #6b7280; }

/* Product Info */
.product-info { text-align: center; }
.product-info .category {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}
.product-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.4;
}
.product-info h3 a:hover { color: var(--primary-color); }
.star-rating-wrap, .rating { color: #f59e0b; font-size: 12px; margin-bottom: 8px; }
.woocommerce .star-rating { color: #f59e0b; }

.price, .product-info .price, .woocommerce .price {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
}
.price del, .woocommerce .price del {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-right: 4px;
}
.price ins { text-decoration: none; }

/* Add to Cart within card */
.product-card-atc { display: none; }
.product-card-atc .button,
.woocommerce ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.woocommerce ul.products li.product .button:hover { background: var(--primary-hover); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════════
   3-BANNER ROW
══════════════════════════════════════════════════════════════ */
.banners-row-section { padding: 32px 0; }
.banners-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.banner-card {
    border-radius: var(--radius-md);
    padding: 36px 28px;
    display: flex;
    position: relative;
    overflow: hidden;
    min-height: 230px;
    color: #fff;
}
.banner-card.light-blue { background: #298cd1; }
.banner-card.red        { background: #d82b36; }
.banner-card.green      { background: #7baf49; }
.banner-card.blue       { background: #0b4e8c; }

.banner-card .content { position: relative; z-index: 2; max-width: 62%; }
.banner-card .subtitle { font-size: 11px; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; display: block; opacity: 0.85; text-transform: uppercase; }
.banner-card h3 { font-size: 24px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.banner-card h2 { font-size: 32px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.banner-card img { position: absolute; right: -10px; bottom: -10px; height: 115%; z-index: 1; object-fit: contain; transition: transform 0.5s; pointer-events: none; }
.banner-card:hover img { transform: scale(1.06) translateY(-4px); }

/* ══════════════════════════════════════════════════════════════
   HOT DEALS
══════════════════════════════════════════════════════════════ */
.hot-deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.deal-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}
.deal-card:hover { box-shadow: var(--shadow-md); }
.deal-card .product-image { padding-bottom: 80%; margin-bottom: 20px; }

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    min-width: 52px;
}
.time-box span {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}
.time-box small {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════════════════
   WIDE BANNER
══════════════════════════════════════════════════════════════ */
.wide-banner-section { padding: 0; }
.wide-banner {
    min-height: 360px;
    border-radius: var(--radius-md);
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px;
    color: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.wide-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
    border-radius: var(--radius-md);
}
.wide-banner .content { position: relative; z-index: 2; }
.wide-banner .subtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
    color: #8bb2df;
}
.wide-banner h2 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 32px; }

/* ══════════════════════════════════════════════════════════════
   BLOG SECTION
══════════════════════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s, transform 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card .image-wrapper {
    position: relative;
    padding-bottom: 58%;
    overflow: hidden;
}
.blog-card .image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.blog-card:hover .image-wrapper img { transform: scale(1.06); }
.blog-content { padding: 24px; }
.blog-content .meta { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.blog-content .meta span { color: var(--text-color); font-weight: 600; }
.blog-content h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.blog-content h3 a:hover { color: var(--primary-color); }
.blog-content p { font-size: 13px; color: var(--text-light); margin-bottom: 18px; line-height: 1.7; }
.read-more { font-size: 12px; font-weight: 700; color: var(--primary-color); letter-spacing: 1px; text-transform: uppercase; }
.read-more:hover { color: var(--primary-hover); }

/* ══════════════════════════════════════════════════════════════
   PARTNERS SECTION
══════════════════════════════════════════════════════════════ */
.partners-layout { display: flex; gap: 30px; align-items: stretch; }
.partners-image { width: 38%; }
.partners-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.partners-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.partner-logo {
    background: #fff;
    padding: 36px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    transition: background 0.2s;
}
.partner-logo:hover { background: var(--bg-light); }
.partner-logo a { display: flex; align-items: center; justify-content: center; }
.partner-logo span {
    font-size: 18px;
    font-weight: 800;
    color: #bbb;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.2s;
}
.partner-logo:hover span { color: #444; }
.partner-logo img { max-height: 48px; max-width: 120px; object-fit: contain; filter: grayscale(100%); opacity: 0.6; transition: filter 0.3s, opacity 0.3s; }
.partner-logo:hover img { filter: none; opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
    width: 100%;
    background: var(--bg-dark);
    color: #a0a0a0;
    padding-top: 72px;
}
.footer-columns {
    display: grid;
    grid-template-columns: 2.5fr 1.8fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 56px;
}
.footer-col h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
    text-transform: uppercase;
}
.footer-col--brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-logo { margin-bottom: 22px; }
.footer-site-name {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.contact-info p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 10px;
}
.contact-info i { color: var(--primary-color); margin-top: 2px; flex-shrink: 0; }
.contact-info a:hover { color: #fff; }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    color: #a0a0a0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--primary-color); color: #fff; }

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: #a0a0a0; transition: color 0.2s; }
.footer-col ul li a:hover { color: #fff; }

/* Recent Posts */
.recent-post { display: flex; gap: 14px; margin-bottom: 18px; }
.recent-post .post-img { width: 58px; height: 58px; flex-shrink: 0; }
.recent-post .post-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.recent-post .post-info { display: flex; flex-direction: column; gap: 4px; }
.recent-post .post-info a { font-size: 13px; color: #ccc; line-height: 1.4; transition: color 0.2s; }
.recent-post .post-info a:hover { color: #fff; }
.recent-post .post-info .date { font-size: 11px; color: #666; }

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 13px; }
.payment-icons { display: flex; gap: 14px; font-size: 26px; color: #555; }
.payment-icons i { transition: color 0.2s; }
.payment-icons i:hover { color: #888; }

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════════════ */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 8000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 16px rgba(0,115,230,0.4);
}
#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--primary-hover); transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
══════════════════════════════════════════════════════════════ */
.woocommerce .woocommerce-result-count { color: var(--text-light); font-size: 13px; }
.woocommerce .woocommerce-ordering select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 7px 30px 7px 12px;
    font-size: 13px;
    outline: none;
    color: var(--text-color);
    background: #fff;
}
.woocommerce nav.woocommerce-pagination ul {
    display: flex;
    gap: 6px;
    justify-content: center;
    padding: 0;
    margin: 40px 0 0;
    border: none;
}
.woocommerce nav.woocommerce-pagination ul li { border: none; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    background: var(--bg-light);
    border: none !important;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: var(--primary-color);
    color: #fff;
}

/* WooCommerce Notices */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    border-left-width: 4px;
}
.woocommerce-message { background: #f0fdf4; border-color: #22c55e; color: #15803d; }
.woocommerce-error   { background: #fef2f2; border-color: #ef4444; color: #dc2626; }
.woocommerce-info    { background: #eff6ff; border-color: #3b82f6; color: #1d4ed8; }

/* ══════════════════════════════════════════════════════════════
   LIST VIEW MODE
══════════════════════════════════════════════════════════════ */
ul.products.list-view { grid-template-columns: 1fr; }
ul.products.list-view li.product {
    display: flex !important;
    gap: 24px;
    align-items: flex-start;
    padding: 20px;
}
ul.products.list-view li.product .product-image,
ul.products.list-view li.product .product-thumbnail-wrap {
    width: 200px;
    flex-shrink: 0;
    padding-bottom: 0;
    height: 200px;
    margin-bottom: 0;
}
ul.products.list-view li.product .product-info { text-align: left; flex: 1; }
ul.products.list-view li.product .product-card-atc { display: block; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1199px) {
    .product-grid, ul.products { grid-template-columns: repeat(3, 1fr); }
    .product-grid.columns-4, ul.products.columns-4 { grid-template-columns: repeat(3, 1fr); }
    .footer-columns { grid-template-columns: repeat(3, 1fr); }
    .hero-section .container { flex-direction: column; }
    .sidebar-categories { width: 100%; }
}

@media (max-width: 991px) {
    .mobile-menu-toggle { display: flex; }
    .nav-links, .phone-number { display: none; }
    .browse-categories { min-width: auto; flex: 1; }
    .banners-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .partners-layout { flex-direction: column; }
    .partners-image { width: 100%; }
    .hot-deals-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header .container { flex-wrap: wrap; }
    .search-bar { order: 3; max-width: 100%; width: 100%; }
    .product-grid, ul.products { grid-template-columns: repeat(2, 1fr); }
    .product-grid.columns-3, ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: 1fr; }
    .sub-banners { flex-direction: column; }
    .main-banner { flex-direction: column; min-height: auto; padding: 36px 24px; }
    .main-banner .banner-content { max-width: 100%; }
    .main-banner img { display: none; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
    .wide-banner { padding: 40px 28px; }
    .wide-banner h2 { font-size: 32px; }
}

@media (max-width: 480px) {
    .product-grid, ul.products { grid-template-columns: 1fr; }
    .banners-grid-3, .hot-deals-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .topbar { display: none; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .browse-categories { font-size: 12px; padding: 0 14px; }
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS & MICRO-INTERACTIONS
══════════════════════════════════════════════════════════════ */
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    30%       { transform: scale(1.35); }
    60%       { transform: scale(0.9); }
}
.cart-bounce { animation: cartBounce 0.6s ease; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.5s ease both; }

/* ══════════════════════════════════════════════════════════════
   WORDPRESS CORE ALIGNMENT CLASSES
══════════════════════════════════════════════════════════════ */
.alignnone  { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft  { float: left;  margin: 5px 20px 20px 0; }
.wp-caption { max-width: 100%; }
.wp-caption img { border: 0; height: auto; max-width: 98%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }
.screen-reader-text:focus {
    clip: auto !important;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
    color: var(--primary-color);
}

/* ══════════════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.d-none      { display: none !important; }
.mt-1  { margin-top: 8px; }
.mt-2  { margin-top: 16px; }
.mt-3  { margin-top: 24px; }
.mb-1  { margin-bottom: 8px; }
.mb-2  { margin-bottom: 16px; }
.mb-3  { margin-bottom: 24px; }
.pt-section { padding-top: 64px; }
.pb-section { padding-bottom: 64px; }

/* ══════════════════════════════════════════════════════════════
   QUICK VIEW MODAL
══════════════════════════════════════════════════════════════ */
#gad-quick-view-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    backdrop-filter: blur(3px);
}
#gad-quick-view-overlay.qv-open {
    opacity: 1;
    visibility: visible;
}
#gad-quick-view-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.18);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#gad-quick-view-overlay.qv-open #gad-quick-view-modal {
    transform: translateY(0) scale(1);
}

/* Close button */
#gad-qv-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
    line-height: 1;
}
#gad-qv-close:hover { background: #333; transform: scale(1.08); }

/* Loading spinner */
#gad-qv-loading {
    padding: 80px 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}
#gad-qv-loading i {
    font-size: 28px;
    color: var(--primary-color);
    display: block;
    margin-bottom: 12px;
    animation: qv-spin 0.8s linear infinite;
}
@keyframes qv-spin { to { transform: rotate(360deg); } }

/* Inner layout */
.qv-inner {
    display: flex;
    gap: 0;
    min-height: 380px;
}

/* Left: Image panel */
.qv-gallery {
    width: 44%;
    flex-shrink: 0;
    background: #f8f8f8;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.qv-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    color: #fff;
    background: #e53e3e;
}
.qv-badge.badge-new  { background: #3b82f6; }
.qv-badge.badge-sale { background: #e53e3e; }
.qv-badge.badge-hot  { background: var(--primary-color); }
.qv-main-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    min-height: 300px;
}
.qv-main-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
}
.qv-main-image img:hover { transform: scale(1.04); }
.qv-thumbs {
    display: flex;
    gap: 8px;
    padding: 10px 14px 14px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
    background: #fafafa;
}
.qv-thumb {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.18s;
    padding: 3px;
    flex-shrink: 0;
}
.qv-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qv-thumb.active,
.qv-thumb:hover { border-color: var(--primary-color); }

/* Right: Info panel */
.qv-info {
    flex: 1;
    padding: 32px 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

/* Category label */
.qv-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-decoration: none;
}
.qv-category:hover { text-decoration: underline; }

/* Title */
.qv-title {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
    color: #111;
    margin: 0 0 12px;
}
.qv-title a { color: inherit; text-decoration: none; }
.qv-title a:hover { color: var(--primary-color); }

/* Rating row */
.qv-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.qv-rating-row .star-rating {
    font-size: 13px;
    color: #f5a623;
    letter-spacing: 1px;
}
.qv-rating-row .review-count {
    font-size: 12px;
    color: var(--text-light);
}
.qv-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    margin-left: auto;
}
.qv-stock-badge.in-stock  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.qv-stock-badge.out-stock { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Price */
.qv-price {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    margin: 0 0 16px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 8px !important;
    flex-wrap: wrap;
}
.qv-price del { font-size: 16px !important; color: #999 !important; font-weight: 400 !important; }
.qv-price ins { text-decoration: none !important; font-weight: 800 !important; }

/* Short description */
.qv-short-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border-color);
}
.qv-short-desc p { margin-bottom: 4px; }
.qv-short-desc p:last-child { margin-bottom: 0; }
.qv-short-desc ul {
    list-style: disc;
    padding-left: 18px;
    margin: 0;
}
.qv-short-desc ul li { margin-bottom: 3px; }

/* Add to cart row */
.qv-atc-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.qv-qty-wrap {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 48px;
    flex-shrink: 0;
}
.qv-qty-wrap button {
    background: var(--bg-light);
    border: none;
    width: 36px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}
.qv-qty-wrap button:hover { background: var(--primary-color); color: #fff; }
.qv-qty-input {
    width: 48px;
    border: none !important;
    border-inline: 1px solid var(--border-color) !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-color);
    background: #fff;
    -moz-appearance: textfield;
    outline: none;
}
.qv-qty-input::-webkit-inner-spin-button,
.qv-qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }

.qv-atc-btn {
    flex: 1;
    min-width: 140px;
    height: 48px;
    padding: 0 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 4px 12px rgba(255,141,0,0.25);
    text-decoration: none;
    white-space: nowrap;
}
.qv-atc-btn:hover {
    background: linear-gradient(135deg, var(--primary-hover), #cc7000);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,141,0,0.38);
    color: #fff !important;
}
.qv-atc-btn.loading { opacity: 0.8; pointer-events: none; }
.qv-atc-btn.added   { background: linear-gradient(135deg, #22c55e, #16a34a); }

/* View full product link */
.qv-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 18px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.qv-view-link:hover { color: var(--primary-color); }
.qv-view-link i { font-size: 11px; }

/* Meta (SKU / tags) */
.qv-meta {
    font-size: 12.5px;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.qv-meta-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.qv-meta-label { font-weight: 700; color: var(--text-color); min-width: 44px; flex-shrink: 0; }
.qv-meta a { color: var(--text-light); text-decoration: none; }
.qv-meta a:hover { color: var(--primary-color); }

/* Responsive */
@media (max-width: 640px) {
    #gad-quick-view-overlay { padding: 12px; align-items: flex-end; }
    #gad-quick-view-modal { max-height: 92vh; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .qv-inner { flex-direction: column; }
    .qv-gallery { width: 100%; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .qv-info { padding: 20px 18px 22px; }
    .qv-title { font-size: 17px; }
}
