/*
Theme Name: A2Z Mobiles - Tech & Accessories
Theme URI: https://a2zmobiles.com
Author: A2Z Mobiles Dev Team
Author URI: https://a2zmobiles.com
Description: A modern, ultra-fast, high-converting WooCommerce theme crafted specifically for Mobile Phones, Smart Devices, and Tech Accessories. Features mobile-first bottom app bar, live AJAX search, mini-cart drawer, custom specs tables, and seamless YouTube video hero showcase.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: a2z-mobiles
Tags: e-commerce, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, theme-options, translation-ready, woocommerce
*/

/* ============================================================
   1. DESIGN SYSTEM VARIABLES & RESET
   ============================================================ */
:root {
  --a2z-orange: #E84D25;
  --a2z-orange-light: #FF6B35;
  --a2z-orange-dark: #C93913;
  --a2z-orange-glow: rgba(232, 77, 37, 0.22);
  --a2z-black: #0D1117;
  --a2z-dark-surface: #161B22;
  --a2z-text-dark: #0F172A;
  --a2z-text-muted: #64748B;
  --a2z-bg: #F8FAFC;
  --a2z-card-bg: #FFFFFF;
  --a2z-border: #E2E8F0;
  --a2z-border-dark: #30363D;
  --a2z-green: #10B981;
  --a2z-whatsapp: #25D366;
  --a2z-star: #F59E0B;
  --a2z-radius-sm: 8px;
  --a2z-radius-md: 14px;
  --a2z-radius-lg: 20px;
  --a2z-radius-full: 9999px;
  --a2z-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --a2z-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --a2z-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --a2z-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --a2z-font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --a2z-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--a2z-font-body);
  background-color: var(--a2z-bg);
  color: var(--a2z-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--a2z-transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.a2z-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--a2z-font-heading);
  font-weight: 800;
  color: var(--a2z-black);
  line-height: 1.25;
}

.a2z-section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.a2z-section-title {
  font-size: 1.55rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
}

.a2z-section-title .highlight {
  color: var(--a2z-orange);
}

.a2z-view-all-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--a2z-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.a2z-view-all-link:hover {
  transform: translateX(4px);
}

/* Button Styles */
.a2z-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 12px 24px;
  border-radius: var(--a2z-radius-full);
  border: none;
  cursor: pointer;
  transition: var(--a2z-transition);
  text-decoration: none;
}

.a2z-btn-primary {
  background: var(--a2z-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 14px var(--a2z-orange-glow);
}

.a2z-btn-primary:hover {
  background: var(--a2z-orange-dark);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.a2z-btn-dark {
  background: var(--a2z-black);
  color: #FFFFFF;
}

.a2z-btn-dark:hover {
  background: #1F2937;
  color: #FFFFFF;
}

.a2z-btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.a2z-btn-whatsapp:hover {
  background: #20BA5A;
  color: #FFFFFF;
}

/* ============================================================
   2. TOP BAR & MAIN HEADER
   ============================================================ */
.a2z-top-bar {
  background: #F8FAFC;
  color: #64748B;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 1px solid var(--a2z-border);
}

.a2z-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.a2z-top-bar-notice {
  display: flex;
  align-items: center;
}

.a2z-top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.a2z-top-bar-links a {
  color: #64748B;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.a2z-top-bar-links a:hover {
  color: var(--a2z-orange);
}

.a2z-main-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--a2z-border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.a2z-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.a2z-mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #0D1117;
  cursor: pointer;
  padding: 4px;
}

.a2z-header-logo-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.a2z-main-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.a2z-header-search-wrap {
  flex: 1;
  max-width: 580px;
  position: relative;
}

.a2z-search-form-inner {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--a2z-border);
  border-radius: var(--a2z-radius-full);
  padding: 4px 4px 4px 20px;
  transition: var(--a2z-transition);
}

.a2z-search-form-inner:focus-within {
  border-color: var(--a2z-orange);
  box-shadow: 0 0 0 4px var(--a2z-orange-glow);
}

.a2z-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--a2z-black);
}

.a2z-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--a2z-orange);
  color: #FFFFFF;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--a2z-transition);
}

