/* ============================================================
   PORICITO BAZAR — Custom Stylesheet
   Design: Warm Bengali organic market aesthetic
   Fonts: Hind Siliguri (Bengali) + Poppins (Latin)
   ============================================================ */

/* ─── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --pb-orange:       #e07b2e;
  --pb-orange-dark:  #c4661c;
  --pb-orange-light: #f5a05a;
  --pb-green:        #3a7d44;
  --pb-green-light:  #5aad68;
  --pb-yellow:       #f9c74f;
  --pb-cream:        #fdf6ec;
  --pb-warm-white:   #fffdf8;

  /* Neutrals */
  --pb-text-dark:    #1a1a1a;
  --pb-text-mid:     #555555;
  --pb-text-light:   #888888;
  --pb-border:       #e8ddd0;
  --pb-shadow:       rgba(0, 0, 0, 0.08);

  /* Header */
  --pb-header-bg:    #ffffff;
  --pb-header-h:     70px;

  /* Footer */
  --pb-footer-bg:    #1c2b1e;
  --pb-footer-text:  #b0c4b8;

  /* Transitions */
  --pb-transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --font-bn:  'Hind Siliguri', 'SolaimanLipi', sans-serif;
  --font-en:  'Poppins', sans-serif;
}

/* ─── GLOBAL RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-bn);
  font-size: 16px;
  color: var(--pb-text-dark);
  background-color: var(--pb-warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--pb-orange);
  text-decoration: none;
  transition: color var(--pb-transition);
}
a:hover { color: var(--pb-orange-dark); }

/* ─── TYPOGRAPHY UTILITIES ──────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pb-orange);
  background: rgba(224, 123, 46, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--pb-text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--pb-text-mid);
  margin-bottom: 0;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--pb-orange), var(--pb-yellow));
  border-radius: 4px;
  margin: 20px auto 0;
}

.section-header { margin-bottom: 48px; }

/* ─── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(2deg); }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.15); opacity: 0; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

/* ─── HEADER / NAVBAR ───────────────────────────────────────── */
.site-header {
  z-index: 1000;
  background: var(--pb-header-bg);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: background var(--pb-transition), box-shadow var(--pb-transition);
}

#mainNavbar {
  height: var(--pb-header-h);
  padding-top: 0;
  padding-bottom: 0;
}

/* Logo */
.navbar-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
}
.logo-fallback {
  font-size: 2rem;
  display: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-en {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--pb-text-mid);
  text-transform: uppercase;
}
.brand-bn {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pb-orange);
}
.brand-bn strong {
  color: var(--pb-orange-dark);
}

/* Nav links */
.navbar-nav .nav-link {
  font-family: var(--font-bn);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pb-text-dark) !important;
  padding: 6px 2px;
  position: relative;
  transition: color var(--pb-transition);
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pb-orange);
  border-radius: 2px;
  transition: width var(--pb-transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--pb-orange) !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  padding: 8px;
}
.dropdown-item {
  font-family: var(--font-bn);
  border-radius: 8px;
  padding: 8px 14px;
  transition: background var(--pb-transition);
}
.dropdown-item:hover {
  background: var(--pb-cream);
  color: var(--pb-orange);
}

/* Cart Button */
.btn-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--pb-cream);
  border: 2px solid var(--pb-border);
  border-radius: 30px;
  padding: 7px 18px;
  font-family: var(--font-bn);
  font-size: 0.95rem;
  color: var(--pb-text-dark);
  font-weight: 500;
  position: relative;
  transition: all var(--pb-transition);
}
.btn-cart:hover {
  background: var(--pb-orange);
  border-color: var(--pb-orange);
  color: #fff;
  transform: translateY(-1px);
}
.btn-cart i { font-size: 1.15rem; }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--pb-orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-en);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  transition: background var(--pb-transition);
}
.btn-cart:hover .cart-badge { background: var(--pb-orange-dark); }
.cart-badge[data-count="0"] { display: none; }

