/* ==========================================================================
   SAFA NATURALS - Modern Mobile-First E-Commerce Stylesheet
   Designed for Spice Powder & Spice Collection
   Color Theme: Emerald Forest, Royal Gold & Crimson CTA
   ========================================================================== */

/* External font import removed for faster first render; system Bengali fonts are used. */

:root {
  --primary: #143626;
  --primary-hover: #0d251a;
  --primary-light: #f0f7f2;
  --primary-rgb: 20, 54, 38;
  
  --gold: #cca43b;
  --gold-hover: #b59030;
  --gold-light: #fef9ed;
  
  --cta-red: #d90429;
  --cta-red-hover: #b80020;
  
  --whatsapp-green: #25d366;
  --whatsapp-hover: #1ebd5a;
  
  --dark: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --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 20px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 30px -4px rgba(0,0,0,0.12);
  
  --transition: all 0.25s ease;
  --font-base: 'Plus Jakarta Sans', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-bn: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
}

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

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

body {
  font-family: var(--font-base);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

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

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #0e271a 0%, #143626 50%, #1e4d36 100%);
  color: #ffffff;
  padding: 8px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(204, 164, 59, 0.3);
}

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

.top-bar-message {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-message .badge {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition);
}

.top-contact-link:hover {
  color: var(--gold);
}

.top-contact-link svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 990;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

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

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

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

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

.header-search form {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 16px;
  transition: var(--transition);
}

.header-search form:focus-within {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(20, 54, 38, 0.1);
}

.header-search input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.88rem;
  color: var(--text-main);
}

.header-search button {
  background: var(--primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.header-search button:hover {
  background: var(--gold);
  color: #000;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(20, 54, 38, 0.15);
  transition: var(--transition);
}

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

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

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

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
  color: var(--text-main);
}

.mobile-menu-toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(2px);
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -300px;
  width: 290px;
  height: 100%;
  background: #ffffff;
  z-index: 1001;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.mobile-drawer-overlay.active .mobile-drawer {
  transform: translateX(300px);
}

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

.mobile-drawer-close {
  font-size: 1.5rem;
  color: var(--text-muted);
  padding: 4px;
}

.mobile-drawer-nav {
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
}

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

.mobile-drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  background: #fafafa;
}

/* ==========================================================================
   HERO BANNER SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  background: #143626 url('../images/hero-banner.jpg') center center / cover no-repeat;
  color: #ffffff;
  padding: 55px 0 65px;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(7, 39, 27, .48) 0%, rgba(7, 39, 27, .30) 48%, rgba(7, 39, 27, .12) 100%);
  pointer-events: none;
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204, 164, 59, 0.2);
  border: 1px solid rgba(204, 164, 59, 0.4);
  color: #ffe8a3;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #ffffff;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-family: var(--font-bn);
  font-size: 1.25rem;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cta-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(217, 4, 41, 0.35);
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--cta-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 4, 41, 0.45);
}

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  color: #ffe8a3;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--gold);
  backdrop-filter: blur(4px);
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #0e271a;
  transform: translateY(-2px);
}

/* ==========================================================================
   CATEGORY SECTION
   ========================================================================== */
.section-padding {
  padding: 44px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-tag {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-main);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 8px auto 0;
  border-radius: 2px;
}

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

.category-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

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

.category-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.category-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.category-bn {
  font-family: var(--font-bn);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DYNAMIC PRODUCT GRID & CARDS
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.product-thumb-wrap {
  position: relative;
  background: #f8fafc;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

/* Discount & Code Badges */
.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--cta-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(217, 4, 41, 0.3);
  z-index: 2;
}

.badge-sku {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(20, 54, 38, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  z-index: 2;
}

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

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
}

.product-title-bn {
  font-family: var(--font-bn);
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

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

.price-old {
  font-size: 0.88rem;
  color: var(--text-light);
  text-decoration: line-through;
}

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

.btn-order-now {
  background: var(--cta-red);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
  border: 1px solid var(--cta-red);
}

.btn-order-now:hover {
  background: var(--cta-red-hover);
  border-color: var(--cta-red-hover);
}

.btn-view-details {
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-view-details:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

/* ==========================================================================
   WHY CHOOSE US & COD SECTION
   ========================================================================== */
.features-section {
  background: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border-light);
}

.feature-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.feature-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Cash On Delivery Trust Banner */
.cod-banner {
  background: linear-gradient(135deg, #143626 0%, #1e4d36 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.cod-banner-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 30px;
}

.cod-banner-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.cod-banner-title span {
  color: var(--gold);
}

.cod-banner-desc {
  font-family: var(--font-bn);
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 16px;
}

.cod-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cod-step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.cod-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 6px;
}

.cod-step p {
  font-family: var(--font-bn);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f8fafc;
}

/* ==========================================================================
   CUSTOMER TESTIMONIALS / TRUST
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 10px;
}

.review-text {
  font-family: var(--font-bn);
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 14px;
  font-style: italic;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.reviewer-info h5 {
  font-size: 0.88rem;
  font-weight: 700;
}

.reviewer-info span {
  font-size: 0.75rem;
  color: #10b981;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 50px 0 20px;
  border-top: 3px solid var(--gold);
}

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

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-top: 14px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  position: relative;
}

.footer-title::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  margin-top: 6px;
}

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

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

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WHATSAPP & PHONE)
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

.btn-float-wa {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
}

.btn-float-wa:hover {
  transform: scale(1.1);
  background: #1ebd5a;
}

.btn-float-wa svg {
  width: 28px;
  height: 28px;
}

.btn-float-call {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(20, 54, 38, 0.4);
  transition: var(--transition);
}

.btn-float-call:hover {
  transform: scale(1.1);
  background: var(--gold);
  color: #000;
}

.btn-float-call svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   INSTANT ORDER CHECKOUT MODAL
   ========================================================================== */
.order-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

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

.order-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.order-modal-backdrop.active .order-modal-dialog {
  transform: scale(1);
}

.modal-header {
  background: linear-gradient(135deg, #143626 0%, #1e4d36 100%);
  color: #ffffff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close-btn {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  padding: 4px;
  opacity: 0.8;
  transition: var(--transition);
}

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

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

/* Order Item Mini Card inside Modal */
.modal-product-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.modal-product-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

.modal-product-details {
  flex: 1;
}

.modal-product-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.modal-product-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
  margin-top: 2px;
}

/* Quantity Control */
.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  background: #f1f5f9;
  color: var(--text-main);
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.qty-input {
  width: 44px;
  height: 32px;
  text-align: center;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  outline: none;
}

/* Form Styles */
.form-group {
  margin-bottom: 14px;
}

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

.form-label .required {
  color: var(--cta-red);
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-main);
  background: #ffffff;
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 54, 38, 0.12);
}

