/*
Theme Name: PTATAXINFO Pro
Theme URI: https://ptataxinfo.com
Author: PTATAXINFO.COM
Author URI: https://ptataxinfo.com
Description: Ultra-fast, SEO-friendly WooCommerce theme for PTA mobile tax catalogue. Features verified CNIC/Passport tax display, brand-based browsing, auto image compression, and catalogue mode.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mobiletax-pro
Tags: woocommerce, seo, fast, mobile-catalogue, tax-display

*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* ── iOS 26 Liquid Glass — Light Theme ── */
  --primary:        #f0f2f8;
  --secondary:      #e8ecf5;
  --accent:         #007aff;
  --accent2:        #ff6b35;
  --gold:           #f0b429;
  --text:           #1a1a2e;
  --text-muted:     #6b7280;
  --border:         rgba(0,0,0,0.08);
  --card-bg:        rgba(255,255,255,0.72);
  --card-hover:     rgba(255,255,255,0.88);
  --glass-bg:       rgba(255,255,255,0.6);
  --glass-border:   rgba(255,255,255,0.9);
  --glass-shadow:   0 8px 32px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.06);
  --badge-cnic:     #ff8c00;
  --badge-passport: #00a86b;
  --badge-verified: #007aff;
  --font-display:   'Rajdhani', sans-serif;
  --font-body:      'DM Sans', sans-serif;
  --radius:         16px;
  --radius-sm:      10px;
  --shadow:         0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover:   0 12px 40px rgba(0,122,255,0.18);
  --transition:     all 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width:      1400px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #e8eef8 0%, #f0f4ff 40%, #faf0ff 100%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Performance: will-change hint for images */
  content-visibility: auto;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }

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

.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.98);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.site-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-logo .logo-text span { color: var(--accent); }

/* Search Bar */
.header-search {
  flex: 1;
  max-width: 500px;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0 16px;
  gap: 10px;
  transition: var(--transition);
}

.search-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

.search-form input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 0;
}

.search-form input::placeholder { color: var(--text-muted); }

.search-form button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.search-form button:hover { color: var(--accent); }

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.current-menu-item {
  background: var(--card-bg);
  color: var(--text);
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  background: transparent;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,122,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,107,53,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-phone-wrap {
  position: relative;
  width: 260px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 32px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.14) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-phone-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: phoneFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)) drop-shadow(0 0 0 1px rgba(255,255,255,0.3));
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50%       { transform: translateY(-14px) rotate(1.5deg); }
}