/* Scrolled navbar style */
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* ─── HERO SECTION ──────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #d4b48a; /* warm fallback while image loads */
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg-fallback {
  background: linear-gradient(135deg, #c9a96e 0%, #a8855a 40%, #6d9e52 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(255, 248, 230, 0.92) 0%,
    rgba(255, 248, 230, 0.75) 42%,
    rgba(255, 248, 230, 0.10) 70%,
    rgba(255, 248, 230, 0.00) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 100px;
}

/* Hero text content */
.hero-content {
  flex: 0 0 60%;
  max-width: 60%;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--pb-green);
  font-weight: 600;
  background: rgba(58, 125, 68, 0.1);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--pb-text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.highlight-khati {
  color: var(--pb-green);
  font-style: italic;
}
.highlight-healthy {
  color: var(--pb-orange);
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--pb-text-mid);
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-hero-primary {
  background: var(--pb-orange);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-bn);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(224, 123, 46, 0.4);
  transition: all var(--pb-transition);
}
.btn-hero-primary:hover {
  background: var(--pb-orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224, 123, 46, 0.5);
}

.btn-hero-secondary {
  background: rgba(255,255,255,0.8);
  color: var(--pb-text-dark);
  border: 2px solid var(--pb-border);
  padding: 10px 24px;
  border-radius: 30px;
  font-family: var(--font-bn);
  font-size: 1rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
  transition: all var(--pb-transition);
}
.btn-hero-secondary:hover {
  background: #fff;
  border-color: var(--pb-orange);
  color: var(--pb-orange);
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-item strong {
  font-size: 1.5rem;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--pb-orange);
  line-height: 1;
}
.stat-item span {
  font-size: 0.78rem;
  color: var(--pb-text-mid);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--pb-border);
}

/* Hero ingredient images — hidden when hero-bg already contains ingredients */
.hero-images-wrapper {
  display: none !important;
}

.hero-ingredient {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}

/*
  ╔══════════════════════════════════════════════════════╗
  ║  INGREDIENT IMAGE PLACEMENT GUIDE                    ║
  ║  Adjust these positions to match your actual images  ║
  ╚══════════════════════════════════════════════════════╝
*/
.ingredient-mustard {
  width: 45%;
  bottom: 0;
  left: -10%;
  animation: floatSlow 6s ease-in-out infinite;
  z-index: 1;
}
.ingredient-coconut {
  width: 55%;
  top: 5%;
  right: 5%;
  animation: floatSlow 7s ease-in-out infinite 1s;
  z-index: 3;
}
.ingredient-turmeric {
  width: 35%;
  bottom: 10%;
  right: 0;
  animation: floatSlow 5.5s ease-in-out infinite 0.5s;
  z-index: 2;
}
.ingredient-sugarcane {
  width: 28%;
  top: 15%;
  left: 15%;
  animation: floatSlow 8s ease-in-out infinite 2s;
  z-index: 4;
}

/* Decorative rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(224, 123, 46, 0.25);
  animation: pulse-ring 3.5s ease-out infinite;
}
.hero-ring-1 {
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-ring-2 {
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1s;
  border-color: rgba(58, 125, 68, 0.15);
}

/* Wave separator */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { display: block; }

/* ─── TRUST STRIP ───────────────────────────────────────────── */
.trust-strip {
  background: var(--pb-cream);
  border-top: 1px solid var(--pb-border);
  border-bottom: 1px solid var(--pb-border);
  padding: 20px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--pb-text-mid);
}
.trust-item i {
  font-size: 1.3rem;
  color: var(--pb-orange);
}

/* ─── PRODUCTS SECTION ──────────────────────────────────────── */
.products-section {
  padding: 80px 0;
  background: var(--pb-warm-white);
}

/* Filter tabs */
.product-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.filter-btn {
  background: transparent;
  border: 2px solid var(--pb-border);
  border-radius: 25px;
  padding: 7px 20px;
  font-family: var(--font-bn);
  font-size: 0.9rem;
  color: var(--pb-text-mid);
  cursor: pointer;
  transition: all var(--pb-transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--pb-orange);
  border-color: var(--pb-orange);
  color: #fff;
  box-shadow: 0 4px 14px rgba(224, 123, 46, 0.3);
}

