/* ==========================================================================
   County Basket Pvt. Ltd. - Modern E-Commerce & App-Like Design System
   Brands: CountyGir™ & County Gold™
   Aesthetics: Clean App Feel, Compact Slider, Rich Emerald & Gold Accents
   ========================================================================== */

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

:root {
  --primary-deep: #092e21;
  --primary-emerald: #0d4635;
  --primary-forest: #145944;
  --primary-light: #eaf5f0;
  
  --gold-primary: #d4af37;
  --gold-glow: #f0cf65;
  --gold-dark: #a17c18;
  --gold-soft: #fcf8ee;
  --gold-gradient: linear-gradient(135deg, #f5d47e 0%, #d4af37 100%);
  
  --bg-app: #f6f8f7;
  --bg-card: #ffffff;
  
  --text-dark: #141f19;
  --text-muted: #5e6f66;
  --text-light: #8e9e95;
  
  --border-light: #e4ebe7;
  --border-gold: rgba(212, 175, 55, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(9, 46, 33, 0.08);
  --shadow-lg: 0 12px 32px rgba(9, 46, 33, 0.14);
  
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Cinzel', serif;
  --font-gujarati: 'Noto Sans Gujarati', sans-serif;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.gujarati-text {
  font-family: var(--font-gujarati);
}

/* ==========================================================================
   Top App Header (Sticky, Compact, Never Overflows)
   ========================================================================== */

.app-topbar {
  background: #061f16;
  color: #cfded6;
  padding: 6px 16px;
  font-size: 0.76rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.app-topbar-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.topbar-badge {
  background: var(--gold-gradient);
  color: #151103;
  font-weight: 800;
  font-size: 0.68rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

.topbar-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.topbar-links a {
  color: #c0d1c8;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.topbar-links a:hover {
  color: var(--gold-glow);
}

/* Main Sticky Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.app-header-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  flex-shrink: 0;
}

.app-logo-badge {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #093427, #0f4c3a);
  border: 2px solid var(--gold-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-primary);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.25);
  flex-shrink: 0;
}

.app-brand-info {
  display: flex;
  flex-direction: column;
}

.app-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: 0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.app-brand-name span {
  color: var(--gold-dark);
}

.app-brand-location {
  font-size: 0.7rem;
  font-weight: 700;
  color: #107e4d;
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.btn-app-wa {
  background: #25D366;
  color: #ffffff;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-app-wa:hover {
  background: #1eb855;
  transform: translateY(-1px);
}

.btn-app-cart {
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(9, 46, 33, 0.2);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-app-cart:hover {
  background: var(--primary-emerald);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: var(--gold-gradient);
  color: #191404;
  font-size: 0.72rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* App Search Bar (Quick Instant Filtering) */
.app-search-wrap {
  position: relative;
  width: 100%;
}

.app-search-input {
  width: 100%;
  background: #f1f5f3;
  border: 1px solid #d9e3de;
  border-radius: var(--radius-md);
  padding: 10px 14px 10px 40px;
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
}

.app-search-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(13, 70, 53, 0.1);
}

.app-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

/* ==========================================================================
   Compact Hero Banner Carousel (App Slider)
   ========================================================================== */

.app-slider-section {
  max-width: 1360px;
  margin: 14px auto 8px auto;
  padding: 0 16px;
}

.banner-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #000000;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  cursor: pointer;
  background: #071911;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  object-fit: contain;
  display: block;
}

/* Carousel Nav Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--gold-primary);
}

.carousel-arrow.prev { left: 14px; }
.carousel-arrow.next { right: 14px; }

/* Carousel Dots */
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.45);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  width: 24px;
  background: var(--gold-primary);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

/* ==========================================================================
   App Category Pills / Circles (Quick Filter Row)
   ========================================================================== */

.app-categories-section {
  max-width: 1360px;
  margin: 16px auto;
  padding: 0 16px;
}

.category-pills-row {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

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

.category-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  padding: 6px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.category-circle-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.category-circle-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.category-all-icon {
  background: linear-gradient(135deg, #092e21, #134e3a);
  color: #f3cf7a;
}

.category-circle-card:hover .category-circle-icon,
.category-circle-card.active .category-circle-icon {
  border-color: var(--gold-primary);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.category-circle-card:hover .category-circle-thumb {
  transform: scale(1.12);
}

.category-circle-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  transition: var(--transition);
}

.category-circle-card.active .category-circle-label {
  color: #092e21;
  font-weight: 800;
}

.trust-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.16);
  color: #d4af37;
  flex-shrink: 0;
}

/* ==========================================================================
   App Products Grid (Clean Cards, Stepper Controls)
   ========================================================================== */

.app-products-section {
  max-width: 1360px;
  margin: 20px auto 70px auto;
  padding: 0 16px;
}

.section-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-app-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

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

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

.card-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  background: #fafafa;
  overflow: hidden;
}

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

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

.card-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold-gradient);
  color: #1a1608;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.card-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-brand-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.25;
  margin-bottom: 4px;
}