.a2z-search-btn:hover {
  background: var(--a2z-orange-dark);
}

.a2z-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.a2z-discounts-pill {
  background: #FFF5F2;
  color: var(--a2z-orange);
  border: 1.5px solid var(--a2z-orange);
  padding: 8px 16px;
  border-radius: var(--a2z-radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.a2z-discounts-pill:hover {
  background: var(--a2z-orange);
  color: #FFFFFF;
}

.a2z-header-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1px solid var(--a2z-border);
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  position: relative;
  cursor: pointer;
  transition: var(--a2z-transition);
}

.a2z-header-icon-btn:hover {
  background: #FFF5F2;
  border-color: var(--a2z-orange);
  color: var(--a2z-orange);
}

.a2z-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--a2z-orange);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.a2z-mobile-search-row {
  display: none;
  margin-top: 12px;
}

/* ============================================================
   3. PRICEOYE CIRCULAR CATEGORY STRIP
   ============================================================ */
.a2z-category-shortcuts-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--a2z-border);
  padding: 16px 0;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.a2z-category-shortcuts-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
  -webkit-overflow-scrolling: touch;
}

.a2z-cat-shortcut-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 85px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.a2z-cat-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.a2z-cat-shortcut-item:hover .a2z-cat-circle {
  border-color: var(--a2z-orange);
  background: #FFF5F2;
  color: var(--a2z-orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 18px var(--a2z-orange-glow);
}

.a2z-cat-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
  white-space: nowrap;
}

.a2z-cat-shortcut-item:hover .a2z-cat-name {
  color: var(--a2z-orange);
}

/* ============================================================
   4. CIRCULAR OFFICIAL BRANDS STRIP
   ============================================================ */
.a2z-brands-slider-section {
  padding: 30px 0;
}

.a2z-brands-circular-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 6px 0;
  -webkit-overflow-scrolling: touch;
}

.a2z-brand-circular-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  min-width: 78px;
  flex-shrink: 0;
}

.a2z-brand-circle-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--a2z-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: var(--a2z-transition);
}

.a2z-brand-circular-item:hover .a2z-brand-circle-badge {
  border-color: var(--a2z-orange);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px var(--a2z-orange-glow);
}

.a2z-brand-circular-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  text-align: center;
}

.a2z-brand-circular-item:hover .a2z-brand-circular-name {
  color: var(--a2z-orange);
}

/* ============================================================
   5. FLASH SALE & COUNTDOWN TIMER
   ============================================================ */
.a2z-countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 900;
  color: #FFFFFF;
  font-size: 1.1rem;
}

.a2z-timer-pill {
  background: var(--a2z-orange);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: var(--a2z-font-heading);
  font-size: 1rem;
  font-weight: 900;
  min-width: 38px;
  text-align: center;
  box-shadow: 0 2px 8px var(--a2z-orange-glow);
}

/* ============================================================
   6. 4-COLUMN PRODUCT GRID & CARDS
   ============================================================ */
.products.a2z-products-grid,
.a2z-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 15px;
}

.a2z-product-card {
  background: #FFFFFF;
  border: 1px solid var(--a2z-border);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--a2z-transition);
  box-shadow: var(--a2z-shadow-sm);
}

.a2z-product-card:hover {
  transform: translateY(-5px);
  border-color: #CBD5E1;
  box-shadow: var(--a2z-shadow-md);
}

.a2z-badge-wrapper {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
}

.a2z-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.a2z-badge-sale {
  background: var(--a2z-orange);
  color: #FFFFFF;
}

.a2z-badge-featured {
  background: #0284C7;
  color: #FFFFFF;
}

.a2z-product-img-wrap {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 10px;
  position: relative;
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
}