/* Product Card */
.product-card {
  background: #fff;
  border: 1px solid var(--pb-border);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--pb-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: transparent;
}

/* Product badge */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--pb-orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-bn);
}
.product-badge.badge-new    { background: var(--pb-green); }
.product-badge.badge-premium { background: #7b5ea7; }
.product-badge.badge-organic { background: #3a8a55; }

/* Out of stock overlay */
.product-out-of-stock .product-img-wrapper::after {
  content: 'স্টক শেষ';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-bn);
}

/* Product image wrapper */
.product-img-wrapper {
  position: relative;
  background: var(--pb-cream);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 110%, rgba(224,123,46,0.08) 0%, transparent 70%);
}

/*
  ╔═══════════════════════════════════════════════════════════╗
  ║  PRODUCT IMAGES — Drop your images at:                   ║
  ║  ./assets/images/products/mustard-oil.jpg                ║
  ║  ./assets/images/products/coconut-oil.jpg                ║
  ║  ./assets/images/products/turmeric-powder.jpg            ║
  ║  ./assets/images/products/cane-sugar.jpg                 ║
  ║  (etc. — add more as needed)                             ║
  ║  Recommended size: 300×300 px                            ║
  ╚═══════════════════════════════════════════════════════════╝
*/
.product-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  object-position: center;
  transition: transform var(--pb-transition);
  position: relative;
  z-index: 1;
}
.product-card:hover .product-img {
  transform: scale(1.07);
}

/* Image missing placeholder */
.product-img-placeholder {
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--pb-orange-light);
  font-size: 3rem;
  gap: 6px;
}
.product-img-placeholder small {
  font-size: 0.7rem;
  color: var(--pb-text-light);
  font-family: var(--font-en);
}

/* Card body */
.product-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pb-text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pb-text-mid);
  margin-bottom: 16px;
}
.product-price .price-number {
  font-family: var(--font-en);
  font-size: 1.2rem;
  color: var(--pb-orange);
  font-weight: 700;
}

/* Order button */
.btn-order {
  display: block;
  width: 100%;
  background: var(--pb-orange);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 0;
  font-family: var(--font-bn);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: auto;
  transition: all var(--pb-transition);
  box-shadow: 0 4px 12px rgba(224, 123, 46, 0.3);
  letter-spacing: 0.3px;
}
.btn-order:hover {
  background: var(--pb-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(224, 123, 46, 0.45);
}
.btn-order:active { transform: translateY(0); }
.btn-order:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* View All button */
.btn-view-all {
  background: transparent;
  border: 2px solid var(--pb-orange);
  color: var(--pb-orange);
  padding: 12px 32px;
  border-radius: 30px;
  font-family: var(--font-bn);
  font-size: 1rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--pb-transition);
}
.btn-view-all:hover {
  background: var(--pb-orange);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,123,46,0.3);
}

/* ─── ABOUT SECTION ─────────────────────────────────────────── */
.about-section {
  padding: 80px 0;
  background: var(--pb-cream);
}
.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.about-main-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}
.about-img-fallback {
  height: 400px;
  background: linear-gradient(135deg, var(--pb-green-light), var(--pb-green));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-badge-card {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--pb-orange);
  color: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(224,123,46,0.4);
}
.about-badge-number {
  display: block;
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.about-badge-text {
  font-size: 0.8rem;
  opacity: 0.9;
}
.about-content { padding-left: 20px; }
.about-desc {
  color: var(--pb-text-mid);
  margin-bottom: 24px;
  font-size: 1rem;
}
.about-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--pb-border);
  font-size: 0.97rem;
}
.about-features li:last-child { border-bottom: none; }
.about-features i {
  color: var(--pb-green);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ─── ORDER MODAL ───────────────────────────────────────────── */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.modal-header {
  background: var(--pb-cream);
  border-bottom: 1px solid var(--pb-border);
  border-radius: 20px 20px 0 0;
  padding: 20px 24px;
}
.modal-title {
  font-family: var(--font-bn);
  font-size: 1.1rem;
  font-weight: 700;
}
.modal-body { padding: 24px; }
.modal-footer {
  background: var(--pb-cream);
  border-top: 1px solid var(--pb-border);
  border-radius: 0 0 20px 20px;
  padding: 16px 24px;
}

.order-product-preview {
  background: var(--pb-cream);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--pb-border);
}
.order-product-preview img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
}
.order-product-info .order-product-name {
  font-weight: 600;
  font-size: 0.97rem;
}
.order-product-info .order-product-price {
  font-size: 0.9rem;
  color: var(--pb-orange);
  font-weight: 600;
  font-family: var(--font-en);
}

