/*
Theme Name: BlinkMart
Theme URI: https://github.com/blinkmart
Author: BlinkMart Team
Author URI: https://blinkmart.com
Description: A fast, modern grocery delivery WordPress theme inspired by quick-commerce platforms. Features product grids, category browsing, delivery banners, and mobile-first design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: blinkmart
Tags: e-commerce, grocery, delivery, woocommerce, yellow, dark, grid-layout, custom-header, custom-logo, full-width-template, responsive-layout
*/

/* ============================================================
   CSS CUSTOM PROPERTIES — BLINKIT-INSPIRED PALETTE
   ============================================================ */
:root {
  --bm-yellow:       #F8D247;
  --bm-yellow-dark:  #E6BC00;
  --bm-yellow-light: #FFF4BB;
  --bm-black:        #0C0F0A;
  --bm-dark:         #1A1D17;
  --bm-dark-2:       #252822;
  --bm-green:        #0F9D4E;
  --bm-green-light:  #E6F9EF;
  --bm-red:          #E53935;
  --bm-orange:       #FF6D00;
  --bm-text:         #1A1D17;
  --bm-text-muted:   #6B7280;
  --bm-text-light:   #9CA3AF;
  --bm-border:       #E5E7EB;
  --bm-bg:           #F9FAFB;
  --bm-white:        #FFFFFF;
  --bm-card-bg:      #FFFFFF;
  --bm-shadow-sm:    0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --bm-shadow-md:    0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --bm-shadow-lg:    0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
  --bm-radius-sm:    6px;
  --bm-radius-md:    12px;
  --bm-radius-lg:    18px;
  --bm-radius-xl:    24px;
  --bm-radius-full:  9999px;
  --font-heading:    'Poppins', 'Segoe UI', sans-serif;
  --font-body:       'DM Sans', 'Segoe UI', sans-serif;
  --font-mono:       'JetBrains Mono', monospace;
  --transition:      0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h:        64px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--bm-text);
  background: var(--bm-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--bm-black);
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bm-green);
  margin-bottom: 6px;
  display: block;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 40px; } }

.section { padding: 48px 0; }
.section--lg { padding: 72px 0; }
.section--sm { padding: 28px 0; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; }
.gap-4 { gap: 16px; } .gap-6 { gap: 24px; } .gap-8 { gap: 32px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--bm-radius-full);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--bm-yellow);
  color: var(--bm-black);
  border-color: var(--bm-yellow);
}
.btn-primary:hover {
  background: var(--bm-yellow-dark);
  border-color: var(--bm-yellow-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(248,210,71,0.45);
  color: var(--bm-black);
}

.delivery-banner {
  background-image: url('your-image.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}


.btn-secondary {
  background: transparent;
  color: var(--bm-text);
  border-color: var(--bm-border);
}
.btn-secondary:hover {
  border-color: var(--bm-yellow);
  background: var(--bm-yellow-light);
  color: var(--bm-black);
}
.btn-dark {
  background: var(--bm-black);
  color: var(--bm-yellow);
  border-color: var(--bm-black);
}
.btn-dark:hover {
  background: var(--bm-dark-2);
  color: var(--bm-yellow);
  transform: translateY(-1px);
}
.btn-green {
  background: var(--bm-green);
  color: #fff;
  border-color: var(--bm-green);
}
.btn-green:hover {
  background: #0a8542;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,157,78,0.35);
  color: #fff;
}
.btn-icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: var(--bm-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--bm-radius-full);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}
.badge-yellow { background: var(--bm-yellow); color: var(--bm-black); }
.badge-green  { background: var(--bm-green-light); color: var(--bm-green); }
.badge-red    { background: #FEE2E2; color: var(--bm-red); }
.badge-dark   { background: var(--bm-black); color: var(--bm-yellow); }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--bm-black);
  color: #fff;
  font-size: 13px;
  padding: 7px 0;
  display:none;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-marquee {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bm-yellow);
  font-weight: 600;
  font-size: 12px;
}
.topbar-marquee span { color: #fff; font-weight: 400; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-right a { color: rgba(255,255,255,0.7); font-size: 12px; transition: color var(--transition); }
.topbar-right a:hover { color: var(--bm-yellow); }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bm-white);
  border-bottom: 1px solid var(--bm-border);
  box-shadow: var(--bm-shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--bm-black);
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--bm-yellow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.logo-text em { color: var(--bm-green); font-style: normal; }

.header-location {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bm-bg);
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius-full);
  padding: 6px 14px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.header-location:hover {
  border-color: var(--bm-yellow);
  background: var(--bm-yellow-light);
}
.header-location .loc-pin { color: var(--bm-green); font-size: 16px; }
.header-location .loc-text { font-size: 13px; font-weight: 600; }
.header-location .loc-arrow { font-size: 10px; color: var(--bm-text-muted); }

