/* ==========================================================================
   ALL FOOD PACK CANADA - B2B DESIGN SYSTEM
   Brand Colors: Primary Red (#ED1C24), Dark Black (#111111), Kraft Accent (#C49A6C)
   ========================================================================== */

:root {
  --primary-red: #ED1C24;
  --primary-red-hover: #C91319;
  --primary-dark: #111111;
  --secondary-dark: #1E1E1E;
  --text-main: #2B2B2B;
  --text-muted: #666666;
  --bg-light: #F8F9FA;
  --bg-card: #FFFFFF;
  --kraft-accent: #C49A6C;
  --kraft-light: #F4E8D8;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: #FFFFFF;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary-red);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-red-hover);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 2rem; /* 32px desktop */
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--primary-dark);
  color: #FFFFFF;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--primary-red);
  color: #FFF;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

/* Top Contact Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #CCCCCC;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-info a {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info a:hover {
  color: var(--primary-red);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.lang-btn {
  color: #CCCCCC;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.lang-btn.active {
  background-color: var(--primary-red);
  color: #FFFFFF;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.2rem;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-red);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-red);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(237, 28, 36, 0.4);
}

.btn-secondary {
  background-color: var(--primary-dark);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: #333333;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.btn-outline:hover {
  background-color: var(--primary-red);
  color: #FFFFFF;
}

.btn-outline-dark {
  background-color: transparent;
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.btn-outline-dark:hover {
  background-color: var(--primary-dark);
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Quote Basket Trigger Badge */
.basket-trigger {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.basket-trigger:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.basket-count {
  background-color: var(--primary-red);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #111111 0%, #1A1A1A 100%);
  color: #FFFFFF;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(237, 28, 36, 0.15);
  color: var(--primary-red);
  border: 1px solid rgba(237, 28, 36, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--primary-red);
}

.hero-text {
  font-size: 1.15rem;
  color: #CCCCCC;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-trust {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #999999;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,255,255,0.1);
}

.hero-image-box img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

/* Headings */
.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-red);
}

.category-thumb {
  height: 200px;
  background-color: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .category-thumb img {
  transform: scale(1.05);
}

.category-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.category-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Product Cards */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-img-wrap {
  height: 180px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-img-wrap img {
  max-height: 100%;
  object-fit: contain;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.product-specs {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-custom-note {
  background: var(--kraft-light);
  color: #684221;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  display: inline-block;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

/* Feature & Benefit Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(237, 28, 36, 0.1);
  color: var(--primary-red);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

/* Single-Step RFQ Form */
.rfq-single-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  max-width: 880px;
  margin: 0 auto;
}

.rfq-form-section {
  background: #FAFAFA;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 2rem;
}

.rfq-section-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-red);
}

.rfq-section-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-red);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rfq-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.rfq-submit-wrapper {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
}

.invalid-feedback {
  display: none;
  color: var(--primary-red);
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.35rem;
}

.form-control.is-invalid {
  border-color: var(--primary-red) !important;
  background-color: #FFF5F5;
}

@media (max-width: 768px) {
  .rfq-single-container {
    padding: 1.5rem 1rem;
  }
  .rfq-form-section {
    padding: 1.25rem 1rem;
    margin-bottom: 1.5rem;
  }
  .rfq-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Legacy RFQ Stepper Form (kept for compatibility) */
.rfq-container {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.stepper-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.stepper-header::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  padding: 0 0.5rem;
  text-align: center;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.5rem;
  transition: var(--transition);
}

.step-item.active .step-number {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #FFFFFF;
}

.step-item.completed .step-number {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #FFFFFF;
}

.step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.step-item.active .step-label {
  color: var(--primary-red);
}

/* Form Controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.form-label span.req {
  color: var(--primary-red);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

/* FAQ Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 850px;
  margin: 0 auto;
}

.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  color: var(--primary-red);
}

.accordion-icon {
  font-size: 1.2rem;
  transition: var(--transition);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
  color: var(--text-muted);
}

.accordion-item.active .accordion-body {
  padding: 0 1.5rem 1.25rem;
  max-height: 400px;
}

/* Drawer Modal (Quote Basket) */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-content {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #FFFFFF;
  z-index: 2001;
  box-shadow: var(--shadow-lg);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.drawer-overlay.open .drawer-content {
  right: 0;
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  background: var(--primary-dark);
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-light);
}

/* Mobile Quick Bar */
.mobile-quick-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  z-index: 990;
  padding: 0.65rem 1rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.15);
}

