/* Desi Roots — Main CSS */

:root {
  --sp-saffron:    #C98A2B;  /* primary */
  --sp-olive:      #667A3E;  /* secondary */
  --sp-bg:         #FCFBF8;  /* page background */
  --sp-card:       #FFFFFF;  /* cards */
  --sp-text:       #2F2F2F;  /* body text */
  --sp-border:     #E8E2D8;  /* borders, dividers */
  --sp-dark:       #221C17;  /* warm charcoal: footer, hero and tile backgrounds */
  --sp-whatsapp:   #25D366;  /* WhatsApp's own green, for WhatsApp buttons only */
  --sp-turmeric:   #E8A317;  /* accent: badges, highlights (dark text on it) */
  --sp-chilli:     #B8322A;  /* accent: offers, emphasis (white text on it) */
  --sp-cardamom:   #4F7D3A;  /* accent: success, fresh (white text on it) */
  --sp-masala:     #7A3E1D;  /* accent: deep warm sections (white text on it) */
  --sp-cream:      #FDF4E7;  /* warm tint behind the category circles */
  /* Darker shades for TEXT and BUTTONS so they meet WCAG 2.2 AA (4.5:1) on white and cream.
     Saffron itself (2.9:1 on white) stays for decorative backgrounds, borders and accents only. */
  --sp-saffron-text: #8F5E14;  /* gold text, outline buttons, active links (5.6:1 on white) */
  --sp-cta:          #B35A12;  /* main buttons, white text on it (4.8:1) */
  --sp-cta-dark:     #9C4D10;  /* main buttons: darker end and hover (6.0:1) */
  --sp-font-head:  'Poppins', sans-serif;
  --sp-font-body:  'Inter', sans-serif;
}

/* Global Styles */
body {
  background-color: var(--sp-bg);
  color: var(--sp-text);
  font-family: var(--sp-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sp-font-head);
  font-weight: 600;
  color: var(--sp-text);
  letter-spacing: -0.02em;
}

a {
  color: var(--sp-olive);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: var(--sp-saffron-text);
}

/* Custom Announcement Bar */
.announcement-bar {
  background-color: var(--sp-masala);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 7px 0;
  text-align: center;
}

/* Custom Sticky Navigation */
.navbar {
  background-color: var(--sp-card);
  border-bottom: 1px solid var(--sp-border);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: var(--sp-font-head);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--sp-text) !important;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.navbar-brand-logo,
.navbar-brand img {
  height: 46px !important;
  max-height: 46px !important;
  width: auto !important;
  max-width: 48px !important;
  object-fit: contain !important;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
}

.navbar-brand:hover .navbar-brand-logo,
.navbar-brand:hover img {
  transform: scale(1.08);
}

.navbar-brand span {
  color: var(--sp-saffron-text);
}

.nav-link {
  font-family: var(--sp-font-head);
  font-weight: 500;
  color: var(--sp-text) !important;
  font-size: 0.92rem;
  padding: 8px 11px !important;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--sp-saffron-text) !important;
}

/* Issue 11: visible active-page indicator (underline) for better wayfinding */
.nav-link.active {
  text-decoration: underline;
  text-decoration-color: var(--sp-saffron-text);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

@media (min-width: 1400px) {
  .nav-link {
    font-size: 0.95rem;
    padding: 8px 14px !important;
  }
}

/* Buttons Styling */
.btn {
  font-family: var(--sp-font-head);
  font-weight: 500;
  padding: 10px 24px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sp-cta) 0%, var(--sp-cta-dark) 100%);
  border-color: var(--sp-cta-dark);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(156, 77, 16, 0.25);
}

.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(135deg, var(--sp-cta-dark) 0%, var(--sp-masala) 100%);
  border-color: var(--sp-masala);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(156, 77, 16, 0.35);
}

.btn-secondary {
  background-color: var(--sp-olive);
  border-color: var(--sp-olive);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(107, 112, 92, 0.2);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: #555949;
  border-color: #555949;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 112, 92, 0.3);
}