.header-search {
  flex: 1;
  min-width: 0;
  position: relative;
}
.header-search input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 44px;
  border: 2px solid var(--bm-border);
  border-radius: var(--bm-radius-full);
  font-size: 14px;
  background: var(--bm-bg);
  transition: all var(--transition);
}
.header-search input:focus {
  border-color: var(--bm-yellow);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(248,210,71,0.2);
}
.header-search input::placeholder { color: var(--bm-text-light); }
.header-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bm-text-muted);
  font-size: 16px;
  pointer-events: none;
}
.header-search .search-submit {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bm-yellow);
  border: none;
  border-radius: var(--bm-radius-full);
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  padding-right:80px;
}
.header-search .search-submit:hover { background: var(--bm-yellow-dark); }

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

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--bm-radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.header-action-btn .icon { font-size: 18px; }
.header-action-btn .action-label { display: none; }
@media (min-width: 1024px) { .header-action-btn .action-label { display: block; } }

.btn-login { border: 2px solid var(--bm-border); color: var(--bm-text); }
.btn-login:hover { border-color: var(--bm-yellow); background: var(--bm-yellow-light); color: var(--bm-black); }

.btn-cart {
  background: var(--bm-green);
  color: #fff;
  border: 2px solid var(--bm-green);
}
.btn-cart:hover { background: #0a8542; color: #fff; }
.cart-count {
  background: var(--bm-yellow);
  color: var(--bm-black);
  font-size: 10px;
  font-weight: 800;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   MOBILE HEADER
   ============================================================ */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bm-white);
  border-bottom: 1px solid var(--bm-border);
}
.mobile-header-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}
.mobile-header-search {
  flex: 1;
  position: relative;
}
.mobile-header-search input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 38px;
  border: 1.5px solid var(--bm-border);
  border-radius: var(--bm-radius-full);
  font-size: 14px;
  background: var(--bm-bg);
}
.mobile-header-search .search-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--bm-text-muted); font-size: 15px;
}

/* ============================================================
   DELIVERY BANNER
   ============================================================ */
.delivery-banner {
  background: linear-gradient(135deg, var(--bm-black) 0%, #1e2318 60%, #0f3020 100%);
  padding: 40px 0 0;
  overflow: hidden;
  position: relative;
}
.delivery-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(248,210,71,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.delivery-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(15,157,78,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.delivery-banner .container { position: relative; z-index: 1; }
.banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: end;
}
@media (min-width: 768px) { .banner-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .banner-grid { grid-template-columns: 5fr 4fr; } }

.banner-content { padding-bottom: 48px; }
.banner-badge {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(248,210,71,0.15);
  border: 1px solid rgba(248,210,71,0.3);
  border-radius: var(--bm-radius-full);
  padding: 5px 14px;
  margin-bottom: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bm-yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.banner-badge .dot {
  width: 6px; height: 6px;
  background: var(--bm-green);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.banner-title .highlight { color: var(--bm-yellow); }
.banner-title .highlight-green { color: #4ade80; }
.banner-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.7;
}
.banner-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.banner-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bm-yellow);
  display: block;
}
.stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

.banner-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.banner-hero-graphic {
  position: relative;
  width: 100%;
  max-width: 420px;
}
.banner-delivery-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--bm-radius-lg);
  padding: 5px 5px;
  margin-bottom: 16px;
}
.delivery-time-display {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.delivery-clock {
  width: 56px; height: 56px;
  background: var(--bm-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.delivery-info .time { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.delivery-info .unit { font-size: 13px; color: rgba(255,255,255,0.6); }
.delivery-progress {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.delivery-progress-fill {
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, var(--bm-green), #4ade80);
  border-radius: 3px;
  animation: progress-anim 2s ease-out forwards;
}
@keyframes progress-anim { from { width: 0; } to { width: 70%; } }

.banner-product-strip {
  display: flex;
  gap: 10px;
  overflow: hidden;
}
.banner-product-chip {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.banner-product-chip .chip-emoji { font-size: 20px; }
.banner-product-chip .chip-name { font-size: 12px; color: rgba(255,255,255,0.8); font-weight: 600; }
.banner-product-chip .chip-price { font-size: 11px; color: var(--bm-yellow); }

/* ============================================================
   PROMO STRIPS
   ============================================================ */
.promo-strip {
  background: var(--bm-yellow);
  padding: 4px 0;
}
.promo-strip .container {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.promo-strip .container::-webkit-scrollbar { display: none; }
.promo-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,0,0,0.07);
  border-radius: var(--bm-radius-full);
  padding: 5px 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--bm-black);
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--transition);
}
.promo-chip:hover { background: rgba(0,0,0,0.14); }
.promo-chip .chip-icon { font-size: 15px; }
.promo-divider { width: 1px; height: 20px; background: rgba(0,0,0,0.15); flex-shrink: 0; }

/* ============================================================
   CATEGORIES
   ============================================================ */
.categories-section { background: var(--bm-white); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-header .see-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--bm-green);
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.section-header .see-all:hover { text-decoration: underline; }

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}
@media (min-width: 640px) { .categories-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); } }
@media (min-width: 1024px) { .categories-grid { grid-template-columns: repeat(10, 1fr); } }

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px;
  border-radius: var(--bm-radius-lg);
  background: var(--bm-bg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  text-decoration: none;
}
.category-card:hover {
  border-color: var(--bm-yellow);
  background: var(--bm-yellow-light);
  transform: translateY(-3px);
  box-shadow: var(--bm-shadow-md);
  color: var(--bm-black);
}
.category-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: transform var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.1); }
.category-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--bm-text);
  line-height: 1.3;
}