/* District Radio Delivery Selector */
.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.delivery-radio-label {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: #ffffff;
  transition: var(--transition);
}

.delivery-radio-label.selected, .delivery-radio-label:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.delivery-radio-label input[type="radio"] {
  accent-color: var(--primary);
}

.delivery-radio-text {
  font-size: 0.84rem;
}

.delivery-radio-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-main);
}

/* Modal Pricing Breakdown */
.order-cost-breakdown {
  background: #f8fafc;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 16px 0;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

/* Payment Badge: Cash on Delivery Only */
.payment-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.88rem;
  font-weight: 700;
}

.btn-confirm-order {
  width: 100%;
  background: var(--cta-red);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(217, 4, 41, 0.35);
  transition: var(--transition);
}

.btn-confirm-order:hover {
  background: var(--cta-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 4, 41, 0.45);
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: calc(82px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #143626;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  font-weight: 700;
  font-size: 0.95rem;
  z-index: 10050;
  width: max-content;
  max-width: calc(100vw - 28px);
  box-sizing: border-box;
  text-align: center;
  line-height: 1.4;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold);
}

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

/* ==========================================================================
   PAGE HERO (FOR SHOP, ABOUT, CONTACT, ETC.)
   ========================================================================== */
.page-hero {
  background: #143626;
  color: #ffffff;
  padding: 36px 0;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.page-hero p {
  font-size: 1rem;
  color: #cbd5e1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #94a3b8;
  margin-top: 10px;
}

.breadcrumb a {
  color: #cbd5e1;
}

.breadcrumb a:hover {
  color: var(--gold);
}


/* SAFA NATURALS refined add-to-cart action */
.btn-add-to-cart {
  display:flex; align-items:center; justify-content:center; gap:7px; width:100%;
  padding:10px 12px; border-radius:9px; border:1px solid #0f766e;
  background:#ecfdf5; color:#047857; font-size:.9rem; font-weight:800;
  text-decoration:none; transition:background .18s ease, color .18s ease, transform .18s ease;
  box-sizing:border-box;
}
.btn-add-to-cart:hover, .btn-add-to-cart:focus-visible { background:#047857; color:#fff; transform:translateY(-1px); }
.btn-add-to-cart:focus-visible { outline:3px solid #99f6e4; outline-offset:2px; }
.product-card { overflow:hidden; }
.product-card .product-thumb-wrap img { transition:transform .28s ease; }
.product-card:hover .product-thumb-wrap img { transform:scale(1.025); }
.delivery-radio-text small { display:block; margin-top:4px; color:#64748b; font-size:.78rem; font-weight:600; }

/* Functional, accessible add-to-cart button */
.btn-add-to-cart { display:flex; align-items:center; justify-content:center; gap:7px; width:100%; min-height:42px; margin-top:8px; padding:10px 12px; border:1px solid #059669; border-radius:9px; background:#ecfdf5; color:#047857; font:inherit; font-weight:800; cursor:pointer; transition:background .18s ease,color .18s ease,transform .18s ease; }
.btn-add-to-cart:hover, .btn-add-to-cart:focus-visible { background:#047857; color:#fff; transform:translateY(-1px); }
.btn-add-to-cart:disabled { opacity:.7; cursor:wait; transform:none; }
.btn-add-to-cart.is-added { background:#047857; color:#fff; }


/* SAFA NATURALS live header mini-cart */
.header-cart-wrap{position:relative;display:flex;align-items:center;flex-shrink:0;z-index:120}
.header-cart-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;position:relative;min-height:42px;padding:8px 12px;border:1px solid #cfe8d9;border-radius:999px;background:#f0fdf4;color:#14532d;font:inherit;font-size:.88rem;font-weight:800;cursor:pointer;box-shadow:0 2px 7px rgba(20,83,45,.08);transition:all .18s ease}
.header-cart-toggle:hover,.header-cart-toggle[aria-expanded="true"]{background:#166534;color:#fff;border-color:#166534;transform:translateY(-1px)}
.header-cart-icon{font-size:1.1rem;line-height:1}
.header-cart-count{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#f59e0b;color:#422006;font-size:.72rem;font-weight:900;line-height:1}
.header-mini-cart{position:absolute;top:calc(100% + 12px);right:0;width:min(390px,calc(100vw - 28px));max-height:min(75vh,620px);overflow:auto;background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 18px 55px rgba(15,23,42,.2);color:#172033;padding:0;z-index:9999}
.header-mini-cart[hidden]{display:none!important}
.mini-cart-heading{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:15px 17px;background:#fff;border-bottom:1px solid #edf0f2;z-index:1}
.mini-cart-heading strong{font-size:1.02rem}.mini-cart-close{width:30px;height:30px;border:0;border-radius:50%;background:#f3f4f6;color:#374151;font-size:22px;line-height:1;cursor:pointer}
.mini-cart-items{padding:10px 14px}.mini-cart-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0f2f4}.mini-cart-item:last-child{border-bottom:0}.mini-cart-item img{width:54px;height:54px;object-fit:cover;border-radius:10px;background:#f8fafc;border:1px solid #eef0f2}.mini-cart-item-info{display:flex;flex-direction:column;gap:5px;min-width:0}.mini-cart-item-info strong{font-size:.86rem;line-height:1.35;overflow-wrap:anywhere}.mini-cart-item-info span{font-size:.78rem;color:#64748b}.mini-cart-line-total{font-size:.8rem;white-space:nowrap;color:#166534}
.mini-cart-footer{padding:12px 15px 15px;border-top:1px solid #edf0f2;background:#f9fafb}.mini-cart-total{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:.9rem}.mini-cart-total strong{font-size:1.05rem;color:#14532d}.mini-cart-checkout,.mini-cart-view{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;border-radius:10px;text-decoration:none;font-weight:800}.mini-cart-checkout{background:#166534;color:#fff!important}.mini-cart-checkout:hover{background:#14532d}.mini-cart-checkout.is-empty{opacity:.5;pointer-events:none}.mini-cart-view{margin-top:7px;border:1px solid #d1d5db;color:#374151!important;background:#fff}.mini-cart-empty{text-align:center;padding:20px 10px;color:#64748b}.mini-cart-empty-icon{display:block;font-size:2rem;margin-bottom:8px}.mini-cart-empty strong{display:block;color:#1f2937}.mini-cart-empty p{font-size:.82rem;margin:5px 0 0}.mini-cart-loading,.mini-cart-error{text-align:center;color:#64748b;font-size:.86rem;padding:16px 8px}.mini-cart-error{color:#b91c1c}.mini-cart-retry{display:block;margin:0 auto 10px;padding:7px 14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;cursor:pointer}
@media(max-width:900px){.header-cart-label{display:none}.header-cart-toggle{padding:8px 9px;gap:5px}.header-cart-wrap{order:2}.header-actions{order:3}}
@media(max-width:520px){.header-mini-cart{position:fixed;top:100px;right:10px;width:calc(100vw - 20px);max-height:calc(100vh - 120px)}.header-cart-toggle{min-height:38px}}


/* SAFA NATURALS v1.2.6: clean product tiles and editable mini-cart */
.product-card{border:1px solid #e8edf0;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 5px 18px rgba(15,23,42,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.product-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,23,42,.11);border-color:#cce8dc}
.product-card .product-thumb-wrap{position:relative;aspect-ratio:1/1;background:#f8fafc;overflow:hidden}
.product-card .product-thumb-wrap>a{display:block;width:100%;height:100%}
.product-card .product-thumb-wrap img,.product-card .product-thumb-wrap img.product-thumb{display:block;width:100%;height:100%;object-fit:cover}
.product-card .product-info{padding:14px 15px 16px;text-align:left}
/* Reference-inspired Safa Naturals product cards: keep title, category, discount and cart controls visible. */
.product-card .product-cat,.product-card .product-category-tag,.product-card .product-title,.product-card .product-name,.product-card .product-title-bn,.product-card .price-old,.product-card .discount-badge,.product-card .badge-discount,.product-card .badge-sku,.product-card .product-actions .btn-card-view,.product-card .product-actions .btn-add-to-cart{display:initial!important}
.product-card .product-category-tag,.product-card .product-cat{display:block!important;text-align:left;color:#166534;font-size:.8rem;font-weight:800;margin:0 0 5px}
.product-card .product-title,.product-card .product-name{display:block!important;text-align:left;font-size:1.08rem;line-height:1.45;font-weight:900;margin:0 0 9px;height:auto}
.product-card .product-title a,.product-card .product-name a{color:#202a23;text-decoration:none}
.product-card .product-title-bn{display:block!important;text-align:left;font-size:.85rem;color:#64748b;margin:0 0 7px}
.product-card .price-old{display:inline!important;color:#9ca3af;text-decoration:line-through;font-size:.84rem}
.product-card .discount-badge,.product-card .badge-discount{position:absolute;top:10px;left:10px;display:inline-block!important;background:#ea580c;color:#fff;padding:4px 9px;border-radius:999px;font-size:.76rem;font-weight:900;z-index:2}
.product-card .badge-sku{display:none!important}
.product-card .product-actions .btn-card-view{display:none!important}
.product-card .product-actions .btn-add-to-cart{display:flex!important}
.product-card .product-pricing{display:flex;justify-content:flex-start;align-items:baseline;margin:12px 0;gap:8px;border-top:1px solid #edf0ed;padding-top:12px}
.product-card .price-current{font-size:1.35rem;font-weight:950;color:#166534}
.product-card .product-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0}
.product-card .btn-order-now{display:flex!important;align-items:center;justify-content:center;gap:8px;width:100%;min-height:43px;margin:0;padding:10px 14px;border:0;border-radius:12px;background:linear-gradient(135deg,#0f766e,#115e59);color:#fff;font-size:.9rem;font-weight:800;text-decoration:none;box-shadow:0 5px 14px rgba(15,118,110,.18);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.product-card .btn-order-now:hover,.product-card .btn-order-now:focus-visible{background:linear-gradient(135deg,#115e59,#134e4a);color:#fff;transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,118,110,.23)}
.product-card .btn-view-details{display:none!important}
.product-card .product-actions .btn-add-to-cart{margin-top:0!important}
.product-card .product-actions .btn-order-now{background:#166534!important;border-radius:12px!important}
.product-card .product-actions .btn-order-now:hover{background:#14532d!important}
.header-cart-toggle{background:#0f766e;color:#fff;border-color:#0f766e;box-shadow:0 5px 14px rgba(15,118,110,.18)}
.header-cart-toggle:hover,.header-cart-toggle[aria-expanded="true"]{background:#115e59;border-color:#115e59}
.header-cart-count{background:#fef3c7;color:#78350f}
.header-mini-cart{border:1px solid #dfe8e5;border-radius:20px;box-shadow:0 22px 70px rgba(15,23,42,.22)}
.mini-cart-items{padding:8px 14px}
.mini-cart-item{grid-template-columns:62px minmax(0,1fr) auto;gap:11px;padding:13px 0;border-bottom:1px solid #edf2f1}
.mini-cart-item img{width:62px;height:62px;border-radius:13px;border:1px solid #e6eeeb}
.mini-cart-item-info{gap:6px}
.mini-cart-item-info strong{font-size:.88rem;color:#172033}
.mini-cart-price{font-size:.87rem!important;font-weight:900;color:#0f766e!important}
.mini-cart-qty{display:inline-flex;align-items:center;gap:10px;width:max-content;padding:3px 5px;border:1px solid #e2e8f0;border-radius:9px;background:#f8fafc}
.mini-cart-qty button{width:25px;height:25px;border:0;border-radius:6px;background:#e6f4ef;color:#0f766e;font-size:1.05rem;font-weight:900;cursor:pointer}
.mini-cart-qty span{min-width:12px;text-align:center;font-size:.83rem;font-weight:800;color:#334155}
.mini-cart-remove{border:0;border-radius:8px;padding:7px 8px;background:#fff1f2;color:#be123c;font-size:.75rem;font-weight:800;cursor:pointer}
.mini-cart-remove:hover{background:#ffe4e6}
.mini-cart-item.is-updating{opacity:.55;pointer-events:none}
.mini-cart-total strong{color:#0f766e}
.mini-cart-checkout{background:#0f766e;border-radius:12px}.mini-cart-checkout:hover{background:#115e59}
@media(max-width:520px){.product-card .product-info{padding:10px}.product-card .price-current{font-size:1.05rem}.product-card .btn-order-now{min-height:41px;font-size:.86rem}.mini-cart-item{grid-template-columns:54px minmax(0,1fr) auto;gap:8px}.mini-cart-item img{width:54px;height:54px}}


/* SAFA NATURALS responsive WooCommerce product gallery */
.bazaar24-product-thumbnails {
  display:flex;
  justify-content:center;
  gap:9px;
  overflow-x:auto;
  padding:10px 2px 4px;
  max-width:100%;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.bazaar24-product-thumb {
  flex:0 0 64px;
  width:64px;
  height:64px;
  padding:4px;
  border:1px solid #dbe3df;
  border-radius:10px;
  background:#fff;
  cursor:pointer;
  overflow:hidden;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.bazaar24-product-thumb img {width:100%;height:100%;object-fit:contain;display:block;}
.bazaar24-product-thumb.is-active {border:2px solid #176b4d;box-shadow:0 0 0 2px rgba(23,107,77,.12);}
.bazaar24-gallery-arrow {
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border:1px solid #e2e8f0;border-radius:50%;
  background:rgba(255,255,255,.94);color:#143626;font-size:28px;line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.12);cursor:pointer;
}
.bazaar24-gallery-count {
  position:absolute;right:10px;bottom:10px;background:rgba(20,54,38,.82);
  color:#fff;padding:4px 9px;border-radius:20px;font-size:12px;font-weight:700;
}
@media(max-width:480px) {
  .hero-section {background-position:58% center;padding:42px 0 48px;}
  .hero-section::before {background:linear-gradient(90deg,rgba(7,39,27,.86),rgba(7,39,27,.55));}
  .bazaar24-product-thumb {flex-basis:58px;width:58px;height:58px;}
  .bazaar24-gallery-arrow {width:34px;height:34px;}
}

/* SAFA NATURALS hero photo visibility and single-frame gallery */
.hero-section { background-position:center center; background-size:cover; background-repeat:no-repeat; }
.bazaar24-gallery-stage { position:relative; overflow:hidden; }
.bazaar24-gallery-stage > #pdMainImage { position:relative; z-index:1; max-width:100%; max-height:100%; }
.bazaar24-gallery-arrow { z-index:3; width:38px; height:38px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:rgba(255,255,255,.94); color:#143626; box-shadow:0 2px 8px rgba(15,23,42,.12); font-size:26px; line-height:1; }
.bazaar24-gallery-count { position:absolute; right:12px; top:12px; z-index:3; padding:4px 9px; border-radius:999px; background:rgba(20,54,38,.78); color:#fff; font-size:12px; }
.bazaar24-product-thumbnails { overflow-x:auto; flex-wrap:nowrap !important; justify-content:flex-start !important; padding:2px 2px 8px; max-width:100% !important; -webkit-overflow-scrolling:touch; scrollbar-width:thin; }
.bazaar24-product-thumb { flex:0 0 62px; }
.bazaar24-product-thumb.is-active { box-shadow:0 0 0 2px rgba(23,107,77,.12); }

@media (max-width:768px){.hero-section{background-position:58% center;}}

/* Safa Naturals brand layer */
:root{--primary:#176b3a;--primary-dark:#0d4527;--primary-light:#eaf5ed;--accent-gold:#d5b64a;--text-main:#1e2b22;--whatsapp-green:#25d366;}
.safa-hero{position:relative;min-height:470px;display:flex;align-items:center;background-color:#123c26;border-radius:0 0 28px 28px;overflow:hidden;}
.safa-hero .hero-content{max-width:690px;padding:54px 0;color:#fff;}
.safa-hero .hero-title span{color:#f3d46d;}
.safa-hero .hero-subtitle{color:#f0f7f0;max-width:650px;}
.safa-hero .hero-tag{background:rgba(255,255,255,.12);border:1px solid rgba(240,215,125,.6);color:#fff;}
.safa-hero .btn-primary{background:#d52e25;border-color:#d52e25;}
.safa-hero .btn-outline-gold{color:#fff;border-color:#f0d36c;background:rgba(14,68,39,.55);}
.safa-hero-points{display:flex;flex-wrap:wrap;gap:10px 18px;margin-top:22px;color:#f7f5df;font-size:.9rem;font-weight:700;}
.safa-intro-copy{max-width:650px;margin:12px auto 0;color:var(--text-muted);}
.safa-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:28px auto 0;max-width:850px;}
.safa-benefits>div{display:flex;flex-direction:column;align-items:center;gap:8px;padding:20px 12px;border:1px solid #e0ebdf;border-radius:18px;background:#fbfdfb;text-align:center;}
.safa-benefits span{font-size:2rem;} .safa-benefits strong{color:#174f30;} .safa-benefits small{color:#64756a;}
.safa-products{background:#f7faf7;} .safa-trust{background:#fff;}
.safa-combo-note{display:flex;align-items:center;gap:14px;margin-top:26px;padding:18px 20px;background:#edf7ef;border:1px solid #d7e8d8;border-radius:16px;color:#174f30;}
.safa-combo-note>span{font-size:2rem;} .safa-combo-note div{flex:1;} .safa-combo-note p{margin:4px 0 0;color:#526458;font-size:.9rem;} .safa-combo-note a{font-weight:800;color:#176b3a;white-space:nowrap;}
.safa-feature-emoji{width:48px;height:48px;border-radius:50%;background:#e9f6eb;display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0;}
.safa-price-note{display:block;color:#8a6b16;background:#fff8db;border-radius:8px;padding:9px 10px;font-size:.82rem;font-weight:700;text-align:center;}
@media(max-width:640px){.safa-hero{min-height:450px;background-position:58% center!important;}.safa-hero .hero-content{padding:42px 0;}.safa-hero .hero-title{font-size:2rem;line-height:1.2;}.safa-benefits{gap:8px;}.safa-benefits>div{padding:14px 6px;font-size:.85rem;}.safa-combo-note{align-items:flex-start;flex-wrap:wrap;}.safa-combo-note a{margin-left:48px;}}


/* Safa Naturals storefront polish, inspired by the supplied reference screenshots. */
.product-card .product-thumb-wrap{aspect-ratio:1/1.03!important;background:#f4f2ec!important}
.product-card .product-thumb-wrap img{object-fit:cover!important}
.product-card .product-info{text-align:left!important}
.products-grid{align-items:stretch}
@media(max-width:768px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.product-card{border-radius:18px!important}.product-card .product-info{padding:11px 10px 12px!important}.product-card .product-title,.product-card .product-name{font-size:.93rem!important;line-height:1.35!important}.product-card .price-current{font-size:1.08rem!important}.product-card .product-pricing{gap:5px!important;margin:9px 0!important;padding-top:9px!important}.product-card .product-actions .btn-order-now{min-height:40px!important;font-size:.82rem!important;padding:9px 8px!important}.product-card .product-actions .btn-add-to-cart{min-height:38px!important;font-size:.78rem!important;padding:8px 6px!important}.product-card .product-thumb-wrap{aspect-ratio:1/1.03!important}}


/* Mobile bottom navigation, matching the reference shopping experience. */
.safa-mobile-bottom-nav{display:none}
@media(max-width:768px){
  .safa-mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:9990;display:flex;justify-content:space-around;align-items:stretch;gap:3px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));min-height:60px;box-sizing:border-box;background:rgba(255,255,255,.98);border-top:1px solid #e5e7eb;box-shadow:0 -5px 18px rgba(15,23,42,.10);backdrop-filter:blur(12px)}
  .safa-mobile-bottom-nav a{position:relative;display:flex;flex:1;min-width:0;min-height:44px;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#475569;text-decoration:none;font-weight:700;border-radius:9px;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
  .safa-mobile-bottom-nav a span{font-size:1.3rem;line-height:1.1}
  .safa-mobile-bottom-nav a small{display:block;font-size:.72rem;line-height:1.25;white-space:nowrap}
  .safa-mobile-bottom-nav a:hover,.safa-mobile-bottom-nav a:focus-visible,.safa-mobile-bottom-nav a:active{color:#166534;background:#f0fdf4;outline-offset:2px}
  .mobile-nav-cart-count{position:absolute;top:1px;left:calc(50% + 5px);min-width:16px;height:16px;padding:0 3px;display:flex;align-items:center;justify-content:center;border-radius:20px;background:#dc2626;color:#fff;font-size:10px;line-height:1}
  .site-footer{padding-bottom:90px!important}
  body{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .toast-notice{bottom:calc(76px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px);padding:11px 15px;font-size:.88rem;border-radius:12px}
}
@media(max-width:768px){.safa-mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:9990;display:flex;justify-content:space-around;align-items:center;gap:4px;padding:7px 5px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e5e7eb;box-shadow:0 -5px 18px rgba(15,23,42,.08);backdrop-filter:blur(12px)}.safa-mobile-bottom-nav a{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#64748b;text-decoration:none;font-weight:700}.safa-mobile-bottom-nav a span{font-size:1.35rem;line-height:1.15}.safa-mobile-bottom-nav a small{font-size:.68rem;line-height:1.2}.safa-mobile-bottom-nav a:hover,.safa-mobile-bottom-nav a:focus-visible{color:#166534}.site-footer{padding-bottom:90px!important}body{padding-bottom:62px}}

/* 1.4.0 storefront polish: product labels, accessible focus and consistent home cards */
.product-card .discount-badge{position:absolute;top:12px;left:12px;z-index:3;background:#e85b16;color:#fff;border-radius:999px;padding:5px 10px;font-size:.76rem;font-weight:900;box-shadow:0 3px 10px rgba(0,0,0,.10)}
.product-card .safa-stock-badge{position:absolute;top:12px;right:12px;z-index:3;background:#374151;color:#fff;border-radius:999px;padding:5px 9px;font-size:.72rem;font-weight:800}
.product-card .product-thumb-wrap{position:relative}
.product-card .product-title a:focus-visible,.product-card button:focus-visible,.product-card .product-actions a:focus-visible{outline:3px solid #f2c14e;outline-offset:3px}
.product-card .price-old{margin-left:2px}
@media(prefers-reduced-motion:reduce){.product-card,.product-card *{transition:none!important;scroll-behavior:auto!important}}

.brand-logo-custom .custom-logo-link{display:flex;align-items:center}.brand-logo-custom .custom-logo{display:block;width:auto;max-width:210px;max-height:58px;object-fit:contain}

/* v1.5.1 — complete storefront visual refresh (reference-inspired, original Safa branding) */
:root{--safa-green:#17683b;--safa-green-dark:#104b2c;--safa-mint:#e9f8ef;--safa-orange:#e85d12;--safa-ink:#242824;--safa-muted:#747b75;--safa-line:#e7e9e5;--safa-paper:#fff;--safa-soft:#f7f8f5}
html{scroll-behavior:smooth}body{background:#fbfbf9;color:var(--safa-ink);font-family:'Hind Siliguri','Noto Sans Bengali',sans-serif}a{transition:color .18s ease}
.container{width:min(1240px,calc(100% - 36px));max-width:1240px}
.top-bar{background:var(--safa-green-dark)!important;color:#fff!important;min-height:38px}.top-bar .container{max-width:1240px}.top-bar-inner{min-height:38px}.top-bar .badge{background:#f59e0b;color:#40220b;border-radius:20px;font-weight:800}
.site-header{background:#fff!important;box-shadow:0 3px 18px rgba(22,50,32,.07)!important;border-bottom:1px solid #edf0eb;position:sticky;top:0;z-index:800}.site-header .container{max-width:1240px}.header-inner{min-height:82px;gap:20px}.brand-logo img{max-height:54px;width:auto;object-fit:contain}.main-nav{gap:22px}.main-nav .nav-link{font-weight:700;color:#303c32}.main-nav .nav-link:hover,.main-nav .nav-link.active{color:var(--safa-green)}.header-search form{border-radius:999px!important;background:#f7f8f5;border:1px solid #e5e9e3;min-height:43px;overflow:hidden}.header-search input{background:transparent!important}.header-search button{background:var(--safa-green)!important;border-radius:50%!important;color:#fff!important;width:36px;height:36px;margin:3px}.btn-header-call,.btn-header-wa{border-radius:999px!important;font-weight:800!important}
.hero-section{min-height:430px!important;border-radius:0!important;overflow:hidden;background-color:#163f28!important}.hero-section .container{max-width:1240px}.hero-content{max-width:660px;padding-top:62px!important;padding-bottom:62px!important}.hero-title{font-size:clamp(2.3rem,5vw,4.3rem)!important;line-height:1.12!important;letter-spacing:-.035em}.hero-tag{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.13);border-radius:999px;font-weight:800;backdrop-filter:blur(8px)}.hero-subtitle{max-width:580px;font-size:1.1rem!important;line-height:1.85!important}.hero-buttons{gap:12px}.hero-buttons a{border-radius:12px!important;min-height:48px;padding:12px 22px!important;font-weight:800!important}.btn-primary{background:var(--safa-green)!important;box-shadow:0 8px 20px rgba(0,0,0,.14)}.btn-outline-gold{border:1px solid rgba(255,255,255,.72)!important;background:rgba(255,255,255,.08)!important;color:#fff!important}.safa-hero-points{gap:10px!important;margin-top:24px!important}.safa-hero-points span{border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.17);padding:7px 12px;font-size:.88rem}
.section-padding{padding-top:52px!important;padding-bottom:52px!important}.section-header{margin-bottom:28px!important}.section-tag{display:inline-flex!important;background:#e9f8ef;color:var(--safa-green)!important;padding:5px 12px;border-radius:999px;font-weight:800!important;letter-spacing:0!important}.section-title{font-size:clamp(1.55rem,3vw,2.2rem)!important;line-height:1.35!important;font-weight:900!important;color:#202820!important;margin-top:9px!important}.safa-intro{background:#fff}.safa-intro-copy{max-width:680px;margin-inline:auto;color:#69736a;line-height:1.8}.safa-benefits{gap:14px!important}.safa-benefits>div{border:1px solid var(--safa-line)!important;border-radius:16px!important;background:#fff!important;padding:20px 14px!important;box-shadow:0 4px 16px rgba(20,50,28,.035)}.safa-benefits>div>span{display:grid;place-items:center;width:48px;height:48px;margin:0 auto 10px;border-radius:14px;background:#f0f8ef;font-size:1.55rem}
.safa-products{background:#f8f9f6}.products-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:22px!important}.product-card{border:1px solid #e8eae5!important;border-radius:20px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 2px 8px rgba(24,45,29,.045)!important;transform:none!important;min-width:0}.product-card:hover{box-shadow:0 12px 28px rgba(24,45,29,.10)!important;border-color:#c6dfce!important}.product-card .product-thumb-wrap{aspect-ratio:1/1!important;background:#f0eee8!important}.product-card .product-thumb-wrap img,.product-card .product-thumb-wrap img.product-thumb{object-fit:contain!important;padding:0!important;mix-blend-mode:multiply}.product-card .product-info{padding:15px 16px 17px!important}.product-card .product-category-tag,.product-card .product-cat{font-size:.82rem!important;color:var(--safa-green)!important;font-weight:800!important}.product-card .product-title,.product-card .product-name{font-size:1.16rem!important;line-height:1.4!important;margin-bottom:8px!important}.product-card .product-pricing{margin:13px 0!important;padding-top:12px!important;border-top:1px solid #eef0ec!important;gap:9px!important}.product-card .price-current{font-size:1.45rem!important;color:var(--safa-green)!important;font-weight:900!important}.product-card .price-old{color:#a1a6a0!important;font-size:.9rem!important}.product-card .discount-badge,.product-card .badge-discount{top:12px!important;left:12px!important;background:var(--safa-orange)!important;border-radius:999px!important;padding:5px 10px!important}.product-card .btn-order-now{background:var(--safa-green)!important;border-radius:12px!important;min-height:46px!important;box-shadow:none!important}.product-card .btn-order-now:hover{background:var(--safa-green-dark)!important}.product-card .btn-add-to-cart{border-radius:12px!important}
.safa-trust{background:#fff}.features-grid{gap:16px!important}.feature-item{border:1px solid var(--safa-line)!important;border-radius:16px!important;padding:20px!important;background:#fff!important;box-shadow:none!important}.safa-feature-emoji{background:#eff8f0!important;border-radius:13px!important;width:48px;height:48px;display:grid;place-items:center}.feature-text h4{font-weight:900!important;color:#263329!important}.feature-text p{color:#6c756d!important;line-height:1.75!important}
.site-footer,footer.site-footer{background:#103f27!important;color:#eff8f1!important}.site-footer a{color:#d9eadc!important}.site-footer a:hover{color:#fff!important}.footer-bottom{border-color:rgba(255,255,255,.15)!important}
/* Mobile storefront layout closely follows modern Bangladesh grocery shops */
@media(max-width:1024px){.container{width:min(100% - 28px,900px)}.header-inner{min-height:70px;gap:12px}.main-nav{gap:13px}.header-actions .btn-header-call{display:none}.products-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}}
@media(max-width:700px){.container{width:calc(100% - 24px)}.top-bar{min-height:34px}.top-bar-inner{min-height:34px}.top-bar-actions{display:none!important}.top-bar-message{font-size:.78rem;line-height:1.35}.site-header{top:0}.header-inner{min-height:62px!important;display:flex;justify-content:space-between;gap:9px}.brand-logo img{max-height:43px!important}.mobile-menu-toggle{width:38px;height:38px;border-radius:50%;background:#f5f7f3!important;color:#214d31!important}.main-nav{display:none}.header-search{display:none}.header-actions{gap:7px}.header-actions .btn-header-wa{font-size:0!important;width:39px;height:39px;min-width:39px;padding:0!important;display:grid;place-items:center}.header-actions .btn-header-wa svg{width:19px;height:19px}.hero-section{min-height:400px!important;background-position:60% center!important}.hero-section:before{opacity:.75}.hero-content{padding-top:43px!important;padding-bottom:38px!important}.hero-title{font-size:2.15rem!important;max-width:520px}.hero-subtitle{font-size:.97rem!important;line-height:1.7!important}.hero-buttons{display:grid!important;grid-template-columns:1fr 1fr;gap:9px!important}.hero-buttons a{justify-content:center;min-height:46px;padding:10px 9px!important;font-size:.86rem!important}.safa-hero-points{display:flex;flex-wrap:wrap;gap:7px!important}.safa-hero-points span{font-size:.75rem;padding:6px 9px}.section-padding{padding-top:34px!important;padding-bottom:34px!important}.section-header{margin-bottom:20px!important}.section-title{font-size:1.55rem!important}.safa-benefits{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.safa-benefits>div{padding:12px 6px!important;border-radius:13px!important}.safa-benefits>div>span{width:39px;height:39px;font-size:1.25rem}.safa-benefits strong{font-size:.78rem;line-height:1.4;display:block}.safa-benefits small{font-size:.72rem}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.product-card{border-radius:16px!important}.product-card .product-thumb-wrap{aspect-ratio:1/1!important}.product-card .product-info{padding:11px 11px 13px!important}.product-card .product-category-tag,.product-card .product-cat{font-size:.72rem!important;margin-bottom:4px!important}.product-card .product-title,.product-card .product-name{font-size:.98rem!important;line-height:1.35!important;margin-bottom:7px!important}.product-card .product-title-bn{font-size:.75rem!important}.product-card .product-pricing{margin:10px 0!important;padding-top:9px!important;gap:6px!important;flex-wrap:wrap}.product-card .price-current{font-size:1.12rem!important}.product-card .price-old{font-size:.76rem!important}.product-card .discount-badge,.product-card .badge-discount{font-size:.68rem!important;top:8px!important;left:8px!important;padding:4px 8px!important}.product-card .btn-order-now{min-height:40px!important;padding:8px 6px!important;font-size:.78rem!important;border-radius:10px!important}.product-card .btn-add-to-cart{min-height:38px!important;font-size:.77rem!important;padding:7px 6px!important}.features-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}.feature-item{padding:13px!important;gap:10px!important}.feature-text h4{font-size:.92rem!important}.feature-text p{font-size:.8rem!important;line-height:1.6!important}.site-footer{padding-bottom:22px!important}}
@media(max-width:380px){.hero-title{font-size:1.9rem!important}.hero-buttons{grid-template-columns:1fr!important}.products-grid{gap:9px!important}.product-card .product-info{padding:9px!important}.product-card .product-title,.product-card .product-name{font-size:.91rem!important}.product-card .price-current{font-size:1.02rem!important}}

/* v1.5.2: floating phone action is a clear call button, never a floating phone number */
.floating-actions .btn-float-call{
  width:auto!important; min-width:112px; height:46px!important; padding:0 15px!important;
  border-radius:999px!important; gap:8px; font-size:14px!important; font-weight:800;
  white-space:nowrap; text-decoration:none; box-sizing:border-box;
}
.floating-actions .btn-float-call::after{content:"কল করুন";}
.floating-actions .btn-float-call svg{width:19px!important;height:19px!important;flex:0 0 19px}
@media(max-width:700px){
 .floating-actions{right:14px!important;bottom:18px!important;gap:10px!important}
 .floating-actions .btn-float-call{min-width:108px;height:44px!important;padding:0 13px!important}
}
/* Smaller spacing and lighter cards without removing any content */
.section-padding{content-visibility:auto;contain-intrinsic-size:1px 650px}
.product-card,.feature-item{box-shadow:0 1px 5px rgba(20,54,38,.045)!important}

/* v1.5.4 mobile product names and floating contact buttons visibility fix */
.product-card .product-info h3.product-title,
.product-card .product-info h3.product-name,
.product-card .product-info .product-title,
.product-card .product-info .product-name {
  display:block!important; visibility:visible!important; opacity:1!important;
  height:auto!important; max-height:none!important; overflow:visible!important;
  color:#176b3a!important; text-align:center!important; margin:8px 0 10px!important;
  line-height:1.4!important; font-weight:900!important;
}
.product-card .product-info h3 a,
.product-card .product-info .product-title a,
.product-card .product-info .product-name a {
  display:inline!important; visibility:visible!important; opacity:1!important;
  color:#176b3a!important; text-decoration:none!important;
}
.product-card .product-info .product-cat,
.product-card .product-info .product-category-tag {display:block!important;text-align:center!important;}
.product-card .product-info .product-pricing {justify-content:center!important;}
.product-card .product-info .product-actions {display:flex!important;flex-direction:column!important;gap:8px!important;}
.product-card .product-info .product-actions .btn-order-now,
.product-card .product-info .product-actions .btn-card-order {width:100%!important;justify-content:center!important;}
@media(max-width:768px){
  .floating-actions{position:fixed!important;right:14px!important;bottom:calc(78px + env(safe-area-inset-bottom))!important;z-index:10001!important;gap:9px!important;align-items:center!important;}
  .floating-actions .btn-float-wa{width:52px!important;height:52px!important;min-width:52px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  .floating-actions .btn-float-call{width:52px!important;min-width:52px!important;height:52px!important;padding:0!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#16a34a!important;color:#fff!important;box-shadow:0 4px 14px rgba(22,163,74,.35)!important;font-size:0!important;}
  .floating-actions .btn-float-call::after{content:none!important;}
  .floating-actions .btn-float-call svg{width:23px!important;height:23px!important;flex:0 0 23px!important;}
}


/* v1.5.5: functional header cart + WooCommerce customer account */
.header-store-tools{display:flex;align-items:center;gap:8px;flex-shrink:0;position:relative;z-index:121}
.header-account-link{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:8px 11px;border:1px solid #dbe5e1;border-radius:999px;background:#fff;color:#14532d!important;text-decoration:none;font-size:.82rem;font-weight:800;white-space:nowrap}
.header-account-link:hover{background:#ecfdf5;border-color:#86c9a8}
.header-account-link span:first-child{font-size:1.05rem}
@media(max-width:1100px){.header-store-tools{gap:5px}.header-account-link{padding:8px 9px;font-size:.78rem}}
@media(max-width:900px){.header-store-tools{order:2}.header-account-link span:last-child{display:none}.header-account-link{width:40px;height:40px;padding:0;font-size:1rem}.header-cart-wrap{order:1}.header-cart-toggle{min-height:40px}}
@media(max-width:520px){.header-store-tools{gap:5px}.header-account-link{width:38px;height:38px}.header-cart-toggle{padding:7px 9px}.header-mini-cart{z-index:10001}}


/* WordPress pages and WooCommerce cart/account: render the page body instead of the homepage fallback. */
.safa-wp-page{min-height:48vh;background:#fff;padding-top:28px;padding-bottom:100px}
.safa-wp-page .container{max-width:1120px;margin-left:auto;margin-right:auto}
.safa-wp-page-header{margin:0 0 22px}
.safa-wp-page-header .section-title{margin:0 0 8px;line-height:1.3}
.safa-wp-page-content{width:100%;min-width:0;color:var(--text-main,#1f2937)}
.safa-wp-page-content .woocommerce{width:100%;max-width:100%;overflow-x:auto}
.safa-wp-page-content .woocommerce table.shop_table{width:100%;border-collapse:collapse;margin:0 0 22px;background:#fff}
.safa-wp-page-content .woocommerce table.shop_table th,.safa-wp-page-content .woocommerce table.shop_table td{padding:12px 10px;vertical-align:middle}
.safa-wp-page-content .woocommerce input.input-text,.safa-wp-page-content .woocommerce textarea,.safa-wp-page-content .woocommerce select{max-width:100%;min-height:42px;padding:9px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff}
.safa-wp-page-content .woocommerce button.button,.safa-wp-page-content .woocommerce a.button,.safa-wp-page-content .woocommerce input.button,.safa-wp-page-content .woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:0;border-radius:8px;background:var(--primary,#166534);color:#fff;font-weight:700;text-decoration:none;cursor:pointer}
.safa-wp-page-content .woocommerce .quantity .qty{width:4.5em;min-height:40px}
.safa-wp-page-content .woocommerce .cart-collaterals,.safa-wp-page-content .woocommerce .cart_totals{max-width:100%}
.safa-wp-page-content .woocommerce .woocommerce-message,.safa-wp-page-content .woocommerce .woocommerce-info,.safa-wp-page-content .woocommerce .woocommerce-error{padding:14px 16px;margin:0 0 18px;border-radius:8px;line-height:1.5}
.safa-wp-page-content .woocommerce .col2-set,.safa-wp-page-content .woocommerce .u-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.safa-wp-page-content .woocommerce form.login,.safa-wp-page-content .woocommerce form.register,.safa-wp-page-content .woocommerce form.lost_reset_password{border:1px solid #e5e7eb;border-radius:12px;padding:20px;margin:0 0 22px;background:#fff}
@media(max-width:640px){.safa-wp-page{padding-top:18px;padding-bottom:112px}.safa-wp-page-content .woocommerce table.shop_table th,.safa-wp-page-content .woocommerce table.shop_table td{padding:8px 6px;font-size:13px}.safa-wp-page-content .woocommerce .col2-set,.safa-wp-page-content .woocommerce .u-columns{grid-template-columns:minmax(0,1fr)}.safa-wp-page-content .woocommerce .coupon{display:flex;gap:8px;flex-wrap:wrap}.safa-wp-page-content .woocommerce .coupon input{max-width:100%}}

/* v1.5.8: focused cart removal and clean account login presentation */
.safa-wp-page-content .woocommerce table.shop_table .product-remove a.remove{display:inline-flex!important;align-items:center;justify-content:center;width:30px;height:30px;line-height:1;border-radius:50%;font-size:22px;color:#b91c1c!important;background:#fee2e2;text-decoration:none}
.safa-wp-page-content .woocommerce table.shop_table .product-remove a.remove:hover{color:#fff!important;background:#b91c1c}
.safa-account-container{max-width:760px}
.safa-account-content .safa-account-login-intro h2{margin:0 0 8px;font-size:22px}
.safa-account-content .safa-account-login-intro p{margin:0 0 16px;color:#555}
.safa-account-content .safa-google-login{margin:0 0 18px}
.safa-account-content .safa-google-login-note{padding:12px 14px;border:1px solid #e5e7eb;border-radius:9px;background:#f9fafb;font-size:14px}
@media(max-width:640px){.safa-account-container{padding-left:14px;padding-right:14px}.safa-account-content .safa-google-login{width:100%}}

/* v1.5.10: keep the red order-confirm button visible above the mobile bottom navigation */
@media (max-width: 768px) {
  .order-modal-backdrop {
    align-items: flex-start !important;
    padding: 8px 10px calc(140px + env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .order-modal-dialog {
    max-height: calc(100dvh - 82px - env(safe-area-inset-bottom)) !important;
    max-height: calc(100vh - 82px - env(safe-area-inset-bottom)) !important;
    margin: 0 auto !important;
    flex: 0 0 auto;
  }
  .order-modal-dialog .modal-body {
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 14px !important;
    padding-bottom: 92px !important;
  }
  .order-modal-dialog #modalOrderForm { padding-bottom: 8px !important; }
  .order-modal-dialog .btn-confirm-order {
    position: sticky !important;
    bottom: 8px !important;
    z-index: 10005 !important;
    display: flex !important;
    width: 100% !important;
    min-height: 56px !important;
    margin-top: 14px !important;
    margin-bottom: 8px !important;
    flex-shrink: 0 !important;
    border: 2px solid #fff !important;
    box-shadow: 0 -4px 12px rgba(255,255,255,.9), 0 4px 14px rgba(217,4,41,.3) !important;
    touch-action: manipulation;
  }
}