.mobile-quick-inner {
  display: flex;
  gap: 0.5rem;
}

.mobile-quick-btn {
  flex: 1;
  padding: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #CCCCCC;
  padding: 4rem 0 2rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  width: 280px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #CCCCCC;
}

.footer-links a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Hamburger Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  /* Tablet container padding: 24px */
  .container {
    padding-inline: 1.5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: #FFFFFF;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    transition: right 0.3s ease;
    z-index: 1500;
  }
  .main-nav.open {
    right: 0;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .mobile-toggle {
    display: block;
    z-index: 1600;
  }
  .mobile-quick-bar {
    display: block;
  }
  body {
    padding-bottom: 50px;
  }
}

@media (max-width: 576px) {
  /* Mobile container padding: 16px */
  .container {
    padding-inline: 1rem;
  }
  .section {
    padding: 3.5rem 0;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-image-box img {
    height: 260px;
  }
  .top-bar-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON COMPONENT
   ========================================================================== */
.whatsapp-float-wrapper {
  position: fixed;
  z-index: 995;
  font-family: var(--font-main);
  display: flex;
  align-items: center;
}

.whatsapp-float-wrapper.bottom-right {
  bottom: 24px;
  right: 24px;
}

.whatsapp-float-wrapper.bottom-left {
  bottom: 24px;
  left: 24px;
}

.whatsapp-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF !important;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  border: none;
  outline: none;
}

.whatsapp-float-btn:hover {
  background-color: #20BA5A;
  color: #FFFFFF !important;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-float-btn:focus-visible {
  outline: 3px solid #25D366;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  display: block;
}

.whatsapp-hover-label {
  position: absolute;
  right: 70px;
  background: #111111;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.bottom-left .whatsapp-hover-label {
  right: auto;
  left: 70px;
  transform: translateX(-8px);
}

.whatsapp-float-btn:hover .whatsapp-hover-label,
.whatsapp-float-btn:focus-visible .whatsapp-hover-label {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@media (max-width: 992px) {
  .whatsapp-float-wrapper.bottom-right {
    bottom: 75px;
    right: 16px;
  }
  .whatsapp-float-wrapper.bottom-left {
    bottom: 75px;
    left: 16px;
  }
  .whatsapp-hover-label {
    display: none !important;
  }
  .whatsapp-float-btn {
    width: 52px;
    height: 54px;
  }
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* Existing box size mein poori image dikhaye */
.hero-section .hero-image-box img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

/* Dono buttons ek hi row mein */
.hero-section .hero-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: stretch;
}

.hero-section .hero-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 16px 12px;
    font-size: 15px;
    text-align: center;
    white-space: normal;
}

/* Mobile par bhi buttons saath rahenge */
@media (max-width: 480px) {
    .hero-section .hero-actions {
        gap: 8px;
    }

    .hero-section .hero-actions .btn {
        padding: 12px 8px;
        font-size: 13px;
    }
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.25s ease;
}

/* Facebook */
.footer-social a:nth-child(1) {
    color: #1877F2;
    border: 1px solid #1877F2;
}

/* Instagram */
.footer-social a:nth-child(2) {
    color: #E4405F;
    border: 1px solid #E4405F;
    background: transparent;
}

.footer-social a:nth-child(2):hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(
        45deg,
        #F58529,
        #DD2A7B,
        #8134AF,
        #515BD4
    );
}

