@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");
@import url("https://fonts.googleapis.com/css?family=Poppins:var(--body-XL-body-XL-600-font-weight),var(--body-medium-body-medium-600-font-weight),var(--heading-03-heading-03-600-font-weight),600,700,var(--body-XL-body-XL-500-font-weight),var(--body-small-body-small-500-font-weight),var(--heading-02-heading-02-600-font-weight),var(--body-small-body-small-600-font-weight),500,var(--body-medium-body-medium-500-font-weight),400,var(--body-small-body-small-400-font-weight),var(--body-medium-body-medium-400-font-weight)");
* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
html,
body {
  margin: 0px;
  height: 100%;
}
/* a blue color as a generic focus style */
button:focus-visible {
  outline: 2px solid #4a90e2 !important;
  outline: -webkit-focus-ring-color auto 5px !important;
}
a {
  text-decoration: none;
}

:root {
  --gray-scalegray-50: rgba(242, 242, 242, 1);
  --gray-scalegray-100: rgba(230, 230, 230, 1);
  --gray-scalegray-900: rgba(26, 26, 26, 1);
  --gray-scalegray-400: rgba(153, 153, 153, 1);
  --gray-scalewhite: rgba(255, 255, 255, 1);
  --brandingsuccess-bright: rgba(132, 209, 135, 1);
  --style: rgba(25, 25, 25, 1);
  --brandingwarning: rgba(255, 138, 0, 1);
  --gray-scalegray-200: rgba(204, 204, 204, 1);
  --gray-scalegray-500: rgba(128, 128, 128, 1);
  --yellow: rgba(242, 201, 76, 1);
  --gray-scalegray-700: rgba(77, 77, 77, 1);
  --gren-gray-scale50: rgba(237, 242, 238, 1);
  --gren-gray-scale200: rgba(180, 204, 180, 1);
  --gren-gray-scale500: rgba(97, 128, 98, 1);
  --gren-gray-scale400: rgba(122, 153, 124, 1);
  --gren-gray-scale800: rgba(23, 59, 26, 1);
  --gren-gray-scale900: rgba(0, 38, 3, 1);
  --gren-gray-scale300: rgba(150, 178, 151, 1);
  --heading-02-heading-02-600-font-family: "Poppins", Helvetica;
  --heading-02-heading-02-600-font-weight: 600;
  --heading-02-heading-02-600-font-size: 48px;
  --heading-02-heading-02-600-letter-spacing: 0px;
  --heading-02-heading-02-600-line-height: 120.00000762939453%;
  --heading-02-heading-02-600-font-style: normal;
  --body-XL-body-XL-500-font-family: "Poppins", Helvetica;
  --body-XL-body-XL-500-font-weight: 500;
  --body-XL-body-XL-500-font-size: 20px;
  --body-XL-body-XL-500-letter-spacing: 0px;
  --body-XL-body-XL-500-line-height: 150%;
  --body-XL-body-XL-500-font-style: normal;
  --body-XL-body-XL-600-font-family: "Poppins", Helvetica;
  --body-XL-body-XL-600-font-weight: 600;
  --body-XL-body-XL-600-font-size: 20px;
  --body-XL-body-XL-600-letter-spacing: 0px;
  --body-XL-body-XL-600-line-height: 150%;
  --body-XL-body-XL-600-font-style: normal;
  --body-small-body-small-400-font-family: "Poppins", Helvetica;
  --body-small-body-small-400-font-weight: 400;
  --body-small-body-small-400-font-size: 14px;
  --body-small-body-small-400-letter-spacing: 0px;
  --body-small-body-small-400-line-height: 150%;
  --body-small-body-small-400-font-style: normal;
  --body-medium-body-medium-600-font-family: "Poppins", Helvetica;
  --body-medium-body-medium-600-font-weight: 600;
  --body-medium-body-medium-600-font-size: 16px;
  --body-medium-body-medium-600-letter-spacing: 0px;
  --body-medium-body-medium-600-line-height: 120.00000762939453%;
  --body-medium-body-medium-600-font-style: normal;
  --body-small-body-small-600-font-family: "Poppins", Helvetica;
  --body-small-body-small-600-font-weight: 600;
  --body-small-body-small-600-font-size: 14px;
  --body-small-body-small-600-letter-spacing: 0px;
  --body-small-body-small-600-line-height: 120.00000762939453%;
  --body-small-body-small-600-font-style: normal;
  --body-medium-body-medium-500-font-family: "Poppins", Helvetica;
  --body-medium-body-medium-500-font-weight: 500;
  --body-medium-body-medium-500-font-size: 16px;
  --body-medium-body-medium-500-letter-spacing: 0px;
  --body-medium-body-medium-500-line-height: 150%;
  --body-medium-body-medium-500-font-style: normal;
  --CAPS-LOCK-xtra-large-caps-lock-font-family: "Segoe Script", Helvetica;
  --CAPS-LOCK-xtra-large-caps-lock-font-weight: 400;
  --CAPS-LOCK-xtra-large-caps-lock-font-size: 16px;
  --CAPS-LOCK-xtra-large-caps-lock-letter-spacing: 0px;
  --CAPS-LOCK-xtra-large-caps-lock-line-height: 120.00000762939453%;
  --CAPS-LOCK-xtra-large-caps-lock-font-style: normal;
  --heading-03-heading-03-600-font-family: "Poppins", Helvetica;
  --heading-03-heading-03-600-font-weight: 600;
  --heading-03-heading-03-600-font-size: 40px;
  --heading-03-heading-03-600-letter-spacing: 0px;
  --heading-03-heading-03-600-line-height: 120.00000762939453%;
  --heading-03-heading-03-600-font-style: normal;
  --body-medium-body-medium-400-font-family: "Poppins", Helvetica;
  --body-medium-body-medium-400-font-weight: 400;
  --body-medium-body-medium-400-font-size: 16px;
  --body-medium-body-medium-400-letter-spacing: 0px;
  --body-medium-body-medium-400-line-height: 150%;
  --body-medium-body-medium-400-font-style: normal;
  --body-small-body-small-500-font-family: "Poppins", Helvetica;
  --body-small-body-small-500-font-weight: 500;
  --body-small-body-small-500-font-size: 14px;
  --body-small-body-small-500-letter-spacing: 0px;
  --body-small-body-small-500-line-height: 150%;
  --body-small-body-small-500-font-style: normal;
}

