/* ===================================================================
   bootsy E-Commerce Design System & Global Styles
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&display=swap');

:root {
  --primary: #d9383a;
  --primary-hover: #b8282a;
  --primary-light: #fff1f1;
  --secondary: #8b4513;
  --secondary-dark: #5c2c09;
  --dark: #121212;
  --dark-soft: #232323;
  --text-main: #222222;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-main: #ffffff;
  --bg-light: #fafafa;
  --bg-soft: #f4f4f5;
  --border-color: #ebebeb;
  --border-subtle: #f0f0f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --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 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

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

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.text-primary {
  color: var(--primary);
}

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

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--dark);
  color: #fff;
  padding: 13px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid var(--dark);
  text-transform: capitalize;
}

.btn-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 56, 58, 0.25);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition);
}

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

.btn-outline {
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline:hover {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
}

/* ===================================================================
   Header & Navigation
   =================================================================== */

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease, background 0.25s ease;
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.brand-logo .logo-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: var(--primary);
}

.brand-logo .logo-icon svg {
  width: 32px;
  height: 32px;
}

/* Navigation Links */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background-color: var(--primary);
  border-radius: 50%;
}

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

.action-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--dark);
  transition: var(--transition);
}

.action-icon-btn:hover {
  background-color: var(--bg-soft);
  color: var(--primary);
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  background-color: var(--dark);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.action-icon-btn:hover .badge-count {
  background-color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
}

/* ===================================================================
   Slide-over Cart Drawer
   =================================================================== */

.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

.close-btn {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  transition: var(--transition);
}

.close-btn:hover {
  color: var(--dark);
  transform: rotate(90deg);
}

/* Free Shipping Meter */
.free-shipping-box {
  background-color: var(--bg-soft);
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-color);
}

