/**
 * Khawaja Brothers Sweets - Modern E-Commerce Styling
 * Inspired by hafizsweets.com
 * Color Palette: Pure Desi Ghee Gold, Roasted Khoya Mahogany, Emerald Pistachio, Ivory
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700;800&family=Noto+Nastaliq+Urdu:wght@400;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #873e23;
  --primary-dark: #582412;
  --primary-light: #ab5734;
  --secondary: #d4af37;
  --secondary-light: #f7e196;
  --secondary-dark: #aa861c;
  --accent-green: #1b5e38;
  --accent-green-light: #e8f5e9;
  --bg-creme: #fdfaf5;
  --bg-card: #ffffff;
  --text-dark: #201815;
  --text-muted: #6e6560;
  --border-light: #eeddc9;
  --shadow-sm: 0 2px 8px rgba(88, 36, 18, 0.06);
  --shadow-md: 0 8px 24px rgba(88, 36, 18, 0.1);
  --shadow-lg: 0 16px 40px rgba(88, 36, 18, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s ease-in-out;
}

/* Base & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-creme);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

body.lang-ur {
  font-family: 'Noto Nastaliq Urdu', 'Plus Jakarta Sans', serif;
  line-height: 2.1;
  direction: rtl;
}

body.lang-ur .product-title,
body.lang-ur .hero-title,
body.lang-ur h1,
body.lang-ur h2,
body.lang-ur h3 {
  font-family: 'Noto Nastaliq Urdu', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #3b1b0d 0%, #612711 50%, #3b1b0d 100%);
  color: #fff;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

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

.top-bar-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--secondary-light);
}

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

.top-bar-link {
  color: #fff;
  opacity: 0.9;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-bar-link:hover {
  color: var(--secondary-light);
  opacity: 1;
}

.lang-btn {
  background: rgba(212, 175, 55, 0.2);
  color: var(--secondary-light);
  border: 1px solid rgba(212, 175, 55, 0.5);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}

.lang-btn:hover {
  background: var(--secondary);
  color: #240e06;
}

/* Main Header */
.main-header {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--border-light);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.brand-text h1 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}

.brand-text span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--secondary-dark);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 460px;
  position: relative;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-creme);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  transition: var(--transition);
}

.search-input-wrap:focus-within {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
  background: #fff;
}

.search-icon {
  font-size: 1rem;
  color: var(--text-muted);
  margin-right: 8px;
}

body.lang-ur .search-icon {
  margin-right: 0;
  margin-left: 8px;
}

.search-input {
  width: 100%;
  border: none;
  background: none;
  outline: none;
  font-size: 0.9rem;
  color: var(--text-dark);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-track {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-creme);
  border: 1px solid var(--border-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

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

.btn-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(88, 36, 18, 0.25);
  transition: var(--transition);
}

.btn-header-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(88, 36, 18, 0.35);
}

.cart-badge {
  background: var(--secondary);
  color: #240e06;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Secondary Navigation Bar */
.nav-bar {
  background: #2a1107;
  color: #fff;
}

.nav-bar .container {
  display: flex;
  align-items: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.nav-bar .container::-webkit-scrollbar {
  display: none;
}

.nav-link {
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #e5ded8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-light);
  border-bottom-color: var(--secondary);
  background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #240e06 0%, #441a0b 60%, #240e06 100%);
  color: #fff;
  padding: 60px 0 70px;
  overflow: hidden;
  border-bottom: 4px solid var(--secondary);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.12) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.6;
}

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--secondary);
  color: var(--secondary-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: 'Cinzel', serif;
}

.hero-highlight {
  color: var(--secondary-light);
  display: block;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.hero-sub {
  font-size: 1.7rem;
  color: #f7e196;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.05rem;
  color: #e5ded8;
  max-width: 580px;
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.btn-cta-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
}

.btn-cta-whatsapp:hover {
  transform: translateY(-2px);
  background: #1eb956;
}

.btn-cta-menu {
  background: transparent;
  color: #fff;
  border: 2px solid var(--secondary);
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-cta-menu:hover {
  background: var(--secondary);
  color: #240e06;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--secondary-light);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 175, 55, 0.2);
  border: 4px solid var(--secondary);
}

.hero-image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(36, 14, 6, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1.5px solid var(--secondary);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

body.lang-ur .hero-floating-badge {
  right: auto;
  left: 20px;
}

.badge-seal {
  font-size: 2rem;
}

.badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--secondary-light);
}

.badge-text span {
  font-size: 0.8rem;
  color: #e5ded8;
}

/* Spotlight 4-in-1 Tin Banner (Hafiz Sweets Signature) */
.spotlight-section {
  padding: 40px 0 20px;
}

.spotlight-banner {
  background: linear-gradient(135deg, #fff7ea 0%, #faebd7 100%);
  border: 2px dashed var(--secondary-dark);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow-sm);
}

.spotlight-badge {
  background: var(--accent-green);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 8px;
}

.spotlight-info h2 {
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
}

.spotlight-info p {
  color: var(--text-muted);
  max-width: 720px;
  font-size: 0.95rem;
}

.btn-spotlight-order {
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
  color: #240e06;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(170, 134, 28, 0.35);
  white-space: nowrap;
  transition: var(--transition);
}

.btn-spotlight-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(170, 134, 28, 0.45);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
  font-family: 'Cinzel', serif;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-creme);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-select {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #fff;
  font-size: 0.85rem;
  color: var(--text-dark);
  font-family: inherit;
  outline: none;
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 26px;
  margin-bottom: 60px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.product-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f4ede4;
}

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

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