.btn-gold {
  background: linear-gradient(135deg, var(--sp-gold) 0%, #d4aa48 100%);
  border-color: #d4aa48;
  color: #1A1A1B;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(233, 196, 106, 0.3);
}

.btn-gold:hover, .btn-gold:focus {
  background: linear-gradient(135deg, #f2d488 0%, var(--sp-gold) 100%);
  border-color: var(--sp-gold);
  color: #1A1A1B;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(233, 196, 106, 0.45);
}

.btn-outline-primary {
  color: var(--sp-saffron-text);
  border-color: var(--sp-saffron-text);
  background-color: transparent;
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--sp-saffron-text);
  border-color: var(--sp-saffron-text);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(224, 122, 40, 0.25);
}

/* Card Styling */
.card {
  background-color: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(26, 26, 27, 0.08);
  border-color: var(--sp-gold);
}

.card-img-top-wrapper {
  /* White, like the product pack shots, so photo edges don't show as a box */
  background-color: var(--sp-card);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  border-bottom: 1px solid var(--sp-border);
}

.card-img-top-wrapper img, .card-img-top-wrapper svg {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Custom Badges */
.sp-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--sp-font-head);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  background-color: var(--sp-saffron-text);
  color: #ffffff;
}

/* Badge pinned to the top-right corner of a product card's image */
.sp-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.sp-badge-secondary {
  background-color: var(--sp-olive);
}

/* Forms Styling */
.form-control, .form-select {
  border: 1px solid var(--sp-border);
  border-radius: 4px;
  padding: 12px 16px;
  background-color: #ffffff;
  color: var(--sp-text);
  transition: border-color 0.2s ease-in-out;
}

.form-control:focus, .form-select:focus {
  border-color: var(--sp-saffron-text);
  box-shadow: 0 0 0 3px rgba(201, 138, 43, 0.1);
  background-color: #ffffff;
  color: var(--sp-text);
}

/* Accordion Customization (FAQ) */
.accordion-item {
  background-color: var(--sp-card);
  border: 1px solid var(--sp-border);
  border-radius: 4px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-button {
  font-family: var(--sp-font-head);
  font-weight: 600;
  color: var(--sp-text);
  background-color: var(--sp-card);
  padding: 20px 24px;
  border: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: var(--sp-saffron-text);
  background-color: var(--sp-card);
  border-bottom: 1px solid var(--sp-border) !important;
}

.accordion-button::after {
  filter: brightness(0.2);
}

.accordion-body {
  padding: 24px;
  background-color: var(--sp-card);
  color: var(--sp-text);
}

/* Footer Styling */
footer {
  --sp-footer-text: #a8a49c;           /* one muted colour for all footer text and links */
  background-color: var(--sp-dark);
  color: var(--sp-footer-text);
  font-size: 0.9375rem;                /* 15px everywhere in the footer */
  line-height: 1.65;
  /* bottom padding leaves room for the floating WhatsApp button */
  padding: 72px 0 96px;
  border-top: 1px solid #242426;
}

footer h5,
footer .h5 {
  color: #ffffff;
  font-family: var(--sp-font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

footer a {
  color: var(--sp-footer-text);
  text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
  color: #ffffff;
}

/* Link columns and the contact list share the same spacing */
.footer-link-list,
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

/* Contact rows: fixed-width icon column so every line of text starts at the same place */
.footer-contact-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 12px;
  align-items: start;
}
.footer-contact-list li i {
  font-size: 1.05rem !important;
  line-height: 1.6;
  margin-top: 0 !important;
}

footer .footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #2f2924;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.8125rem;                /* 13px for the legal line and policy links */
  line-height: 1.6;
}

.footer-legal {
  margin: 0;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 6px;
}
.footer-policy-links a {
  white-space: nowrap;                 /* never split "Privacy Policy" over two lines */
}

/* Desktop: legal line on the left, policy links on the right, top-aligned */
@media (min-width: 992px) {
  footer .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
  .footer-legal {
    max-width: 640px;
  }
  .footer-policy-links {
    flex-shrink: 0;
  }
}



/* Process Section */
.process-step {
  text-align: center;
  position: relative;
  padding: 24px;
}

.process-step-number {
  width: 50px;
  height: 50px;
  background-color: var(--sp-olive);
  color: #ffffff;
  font-family: var(--sp-font-head);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 49px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--sp-border);
  z-index: 1;
}

@media (max-width: 991.98px) {
  .process-step:not(:last-child)::after {
    display: none;
  }
}

/* Details Table spec */
.spec-table th {
  font-weight: 600;
  background-color: #faf9f6;
  width: 30%;
  border-color: var(--sp-border);
}