.form-control {
  border-radius: 10px;
  border: 1px solid var(--pb-border);
  padding: 10px 14px;
  font-family: var(--font-bn);
  font-size: 0.95rem;
  transition: border-color var(--pb-transition), box-shadow var(--pb-transition);
}
.form-control:focus {
  border-color: var(--pb-orange);
  box-shadow: 0 0 0 3px rgba(224,123,46,0.15);
}
.form-label { font-weight: 500; font-size: 0.9rem; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  width: 140px;
}
.qty-btn {
  width: 40px;
  height: 42px;
  border: 1px solid var(--pb-border);
  background: var(--pb-cream);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pb-text-dark);
  cursor: pointer;
  transition: all var(--pb-transition);
}
.qty-btn:first-child { border-radius: 10px 0 0 10px; }
.qty-btn:last-child  { border-radius: 0 10px 10px 0; }
.qty-btn:hover { background: var(--pb-orange); color: #fff; border-color: var(--pb-orange); }
.qty-input {
  border-left: none;
  border-right: none;
  border-radius: 0;
  text-align: center;
  font-weight: 600;
  font-family: var(--font-en);
}
.qty-input:focus { z-index: 1; }

.order-total-box {
  background: var(--pb-cream);
  border: 1px dashed var(--pb-orange);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.order-total-label { font-weight: 600; font-size: 0.95rem; }
.order-total-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pb-orange);
  font-family: var(--font-en);
}

.btn-order-submit {
  background: var(--pb-orange);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 26px;
  font-family: var(--font-bn);
  font-weight: 600;
  transition: all var(--pb-transition);
}
.btn-order-submit:hover {
  background: var(--pb-orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--pb-footer-bg);
  color: var(--pb-footer-text);
}

.footer-top {
  padding: 64px 0 48px;
}

/* Brand */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.9;
}
.footer-brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 24px;
  opacity: 0.75;
}
.footer-section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--pb-orange-light);
  margin-bottom: 14px;
  font-family: var(--font-en);
}

/* Social links */
.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  transition: all var(--pb-transition);
  text-decoration: none;
}
.social-fb { background: #1877f2; }
.social-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-tw { background: #000; }
.social-yt { background: #ff0000; }
.social-link:hover {
  transform: translateY(-3px) scale(1.12);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Footer headings */
.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--pb-orange);
  border-radius: 2px;
}

/* Quick links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: var(--pb-footer-text);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--pb-transition);
}
.footer-links a i { font-size: 0.7rem; color: var(--pb-orange); }
.footer-links a:hover {
  color: var(--pb-orange-light);
  padding-left: 4px;
}

/* Contact info */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}
.footer-contact-list i {
  color: var(--pb-orange);
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-list a {
  color: var(--pb-footer-text);
  transition: color var(--pb-transition);
}
.footer-contact-list a:hover { color: var(--pb-orange-light); }

/* Payment logos */
.footer-payment-sub {
  font-size: 0.8rem;
  opacity: 0.65;
  margin-bottom: 16px;
}
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.payment-logo-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all var(--pb-transition);
  min-width: 76px;
  height: 42px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.payment-logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.28);
}

