/* ===========================
   Root Variables & Base
=========================== */
:root {
  --clr-dark: #383634;
  --clr-teal: #4c7c7d;
  --clr-coral: #e45959;
  --clr-light: #edeae7;
}

body {
  background-color: #F5F5F5;
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.navbar-brand {
  font-family: "Poppins", "Gilroy", sans-serif;
}

/* ===========================
   Navbar
=========================== */
.navbar {
  background: var(--clr-dark);
  border-bottom: 1px solid rgba(237, 234, 231, 0.12);
}

.navbar .navbar-brand {
  font-size: 1.5rem;
  color: var(--clr-light) !important;
}
.navbar .navbar-brand:hover { color: #fff !important; }
.navbar-brand img {
  max-height: 40px;
  width: auto;
}

.navbar .nav-link,
.navbar .dropdown-toggle,
.navbar .btn-link,
.navbar .text-muted {
  color: var(--clr-light) !important;
  opacity: 0.9;
}
.navbar .nav-link:hover,
.navbar .dropdown-toggle:hover {
  color: #fff !important;
}

.navbar form .form-control {
  background: rgba(237, 234, 231, 0.08);
  border: 1px solid rgba(255, 255, 255, 1) !important;
  color: var(--clr-coral);
  box-shadow: none !important; /* removes blue glow */
}
.navbar form .form-control::placeholder {
  color: rgba(255,255,255, 1);
}

.navbar form .btn {
  color: #fff;
  border-color: var(--clr-teal);
}
.navbar form .btn:hover {
  background: var(--clr-teal);
  border-color: var(--clr-teal);
}
.navbar .btn-outline-success {
   border-color: #fff !important;
  color: #fff !important;
}
.navbar .btn-outline-success:hover {
    background: #fff !important;
  color: #323232 !important;
}
.navbar .btn-warning {
  background: var(--clr-coral);
  border-color: var(--clr-coral);
  color: #fff;
}
.navbar .btn-warning:hover { filter: brightness(0.92); }

.navbar .dropdown-menu {
  background: #2f2c2b;
  border: 1px solid rgba(237, 234, 231, 0.12);
  color: var(--clr-light);
  z-index: 2000 !important; /* ensures it stays above the search bar */
  position: absolute !important; /* avoids stacking context issues */
}
.navbar .dropdown-item {
  color: var(--clr-light);
}
.navbar .dropdown-item:hover {
  background: rgba(228, 89, 89, 0.12);
  color: #fff;
}

/* ===========================
   Buttons & Badges
=========================== */
.btn-success,
.bg-success {
  background-color: #388e3c !important;
}
.avatar-circle {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e8f5e9;
  color: #2e7d32;
  font-weight: 700;
  font-size: 0.9rem;
}
.cart-btn { position: relative; }
.cart-badge {
  position: absolute;
  top: -8px; right: -8px;
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 2px 6px;
  line-height: 1;
  background: var(--clr-coral) !important;
}



/* ===========================
   Cards & Product Strips
=========================== */
.card {
  border-radius: 1.25rem;
}
.card-img-top {
  border-radius: 1.25rem 1.25rem 0 0;
}
.min-w-150 { min-width: 150px; }

.product-strip {
  overflow-x: auto;
  overflow-y: visible !important;
  padding-top: 34px; /* space for the popped-out image */
}
.mini-card .thumb-wrap { top: -26px; }
.mini-card .title { margin-top: 68px; }
.mini-card { padding: 18px 16px 16px 16px; }

/* ===========================
   Layout Helpers
=========================== */
.bg-light { background-color: #f8f8f8 !important; }
.rounded-4 { border-radius: 1.5rem !important; }
.overflow-auto {
  overflow-x: auto !important;
  overflow-y: hidden;
}
.flex-nowrap { flex-wrap: nowrap !important; }

/* Full-width middle content */
@media (min-width: 992px) {
  /* .main-full {
    padding-top: 0 !important;
    padding-left: 50px;
    padding-right: 50px;
  } */
}
.main-full {
  padding-top: 130px !important;
}
.main-full .container-fluid {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.main-full .row { margin-left: 0 !important; margin-right: 0 !important; }
.main-full [class^="col-"],
.main-full [class*=" col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===========================
   Hero Banner with Arc
=========================== */
.hero-arc {
  --arc-fill: #F5F5F5;
  position: relative;
  margin: 0;
}
.hero-arc .hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-arc .hero-arc-shape {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 110px;
  display: block;
}
.hero-arc .hero-arc-shape path { fill: var(--arc-fill); }

.container.my-4:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.navbar { margin-bottom: 0 !important; }

.container.my-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hero-arc {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-arc-shape path {
  fill: #fff;
}

/* ===========================
   Footer
=========================== */
.site-footer {
  margin-top: 4rem;
  background: #383634;
  color: #edeae7;
}
.site-footer .footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(237, 234, 231, 0.2);
}
.site-footer h5 {
  font-family: "Poppins", "Gilroy", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #edeae7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.site-footer .brand-title {
  font-family: "Poppins", "Gilroy", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: #edeae7;
  margin-bottom: 0;
}
.site-footer .brand-tagline {
  color: #edeae7;
  opacity: 0.7;
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.site-footer .footer-link {
  display: block;
  color: #edeae7;
  opacity: 0.75;
  text-decoration: none;
  padding: 6px 0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.site-footer .footer-link:hover {
  color: #e45959;
  opacity: 1;
}
.site-footer .contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #edeae7;
  opacity: 0.8;
}
.site-footer .contact-item i {
  margin-right: 12px;
  margin-top: 2px;
  color: #4c7c7d;
  font-size: 1.2rem;
}
.site-footer .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.site-footer .social-icons a {
  display: flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: 2px solid #edeae7;
  color: #edeae7;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}
.site-footer .social-icons a:hover {
  background: #e45959;
  border-color: #e45959;
  color: #fff;
  transform: translateY(-3px);
}
.newsletter .form-control {
  background: #4c7c7d;
  border: 0;
  color: #fff;
  border-radius: 6px 0 0 6px;
  height: 48px;
  padding-left: 16px;
  font-size: 0.95rem;
}
.newsletter .form-control::placeholder { color: rgba(255, 255, 255, 0.7); }
.newsletter .btn {
  border-radius: 0 6px 6px 0;
  height: 48px;
  background: #e45959;
  border: 0;
  padding: 0 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.newsletter .btn:hover { background: #b93b3b; }

.footer-bottom {
  background: #2d2b2a;
  color: #edeae7;
  padding: 20px 0;
  font-size: 0.9rem;
}
.footer-bottom a {
  color: #edeae7;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}
.footer-bottom a:hover { color: #e45959; }

  /* Section default spacing */
.section-pad {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .section-pad {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* ===========================
   Mobile Responsiveness Fixes
=========================== */

/* 1. Hero banner – keep height smaller on very small screens */
@media (max-width: 576px) {
  .hero-arc .hero-arc-shape {
    height: 60px;
  }
}

/* 2. Category strip – make icons smaller & tighten gap */
@media (max-width: 576px) {
  .category-strip {
    gap: 20px !important;
  }
  .category-strip img {
    width: 70px !important;
    height: 70px !important;
  }
  .category-strip .fw-semibold {
    font-size: 0.85rem;
  }
}

/* 3. Product strips – smaller padding & smoother scroll */
@media (max-width: 576px) {
  .product-strip-wrapper {
    padding: 0 0.5rem;
  }
  .product-strip {
    padding-top: 16px;
    gap: 12px !important;
  }
  .mini-card {
    min-width: 200px !important;
    padding: 12px;
  }
}

/* 4. Making process images – stack instead of 3 cols */
@media (max-width: 768px) {
  .my-4.section-pad .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .my-4.section-pad .bg-primary {
    padding: 24px 16px;
    text-align: center;
  }
}

/* 5. "How we work" icons – shrink on mobile */
@media (max-width: 576px) {
  .my-5.section-pad .fs-1 {
    font-size: 2rem !important;
  }
  .my-5.section-pad .fw-semibold {
    font-size: 0.9rem;
  }
  .my-5.section-pad small {
    font-size: 0.75rem;
  }
}

/* 6. Headings shrink on small screens */
@media (max-width: 576px) {
  h5.fw-bold {
    font-size: 1rem;
  }
  .section-pad {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}