.spec-table td {
  border-color: var(--sp-border);
}

/* Utilities */
.text-saffron { color: var(--sp-saffron-text); }
.text-gold { color: var(--sp-gold); }
.text-olive { color: var(--sp-olive); }
.bg-saffron { background-color: var(--sp-saffron-text); }
.bg-gold { background-color: var(--sp-gold); }
.bg-olive { background-color: var(--sp-olive); }
.border-sp { border-color: var(--sp-border) !important; }

/* Sensory Category Cards with Real Photography */
.category-card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  height: 190px;
  border: 1px solid var(--sp-border);
  text-decoration: none;
  background-color: var(--sp-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(20, 20, 21, 0.2);
  border-color: var(--sp-gold);
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  filter: brightness(0.82);
}

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

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 21, 0.1) 0%, rgba(20, 20, 21, 0.45) 55%, rgba(20, 20, 21, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Issue 7: extra bottom padding so BROWSE label has breathing room */
  padding: 16px 16px 20px;
  transition: background 0.3s ease;
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(180deg, rgba(20, 20, 21, 0.05) 0%, rgba(20, 20, 21, 0.4) 45%, rgba(20, 20, 21, 0.95) 100%);
}

.category-card-title {
  color: #ffffff;
  font-family: var(--sp-font-head);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.category-card-action {
  color: var(--sp-gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.category-card:hover .category-card-action {
  gap: 8px;
  color: #ffffff;
}

/* Mobile button styling & tap targets */
@media (max-width: 768px) {
  .btn {
    padding: 12px 28px; /* Larger padding for better touch targets */
  }
  .d-flex.flex-column.flex-sm-row.justify-content-center.gap-3 .btn {
    width: 100%; /* Stacks buttons on mobile */
  }
}

/* Footer brand logo styling */
.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 52px;
  object-fit: contain;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

.footer-brand:hover .footer-logo-img {
  transform: scale(1.06);
}

/* Issue 16: social icon links — minimum 44×44 px tap target, comfortable spacing */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

@media (max-width: 576px) {
  .navbar-brand-logo,
  .navbar-brand img {
    height: 38px !important;
    max-height: 38px !important;
    max-width: 40px !important;
  }
  .navbar-brand {
    font-size: 1.1rem;
    gap: 8px;
  }
  .navbar {
    padding: 10px 0;
  }
}

/* Mobile Collapsed Navigation touch targets */
@media (max-width: 1199.98px) {
  .navbar-nav {
    padding: 16px 0;
  }
  .nav-item {
    width: 100%;
    text-align: center;
  }
  .nav-link {
    padding: 12px 16px !important; /* Larger touch targets in collapsed menu */
  }
  .nav-item .btn {
    width: 80%;
    margin: 12px auto 0;
    display: block;
  }
}

/* Quick Navigation Links Component */
.quick-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  font-family: var(--sp-font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sp-text);
  padding: 10px 16px;
  border-radius: 8px;
  background-color: var(--sp-bg);
  border: 1px solid var(--sp-border);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-nav-link:hover {
  color: var(--sp-saffron-text);
  border-color: var(--sp-saffron-text);
  background-color: #ffffff;
  transform: translateX(4px);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.quick-nav-link.active {
  color: var(--sp-saffron-text);
  border-color: var(--sp-saffron-text);
  background-color: #ffffff;
}

/* Contact & Enquiry Page Component Styles */
.contact-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.contact-icon-badge:hover {
  transform: scale(1.1);
}

.bg-saffron-light { background-color: rgba(224, 122, 40, 0.12); color: var(--sp-saffron-text); }
.bg-blue-light { background-color: rgba(13, 110, 253, 0.10); color: #0d6efd; }
.bg-green-light { background-color: rgba(102, 122, 62, 0.14); color: var(--sp-olive); }
.bg-gold-light { background-color: rgba(233, 196, 106, 0.22); color: #A67208; }

.btn-social-wa {
  background-color: #25D366;
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-social-wa:hover {
  color: #ffffff !important;
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Contact page Call and Email buttons, same shape as the WhatsApp button */
.btn-contact-call,
.btn-contact-email {
  color: #ffffff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn-contact-call { background-color: var(--sp-saffron-text); }
.btn-contact-email { background-color: var(--sp-olive); }
.btn-contact-call:hover,
.btn-contact-email:hover {
  color: #ffffff !important;
  opacity: 0.9;
  transform: translateY(-1px);
}

/* 404 page search box */
.sp-error-search {
  max-width: 460px;
}

/* Issue 5/6: strengthen the hero overlay so white text always clears the busy background */
.sp-hero-wrapper {
  position: relative;
  background-color: var(--sp-dark);
  background-image:
    /* Light shading only at the bottom, behind the buttons; the photo already has a dark text area */
    linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 60%,
      rgba(18, 14, 10, 0.60) 100%
    ),
    url('../images/hero-ethnic-grocery.jpg');
  background-size: cover;
  /* Anchor top-left: the brand title and text sit on the left of the photo, so they are never cropped */
  background-position: left top;
  background-repeat: no-repeat;
  border-bottom: 2px solid var(--sp-gold);
  /* Height follows the photo's 16:9 shape (2048x1152 -> 56.25vw) so the whole image shows */
  height: clamp(520px, 56.25vw, 900px);
  display: flex;
  align-items: flex-end;
}

.sp-hero-container {
  padding-top: 2rem;
  padding-bottom: 3.5rem;
  width: 100%;
}

.sp-hero-actions .btn {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Issue 9/10/12: secondary hero button — outlined white, clearly subordinate to primary */
.btn-hero-outline {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
  font-family: var(--sp-font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn-hero-outline:hover,
.btn-hero-outline:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Tablets: a taller banner so the buttons sit below the badges in the photo */
@media (min-width: 768px) and (max-width: 991.98px) {
  .sp-hero-wrapper {
    height: 75vw;
  }
  .sp-hero-actions .btn {
    padding: 0.6rem 1.1rem;
    font-size: 1rem;
  }
}

/* Mobile screen optimization (< 768px) */
@media (max-width: 767.98px) {
  .sp-hero-wrapper {
    /* Taller than 16:9 on phones so the stacked buttons sit below the photo's tagline */
    /* Phones: the whole photo (a 1100x1024 crop with the text and spices) shown at full
       width, with the buttons on the dark band below it so they cover nothing */
    height: auto;
    min-height: 0;
    padding-top: 93.1vw;
    background-image: url('../images/hero-ethnic-grocery-phone.jpg');
    background-size: 100% auto;
    background-position: center top;
  }

  .sp-hero-container {
    padding-top: 1.25rem !important;
    padding-bottom: 1.5rem !important;
  }

  .sp-hero-actions {
    gap: 0.75rem !important;
  }

  .sp-hero-actions .btn {
    padding: 0.75rem 1.25rem !important;
    font-size: 1rem !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
/* ==========================================================================
   Featured Brands Section (Compact, Premium B2B Wholesale)
   ========================================================================== */
.sp-featured-brands-section {
  background-color: var(--sp-bg);
  padding: 65px 0;
  border-bottom: 1px solid var(--sp-border);
}

.sp-brands-header {
  margin-bottom: 40px;
}

.sp-brands-eyebrow {
  display: inline-block;
  font-family: var(--sp-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-olive);
  margin-bottom: 6px;
}

.sp-brands-title {
  font-family: var(--sp-font-head);
  font-weight: 700;
  color: var(--sp-text);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.sp-brands-title .accent-word {
  color: var(--sp-saffron-text);
}

.sp-brands-subtitle {
  font-family: var(--sp-font-body);
  font-size: 0.95rem;
  color: #6c757d;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.brand-showcase-card {
  background-color: #FFFFFF;
  border: 1px solid #ECE7E0 !important;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.025);
  height: 140px;
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.brand-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07) !important;
  border-color: #DFD5C6 !important;
}

.brand-showcase-logo-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Every logo gets the same box; the (trimmed) artwork is scaled to fit and centred,
   so wide logos fill the width, round ones fill the height, and all share one centre line */
.brand-showcase-logo {
  width: 100%;
  height: 100%;
  max-width: 160px;
  max-height: 76px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.25s ease;
}

.brand-showcase-card:hover .brand-showcase-logo {
  transform: scale(1.03);
}

/* Outlined CTA Button */
.btn-outline-brand-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sp-font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sp-olive);
  border: 1.5px solid var(--sp-olive);
  background-color: transparent;
  padding: 8px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.22s ease-in-out;
}

.btn-outline-brand-view:hover {
  color: #FFFFFF;
  background-color: var(--sp-olive);
  border-color: var(--sp-olive);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 122, 62, 0.25);
}

@media (max-width: 767.98px) {
  .sp-featured-brands-section {
    padding: 50px 0;
  }
  .sp-brands-header {
    margin-bottom: 30px;
  }
  .brand-showcase-card {
    height: 115px;
    padding: 14px 16px;
    border-radius: 12px;
  }
  .brand-showcase-logo {
    max-height: 56px;
    max-width: 120px;
  }
}



/* Catalogue filters: on large screens the panel stays in view and scrolls on its own,
   so scrolling over it moves only the filters and scrolling over products moves the page */
@media (min-width: 992px) {
  .sp-filter-panel {
    position: sticky;
    top: 100px;
    z-index: 100;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--sp-border) transparent;
  }
}

/* Phones: the categories & brands toggle in the catalogue filters */
.sp-filter-chevron {
  transition: transform 0.2s ease;
}
.sp-filter-toggle[aria-expanded="true"] .sp-filter-chevron {
  transform: rotate(180deg);
}

/* Contact form spam trap: kept off-screen rather than display:none, which some bots skip */
#div_id_website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Catalogue product cards */
.sp-product-card .card-body {
  padding: 1.5rem;
}

/* Removable filter chips above the product grid */
.sp-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border: 1px solid var(--sp-border);
  border-radius: 999px;
  background-color: var(--sp-card);
  color: var(--sp-text);
  font-size: 0.85rem;
  text-decoration: none;
}
.sp-filter-chip:hover,
.sp-filter-chip:focus-visible {
  border-color: var(--sp-saffron-text);
  color: var(--sp-saffron-text);
}

.sp-sort-form .form-select {
  width: auto;
  min-width: 9.5rem;
}

/* Phones: two compact cards per row */
@media (max-width: 575.98px) {
  .sp-product-card .card-img-top-wrapper {
    /* Square on phones: most packs are tall bags, so they show larger */
    aspect-ratio: 1 / 1;
    padding: 8px;
  }
  .sp-product-card .card-body {
    padding: 0.75rem;
  }
  .sp-product-card .card-title {
    font-size: 0.92rem;
    line-height: 1.3;
  }
  .sp-product-card .sp-card-category {
    font-size: 0.68rem;
    margin-bottom: 4px !important;
  }
  .sp-product-card .badge {
    font-size: 0.68rem;
    padding: 2px 5px !important;
  }
  .sp-product-card .btn {
    padding: 4px 6px;
    font-size: 0.82rem;
  }
  .sp-product-card .sp-card-badge {
    font-size: 0.62rem;
  }
  .sp-sort-form {
    margin-left: 0 !important;
    width: 100%;
  }
  .sp-sort-form .form-select {
    flex: 1;
  }
}

/* Header: Request Quote stays visible next to the menu button on phones and tablets */
.sp-nav-quote {
  margin-left: auto;
  margin-right: 10px;
}
@media (max-width: 575.98px) {
  .sp-nav-quote {
    padding: 5px 12px;
    font-size: 0.82rem;
  }
}

/* Floating WhatsApp chat button, bottom-right on every page */
.sp-whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--sp-whatsapp);
  color: #ffffff;
  font-size: 1.75rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-whatsapp-float:hover,
.sp-whatsapp-float:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.sp-whatsapp-float:focus-visible {
  outline: 3px solid var(--sp-saffron-text);
  outline-offset: 3px;
}
@media (max-width: 575.98px) {
  .sp-whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* Brands page: initials badge for brands without a logo */
.sp-brand-initials {
  width: 64px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--sp-border);
  border-radius: 6px;
  background-color: var(--sp-bg);
  color: var(--sp-saffron-text);
  font-family: var(--sp-font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

/* Privacy pop-up: white card at the bottom-right on larger screens, beside the WhatsApp button
   and clear of the hero buttons; full-width panel on phones */
.sp-cookie-notice {
  position: fixed;
  right: 96px;
  bottom: 24px;
  z-index: 1045;
  width: calc(100% - 120px);
  max-width: 480px;
  padding: 22px 24px 20px;
  background-color: var(--sp-card);
  color: var(--sp-text);
  border: 1px solid var(--sp-border);
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
}
.sp-cookie-notice[hidden] {
  display: none;
}
.sp-cookie-notice__title {
  font-family: var(--sp-font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--sp-text);
}
.sp-cookie-notice__text {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.sp-cookie-notice__text a {
  color: var(--sp-saffron-text);
  font-weight: 600;
}
.sp-cookie-notice__details {
  margin: -4px 0 18px;
  border: 1px solid var(--sp-border);
  border-radius: 8px;
}
.sp-cookie-notice__details[hidden] {
  display: none;
}
.sp-cookie-notice__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}
.sp-cookie-notice__row + .sp-cookie-notice__row {
  border-top: 1px solid var(--sp-border);
}
.sp-cookie-notice__row strong {
  display: block;
  font-size: 0.85rem;
}
.sp-cookie-notice__status {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sp-olive);
}
.sp-cookie-notice__status--off {
  color: #8a857c;
}
.sp-cookie-notice__actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.sp-cookie-notice__actions .btn {
  padding: 9px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 575.98px) {
  .sp-cookie-notice {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 14px 14px 0 0;
    border-width: 1px 0 0;
    padding: 18px 16px 16px;
  }
  .sp-cookie-notice__text {
    font-size: 0.85rem;
    margin-bottom: 14px;
  }
  .sp-cookie-notice__actions {
    gap: 8px;
  }
  .sp-cookie-notice__actions .btn {
    font-size: 0.82rem;
    padding: 9px 4px;
  }
  /* hide the WhatsApp button while the pop-up covers the bottom of the screen */
  body.sp-cookie-notice-open .sp-whatsapp-float {
    display: none;
  }
}

/* Phones: Bootstrap's wide g-5 gutter is wider than the page padding and
   made About, Contact and product pages scroll sideways. */
@media (max-width: 575.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}

/* Search box in the top bar */
.sp-nav-search {
  flex: 1 1 auto;
  max-width: 300px;
}
.sp-nav-search .form-control {
  border-color: var(--sp-border);
  background-color: var(--sp-bg);
  font-family: var(--sp-font-body);
}
.sp-nav-search .form-control:focus {
  border-color: var(--sp-saffron-text);
  box-shadow: 0 0 0 0.2rem rgba(201, 138, 43, 0.2);
}
/* Phones and tablets: a full-width row under the logo */
.sp-nav-search--mobile {
  flex-basis: 100%;
  max-width: none;
  order: 3;
  margin-top: 10px;
}
.sp-nav-search--mobile .form-control {
  font-size: 16px; /* 16px or more stops iPhones zooming in when the box is tapped */
}
.navbar-collapse {
  order: 4;
}

/* About Us page */
.about-logo { display: block; width: 200px; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; }
@media (max-width: 575.98px) { .about-logo { width: 160px; } }
.about-lead { font-size: 1.08rem; line-height: 1.7; }
.about-list { padding-left: 1.2rem; margin-bottom: 1rem; }
.about-list li { margin-bottom: .35rem; }
.about-card { height: 100%; background: var(--sp-card); border: 1px solid var(--sp-border); border-radius: 12px; padding: 18px 20px; }
.about-card h3 { font-family: var(--sp-font-head); font-weight: 600; color: var(--sp-text); margin-bottom: 6px; }
.about-card p { color: #5a5148; font-size: .95rem; margin: 0; }
.about-tagline { font-family: var(--sp-font-head); font-size: 1.2rem; color: var(--sp-text); }
.about-tagline strong { color: var(--sp-saffron-text); }

/* Home: "Everything You Need" category circles */
.sp-cats-section { background: var(--sp-cream); }
.sp-cats-title { font-family: var(--sp-font-head); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.4rem); color: var(--sp-text); letter-spacing: -0.01em; }
.sp-cats-title span { color: var(--sp-chilli); }
.sp-cats-all { color: var(--sp-chilli); font-weight: 600; text-decoration: none; }
.sp-cats-all:hover { text-decoration: underline; }
.sp-cat-circles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px 18px; }
.sp-cat-circle { display: block; text-align: center; text-decoration: none; color: var(--sp-text); border-radius: 12px; }
.sp-cat-circle img { display: block; width: 100%; height: auto; transition: transform .25s ease; }
.sp-cat-circle:hover img { transform: translateY(-4px) scale(1.03); }
.sp-cat-circle-blank { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--sp-card); border: 1px solid var(--sp-border); color: var(--sp-saffron-text); font-size: 2.5rem; }
.sp-cat-circle-name { display: block; margin-top: 8px; font-family: var(--sp-font-head); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.sp-cat-circle:hover .sp-cat-circle-name { color: var(--sp-chilli); }
.sp-cat-circle:focus-visible { outline: 3px solid var(--sp-masala); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .sp-cat-circle img { transition: none; } .sp-cat-circle:hover img { transform: none; } }
@media (max-width: 991.98px) { .sp-cat-circles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575.98px) { .sp-cat-circles { grid-template-columns: repeat(3, 1fr); gap: 16px 10px; } .sp-cat-circle-name { font-size: .8rem; } }

/* Home: "Shop by Brand" slider of round logo badges */
.sp-brand-slider { position: relative; }
.sp-brand-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scroll-padding: 0 10px; padding: 12px 10px 10px; margin: 0 -10px; scrollbar-width: none; }
.sp-brand-track::-webkit-scrollbar { display: none; }
.sp-brand-badge { flex: 0 0 calc((100% - 5 * 22px) / 6); scroll-snap-align: start; text-align: center; text-decoration: none; color: var(--sp-text); border-radius: 12px; }
.sp-badge-ring { display: flex; align-items: center; justify-content: center; width: calc(100% - 14px); max-width: 160px; aspect-ratio: 1; margin: 9px auto 14px; padding: 26px; border-radius: 50%; background: var(--sp-card); border: 3px solid var(--sp-olive); box-shadow: 0 0 0 5px var(--sp-card), 0 0 0 7px var(--sp-saffron); transition: transform .2s ease; }
.sp-badge-ring img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sp-badge-letter { font-family: var(--sp-font-head); font-size: 2.6rem; font-weight: 700; color: var(--sp-masala); }
.sp-badge-name { display: block; font-family: var(--sp-font-head); font-weight: 500; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; }
.sp-brand-badge:hover .sp-badge-ring { transform: scale(1.05); }
.sp-brand-badge:hover .sp-badge-name { color: var(--sp-chilli); }
.sp-brand-badge:focus-visible { outline: 3px solid var(--sp-masala); outline-offset: 2px; }
.sp-slide-btn { position: absolute; top: 88px; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--sp-olive); color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .4); }
.sp-slide-btn:hover { background: var(--sp-cardamom); }
.sp-slide-btn:focus-visible { outline: 3px solid var(--sp-masala); outline-offset: 2px; }
.sp-slide-prev { left: -14px; }
.sp-slide-next { right: -14px; }
@media (min-width: 1200px) { .sp-slide-prev { left: -34px; } .sp-slide-next { right: -34px; } }
@media (max-width: 991.98px) { .sp-brand-badge { flex-basis: calc((100% - 3 * 22px) / 4); } }
@media (prefers-reduced-motion: reduce) { .sp-brand-track { scroll-behavior: auto; } .sp-badge-ring { transition: none; } .sp-brand-badge:hover .sp-badge-ring { transform: none; } }
@media (max-width: 575.98px) {
  .sp-brand-track { gap: 14px; }
  .sp-brand-badge { flex-basis: calc((100% - 2 * 14px) / 3); }
  .sp-badge-ring { padding: 14px; }
  .sp-badge-name { font-size: .78rem; }
  .sp-slide-btn { display: none; }
}

/* Catalogue page numbers in brand colours, with a page count */
.pagination .page-link { color: var(--sp-text); }
.pagination .page-link:hover { color: var(--sp-saffron-text); }
.pagination .page-item.active .page-link { background-color: var(--sp-saffron-text); border-color: var(--sp-saffron-text); color: #fff; }
.pagination .page-link:focus { box-shadow: 0 0 0 .2rem rgba(143, 94, 20, .3); }
.pagination .page-item.sp-page-gap .page-link { border-color: transparent; background: transparent; }
.sp-page-count { color: #5a5148; font-size: .9rem; }

/* Catalogue sidebar search: slimmer button and padding so the box isn't squeezed on tablets */
.sp-filter-panel .input-group .btn { padding-left: .85rem; padding-right: .85rem; }
.sp-filter-panel .input-group .form-control { padding-left: .75rem; padding-right: .75rem; }