/*
  ╔═══════════════════════════════════════════════════════════╗
  ║  PAYMENT LOGO IMAGES — Drop your images at:              ║
  ║  ./assets/images/payment/bkash.png      (Pink logo)      ║
  ║  ./assets/images/payment/nagad.png      (Orange logo)    ║
  ║  ./assets/images/payment/rocket.png     (Purple logo)    ║
  ║  ./assets/images/payment/mastercard.png (Red+Yellow)     ║
  ║  Recommended: PNG with transparent background, ~80×30px  ║
  ╚═══════════════════════════════════════════════════════════╝
*/
.payment-logo {
  max-width: 68px;
  max-height: 30px;
  object-fit: contain;
  /* Light-background logos on white pill cards — show in natural color */
  opacity: 1;
  border-radius: 3px;
}
.payment-logo-text {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.footer-secure-note {
  font-size: 0.78rem;
  opacity: 0.55;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-secure-note i { color: var(--pb-green-light); }

/* Footer bottom bar */
.footer-bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px 0;
  font-size: 0.82rem;
  opacity: 0.65;
}
.footer-bottom-links a {
  color: var(--pb-footer-text);
  transition: color var(--pb-transition);
}
.footer-bottom-links a:hover { color: var(--pb-orange-light); }

/* ─── LOADER SKELETON ───────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes skeleton-shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* ─── BACK TO TOP ───────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: var(--pb-orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(224,123,46,0.45);
  transition: all var(--pb-transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--pb-orange-dark);
  transform: translateY(-3px);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  /* Navbar */
  #mainNavbar { height: auto; padding: 12px 0; }
  .navbar-collapse { padding: 16px 0; border-top: 1px solid var(--pb-border); margin-top: 12px; }
  .navbar-nav .nav-link::after { display: none; }

  /* Hero */
  .hero-container {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 80px;
  }
  .hero-content { flex: none; max-width: 100%; }
  .hero-images-wrapper {
    display: none; /* hide floating images on tablet/mobile */
  }
  .hero-title { font-size: 1.9rem; }

  /* Trust strip */
  .trust-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about-content { padding-left: 0; }
}

@media (max-width: 767.98px) {
  /* Hero */
  .hero-section { min-height: 460px; }
  .hero-stats { flex-wrap: wrap; gap: 14px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }

  /* Trust */
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-item { font-size: 0.82rem; }

  /* Products */
  .products-section { padding: 60px 0; }
  .section-title { font-size: 1.5rem; }

  /* Footer */
  .footer-top { padding: 48px 0 32px; }
  .social-links { gap: 8px; }
}

@media (max-width: 575.98px) {
  /* Trust strip — single column on very small screens */
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item span { display: none; }  /* icon only on xs */
  .trust-item i { font-size: 1.5rem; }
  .trust-item { justify-content: center; }

  /* Payment logos */
  .payment-logos { gap: 8px; }
  .payment-logo-item { padding: 6px 10px; min-width: 58px; }

  /* Cart badge always visible */
  .cart-badge { display: flex !important; }
}

/* ═══════════════════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════════════════ */

/* Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.cart-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}

/* Header */
.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  background: var(--pb-cream);
  border-bottom: 1px solid var(--pb-border);
  flex-shrink: 0;
}
.cart-drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}
.cart-drawer-title i {
  font-size: 1.3rem;
  color: var(--pb-orange);
}
.cart-drawer-count {
  font-size: 0.78rem;
  font-family: var(--font-en);
  font-weight: 600;
  background: var(--pb-orange);
  color: #fff;
  padding: 2px 9px;
  border-radius: 20px;
}
.cart-close-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0,0,0,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background var(--pb-transition);
}
.cart-close-btn:hover { background: rgba(0,0,0,0.15); }

/* Empty state */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
.cart-empty-icon { font-size: 4rem; margin-bottom: 16px; }
.cart-empty-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cart-empty-sub {
  font-size: 0.9rem;
  color: var(--pb-text-mid);
  margin-bottom: 24px;
}
.btn-cart-shop {
  background: var(--pb-orange);
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 10px 26px;
  font-family: var(--font-bn);
  font-weight: 600;
  transition: all var(--pb-transition);
}
.btn-cart-shop:hover {
  background: var(--pb-orange-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* Items list */
.cart-items-wrapper {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Single cart item */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--pb-cream);
  border: 1px solid var(--pb-border);
  border-radius: 14px;
  padding: 12px;
  transition: box-shadow var(--pb-transition);
}
.cart-item:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); }

.cart-item-img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  flex-shrink: 0;
  padding: 4px;
}
.cart-item-body { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 0.82rem;
  color: var(--pb-orange);
  font-weight: 600;
  font-family: var(--font-en);
  margin-bottom: 8px;
}