.a2z-product-img-wrap img {
  max-height: 160px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.a2z-product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.a2z-product-brand {
  font-size: 0.76rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.a2z-product-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--a2z-black);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.a2z-product-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.a2z-product-price del {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 600;
}

.a2z-product-price ins {
  font-family: var(--a2z-font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--a2z-orange);
  text-decoration: none;
}

.a2z-add-to-cart-btn {
  width: 100%;
  background: #F8FAFC;
  border: 1.5px solid var(--a2z-border);
  color: #334155;
  padding: 10px;
  border-radius: var(--a2z-radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--a2z-transition);
}

.a2z-product-card:hover .a2z-add-to-cart-btn,
.a2z-add-to-cart-btn:hover {
  background: var(--a2z-orange);
  border-color: var(--a2z-orange);
  color: #FFFFFF;
  box-shadow: 0 4px 12px var(--a2z-orange-glow);
}

/* ============================================================
   7. 5 TRUST PILLARS
   ============================================================ */
.a2z-trust-grid-priceoye {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.a2z-trust-card-po {
  background: #FFFFFF;
  border: 1px solid var(--a2z-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease;
}

.a2z-trust-card-po:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.a2z-trust-icon-po {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(232, 77, 37, 0.1);
  color: var(--a2z-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

/* ============================================================
   8. 4-COLUMN CLEAN LIGHT FOOTER
   ============================================================ */
.a2z-light-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--a2z-border);
  padding: 55px 0 25px;
  margin-top: 50px;
}

.a2z-footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.a2z-footer-brand-col p {
  color: #64748B;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 16px 0 20px;
}

.a2z-footer-help-box {
  background: #FFF5F2;
  border: 1px solid #FFE0D6;
  border-radius: 14px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.a2z-help-phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--a2z-orange);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.a2z-help-phone-text span {
  display: block;
  font-size: 0.78rem;
  color: #64748B;
  font-weight: 600;
}

.a2z-help-phone-text strong {
  font-family: var(--a2z-font-heading);
  font-size: 1.15rem;
  color: var(--a2z-orange);
  font-weight: 900;
}

.a2z-footer-links-col h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0D1117;
  margin-bottom: 18px;
}

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

.a2z-footer-clean-links a {
  color: #64748B;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.a2z-footer-clean-links a:hover {
  color: var(--a2z-orange);
  padding-left: 4px;
}

.a2z-footer-newsletter-box {
  background: #F8FAFC;
  border: 1px solid var(--a2z-border);
  border-radius: 16px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.a2z-newsletter-text h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0D1117;
}

.a2z-newsletter-form {
  display: flex;
  gap: 10px;
  flex: 1;
  max-width: 480px;
}

.a2z-newsletter-input {
  flex: 1;
  padding: 12px 18px;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--a2z-radius-full);
  outline: none;
  font-size: 0.9rem;
}

.a2z-newsletter-btn {
  background: var(--a2z-orange);
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: var(--a2z-radius-full);
  font-weight: 800;
  cursor: pointer;
}

.a2z-footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--a2z-border);
  font-size: 0.85rem;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 12px;
}

.a2z-payment-badges-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.7rem;
}

/* ============================================================
   9. SINGLE PRODUCT ZOOM & GROUPED SPECS
   ============================================================ */
.a2z-single-product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 45px;
  margin-bottom: 50px;
  align-items: start;
}

.a2z-main-gallery-stage {
  width: 100%;
  height: 420px;
  background: #FFFFFF;
  border: 1px solid var(--a2z-border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: crosshair;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.a2z-main-gallery-img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
  transition: transform 0.15s ease-out;
}

.a2z-gallery-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(13, 17, 23, 0.7);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.a2z-gallery-thumbnails-row {
  display: flex;
  gap: 12px;
}

.a2z-thumb-item {
  width: 75px;
  height: 75px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid var(--a2z-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: var(--a2z-transition);
}

.a2z-thumb-item.active,
.a2z-thumb-item:hover {
  border-color: var(--a2z-orange);
  box-shadow: 0 0 0 2px var(--a2z-orange-glow);
}

.a2z-thumb-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Grouped Specs */
.a2z-specs-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.a2z-spec-group-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.a2z-spec-group-header {
  background: #F8FAFC;
  padding: 12px 20px;
  border-bottom: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--a2z-font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0D1117;
}

.a2z-spec-group-header i {
  color: var(--a2z-orange);
}

.a2z-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.a2z-specs-table tr {
  border-bottom: 1px solid #F1F5F9;
}

.a2z-specs-table tr:last-child {
  border-bottom: none;
}

.a2z-specs-table th {
  text-align: left;
  padding: 14px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #475569;
  width: 30%;
  background: #FAFBFD;
  border-right: 1px solid #F1F5F9;
}

.a2z-specs-table td {
  padding: 14px 20px;
  font-size: 0.92rem;
  color: #0F172A;
  font-weight: 600;
}

.a2z-spec-badge {
  background: #EFF6FF;
  color: #0284C7;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}

/* ============================================================
   10. MOBILE SLIDE-OUT DRAWER & CART DRAWER
   ============================================================ */
.a2z-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 310px;
  max-width: 85vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: 8px 0 30px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.a2z-mobile-drawer.open {
  transform: translateX(0);
}

.a2z-mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.a2z-mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.a2z-mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--a2z-border);
}

.a2z-drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #64748B;
  cursor: pointer;
  line-height: 1;
}