body.lang-ur .product-badge {
  left: auto;
  right: 12px;
}

.quick-view-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition);
}

.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateY(0);
}

body.lang-ur .quick-view-btn {
  right: auto;
  left: 12px;
}

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

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #f59e0b;
  margin-bottom: 6px;
}

.rating-count {
  color: var(--text-muted);
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  line-height: 1.3;
}

.product-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.weight-picker-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.weight-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.weight-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-creme);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.weight-pill:hover,
.weight-pill.active {
  background: #3b1b0d;
  color: #fff;
  border-color: #3b1b0d;
}

.product-pricing {
  margin-top: auto;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.price-note {
  font-size: 0.75rem;
  color: var(--accent-green);
  font-weight: 700;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.btn-add-cart {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--primary-dark);
}

.btn-whatsapp-direct {
  background: #e8f5e9;
  color: #1b5e38;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #c8e6c9;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.btn-whatsapp-direct:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

/* Slide-out Cart Drawer */
.cart-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 440px;
  max-width: 90vw;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body.lang-ur .cart-drawer {
  right: auto;
  left: -450px;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.open {
  right: 0;
}

body.lang-ur .cart-drawer.open {
  left: 0;
}

.cart-header {
  padding: 18px 24px;
  background: var(--primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.close-btn {
  font-size: 1.4rem;
  color: #fff;
  opacity: 0.8;
  transition: var(--transition);
}

.close-btn:hover {
  opacity: 1;
}

.cart-free-shipping-bar {
  background: #fff8e1;
  border-bottom: 1px solid #ffe082;
  padding: 10px 20px;
  font-size: 0.85rem;
  text-align: center;
  font-weight: 600;
  color: #5d4037;
}

.cart-free-shipping-bar .unlocked {
  color: var(--accent-green);
  font-weight: 700;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty .empty-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.cart-item-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-creme);
}

.qty-stepper button {
  padding: 2px 10px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.qty-stepper .qty-num {
  padding: 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-total {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

.btn-cart-remove {
  color: #9ca3af;
  font-size: 1rem;
  padding: 4px;
  transition: var(--transition);
}

.btn-cart-remove:hover {
  color: #ef4444;
}

.cart-footer {
  padding: 20px 24px;
  background: var(--bg-creme);
  border-top: 1px solid var(--border-light);
}

/* Coupon & City Row in Cart */
.cart-options-wrap {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coupon-box {
  display: flex;
  gap: 8px;
}

.coupon-box input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  text-transform: uppercase;
}

.coupon-box button {
  background: var(--secondary-dark);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
}

.coupon-msg {
  font-size: 0.8rem;
  padding: 4px 0;
  display: none;
}

.coupon-msg.success {
  color: var(--accent-green);
  font-weight: 600;
}

.coupon-msg.error {
  color: #dc2626;
  font-weight: 600;
}

.city-select-box select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  background: #fff;
  outline: none;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-summary-line.grand-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 8px;
  padding-top: 10px;
  border-top: 2px solid var(--border-light);
}

.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.btn-checkout-wa {
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
}

.btn-checkout-wa:hover {
  background: #1eb956;
}

.btn-checkout-web {
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-checkout-web:hover {
  background: var(--primary-dark);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  position: relative;
}

.modal-header {
  padding: 20px 24px;
  background: var(--primary-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-body {
  padding: 24px;
}

/* Forms */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-dark);
  font-family: inherit;
  outline: none;
  background: #fff;
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--secondary-dark);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--bg-creme);
}

.btn-submit-order {
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(88, 36, 18, 0.25);
  margin-top: 10px;
  transition: var(--transition);
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(88, 36, 18, 0.35);
}

/* Order Success State */
.order-success-content {
  text-align: center;
  padding: 20px 10px;
}

.success-icon {
  font-size: 3.5rem;
  margin-bottom: 12px;
}

.tracking-box-pill {
  background: var(--bg-creme);
  border: 2px dashed var(--secondary);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 20px 0;
  display: inline-block;
}

.tracking-code-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 2px;
  margin: 6px 0;
}

/* 5-Stage Order Tracking Timeline */
.timeline-stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
  position: relative;
}

.timeline-stepper::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 4px;
  background: var(--border-light);
  z-index: 0;
}

.step-node {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.step-node.completed .step-circle {
  border-color: var(--accent-green);
  background: #e8f5e9;
}

.step-node.active .step-circle {
  border-color: var(--secondary);
  background: var(--secondary-light);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

.step-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  max-width: 90px;
}

.step-node.completed .step-label {
  color: var(--accent-green);
}

.step-node.active .step-label {
  color: var(--primary);
}

.tracking-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--bg-creme);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-top: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

.meta-val.highlight {
  color: var(--accent-green);
}

/* Heritage Section */
.heritage-section {
  background: #fff;
  padding: 70px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.heritage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.heritage-badge {
  color: var(--secondary-dark);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.heritage-content h2 {
  font-size: 2.3rem;
  color: var(--primary);
  font-family: 'Cinzel', serif;
  margin-bottom: 20px;
}

.heritage-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.heritage-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--secondary-light);
}

/* Why Choose Us Grid */
.why-section {
  padding: 70px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Outlets Section */
.outlets-section {
  padding: 60px 0;
  background: var(--bg-creme);
}

.outlets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.outlet-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.outlet-badge {
  background: var(--secondary-light);
  color: #582412;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.outlet-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.outlet-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.btn-outlet-maps {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-outlet-maps:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Reviews & Testimonials */
.reviews-section {
  padding: 70px 0;
  background: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--bg-creme);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

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

.reviewer-name {
  font-weight: 700;
  color: var(--text-dark);
}

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

.review-stars {
  color: #f59e0b;
}

.review-comment {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-style: italic;
}

/* Bulk Order Form */
.bulk-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #240e06 0%, #3b1b0d 100%);
  color: #fff;
}

.bulk-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.bulk-wrap h2 {
  color: var(--secondary-light);
  font-family: 'Cinzel', serif;
  text-align: center;
  margin-bottom: 10px;
}

.bulk-wrap p {
  text-align: center;
  color: #e5ded8;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.bulk-wrap .form-label {
  color: #f7e196;
}

.bulk-wrap .form-input,
.bulk-wrap .form-select,
.bulk-wrap .form-textarea {
  background: rgba(255, 255, 255, 0.9);
}

/* Footer */
.main-footer {
  background: #190903;
  color: #e5ded8;
  padding: 60px 0 30px;
  border-top: 3px solid var(--secondary);
}

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

.footer-brand h2 {
  font-size: 1.5rem;
  color: var(--secondary-light);
  font-family: 'Cinzel', serif;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #a89f91;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
  padding-bottom: 4px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #a89f91;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #8c8273;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

body.lang-ur .floating-whatsapp-btn {
  left: auto;
  right: 24px;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
}

/* Toast Message */
.kb-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(36, 14, 6, 0.95);
  color: #fff;
  border: 1px solid var(--secondary);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 3000;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.kb-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Delivery Zone Map & Checkout Validation */
.modal-card.modal-card-wide {
  max-width: 760px;
}

.delivery-mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.delivery-location-box {
  background: var(--bg-creme);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 16px;
}

.location-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.btn-gps-location {
  background: var(--accent-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gps-location:hover {
  background: #14482a;
}

.location-search-group {
  flex: 1;
  min-width: 210px;
  display: flex;
  gap: 6px;
}

.location-search-group input {
  flex: 1;
  padding: 8px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  background: #fff;
}

.btn-search-loc {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.delivery-map-container {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  background: #f3ece1;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.coords-meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 6px 10px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.delivery-status-banner {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.delivery-status-banner.pending {
  background: #fef9e7;
  color: #856404;
  border: 1px solid #ffe082;
}

.delivery-status-banner.available {
  background: #e7f5ec;
  color: #1b5e38;
  border: 1px solid #86efac;
}

.delivery-status-banner.unavailable {
  background: #fdedec;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.checkout-error-banner {
  display: none;
  background: #fdedec;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.btn-submit-order:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  filter: grayscale(40%);
}

.cart-zone-notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #6b4c1c;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin: 0 auto 30px;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .spotlight-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .heritage-grid {
    grid-template-columns: 1fr;
  }
  .outlets-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .main-header .container {
    flex-wrap: wrap;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-sub {
    font-size: 1.3rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .delivery-mode-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .timeline-stepper {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .timeline-stepper::before {
    display: none;
  }
  .step-node {
    flex-direction: row;
    gap: 12px;
  }
}