/* Item qty controls */
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0;
}
.cart-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--pb-border);
  background: #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--pb-transition);
  color: var(--pb-text-dark);
}
.cart-qty-btn:hover {
  background: var(--pb-orange);
  border-color: var(--pb-orange);
  color: #fff;
}
.cart-qty-num {
  width: 32px;
  text-align: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  background: transparent;
}

/* Remove button */
.cart-item-remove {
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: all var(--pb-transition);
}
.cart-item-remove:hover {
  background: #dc3545;
  color: #fff;
}

/* Line total */
.cart-item-line-total {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--pb-text-dark);
  font-family: var(--font-en);
  white-space: nowrap;
  min-width: 52px;
  text-align: right;
}

/* Cart footer */
.cart-drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--pb-border);
  background: var(--pb-cream);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-summary {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--pb-border);
  margin-bottom: 4px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  padding: 4px 0;
}
.cart-summary-total {
  border-top: 1px dashed var(--pb-border);
  margin-top: 8px;
  padding-top: 10px;
  font-weight: 700;
  font-size: 1.05rem;
}
.cart-summary-total span:last-child {
  color: var(--pb-orange);
  font-family: var(--font-en);
  font-size: 1.15rem;
}
.btn-checkout {
  background: var(--pb-orange);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 13px;
  font-family: var(--font-bn);
  font-size: 1rem;
  font-weight: 700;
  width: 100%;
  transition: all var(--pb-transition);
  box-shadow: 0 6px 18px rgba(224,123,46,0.35);
}
.btn-checkout:hover {
  background: var(--pb-orange-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(224,123,46,0.45);
}
.btn-clear-cart {
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 8px;
  font-family: var(--font-bn);
  font-size: 0.85rem;
  color: var(--pb-text-mid);
  width: 100%;
  transition: all var(--pb-transition);
}
.btn-clear-cart:hover {
  background: #fff0f0;
  border-color: #dc3545;
  color: #dc3545;
}

/* ── Product card: two-button layout ── */
.product-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.btn-add-cart {
  flex: 1;
  background: var(--pb-orange);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 8px;
  font-family: var(--font-bn);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--pb-transition);
  box-shadow: 0 4px 12px rgba(224,123,46,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap;
}
.btn-add-cart:hover {
  background: var(--pb-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(224,123,46,0.4);
}
.btn-add-cart.added {
  background: var(--pb-green);
  box-shadow: 0 4px 12px rgba(58,125,68,0.3);
}
.btn-quick-order {
  width: 42px;
  height: 42px;
  background: var(--pb-cream);
  border: 2px solid var(--pb-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: var(--pb-text-mid);
  flex-shrink: 0;
  transition: all var(--pb-transition);
  padding: 0;
}
.btn-quick-order:hover {
  background: var(--pb-orange);
  border-color: var(--pb-orange);
  color: #fff;
}

/* Checkout modal extras */
.checkout-section-title {
  font-weight: 700;
  color: var(--pb-text-dark);
  margin-bottom: 16px;
  font-size: 0.95rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--pb-cream);
}
.checkout-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  max-height: 220px;
  overflow-y: auto;
}
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--pb-border);
  font-size: 0.88rem;
  gap: 8px;
}
.checkout-summary-item:last-child { border-bottom: none; }
.checkout-summary-item .item-name { flex: 1; font-weight: 500; }
.checkout-summary-item .item-qty  { color: var(--pb-text-mid); font-family: var(--font-en); }
.checkout-summary-item .item-price{ font-weight: 700; color: var(--pb-orange); font-family: var(--font-en); }
.checkout-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--pb-cream);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  border: 1px solid var(--pb-border);
}
.checkout-total-value {
  font-size: 1.3rem;
  color: var(--pb-orange);
  font-family: var(--font-en);
}

/* Add-to-cart toast notification */
.cart-toast {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background: var(--pb-green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 30px;
  font-family: var(--font-bn);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}
.cart-toast.show {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 575.98px) {
  .cart-drawer { width: 100vw; }
}