/* Category color themes */
.cat-1 .category-icon { background: #FFF3E0; }
.cat-2 .category-icon { background: #E8F5E9; }
.cat-3 .category-icon { background: #E3F2FD; }
.cat-4 .category-icon { background: #FCE4EC; }
.cat-5 .category-icon { background: #F3E5F5; }
.cat-6 .category-icon { background: #FFF9C4; }
.cat-7 .category-icon { background: #E0F2F1; }
.cat-8 .category-icon { background: #FBE9E7; }
.cat-9 .category-icon { background: #EDE7F6; }
.cat-10 .category-icon { background: #E1F5FE; }

/* ============================================================
   OFFERS BANNER ROW
   ============================================================ */
.offers-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .offers-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .offers-row { grid-template-columns: repeat(3, 1fr); } }

.offer-card {
  border-radius: var(--bm-radius-xl);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: hidden;
  position: relative;
  min-height: 120px;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--bm-shadow-lg); }
.offer-card-1 { background: linear-gradient(135deg, #1a1d17, #2d3620); }
.offer-card-2 { background: linear-gradient(135deg, #0c3320, #155c3a); }
.offer-card-3 { background: linear-gradient(135deg, #1a0f0f, #3d1515); }
.offer-icon-large { font-size: 52px; flex-shrink: 0; }
.offer-text {}
.offer-text .offer-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  display: block;
}
.offer-text .offer-title { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.2; }
.offer-text .offer-subtitle { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.offer-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bm-yellow);
  color: var(--bm-black);
  padding: 5px 12px;
  border-radius: var(--bm-radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 480px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1280px) { .products-grid { grid-template-columns: repeat(6, 1fr); } }

.product-card {
  background: var(--bm-card-bg);
  border-radius: var(--bm-radius-lg);
  border: 1.5px solid var(--bm-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  border-color: var(--bm-yellow);
  box-shadow: var(--bm-shadow-md);
  transform: translateY(-3px);
}
.product-img-wrap {
  position: relative;
  background: var(--bm-bg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition);
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-discount-tag {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--bm-red);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 4px;
}
.product-wishlist {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--bm-shadow-sm);
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0;
}
.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { background: #FEE2E2; }

.product-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-weight {
  font-size: 11px;
  color: var(--bm-text-muted);
  font-weight: 500;
}
.product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--bm-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.product-price {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--bm-black);
}
.product-mrp {
  font-size: 12px;
  color: var(--bm-text-light);
  text-decoration: line-through;
}
.product-add-btn {
  margin: 0 12px 12px;
  width: calc(100% - 24px);
  height: 36px;
  background: transparent;
  border: 2px solid var(--bm-green);
  border-radius: var(--bm-radius-sm);
  color: var(--bm-green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.product-add-btn:hover {
  background: var(--bm-green);
  color: #fff;
}
.product-counter {
  margin: 0 12px 12px;
  width: calc(100% - 24px);
  height: 36px;
  background: var(--bm-green);
  border-radius: var(--bm-radius-sm);
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}
.product-counter.active { display: flex; }
.counter-btn {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 4px;
  
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.counter-btn:hover { background: rgba(255,255,255,0.35); }
.counter-num { color: #fff; font-weight: 700; font-size: 14px; }

/* ============================================================
   MINI BANNER STRIP
   ============================================================ */
.mini-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .mini-banners { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mini-banners { grid-template-columns: repeat(4, 1fr); } }

.mini-banner {
  border-radius: var(--bm-radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mini-banner:hover { transform: translateY(-3px); box-shadow: var(--bm-shadow-md); }
.mini-banner-1 { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.mini-banner-2 { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.mini-banner-3 { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.mini-banner-4 { background: linear-gradient(135deg, #FCE4EC, #F8BBD0); }
.mini-banner-icon { font-size: 36px; flex-shrink: 0; }
.mini-banner-text .mb-title { font-size: 13px; font-weight: 700; color: var(--bm-black); }
.mini-banner-text .mb-sub { font-size: 11px; color: var(--bm-text-muted); margin-top: 2px; }

/* ============================================================
   DELIVERY PROMISE STRIP
   ============================================================ */
.delivery-promise {
  background: var(--bm-black);
  padding: 28px 0;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) { .promise-grid { grid-template-columns: repeat(4, 1fr); } }
.promise-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.promise-icon {
  width: 48px; height: 48px;
  background: rgba(248,210,71,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.promise-text .pt-title { font-size: 13px; font-weight: 700; color: #fff; }
.promise-text .pt-sub { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ============================================================
   APP DOWNLOAD SECTION
   ============================================================ */
.app-section {
  background: linear-gradient(135deg, var(--bm-black), #1e2d17);
  padding: 60px 0;
  overflow: hidden;
  position: relative;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 768px) { .app-grid { grid-template-columns: 1fr 1fr; } }
.app-content {}
.app-title { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.app-subtitle { font-size: 15px; color: rgba(255,255,255,0.6); margin-bottom: 28px; }
.app-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.app-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--bm-radius-md);
  padding: 10px 20px;
  cursor: pointer;
  transition: all var(--transition);
}
.app-btn:hover { background: rgba(248,210,71,0.1); border-color: var(--bm-yellow); }
.app-btn .app-btn-icon { font-size: 26px; }
.app-btn-text .abt-top { font-size: 10px; color: rgba(255,255,255,0.5); font-weight: 400; display: block; }
.app-btn-text .abt-bottom { font-size: 14px; font-weight: 700; color: #fff; display: block; margin-top: 1px; }
.app-phones { display: flex; justify-content: center; position: relative; }
.phone-mockup {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  width: 200px;
  aspect-ratio: 9/18;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.phone-screen-top {
  background: var(--bm-yellow);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-screen-top .ps-logo { font-size: 16px; font-weight: 800; color: var(--bm-black); }
.phone-screen-body { flex: 1; padding: 12px; background: #0c0f0a; }
.phone-cat-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-bottom: 10px;
}
.phone-cat {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
  font-size: 9px;
  color: rgba(255,255,255,0.7);
}
.phone-cat .pc-emoji { font-size: 16px; display: block; margin-bottom: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bm-dark);
  color: rgba(255,255,255,0.75);
}
.footer-top { padding: 6px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand {}
.footer-brand .site-logo { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all var(--transition);
}
.social-icon:hover { background: var(--bm-yellow); color: var(--bm-black); }

.footer-col {}
.footer-col-title { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--bm-yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); }
.footer-bottom-links a:hover { color: var(--bm-yellow); }

/* ============================================================
   STICKY CART BAR (mobile)
   ============================================================ */
.sticky-cart-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--bm-green);
  padding: 12px 20px;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 767px) { .sticky-cart-bar { display: flex; } }
.cart-bar-info { color: #fff; }
.cart-bar-count { font-size: 12px; color: rgba(255,255,255,0.7); }
.cart-bar-total { font-size: 16px; font-weight: 700; }
.cart-bar-btn { background: #fff; color: var(--bm-green); padding: 8px 20px; border-radius: var(--bm-radius-full); font-weight: 700; font-size: 14px; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 80px; right: 20px;
  width: 42px; height: 42px;
  background: var(--bm-black);
  color: var(--bm-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--bm-shadow-md);
  cursor: pointer;
  z-index: 800;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition);
  text-decoration: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--bm-yellow); color: var(--bm-black); }

/* ============================================================
   SEARCH SUGGESTIONS DROPDOWN
   ============================================================ */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid var(--bm-border);
  border-radius: var(--bm-radius-md);
  box-shadow: var(--bm-shadow-lg);
  z-index: 200;
  display: none;
  overflow: hidden;
}
.search-dropdown.open { display: block; }
.search-drop-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition);
  font-size: 14px;
}
.search-drop-item:hover { background: var(--bm-bg); }
.search-drop-item .sdi-icon { font-size: 18px; flex-shrink: 0; }
.search-drop-item .sdi-text {}
.search-drop-item .sdi-label { font-weight: 600; color: var(--bm-text); }
.search-drop-item .sdi-sub { font-size: 11px; color: var(--bm-text-muted); }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 767px) {
  .site-header { display: none; }
  .mobile-header { display: block; }
  .banner-content { padding-bottom: 28px; }
  .banner-stats { gap: 16px; }
  .delivery-banner { padding: 28px 0 0; }
}
@media (max-width: 1023px) {
  .topbar .topbar-right { display: none; }
}

/* ============================================================
   WOOCOMMERCE OVERRIDES
   ============================================================ */
.woocommerce .products { margin: 0 !important; padding: 0 !important; }
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product { margin: 0 !important; width: 100% !important; float: none !important; }
.woocommerce .button, .woocommerce #respond input#submit { background: var(--bm-green) !important; color: #fff !important; border-radius: var(--bm-radius-sm) !important; font-weight: 700 !important; border: none !important; transition: background var(--transition) !important; }
.woocommerce .button:hover, .woocommerce #respond input#submit:hover { background: #0a8542 !important; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: var(--bm-radius-sm) !important; }
.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--bm-yellow) !important; color: var(--bm-black) !important; border-color: var(--bm-yellow) !important; }
.woocommerce .woocommerce-message { background: var(--bm-green-light) !important; border-top-color: var(--bm-green) !important; }
.woocommerce span.onsale { background: var(--bm-red) !important; min-height: auto !important; min-width: auto !important; padding: 4px 8px !important; border-radius: 4px !important; font-size: 11px !important; font-weight: 800 !important; line-height: 1.5 !important; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.5s ease forwards; }

@keyframes shimmer {
  0%   { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 1.5s infinite linear;
  border-radius: 6px;
}

/* ============================================================
   PAGE-SPECIFIC: SINGLE PRODUCT
   ============================================================ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 40px 0;
}
@media (min-width: 768px) { .product-detail-grid { grid-template-columns: 1fr 1fr; } }
.product-detail-img { border-radius: var(--bm-radius-xl); overflow: hidden; background: var(--bm-bg); padding: 40px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-detail-info {}
.product-detail-title { font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; }
.product-detail-meta { font-size: 13px; color: var(--bm-text-muted); margin-bottom: 16px; }
.product-detail-price { font-size: 2rem; font-weight: 800; color: var(--bm-black); margin-bottom: 6px; }
.product-detail-mrp { font-size: 15px; color: var(--bm-text-light); text-decoration: line-through; }
.delivery-promise-inline { background: var(--bm-green-light); border-radius: var(--bm-radius-md); padding: 12px 16px; display: flex; align-items: center; gap: 10px; margin: 20px 0; font-size: 14px; font-weight: 600; color: var(--bm-green); }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible { outline: 3px solid var(--bm-yellow); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }



/* ── Section positioning ── */
.delivery-banner {
  position: relative;
  overflow: hidden;
  /* keep your existing padding / min-height */
}
 
/* ─────────────────────────────────────────
   ① BACKGROUND IMAGE LAYER
   ───────────────────────────────────────── */
.banner-bg-image {
  position: absolute;
  inset: 0;                       /* covers full section */
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
 
  /* Subtle Ken-Burns zoom on page load */
  animation: bgZoom 18s ease-in-out infinite alternate;
  transform-origin: center;
}
 
@keyframes bgZoom {
  from { transform: scale(1);    }
  to   { transform: scale(1.06); }
}
 
/* Dark gradient overlay — keeps text readable regardless of image */
.banner-bg-overlay {
  position: absolute;
  inset: 0;
  /* Adjust the stops / opacity to match your colour theme */
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.82)  0%,
    rgba(15, 23, 42, 0.55) 50%,
    rgba(15, 23, 42, 0.30) 100%
  );
}
 
/* ─────────────────────────────────────────
   ② LOTTIE LAYER
   ───────────────────────────────────────── */
.banner-lottie-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;                     /* sits above bg image, below content */
  pointer-events: none;           /* never blocks clicks */
  overflow: hidden;
}
 
/* Main Lottie — full-width, centred, semi-transparent */
.lottie-main {
  position: absolute;
  bottom: -5%;
  right: -5%;
  width: 65%;
  max-width: 720px;
  height: auto;
  opacity: 0.18;                  /* subtle — you control this */
  mix-blend-mode: screen;         /* blends beautifully over dark backgrounds */
 
  /* Gentle float animation layered on top of Lottie's own animation */
  animation: lottieFloat 8s ease-in-out infinite;
}
 
/* Accent Lottie — smaller, top-right corner sparkle */
.lottie-accent {
  position: absolute;
  top: 5%;
  right: 3%;
  width: 220px;
  height: 220px;
  opacity: 0.35;
  mix-blend-mode: screen;
  animation: lottieFloat 6s ease-in-out infinite reverse;
}
 
@keyframes lottieFloat {
  0%, 100% { transform: translateY(0px)   rotate(0deg);   }
  33%       { transform: translateY(-14px) rotate(1.5deg); }
  66%       { transform: translateY(-6px)  rotate(-1deg);  }
}
 
/* ─────────────────────────────────────────
   ③ CSS PARTICLE DOTS
   ───────────────────────────────────────── */
.banner-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
 
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: particleDrift linear infinite;
}
 
/* Vary size, position, speed per particle */
.particle-1  { width:6px;  height:6px;  left:5%;  top:80%; animation-duration:14s; animation-delay:0s;    }
.particle-2  { width:4px;  height:4px;  left:15%; top:60%; animation-duration:18s; animation-delay:2s;    }
.particle-3  { width:8px;  height:8px;  left:25%; top:90%; animation-duration:12s; animation-delay:1s;    }
.particle-4  { width:3px;  height:3px;  left:40%; top:75%; animation-duration:20s; animation-delay:3s;    }
.particle-5  { width:5px;  height:5px;  left:55%; top:85%; animation-duration:16s; animation-delay:0.5s;  }
.particle-6  { width:7px;  height:7px;  left:65%; top:50%; animation-duration:15s; animation-delay:4s;    }
.particle-7  { width:4px;  height:4px;  left:75%; top:70%; animation-duration:22s; animation-delay:1.5s;  }
.particle-8  { width:9px;  height:9px;  left:85%; top:40%; animation-duration:11s; animation-delay:2.5s;  }
.particle-9  { width:3px;  height:3px;  left:10%; top:30%; animation-duration:19s; animation-delay:0s;    }
.particle-10 { width:6px;  height:6px;  left:30%; top:15%; animation-duration:17s; animation-delay:3.5s;  }
.particle-11 { width:4px;  height:4px;  left:50%; top:20%; animation-duration:13s; animation-delay:1s;    }
.particle-12 { width:5px;  height:5px;  left:90%; top:60%; animation-duration:21s; animation-delay:2s;    }
 
@keyframes particleDrift {
  0%   { transform: translateY(0)     translateX(0)    opacity:0;   }
  10%  { opacity: 1; }
  90%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) translateX(20px) opacity:0; }
}
 
  .lottie-accent
  {
	  right:20%;
  }
/* ─────────────────────────────────────────
   REDUCED MOTION — respects user preference
   ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
   	
	
  .banner-bg-image,
  .lottie-main,
  .lottie-accent,
  .particle {
    animation: none !important;
	right:0%;
  }
  dotlottie-player {
    display: none;   /* hide Lottie entirely for reduced-motion users */
  }
}


.blinkit-brands {
  background: #fff;
  padding: 25px 0;
  position: relative;
}

.brands-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.brands-header h2 {
  font-size: 18px;
  font-weight: 600;
}

.brands-nav button {
  background: #fff;
  border: 1px solid #eee;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 6px;
  transition: 0.2s;
}

.brands-nav button:hover {
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.brands-wrapper {
  overflow: hidden;
}

.brands-track {
  display: flex;
  gap: 12px;
  transition: transform 0.4s ease;
  cursor: grab;
}

.brand-item {
  min-width: 150px;
  height: 150px;
  border: 1px solid #f2f2f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  flex-shrink: 0;
}

.brand-item img {
  max-width: 150px;
  max-height: 150px;
  object-fit: contain;
}


/*/Product CATEGORIES PAGE////

/* Blinkit Style Sidebar */
.widget_product_categories {
    background: #ffffff;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid #eee;
    max-height: 500px;
    overflow-y: auto;
}

.widget_product_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_product_categories ul li {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
    transition: 0.2s;
}

.widget_product_categories ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.widget_product_categories ul li:hover {
    background-color: #f7f7f7;
}

.widget_product_categories .current-cat {
    background-color: #e9f5e9;
    font-weight: 600;
}

.widget_product_categories ul.children {
    padding-left: 15px;
    background: #fafafa;
}


/* ============================================================
   MY ACCOUNT — BLINKIT STYLE  (conflict-safe version)
   - NO :root variables (won't bleed into rest of site)
   - All selectors scoped to .woocommerce-account
   - !important only where theme overrides are stubborn
   - Safe to paste in Appearance > Customize > Additional CSS
   ============================================================ */

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

/* ── Page background ── */
.woocommerce-account .site-main,
.woocommerce-account #main,
.woocommerce-account #content,
.woocommerce-account .entry-content {
  background: #F4F4F4 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  color: #1C1C1C !important;
}

.woocommerce-account .woocommerce {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 72px;
  font-family: 'Inter', -apple-system, sans-serif;
}

/* ── Headings ── */
.woocommerce-account h1,
.woocommerce-account h2,
.woocommerce-account h3 {
  font-family: 'Inter', -apple-system, sans-serif !important;
  color: #1C1C1C !important;
  line-height: 1.2 !important;
}

.woocommerce-account h1 {
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 4px !important;
}

.woocommerce-account h2 {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.2px !important;
  margin-bottom: 16px !important;
}

.woocommerce-account h2::before {
  content: '' !important;
  display: inline-block !important;
  width: 4px !important;
  height: 1em !important;
  background: #F8C200 !important;
  border-radius: 2px !important;
  margin-right: 10px !important;
  vertical-align: middle !important;
}

.woocommerce-account h3 {
  font-size: 0.9rem !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

/* ── Nav ── */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: #1C1C1C !important;
  border-radius: 18px !important;
  border: none !important;
  padding: 6px !important;
  margin-bottom: 20px !important;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 11px 18px !important;
  border-radius: 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #AAAAAA !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  transition: all 0.18s ease !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #333333 !important;
  color: #FFFFFF !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--active a {
  background: #F8D247 !important;
  color: #1C1C1C !important;
  font-weight: 900 !important;
}

/* ── Content panel ── */
.woocommerce-account .woocommerce-MyAccount-content {
  background: #FFFFFF !important;
  border-radius: 18px !important;
  border: 1.5px solid #E8E8E8 !important;
  padding: 32px 36px !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.07) !important;
  font-family: 'Inter', sans-serif !important;
}

/* ── Welcome paragraph ── */
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type {
  background: #1C1C1C !important;
  border-radius: 10px !important;
  border: none !important;
  border-left: 4px solid #F8C200 !important;
  padding: 16px 20px !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #FFFFFF !important;
  margin-bottom: 24px !important;
}

/* ── Orders table ── */
.woocommerce-account table.woocommerce-orders-table,
.woocommerce-account table.shop_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  border: 1.5px solid #E8E8E8 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.87rem !important;
}

.woocommerce-account table.woocommerce-orders-table thead tr th,
.woocommerce-account table.shop_table thead tr th {
  background: #1C1C1C !important;
  color: #F8C200 !important;
  padding: 13px 16px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border: none !important;
  text-align: left !important;
}

.woocommerce-account table.woocommerce-orders-table tbody tr td,
.woocommerce-account table.shop_table tbody tr td {
  padding: 14px 16px !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 1px solid #E8E8E8 !important;
  color: #1C1C1C !important;
  font-family: 'Inter', sans-serif !important;
  background: #FFFFFF !important;
  vertical-align: middle !important;
}

.woocommerce-account table.woocommerce-orders-table tbody tr:last-child td,
.woocommerce-account table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}

.woocommerce-account table.woocommerce-orders-table tbody tr:hover td,
.woocommerce-account table.shop_table tbody tr:hover td {
  background: #FEF4C0 !important;
}

/* ── Status badges ── */
.woocommerce-account .woocommerce-orders-table__cell-order-status mark,
.woocommerce-account .order-status,
.woocommerce-account table mark {
  display: inline-block !important;
  padding: 3px 10px !important;
  border-radius: 30px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.67rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  background: none !important;
}

.woocommerce-account mark.completed,  .woocommerce-account .wc-completed  { background: #E6F7EF !important; color: #0C8A4E !important; }
.woocommerce-account mark.processing, .woocommerce-account .wc-processing { background: #FEF4C0 !important; color: #D4A400 !important; }
.woocommerce-account mark.on-hold,    .woocommerce-account .wc-on-hold    { background: #FFF3E0 !important; color: #F57C00 !important; }
.woocommerce-account mark.cancelled,  .woocommerce-account .wc-cancelled  { background: #FDECEA !important; color: #D0291C !important; }
.woocommerce-account mark.pending,    .woocommerce-account .wc-pending    { background: #F4F4F4 !important; color: #717171 !important; }

/* ── Buttons ── */


.woocommerce-account .button.alt,
.woocommerce-account a.button.alt {
  background: #1C1C1C !important;
  color: #F8C200 !important;
}

.woocommerce-account .button.alt:hover,
.woocommerce-account a.button.alt:hover {
  background: #2A2A2A !important;
  color: #F8C200 !important;
}

/* ── Forms ── */
.woocommerce-account .woocommerce-EditAccountForm,
.woocommerce-account .woocommerce-address-fields,
.woocommerce-account form.woocommerce-form {
  max-width: 540px !important;
}

.woocommerce-account .woocommerce-form-row label,
.woocommerce-account form.login label,
.woocommerce-account form.register label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #717171 !important;
  display: block !important;
  margin-bottom: 6px !important;
}

.woocommerce-account .woocommerce-form-row input.input-text,
.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"],
.woocommerce-account form input[type="tel"],
.woocommerce-account form textarea,
.woocommerce-account form select {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 2px solid #E8E8E8 !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  color: #1C1C1C !important;
  background: #FFFFFF !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  transition: border-color 0.2s !important;
}

.woocommerce-account form input[type="text"]:focus,
.woocommerce-account form input[type="email"]:focus,
.woocommerce-account form input[type="password"]:focus,
.woocommerce-account form textarea:focus,
.woocommerce-account form select:focus {
  border-color: #F8C200 !important;
  box-shadow: 0 0 0 3px rgba(248,194,0,0.18) !important;
}

.woocommerce-account .woocommerce-form-row { margin-bottom: 18px !important; }

/* ── Address cards ── */
.woocommerce-account .woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

.woocommerce-account .woocommerce-Address {
  background: #F4F4F4 !important;
  border: 2px solid #E8E8E8 !important;
  border-radius: 14px !important;
  padding: 22px 24px !important;
  box-shadow: none !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.woocommerce-account .woocommerce-Address:hover {
  border-color: #F8C200 !important;
  box-shadow: 0 4px 16px rgba(248,194,0,0.18) !important;
}

.woocommerce-account .woocommerce-Address-title {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1.5px solid #E8E8E8 !important;
}

.woocommerce-account .woocommerce-Address-title h3 {
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.woocommerce-account .woocommerce-Address address {
  font-style: normal !important;
  font-size: 0.85rem !important;
  line-height: 1.75 !important;
  color: #717171 !important;
  font-weight: 400 !important;
}

/* ── Notices ── */
.woocommerce-account .woocommerce-message {
  background: #E6F7EF !important;
  border-left: 4px solid #0C8A4E !important;
  border-radius: 10px !important;
  color: #0C8A4E !important;
  padding: 14px 20px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  margin-bottom: 20px !important;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce-info {
  background: #FEF4C0 !important;
  border-left: 4px solid #D4A400 !important;
  border-radius: 10px !important;
  color: #7A5F00 !important;
  padding: 14px 20px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  margin-bottom: 20px !important;
  box-shadow: none !important;
}

.woocommerce-account .woocommerce-error {
  background: #FDECEA !important;
  border-left: 4px solid #D0291C !important;
  border-radius: 10px !important;
  color: #D0291C !important;
  padding: 14px 20px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  margin-bottom: 20px !important;
  box-shadow: none !important;
}

/* ── Login / Register columns ── */
.woocommerce-account .u-columns {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
  background: #FFFFFF !important;
  border: 2px solid #E8E8E8 !important;
  border-radius: 18px !important;
  padding: 32px !important;
  box-shadow: none !important;
}

/* ── Pagination ── */
.woocommerce-account .woocommerce-pagination ul {
  list-style: none !important;
  display: flex !important;
  gap: 6px !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
}

.woocommerce-account .woocommerce-pagination ul li a,
.woocommerce-account .woocommerce-pagination ul li span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 8px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  border: 2px solid #E8E8E8 !important;
  color: #717171 !important;
  background: #FFFFFF !important;
  text-decoration: none !important;
  transition: all 0.15s !important;
}

.woocommerce-account .woocommerce-pagination ul li a:hover {
  border-color: #F8C200 !important;
  color: #1C1C1C !important;
  background: #FEF4C0 !important;
}

.woocommerce-account .woocommerce-pagination ul li span.current {
  background: #F8C200 !important;
  border-color: #F8C200 !important;
  color: #1C1C1C !important;
}

/* ── HR divider ── */
.woocommerce-account .woocommerce-MyAccount-content hr {
  border: none !important;
  border-top: 1.5px solid #E8E8E8 !important;
  margin: 24px 0 !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    flex-direction: column !important;
  }
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 20px 18px !important;
  }
  .woocommerce-account .woocommerce-Addresses,
  .woocommerce-account .u-columns {
    grid-template-columns: 1fr !important;
  }
  .woocommerce-account table.woocommerce-orders-table thead tr th,
  .woocommerce-account table.woocommerce-orders-table tbody tr td {
    padding: 10px 12px !important;
    font-size: 0.8rem !important;
  }
}

/* ============================================================
   SUBMIT BUTTON — CONFLICT FIX
   Targets ONLY WooCommerce account form buttons
   Explicitly resets header search button separately
   ============================================================ */

/* ── 1. WooCommerce account submit buttons ONLY ── */
.woocommerce-account .woocommerce-MyAccount-content input[type="submit"],
.woocommerce-account .woocommerce-MyAccount-content button[type="submit"],
.woocommerce-account .woocommerce-EditAccountForm input[type="submit"],
.woocommerce-account .woocommerce-address-fields input[type="submit"],
.woocommerce-account form.login input[type="submit"],
.woocommerce-account form.register input[type="submit"],
.woocommerce-account form.woocommerce-form input[type="submit"] {
  font-family: 'Inter', sans-serif !important;
  background: #F8C200 !important;
  color: #1C1C1C !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 12px 28px !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  transition: background 0.15s, transform 0.15s !important;
  display: inline-block !important;
  width: auto !important;
}

.woocommerce-account .woocommerce-MyAccount-content input[type="submit"]:hover,
.woocommerce-account .woocommerce-EditAccountForm input[type="submit"]:hover,
.woocommerce-account form.login input[type="submit"]:hover,
.woocommerce-account form.register input[type="submit"]:hover {
  background: #D4A400 !important;
  color: #1C1C1C !important;
  transform: translateY(-1px) !important;
}

/* Category Grid Layout */
.woocommerce ul.products li.product-category {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f3f3f3;
}

/* Hover Effect */
.woocommerce ul.products li.product-category:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* Category Image */
.woocommerce ul.products li.product-category img {
    border-radius: 10px;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Category Title */
.woocommerce ul.products li.product-category h2,
.woocommerce ul.products li.product-category h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 10px 0 5px;
}

/* Product Count */
.woocommerce ul.products li.product-category .count {
    background: #f4f4f4;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    display: inline-block;
}

/* Grid Responsive */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}


.woocommerce ul.products li.product-category {
    background: #f8fff5;
}

.woocommerce ul.products li.product-category img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
}


/* Accordion for Product Categories List widget */

/* Hide children by default */
.product-categories .children {
  display: none;
  padding-left: 14px;
  margin-top: 4px;
}

/* Parent item row */
.product-categories li.cat-parent {
  list-style: none;
  border-bottom: 0.5px solid #eee;
}

/* Parent link */
.product-categories li.cat-parent > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
}

.product-categories li.cat-parent > a:hover {
  color: #5b21b6;
}

/* Arrow via pseudo element */
.product-categories li.cat-parent > a::after {
  content: "›";
  font-size: 18px;
  color: #bbb;
  transition: transform 0.2s ease;
  line-height: 1;
}

.product-categories li.cat-parent.is-open > a::after {
  transform: rotate(90deg);
  color: #5b21b6;
}

/* Child links */
.product-categories .children li a {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  border-radius: 4px;
}

.product-categories .children li a:hover {
  background: #f5f0ff;
  color: #5b21b6;
}

/* Count badge */
.product-categories .count {
  font-size: 11px;
  color: #999;
  background: #f3f3f3;
  padding: 1px 7px;
  border-radius: 20px;
  margin-left: 6px;
}

/* Highlight active category */
.product-categories li.current-cat > a,
.product-categories li.current-cat-parent > a {
  color: #5b21b6;
  font-weight: 600;
}

/* Top level non-parent links */
.product-categories li:not(.cat-parent) > a {
  display: block;
  padding: 10px 4px;
  font-size: 14px;
  color: #333;
  text-decoration: none;
  border-bottom: 0.5px solid #eee;
}

.product-categories li:not(.cat-parent) > a:hover {
  color: #5b21b6;
}