.a2z-mobile-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.a2z-mobile-drawer-menu h4 {
  font-size: 0.82rem;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.a2z-mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.a2z-mobile-nav-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #F8FAFC;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #334155;
  transition: all 0.2s ease;
}

.a2z-mobile-nav-list a i {
  color: var(--a2z-orange);
  width: 20px;
}

.a2z-mobile-nav-list a:hover {
  background: #FFF5F2;
  color: var(--a2z-orange);
}

.a2z-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.25);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.a2z-cart-drawer.open {
  transform: translateX(0);
}

.a2z-cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.a2z-cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.a2z-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--a2z-border);
}

.a2z-drawer-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
}

.a2z-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
}

/* ============================================================
   11. STICKY MOBILE BOTTOM APP BAR
   ============================================================ */
.a2z-mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #FFFFFF;
  border-top: 1px solid var(--a2z-border);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
  z-index: 9999;
  justify-content: space-around;
  align-items: center;
  padding: 0 8px;
}

.a2z-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #64748B;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
  flex: 1;
  height: 100%;
}

.a2z-bottom-nav-item i {
  font-size: 1.25rem;
}

.a2z-bottom-nav-item.active,
.a2z-bottom-nav-item:hover {
  color: var(--a2z-orange);
}

.a2z-cart-badge {
  position: absolute;
  top: 6px;
  right: 50%;
  margin-right: -18px;
  background: var(--a2z-orange);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   12. ULTRA-RESPONSIVE MEDIA QUERIES (Tablet & Mobile)
   ============================================================ */
@media (max-width: 1024px) {
  .products.a2z-products-grid,
  .a2z-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .a2z-footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .a2z-mobile-menu-toggle {
    display: flex;
  }

  .a2z-desktop-only {
    display: none !important;
  }

  .a2z-top-bar-links {
    display: none;
  }

  .a2z-top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .a2z-hero-card-grid {
    grid-template-columns: 1fr !important;
    gap: 25px;
  }

  .a2z-hero-content-col h1 {
    font-size: 2.1rem !important;
  }

  .a2z-hero-media-col iframe {
    min-height: 240px;
  }

  .a2z-single-product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for mobile app bar */
  }

  .a2z-header-search-wrap {
    display: none;
  }

  .a2z-mobile-search-row {
    display: block;
  }

  .a2z-mobile-bottom-nav {
    display: flex;
  }

  .products.a2z-products-grid,
  .a2z-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .a2z-product-card {
    padding: 12px;
  }

  .a2z-product-img-wrap {
    height: 150px;
  }

  .a2z-product-img-wrap img {
    max-height: 130px;
  }

  .a2z-product-title {
    font-size: 0.85rem;
    min-height: 2.5em;
    margin-bottom: 6px;
  }

  .a2z-product-price ins {
    font-size: 1rem;
  }

  .a2z-add-to-cart-btn {
    padding: 8px;
    font-size: 0.78rem;
  }

  .a2z-cat-circle,
  .a2z-brand-circle-badge {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }

  .a2z-cat-name,
  .a2z-brand-circular-name {
    font-size: 0.74rem;
  }

  .a2z-footer-top-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .a2z-footer-newsletter-box {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
  }

  .a2z-newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .a2z-main-gallery-stage {
    height: 320px;
  }
}