/* Floating glass tax badge near phone */
.hero-tax-float {
  position: absolute;
  right: -20px;
  top: 28%;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
  min-width: 148px;
  animation: phoneFloat 4s ease-in-out infinite 0.7s;
}
.hero-tax-float .tf-row {
  display: flex; align-items: center; gap: 8px; padding: 3px 0;
}
.tf-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.tf-dot.cnic     { background: #ff8c00; }
.tf-dot.passport { background: #00a86b; }
.tf-label { font-size: 0.67rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; flex: 1; }
.tf-price { font-size: 0.78rem; font-weight: 700; color: #1a1a2e; }

@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-right    { display: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,122,255,0.1);
  border: 1px solid rgba(0,122,255,0.25);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: #007aff;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--text);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat .number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   TAX INFO BANNER
   ============================================ */
.tax-info-banner {
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 0;
  overflow: hidden;
}

.tax-info-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.tax-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.tax-info-item .badge-cnic,
.tax-info-item .badge-passport {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-cnic {
  background: rgba(255,140,0,0.12);
  color: var(--badge-cnic);
  border: 1px solid rgba(255,140,0,0.3);
}

.badge-passport {
  background: rgba(0,168,107,0.12);
  color: var(--badge-passport);
  border: 1px solid rgba(0,168,107,0.3);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.brands-section {
  background: transparent;
}

.brands-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}

.brands-scroll::-webkit-scrollbar { display: none; }

.brand-tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: 12px 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.brand-tab:hover,
.brand-tab.active {
  border-color: #007aff;
  color: #007aff;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 16px rgba(0,122,255,0.14);
}

/* Brand logo in tabs */
.brand-tab-logo {
  height: 22px;
  width: auto;
  max-width: 70px;
  object-fit: contain;
  opacity: 0.55;
  transition: var(--transition);
}

.brand-tab.active .brand-tab-logo,
.brand-tab:hover .brand-tab-logo {
  opacity: 1;
  filter: none;
}

.brand-tab-fallback {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
}

.brand-tab-count {
  background: rgba(0,0,0,0.07);
  color: #6b7280;
  font-size: 0.65rem;
  padding: 1px 7px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 600;
}

/* Brand Products Grid */
.brand-products-section {
  padding: 50px 0;
}

.brand-panel {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.brand-panel.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.product-card {
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
}

.product-card:hover {
  border-color: rgba(0,122,255,0.3);
  box-shadow: 0 12px 36px rgba(0,122,255,0.14), 0 2px 8px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

/* Product Image */
.product-image-wrap {
  position: relative;
  background: rgba(240,242,248,0.7);
  aspect-ratio: 1/1;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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


/* Tax Badges on Image — HIDDEN (user requested removal) */
.product-tax-badges { display: none !important; }

/* Brand Badge — keep, no blur */
.product-brand-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10,10,15,0.85);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ✔ Verified Blue Badge */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(59,158,255,0.12);
  border: 1px solid rgba(59,158,255,0.35);
  color: var(--badge-verified);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
}
.verified-badge svg {
  width: 10px; height: 10px; flex-shrink: 0;
}

/* Position verified badge on product card image */
.product-verified-wrap {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 2;
}



/* Product Info */
.product-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.3;
}

/* Price Display */
.product-price-section {
  margin-top: auto;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.price-row:last-child { border-bottom: none; }

.price-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Badges hidden — user requested removal */
.price-badge { display: none !important; }

/* Show plain text label instead */
.price-label::before {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.03em;
}
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.price-row:first-child .price-label::before { content: 'CNIC'; }
.price-row:last-child  .price-label::before { content: 'Passport'; }

.price-amount {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.price-cnic    { color: var(--badge-cnic); }
.price-passport{ color: var(--badge-passport); }

/* WooCommerce Price Override */
.woocommerce ul.products li.product .price {
  display: none !important; /* Hide default WC price, we use custom */
}

/* ============================================
   WOOCOMMERCE - SINGLE PRODUCT
   ============================================ */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 60px 0;
}

.product-gallery-wrap {
  position: sticky;
  top: 90px;
}

.product-main-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  aspect-ratio: 1/1;
  margin-bottom: 12px;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-thumb {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid rgba(0,0,0,0.08);
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255,255,255,0.8);
}

.product-thumb.active,
.product-thumb:hover {
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0,122,255,0.15);
}

.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

/* Product Details */
.product-details-wrap {}

.product-title-wrap {
  margin-bottom: 24px;
}

.product-category-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.product-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text);
  margin-bottom: 12px;
}

/* Tax Price Box */
.product-tax-box {
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.tax-box-header {
  background: rgba(240,242,248,0.8);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tax-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.tax-row:last-child { border-bottom: none; }
.tax-row:hover { background: rgba(0,122,255,0.03); }

.tax-row-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tax-row-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Also make the description text under badge bold */
.tax-row-label > div {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.tax-row-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tax-row-badge.cnic {
  background: rgba(255,140,0,0.12);
  color: var(--badge-cnic);
  border: 1px solid rgba(255,140,0,0.35);
}

.tax-row-badge.passport {
  background: rgba(0,200,150,0.12);
  color: var(--badge-passport);
  border: 1px solid rgba(0,200,150,0.35);
}

.tax-row-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tax-row-price {
  text-align: right;
}

.tax-price-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.tax-price-amount.cnic-price { color: var(--badge-cnic); }
.tax-price-amount.passport-price { color: var(--badge-passport); }

.tax-price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

/* Product Meta */
.product-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.product-meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.product-meta-item .meta-label { color: var(--text-muted); }
.product-meta-item .meta-value { color: var(--text); font-weight: 500; }

/* Product Description */
.product-desc-box {
  background: rgba(255,255,255,0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.product-desc-box h3 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-desc-box p,
.product-desc-box li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   SHOP / ARCHIVE PAGE
   ============================================ */
.shop-page-wrap {
  padding: 50px 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar */
.shop-sidebar {
  position: sticky;
  top: 90px;
}

.filter-widget {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.filter-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.filter-list { display: flex; flex-direction: column; gap: 8px; }

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.filter-item:hover,
.filter-item.active {
  background: var(--secondary);
  color: var(--text);
}

.filter-item input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
}

/* Shop Header */
.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.shop-result-count {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.shop-sort select {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 14px;
  font-size: 0.875rem;
  cursor: pointer;
  outline: none;
  font-family: var(--font-body);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination-wrap {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.woocommerce-pagination ul,
.page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.page-numbers li a,
.page-numbers li span,
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition);
}

.page-numbers li a:hover,
.woocommerce-pagination ul li a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page-numbers li .current,
.woocommerce-pagination ul li .current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: rgba(232,236,245,0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand .site-logo { margin-bottom: 16px; }

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-tax-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--card-bg);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
/* Remove add to cart - catalogue mode */
.woocommerce-loop-product__link .button,
.product_type_simple,
.add_to_cart_button,
.woocommerce-variation-add-to-cart,
.single_add_to_cart_button,
.wc-block-components-product-button,
.wc-block-grid__product-add-to-cart,
form.cart,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: none !important;
}

/* Override WC product loop */
.woocommerce ul.products { 
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: 100% !important;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb-wrap {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumbs,
.woocommerce-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.breadcrumbs a,
.woocommerce-breadcrumb a {
  color: var(--text-muted);
  transition: var(--transition);
}

.breadcrumbs a:hover,
.woocommerce-breadcrumb a:hover { color: var(--accent); }

.breadcrumbs .sep,
.woocommerce-breadcrumb .sep { color: var(--border); }

/* ============================================
   NOTICES
   ============================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 20px;
  font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .shop-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 900px) {
  .single-product-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-gallery-wrap { position: static; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; display: none; }
  .shop-sidebar.open { display: block; }
  .header-search { display: none; }
  .header-search.open { display: block; width: 100%; order: 3; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; padding: 16px 0; }
  .menu-toggle { display: flex; }
  .section { padding: 50px 0; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .tax-row { padding: 16px 18px; }
  .tax-price-amount { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-info { padding: 14px; }
  .product-name { font-size: 0.875rem; }
  .price-amount { font-size: 0.9rem; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--card-bg) 25%, var(--card-hover) 50%, var(--card-bg) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--primary); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .site-header, .site-footer, .shop-sidebar { display: none; }
  body { background: white; color: black; }
  .product-card { border: 1px solid #ccc; }
}

/* ============================================
   HERO SEARCH BAR
   ============================================ */
.hero-search-wrap {
  margin-bottom: 36px;
  max-width: 560px;
}

.hero-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1.5px solid rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 6px 6px 6px 18px;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
  margin-bottom: 14px;
}

.hero-search-form:focus-within {
  border-color: #007aff;
  box-shadow: 0 8px 32px rgba(0,122,255,0.15), 0 0 0 4px rgba(0,122,255,0.08);
}

.hero-search-icon {
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.2s;
}

.hero-search-form:focus-within .hero-search-icon {
  color: #007aff;
}

.hero-search-input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #1a1a2e;
  padding: 10px 0;
  min-width: 0;
}

.hero-search-input::placeholder { color: #9ca3af; }

.hero-search-btn {
  flex-shrink: 0;
  background: #007aff;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.02em;
}

.hero-search-btn:hover {
  background: #0056cc;
  transform: translateY(-1px);
}

.hero-search-hints {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding-left: 4px;
}

.hint-label {
  font-size: 0.78rem;
  color: #9ca3af;
  font-weight: 500;
}

.hero-search-hints a {
  font-size: 0.78rem;
  color: #007aff;
  font-weight: 600;
  background: rgba(0,122,255,0.08);
  border: 1px solid rgba(0,122,255,0.2);
  border-radius: 50px;
  padding: 3px 10px;
  transition: background 0.15s;
  text-decoration: none;
}

.hero-search-hints a:hover {
  background: rgba(0,122,255,0.15);
}

@media (max-width: 768px) {
  .hero-search-wrap { max-width: 100%; }
  .hero-search-btn { padding: 10px 16px; font-size: 0.82rem; }
}

/* ============================================
   BRAND BANNER
   ============================================ */
.brand-banner-wrap {
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.brand-banner-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .brand-banner-img { height: 130px; }
}

/* ============================================
   PRICE LABELS — BOLD FIX
   ============================================ */
.price-label-text {
  font-weight: 800 !important;
  font-size: 0.8rem !important;
}

/* ============================================
   BRANDED PLACEHOLDER (no image products)
   ============================================ */
.product-placeholder-img {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #eef2ff 0%, #f0f4ff 50%, #f5f0ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius) var(--radius) 0 0;
}

.placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    text-align: center;
}

.placeholder-brand {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 800;
    color: #007aff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.placeholder-name {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.3;
    max-width: 120px;
}

/* Force images to always show — never hide */
.product-image-wrap img {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

/* Brand SVG inline logos */
.bci-svg-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    width: 100%;
}
.bci-svg-logo svg {
    max-width: 90px;
    height: 100%;
    width: auto;
}
