/* ==============================================================================
   EXOHORN TRADE HANDICRAFTS - PURE CSS STYLESHEET
   Location: assets/css/style.css
   ============================================================================== */

:root {
  --color-bg: #FAF8F5;
  --color-card-bg: #FFFFFF;
  --color-dark: #191614;
  --color-darker: #12100E;
  --color-border: #E5DFD5;
  --color-border-dark: #3E3832;
  --color-gold: #C59E47;
  --color-gold-light: #E6CA65;
  --color-gold-dark: #8C6D23;
  --color-emerald: #25D366;
  --color-emerald-dark: #1EBE5D;
  --color-text-main: #1F1B18;
  --color-text-muted: #78716C;
  --color-text-light: #EDE8E1;
  --color-danger: #EF4444;
  
  --font-display: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 35px -5px rgba(0,0,0,0.15);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography Helpers */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.text-gold { color: var(--color-gold); }
.text-emerald { color: var(--color-emerald); }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }

/* 1. Top Announcement Notification Bar */
.top-announcement-bar {
  background: var(--color-darker);
  color: var(--color-text-light);
  font-size: 0.725rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border-dark);
}

.announcement-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.announcement-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.announcement-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.top-wa-link {
  color: var(--color-emerald);
  font-weight: 600;
}

.top-wa-link:hover {
  color: #fff;
}

.top-admin-link {
  color: var(--color-gold-light);
}

.divider {
  color: #555;
}

/* 2. Main Navigation Header */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(25, 22, 20, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-dark);
  color: #fff;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-dark);
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(197, 158, 71, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  line-height: 1.1;
}

.brand-trade-badge {
  display: inline-block;
  background: rgba(197, 158, 71, 0.2);
  color: var(--color-gold-light);
  border: 1px solid rgba(197, 158, 71, 0.4);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 1px 4px;
  border-radius: 4px;
  margin-top: 2px;
  width: fit-content;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #c9c3b8;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link.active::after, .nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.currency-dropdown select {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.currency-dropdown select option {
  background: var(--color-dark);
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
}

.btn-whatsapp-header {
  background: var(--color-emerald);
  color: #fff;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 700;
}

.btn-whatsapp-header:hover {
  background: var(--color-emerald-dark);
  transform: translateY(-1px);
}

.cart-trigger-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.cart-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-gold);
  color: var(--color-dark);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  padding: 0.25rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  background: var(--color-dark);
  z-index: 200;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  padding: 1.5rem;
}

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

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

.mobile-drawer-close {
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-link {
  color: #d1cbc2;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.mobile-nav-link:hover {
  color: #fff;
}

.btn-whatsapp-full {
  width: 100%;
  background: var(--color-emerald);
  color: #fff;
  padding: 0.75rem;
}

/* 3. Hero Section */
.hero-section {
  background: linear-gradient(180deg, var(--color-dark) 0%, #221e1a 100%);
  color: #fff;
  padding: 3.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(197, 158, 71, 0.15);
  border: 1px solid rgba(197, 158, 71, 0.35);
  color: var(--color-gold-light);
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-desc {
  color: #b8aea2;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-dark);
  box-shadow: 0 4px 15px rgba(197, 158, 71, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 158, 71, 0.4);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(197, 158, 71, 0.3);
  box-shadow: var(--shadow-xl);
}

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

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

.hero-card-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.hero-card-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-gold-light);
}

/* 4. Trust Strip */
.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 1.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(197, 158, 71, 0.12);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
}

.trust-text p {
  font-size: 0.725rem;
  color: var(--color-text-muted);
}

/* 5. Section Layouts */
.section-padding {
  padding: 4rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-dark);
  line-height: 1.2;
}

.section-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* 6. Category Cards Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

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

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.category-img {
  height: 120px;
  overflow: hidden;
}

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

.category-card:hover .category-img img {
  transform: scale(1.08);
}

.category-info {
  padding: 0.85rem;
  text-align: center;
}

.category-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-dark);
  font-family: var(--font-display);
}

.category-count {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* 7. Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

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

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 158, 71, 0.4);
}

.product-img-wrap {
  position: relative;
  height: 230px;
  background: #f4efe8;
  overflow: hidden;
}

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

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

.product-badge-group {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.badge-featured {
  background: var(--color-dark);
  color: var(--color-gold-light);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(197, 158, 71, 0.4);
}

.badge-moq {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-dark);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.product-details {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-sku {
  font-family: var(--font-mono);
  font-size: 0.675rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-transform: uppercase;
}

.product-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0.25rem 0 0.35rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6rem;
}

.product-material {
  font-size: 0.725rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-border);
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-dark);
}

.product-price-range {
  font-size: 0.725rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.btn-add-cart {
  background: var(--color-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
}

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

.btn-wa-inquire {
  background: rgba(37, 211, 102, 0.15);
  color: var(--color-emerald-dark);
  border: 1px solid rgba(37, 211, 102, 0.35);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.btn-wa-inquire:hover {
  background: var(--color-emerald);
  color: #fff;
}

/* 8. Sambhal Artisanship Editorial Story */
.story-section {
  background: var(--color-dark);
  color: #EDE8E1;
  padding: 5rem 0;
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  position: relative;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.story-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(197, 158, 71, 0.3);
  box-shadow: var(--shadow-xl);
}

.story-img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(18, 16, 14, 0.85);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 158, 71, 0.3);
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-gold-light);
  font-family: var(--font-display);
}

.stat-label {
  font-size: 0.725rem;
  color: #b8aea2;
}