.free-shipping-text {
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.shipping-bar-bg {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.shipping-bar-fill {
  height: 100%;
  background: var(--primary);
  width: 0%;
  border-radius: 3px;
  transition: width 0.4s ease;
}

/* Cart Items Container */
.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cart-drawer-item {
  display: flex;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.cart-item-name:hover {
  color: var(--primary);
}

.cart-item-remove {
  color: var(--text-light);
  font-size: 1.3rem;
  line-height: 1;
}

.cart-item-remove:hover {
  color: var(--primary);
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 4px 0 8px;
}

.color-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

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

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

.qty-stepper button {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  font-size: 0.9rem;
  font-weight: 600;
}

.qty-stepper button:hover {
  background: #e5e7eb;
}

.qty-stepper span {
  min-width: 28px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item-pricing {
  text-align: right;
}

.price-current {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}

.unit-price {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

/* Empty State */
.empty-cart-state {
  text-align: center;
  padding: 40px 10px;
  margin: auto;
}

.empty-icon {
  margin-bottom: 16px;
}

.empty-cart-state h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.empty-cart-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

/* Cart Footer */
.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: #ffffff;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 1.15rem;
  font-weight: 700;
}

.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

.cart-guarantee-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===================================================================
   Modals (Redesigned Checkout Modal per User Feedback)
   =================================================================== */

.modal-wrapper {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-wrapper.open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-shadow: var(--shadow-xl);
  z-index: 2;
  padding: 30px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-wrapper.open .modal-dialog {
  transform: translateY(0);
}

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

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

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition);
  background: #fff;
}

.form-control:focus {
  outline: none;
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(18, 18, 18, 0.08);
}

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

/* Delivery Area Selection Radios (Inside Dhaka ৳80 vs Outside Dhaka ৳150) */
.delivery-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

.delivery-radio-card {
  position: relative;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  user-select: none;
}

.delivery-radio-card:hover {
  border-color: #cbd5e1;
}

.delivery-radio-card input[type="radio"] {
  appearance: auto;
  accent-color: var(--primary);
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}

/* Active red outline ONLY when checked */
.delivery-radio-card.selected,
.delivery-radio-card:has(input[type="radio"]:checked) {
  border-color: var(--primary) !important;
  background: #fff8f8 !important;
  box-shadow: 0 0 0 1px var(--primary);
}

.delivery-radio-card:not(:has(input[type="radio"]:checked)):not(.selected) {
  border-color: var(--border-color) !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.delivery-radio-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--dark);
  display: block;
}

.delivery-radio-fee {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
}

/* Order Summary Box in Checkout */
.checkout-breakdown-box {
  background: #fbfbfb;
  border: 1px solid #eeeeee;
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 20px 0;
}

.checkout-breakdown-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.checkout-breakdown-row.total-row {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
}

.checkout-breakdown-row.total-row span:last-child {
  color: var(--primary);
}

/* Search Modal */
.search-input-box {
  position: relative;
  margin-bottom: 24px;
}

.search-input-box input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 1.1rem;
}

.search-input-box input:focus {
  border-color: var(--primary);
  outline: none;
}

.search-icon-inside {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 380px;
  overflow-y: auto;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.search-result-item:hover {
  background: var(--bg-soft);
}

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: var(--dark);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--dark);
  min-width: 300px;
  max-width: 420px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-item.toast-success {
  border-left-color: #10b981;
}

.toast-item.toast-success .toast-icon {
  color: #10b981;
}

.toast-item.toast-info {
  border-left-color: var(--primary);
}

.toast-item.toast-info .toast-icon {
  color: var(--primary);
}

.toast-msg {
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
}

.toast-close {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* ===================================================================
   Mobile Bottom Bar
   =================================================================== */

.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  z-index: 900;
  padding: 8px 16px max(10px, env(safe-area-inset-bottom, 10px));
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  will-change: transform;
}

.mobile-bottom-nav.nav-hidden {
  transform: translateY(115%);
  pointer-events: none;
}

.mobile-bottom-nav ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.mobile-nav-item.active {
  color: var(--primary);
}

.mobile-nav-item.center-btn {
  background: var(--primary);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: 0 6px 14px rgba(217, 56, 58, 0.35);
}

/* ===================================================================
   Footer
   =================================================================== */

.site-footer {
  background-color: #111111;
  color: #cccccc;
  padding: 80px 0 30px;
  margin-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid #222222;
}

.footer-brand .brand-logo {
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-brand p {
  color: #999999;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #222222;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-circle:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: #999999;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.newsletter-form {
  display: flex;
  margin-top: 16px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: #222222;
  padding: 4px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: #ffffff;
  outline: none;
}

.newsletter-form button {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
}

.newsletter-form button:hover {
  background: var(--primary-hover);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 0.85rem;
  color: #777777;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* Footer Accordion Base (Desktop) */
.accordion-chevron {
  display: none !important;
}

.footer-accordion-menu {
  display: flex !important;
}

@media (max-width: 768px) {
  .site-footer {
    padding: 35px 0 85px;
    margin-top: 50px;
  }

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

  /* Center Logo and move higher up on mobile */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #222222;
  }

  .footer-brand .brand-logo {
    margin-bottom: 8px;
    margin-top: -6px;
    transform: scale(1.08);
  }

  /* REMOVE / HIDE text right below logo on mobile as instructed */
  .footer-brand-desc,
  .footer-brand p {
    display: none !important;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 4px;
  }

  /* Collapsible Accordion Columns on Mobile */
  .footer-col.footer-accordion {
    border-bottom: 1px solid #222222;
    padding: 0;
    margin-bottom: 0;
  }

  .footer-accordion-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 14px 4px;
    margin-bottom: 0 !important;
    font-size: 0.98rem;
    color: #ffffff;
    user-select: none;
  }

  .accordion-chevron {
    display: block !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: #9ca3af;
  }

  .footer-col.footer-accordion.open .accordion-chevron {
    transform: rotate(180deg);
    color: var(--primary);
  }

  .footer-accordion-menu {
    display: none !important;
    padding: 4px 4px 14px 4px;
    margin: 0;
  }

  .footer-col.footer-accordion.open .footer-accordion-menu {
    display: flex !important;
  }

  .footer-newsletter-col {
    padding-top: 22px;
    text-align: center;
  }

  .footer-newsletter-col h4 {
    margin-bottom: 8px;
  }

  .newsletter-form {
    max-width: 320px;
    margin: 12px auto 0;
  }

  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 10px));
  }
  .header-container {
    height: 62px;
  }
  .brand-logo {
    font-size: 1.65rem;
  }
  .brand-logo .logo-icon svg {
    width: 28px;
    height: 28px;
  }
  .container {
    padding: 0 16px;
  }
  /* Prevent iOS Safari automatic viewport zoom when tapping inputs */
  input,
  select,
  textarea,
  .form-control,
  .search-input-box input,
  .newsletter-form input {
    font-size: 16px !important;
  }
  .modal-wrapper {
    padding: 12px 10px;
  }
  .modal-dialog {
    padding: 22px 16px;
    max-height: 86dvh;
    border-radius: var(--radius-md);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .delivery-options-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