/* YouTube */
.footer-social a:nth-child(3) {
    color: #FF0000;
    border: 1px solid #FF0000;
}

/* LinkedIn */
.footer-social a:nth-child(4) {
    color: #0A66C2;
    border: 1px solid #0A66C2;
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Hover */
.footer-social a:hover {
    transform: translateY(-3px);
}

/* Individual hover backgrounds */
.footer-social a:nth-child(1):hover {
    background: #1877F2;
    color: #fff;
}

.footer-social a:nth-child(2):hover {
    background: #E4405F;
    color: #fff;
}

.footer-social a:nth-child(3):hover {
    background: #FF0000;
    color: #fff;
}

.footer-social a:nth-child(4):hover {
    background: #0A66C2;
    color: #fff;
}
/* Mobile header: icons only */
@media (max-width: 767px) {
    .site-header .header-account-link > span,
    .site-header .header-cart-link > span:not(.header-cart-count),
    .site-header .basket-trigger > span:not(.basket-count) {
        display: none !important;
    }

    .site-header .header-actions {
        gap: 6px !important;
    }

    .site-header .header-account-link,
    .site-header .header-cart-link,
    .site-header .basket-trigger {
        justify-content: center;
        padding: 8px !important;
        gap: 4px !important;
    }
}
/* Reduce spacing above the hero on mobile */
@media (max-width: 767px) {
    .hero-section {
        padding-top: 24px;
        padding-bottom: 32px;
    }
}
/* Make the Call Canada button visible */
.mobile-quick-bar .mobile-quick-btn.btn-secondary {
    background-color: #222;
    color: #fff;
    border: 2px solid #fff;
}

.mobile-quick-bar .mobile-quick-btn.btn-secondary:hover {
    background-color: #fff;
    color: #111;
}

.mobile-quick-bar .mobile-quick-btn.btn-secondary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.afp-cart-layout > div {
    min-width: 0;
    box-sizing: border-box;
}

.afp-cart-summary .form-control {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.afp-cart-summary .btn {
    max-width: 100%;
    white-space: normal;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .afp-cart-layout {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1.5rem !important;
    }

    .afp-cart-layout > div {
        padding: 1rem !important;
    }

    .afp-cart-summary {
        position: static !important;
    }

    /* Allow the Cart Items heading and link to wrap */
    .afp-cart-layout > div:first-child > div:first-child {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    /* Display each product as a vertical card */
    .afp-cart-table {
        display: block;
        min-width: 0 !important;
    }

    .afp-cart-table thead {
        display: none;
    }

    .afp-cart-table tbody,
    .afp-cart-table tr,
    .afp-cart-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .afp-cart-table tr {
        padding: 0.75rem 0;
    }

    .afp-cart-table td {
        padding: 0.6rem 0 !important;
        text-align: left !important;
        overflow-wrap: anywhere;
    }

    .afp-cart-table td:not(:first-child)::before {
        display: block;
        margin-bottom: 0.35rem;
        font-weight: 700;
        color: #374151;
    }

    .afp-cart-table td:nth-child(2)::before {
        content: "Price / Carton";
    }

    .afp-cart-table td:nth-child(3)::before {
        content: "Cartons";
    }

    .afp-cart-table td:nth-child(4)::before {
        content: "Subtotal";
    }

    .afp-cart-table td:nth-child(5)::before {
        content: "Remove Item";
    }

    .afp-cart-table .btn-qty-mod,
    .afp-cart-table .btn-remove-item {
        min-width: 44px;
        min-height: 44px;
    }

    .afp-cart-summary .form-control,
    .afp-cart-table .cart-qty-input {
        font-size: 16px !important;
    }

    #cart-coupon {
        flex: 1;
        width: 0;
    }

    #btn-apply-coupon {
        flex-shrink: 0;
    }

    #summary-total {
        font-size: 1.15rem;
    }
}