/* 9. Shopping Cart Page */
.cart-page {
  padding: 3rem 0 5rem;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.cart-table-card, .cart-summary-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cart-table th {
  text-align: left;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.cart-table td {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.cart-product-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-product-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.cart-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
}

.qty-btn {
  background: #f5f3ef;
  padding: 0.35rem 0.65rem;
  font-size: 0.85rem;
  color: var(--color-dark);
}

.qty-input {
  width: 40px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
}

.btn-remove-item {
  background: transparent;
  color: var(--color-danger);
  font-size: 0.95rem;
  padding: 0.35rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.summary-row.total {
  font-size: 1.15rem;
  font-weight: 800;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* 10. Checkout Page */
.checkout-page {
  padding: 3rem 0 5rem;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr;
  gap: 2.5rem;
}

.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #FAF8F5;
  font-size: 0.875rem;
  transition: var(--transition);
}

.form-control:focus {
  background: #fff;
  border-color: var(--color-gold);
}

.payment-method-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FAF8F5;
  transition: var(--transition);
}

.payment-method-card.active, .payment-method-card:hover {
  border-color: var(--color-gold);
  background: #fff;
}

/* 11. Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.open {
  display: flex;
}

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

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f4efe8;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.modal-img-col img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.modal-info-col {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* 12. Floating WhatsApp Widget */
.floating-whatsapp-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
}

.floating-whatsapp-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: #fff;
  font-size: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.25s ease;
}

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

.floating-wa-ping {
  position: absolute;
  top: 0;
  right: 0;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  border: 2px solid var(--color-emerald);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.whatsapp-popup {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 320px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: none;
  flex-direction: column;
}

.whatsapp-popup.open {
  display: flex;
}

.whatsapp-popup-header {
  background: var(--color-dark);
  color: #fff;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-emerald);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-header-info strong {
  display: block;
  font-size: 0.85rem;
}

.wa-header-info span {
  font-size: 0.65rem;
  color: var(--color-emerald);
}

.wa-popup-close {
  margin-left: auto;
  background: transparent;
  color: #aaa;
  font-size: 1.1rem;
}

.whatsapp-popup-body {
  padding: 1rem;
  background: #FAF8F5;
}

.wa-bubble {
  background: #fff;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  border: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
}

.wa-quick-options {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wa-quick-btn {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.725rem;
  text-align: left;
  transition: var(--transition);
}

.wa-quick-btn:hover {
  background: #f2eee9;
  border-color: var(--color-emerald);
}

/* 13. Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-dark);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(197, 158, 71, 0.4);
  z-index: 1100;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification i {
  color: var(--color-emerald);
}

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

/* 14. Footer */
.site-footer {
  background: var(--color-darker);
  color: #EDE8E1;
  border-top: 1px solid var(--color-border-dark);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 0.8rem;
  color: #A89F91;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.btn-whatsapp-sm {
  background: var(--color-emerald);
  color: #fff;
  padding: 0.5rem 0.85rem;
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: #A89F91;
}

.footer-links a:hover {
  color: #fff;
}

.factory-info p {
  font-size: 0.8rem;
  color: #A89F91;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.government-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.725rem;
  font-weight: 700;
  color: var(--color-emerald);
  margin-top: 0.85rem;
  background: rgba(37, 211, 102, 0.1);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(37, 211, 102, 0.25);
}

.sub-footer {
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: #777;
}

.sub-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.payment-badges {
  display: flex;
  gap: 1.25rem;
  font-size: 0.775rem;
  color: #999;
}

/* 15. Admin Portal Specific CSS */
.admin-body {
  background: #f4efe8;
}

.admin-header {
  background: var(--color-dark);
  color: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border-dark);
}

.admin-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-nav {
  display: flex;
  gap: 1rem;
}

.admin-nav a {
  color: #ccc;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.admin-nav a.active, .admin-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: #fff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.admin-stat-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
}

.admin-stat-card span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.admin-table-card {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.825rem;
}

.admin-table th {
  background: #FAF8F5;
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-weight: 700;
}

.admin-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.btn-action-edit {
  color: var(--color-gold-dark);
  margin-right: 0.5rem;
}

.btn-action-del {
  color: var(--color-danger);
}

/* ============================================
   FINAL RESPONSIVE FIX (Sabse Zaroori)
   ============================================ */

/* Prevent Horizontal Scroll */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Mobile Par Saare Grid Single Column */
@media (max-width: 768px) {
  .hero-grid,
  .story-grid,
  .category-grid,
  .product-grid,
  .trust-grid,
  .cart-grid,
  .checkout-grid,
  .admin-stats-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  /* Header Fix */
  .header-container {
    width: 100% !important;
    padding: 0.75rem !important;
  }

  /* Product Card Fix */
  .product-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-img-wrap {
    height: 200px !important;
  }

  /* Category Fix */
  .category-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Container Fix */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
  }

  /* Hero Section Fix */
  .hero-section {
    padding: 2rem 0 !important;
  }

  .hero-title {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
  }

  .hero-desc {
    font-size: 0.85rem !important;
    max-width: 100% !important;
  }

  /* Story Section Fix */
  .story-section {
    padding: 3rem 0 !important;
  }

  .story-img-frame img {
    height: 250px !important;
  }

  /* Cart & Checkout Fix */
  .cart-page, .checkout-page {
    padding: 2rem 0 !important;
  }

  .cart-table, .checkout-grid {
    width: 100% !important;
  }

  /* Admin Table Fix */
  .admin-table {
    font-size: 0.75rem !important;
  }

  .admin-table-card {
    padding: 1rem !important;
    overflow-x: auto !important;
  }
}