:root {
  --primary-color: #abba21;
  --success-color: #00b206;
  --warning-color: #ff8900;
  --dark-color: #1a1a1a;
  --light-bg: #f8f9fa;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
}

/* Custom Bootstrap overrides */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #99a81e;
  border-color: #99a81e;
}

.btn-success {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-success:hover {
  background-color: #99a81e;
  border-color: #99a81e;
}

.text-success {
  color: var(--success-color) !important;
}

.bg-success {
  background-color: var(--primary-color) !important;
}

/* Header */
.header-top {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo {
  max-height: 50px;
}

/* Navigation */
.navbar {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Sticky wrapper for header + navbar */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1050; /* above other content */
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sticky-header .header-top,
.sticky-header .navbar {
  background: #fff;
}

/* Logo spanning both rows */
/* .logo-container {
  border-right: 1px solid #e0e0e0;
  min-width: 180px;
} */

.logo-spanning {
    height: 106px;
    max-height: 120px;
    width: 130px;
}

.header-top-row {
  border-bottom: 1px solid #e0e0e0;
  min-height: 50px;
}

.navbar {
  min-height: 50px;
}

/* Search in header */
.search-form-header .input-group {
  width: 100%;
}

.search-form-header .form-control {
  border-right: none;
}

.search-form-header .btn {
  border-left: none;
}

/* slightly reduce header padding when scrolled on small viewports */
@media (max-width: 991px) {
  .sticky-header { position: sticky; }

  .logo-container {
    display: none !important; /* hide spanning logo on mobile */
  }

  .header-top-row {
    flex-wrap: wrap;
    justify-content: center !important;
  }

  .search-form-header {
    width: 100%;
    margin-top: 0.5rem;
  }
}

.nav-link.active {
  color: var(--primary-color) !important;
}

.search-form .input-group {
  width: 400px;
  max-width: 100%;
}

.search-form .form-control {
  border-right: none;
}

.search-form .btn {
  border-left: none;
}

/* Hero Section */
/* Hero Section */
.hero-banner {
  min-height: 720px; /* increased so the full hero image is visible on desktop */
  border-radius: 12px;
  background-position: center right !important; /* favor the right side image so the person remains visible */
}

.carousel-indicators button {
  width: 60px;
  height: 4px;
  border-radius: 2px;
}

/* Custom pill-style indicators centered under the hero carousel */
.carousel {
  position: relative; /* ensure absolute indicators are positioned relative to carousel */
  /* add bottom padding so indicators placed outside don't overlap content */
  padding-bottom: 22px;
}
.carousel-indicators {
  position: absolute;
  /* place indicators below the visible image area by using a negative bottom offset
     and leaving space via carousel padding-bottom so they sit visually under the image */
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  z-index: 5;
}
.carousel-indicators button {
    width: 56px !important;
    height: 10px;
    border-radius: 999px;
    background: #D1D5DB !important; /* inactive color */
    border: none;
    opacity: 1; /* keep visible */
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    transition: all 0.25s ease;
    height: 0 !important;
}
.carousel-indicators button.active {
  width: 56px;
  height: 10px;
  background: #88B04B !important; /* active color */
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}
.carousel-indicators button:focus {
  outline: 2px solid rgba(74,144,226,0.15);
}

/* smaller pills on narrow screens */
@media (max-width: 767px) {
  .carousel-indicators button,
  .carousel-indicators button.active {
    width: 36px;
    height: 8px;
  }
  .carousel-indicators { bottom: 14px; }
}

/* Product Cards */
.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.product-card img {
  transition: transform 0.3s ease;
}

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

/* Feature Cards */
.feature-card {
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
}

/* Sale Banner */
.discount-badge {
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background-color: #002603 !important;
}
/* New footer three-part layout */
.footer-top img {
  max-height: 110px;
}
.footer-top a { color: #0b5; }

.footer-main .text-muted {
  color: rgba(255,255,255,0.6) !important;
}
.footer-main {
  position: relative; /* decorations attached to main footer only */
}

/* Decorative left/right artwork inside footer-main using images folder */
.footer-main::before,
.footer-main::after {
    content: "";
    position: absolute;
    top: 8px; /* small offset from top so the art sits slightly down */
    height: calc(100% - 8px);
    width: 165px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    opacity: 1; /* subtle */
    pointer-events: none;
    z-index: 0;
}
.footer-main::before {
  left: 0; /* extend past edge to remove container gap */
  background-image: url('../images/footer-left.png');
}
.footer-main::after {
  right: 0; /* extend past edge to remove container gap */
  background-image: url('../images/footer-right.png');
}

/* ensure footer-main content stays above decorations */
.footer-main > * {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments for footer decorations */
@media (max-width: 991px) {
  .footer-main::before,
  .footer-main::after {
    width: 220px;
    left: -12px;
    right: -12px;
    top: 12px;
    height: calc(100% - 12px);
    opacity: 1;
    background-size: contain;
    display: none;
  }
  .left-decorative{
    display: none;
  }
  /* prevent decorative artwork or other wide elements from creating horizontal scroll
     on narrow viewports — keep decorations hidden and clip overflow */
  .special-offers,
  .footer-main,
  .hero-section {
    overflow-x: hidden;
  }
  .row.align-items-center.bg-warning.rounded-3.p-5 {
    padding: 20px 0 !important;
  }
}

@media (max-width: 767px) {
  /* hide decorations on small screens to avoid overlap/clipping */
  .footer-main::before,
  .footer-main::after { display: none; }
}

.footer .hover-link:hover {
  color: var(--primary-color) !important;
  padding-left: 5px;
  transition: all 0.3s ease;
}

.footer h5 {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .search-form {
    width: 100%;
    margin: 1rem 0;
  }

  .search-form .input-group {
    width: 100%;
  }

  .hero-banner {
    min-height: 520px;
  }

  .hero-banner h1 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  .hero-banner {
    min-height: 420px;
    padding: 2rem 1rem;
  }

  .hero-banner h1 {
    font-size: 1.75rem;
  }

  .display-3 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card,
.feature-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #99a81e;
}

/* Badge positioning */
.badge {
  font-size: 0.65rem;
  padding: 0.25em 0.5em;
}

/* Card hover effects */
.card {
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

/* Button animations */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Navbar mobile improvements */
@media (max-width: 991px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
}

/* Left decorative exact artwork using provided special-offer.png */
.special-offers {
  position: relative; /* establish containing block for decorative artwork */
}

.left-decorative {
  position: absolute; /* now absolute relative to .special-offers */
  left: 0; /* push partly off the left edge to match design */
  top: 30px; /* adjust to sit near the heading */
  width: 260px;
  height: 100%; /* square container for the artwork image */
  /* reference the public path so the file is loadable when served by Laravel */
  background-image: url('../images/special-offer.png');
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  opacity: 1; /* full visibility, tweak if you want it faint */
  pointer-events: none;
  z-index: 0; /* sit behind the section content */
}


/* ensure section content sits above the decorative artwork */
.special-offers .container,
.special-offers .row,
.special-offers .product-card {
  position: relative;
  z-index: 1;
}

/* hide the decorative artwork on narrow screens */
@media (max-width: 991px) {
  .left-decorative { display: none; }
}

.text-muted {
    --bs-text-opacity: 1;
    color: #7A997C !important;
}
.best-deals {
  background: url('../images/discount-bannar.png') center/cover no-repeat;
  padding: 20px 0 !important;
  height: 45vh;
}


.category-banner { width:100%; background-color:transparent; }
.category-banner .banner-inner{ position:relative; overflow:hidden; }
.category-banner .banner-overlay { position:absolute; left:0; top:0; right:0; bottom:0; background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.0) 60%); }
/* breadcrumb centered in the banner */
.category-banner .breadcrumb-row { color:#fff; z-index:5; font-size:16px; display:flex; justify-content:center; align-items:center; }
.category-banner .breadcrumb-row .crumb { color:#d0e8d0; font-weight:600; display:inline-flex; align-items:center; gap:8px; }
/* center container that holds the breadcrumb */
.category-banner .banner-center { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:5; width:100%; display:flex; justify-content:center; }
.category-banner .banner-center .breadcrumb { background:transparent; padding:0; margin:0; display:inline-flex; gap:8px; align-items:center; }
/* make the banner visually join the navbar by removing any gap */
.category-banner { margin-top: -1px; }
@media(max-width:768px){ .category-banner .banner-bg { height:120px; } .category-banner .banner-title{ font-size:16px; left:16px; bottom:12px } .category-banner .breadcrumb-row{ left:16px; top:12px } }

.category-hero { padding: 28px 0 8px; }
.category-title { font-size:36px;font-weight:800;margin-bottom:16px; }
.filter-btn { position: absolute; right: 24px; top: 22px; }
.product-grid { display:flex; flex-wrap:wrap; gap:24px; }
.product-card { background:#fff; border-radius:10px; border:1px solid #e6efe0; width:100%; box-shadow:0 4px 12px rgba(0,0,0,0.04); padding:14px; box-sizing:border-box; }
@media(min-width:768px){ .product-card { width: calc(25% - 18px); } }
.product-image { height:160px; background:#fff; display:flex; align-items:center; justify-content:center; border-radius:8px; overflow:hidden; }
.product-image img { max-width:100%; max-height:100%; object-fit:cover; }
.product-body { padding:12px 6px; }
.product-title { font-weight:700; color:#1b3b1b; margin-bottom:8px; }
.product-price { color:#2a6b2a; font-weight:700; margin-bottom:8px; }
.rating { color:#ff8a00; margin-bottom:8px; }
.add-cart { background:#b5c61a; color:#fff; border-radius:28px; padding:10px 12px; display:block; text-align:center; font-weight:700; border:0; }
.card-heart { position:absolute; right:12px; top:12px; background:#fff; border-radius:50%; width:36px; height:36px; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(0,0,0,0.06); }
.card-wrap { position:relative; }
.cart-card{ background: #F4FFD0;}
.summary-color{color: #FF8A00;font-size: large;font-weight: 700;}
.product-card.card.border-0.shadow-sm.h-100 {display: contents;}
i.bi.bi-person-circle.fs-5 {
    margin: 10px;
}
.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: calc(var(--bs-border-width) * -1);
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