.card-gujarati {
  font-size: 0.8rem;
  color: #107e4d;
  font-weight: 700;
  margin-bottom: 8px;
}

/* Variant Selector in card */
.card-variant-select {
  width: 100%;
  background: #f7faf8;
  border: 1px solid #dbe6e0;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  cursor: pointer;
}

.card-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.card-price-col {
  display: flex;
  flex-direction: column;
}

.card-curr-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.1;
}

.card-mrp-price {
  font-size: 0.78rem;
  color: var(--text-light);
  text-decoration: line-through;
}

/* Interactive Add / Stepper Button (Blinkit / Zepto App style!) */
.app-add-btn-wrap {
  width: 105px;
  flex-shrink: 0;
}

.btn-card-add {
  width: 100%;
  background: #ffffff;
  color: #107e4d;
  border: 1.5px solid #107e4d;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.btn-card-add:hover {
  background: #107e4d;
  color: #ffffff;
}

.card-stepper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #107e4d;
  color: #ffffff;
  border-radius: 8px;
  padding: 4px 6px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(16, 126, 77, 0.25);
}

.card-stepper button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  width: 26px;
  height: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.card-stepper button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.card-stepper span {
  font-size: 0.86rem;
}

/* ==========================================================================
   Floating Bottom Cart Bar (App Feel)
   ========================================================================== */

.floating-cart-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  max-width: 500px;
  width: calc(100% - 32px);
  background: linear-gradient(135deg, #093427, #0d4635);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--gold-primary);
  z-index: 150;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
}

.floating-cart-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.floating-cart-count {
  background: var(--gold-gradient);
  color: #120e03;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.floating-cart-total {
  font-size: 1.05rem;
  font-weight: 800;
}

.floating-cart-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gold-glow);
}

/* ==========================================================================
   Trust Badges Mini Strip
   ========================================================================== */

.app-trust-strip {
  max-width: 1360px;
  margin: 10px auto 30px auto;
  padding: 0 16px;
}

.trust-strip-inner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.trust-strip-item span {
  font-size: 1.15rem;
}

/* ==========================================================================
   Cart Drawer, Checkout & Modals (Preserved & Polished)
   ========================================================================== */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 440px;
  max-width: 95vw;
  height: 100vh;
  background: #ffffff;
  z-index: 201;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-overlay.active .cart-drawer {
  right: 0;
}

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

.cart-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.cart-close-btn {
  background: #f0f4f2;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.free-shipping-progress {
  background: #faf8f3;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.progress-bar-bg {
  height: 6px;
  background: #e2e8e5;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 5px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: #f7f7f7;
  border: 1px solid var(--border-light);
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.cart-item-variant {
  font-size: 0.76rem;
  color: var(--gold-dark);
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-dark);
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #c7d4cd;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.qty-display {
  font-size: 0.85rem;
  font-weight: 700;
  width: 20px;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #e02424;
  cursor: pointer;
  font-size: 0.8rem;
  margin-left: auto;
  align-self: flex-start;
}

.cart-footer {
  padding: 18px;
  border-top: 1px solid var(--border-light);
  background: #fbf9f6;
}

.coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.coupon-input {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid #ccd8d1;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 700;
}

.coupon-btn {
  background: var(--primary-deep);
  color: #ffffff;
  border: none;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-totals-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.cart-total-line.grand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
  border-top: 1px dashed var(--border-light);
  padding-top: 6px;
}

.btn-checkout {
  width: 100%;
  padding: 13px;
  background: var(--gold-gradient);
  color: #171305;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transition: var(--transition);
}

.btn-checkout:hover {
  filter: brightness(1.05);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

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

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccd8d1;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
}

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

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 6px;
}

.payment-radio-label {
  border: 1px solid #ccd8d1;
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
}

.payment-radio-label input { display: none; }
.payment-radio-label.selected {
  background: #faf4e3;
  border-color: var(--gold-primary);
  color: #7b5907;
}

/* Footer & Addresses */
.app-footer {
  background: #061912;
  color: #bcd1c7;
  padding: 50px 16px 20px 16px;
  border-top: 3px solid var(--gold-primary);
}

.app-footer-grid {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 30px;
  margin-bottom: 30px;
}

.app-footer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.app-footer-bottom {
  max-width: 1360px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .app-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card-img-wrap {
    height: 150px;
  }
  .card-content {
    padding: 10px;
  }
  .card-title {
    font-size: 0.86rem;
  }
  .card-curr-price {
    font-size: 1rem;
  }
  .app-footer-grid {
    grid-template-columns: 1fr;
  }
  .topbar-links {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .carousel-slide img {
    height: auto;
    aspect-ratio: 1376 / 768;
  }
}
