/* --- 1. GLOBAL SETTINGS --- */
:root {
  --primary-green: #006837;
  --dark-green: #024626;
  --accent-purple: #0C80C0;
  --accent-red: #ff0000;
  --yellow: #ffff00;
  --text-dark: #333;
  --light-bg: #f4f4f4;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  overflow-x: hidden;
  color: var(--text-dark);
}

/* --- 2. HERO PREMIUM SECTION --- */
.hero-premium {
  background-image: url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* background: radial-gradient(circle at center, var(--white) 0%, #e9e9e9 100%);*/
  padding: 80px 5%;
  min-height: 70vh;

  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge-new {
  background: var(--accent-red);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 900;
  margin: 20px 0;
  color: #ffffff;
  text-shadow: #0C80C0 2px 1px 4px;
}

.text-purple {
  color: var(--accent-purple);
}

.hero-copy p {
  font-size: 1.2rem;
  color: #0C80C0;
  background-color: #f4faf7;
  margin-bottom: 35px;
  max-width: 500px;
}

/* Hero Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-outline {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--dark-green);
  transform: translateY(-3px);
}

/* ==========================================================================
   Mobile & Tablet View (Hidden by default)
   ========================================================================== */
.hero-ad-wrapper {
  display: none;
  /* Entire element disappears on mobile and tablet */
}

/* ==========================================================================
   Desktop View Only (1024px and wider)
   ========================================================================== */
@media screen and (min-width: 1024px) {
  .hero-ad-wrapper {
    display: flex;
    /* Adjust layout style (e.g., flex or grid) to match your desktop design */
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  /* Style for the Hero section container */
  .hero-premium {
    position: relative;
    /* Crucial for absolute positioning the button inside */
    flex-grow: 1;
    overflow: hidden;
  }

  /* Keeps the GIF responsive inside the container */
  .hero-gif {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
  }

  /* Shop Now button positioned precisely at the bottom left */
  .btn-shop-now {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;

    /* Button Aesthetics (Customize to fit your theme) */
    background-color: #0C80C0;
    /* Example purple tone */
    color: #ffffff;
    padding: 12px 24px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  /* Hover State */
  .btn-shop-now:hover {
    background-color: #0C80C0;
    transform: translateY(-2px);
  }
}

/* Ticker Container */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  /* Hides the text outside the viewport */
  background-color: #121212;
  /* Sleek dark background */
  padding: 22px 0;
  box-sizing: border-box;
}

/* Moving Track */
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-loop 25s linear infinite;
}

/* Ticker Content Items */
.ticker-item {
  color: #ffffff;
  /* Bright white text */
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 1rem;
  font-weight: 500;
  padding: 0 2rem;
  white-space: nowrap;
}

/* Infinite Scroll Animation */
@keyframes ticker-loop {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%,
        0,
        0);
    /* Moves halfway to perfectly loop duplicate content */
  }
}

/* Optional: Pause on Hover */
.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

/* Hero Visual Overlays */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px;
  /* Gives the jar space to exist */
  z-index: 1;
  /* Sits below the navbar */
}

.hero-jar-background {
  width: 100%;
  height: 100%;
  min-height: 450px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  /* Ensure the path above is correct relative to your CSS file */
}


.product-item {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  min-width: 0;
  /* Critical for Grid shrinking */
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- 5. CARD CONTENT --- */
.p-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  border-radius: 56px;
}

.p-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;

}

.p-type {
  color: #012b42;
  font-size: 1.0rem;
  font-weight: 800;
  text-transform: uppercase;
}

.p-weight {
  color: #0C80C0;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.p-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  /* Pushes price to bottom */
  padding: 10px 0;
}

.p-price {
  color: #dd0707;
  font-size: 1.3rem;
  font-weight: 800;
}

.btn-order-now {
  width: 100%;
  background-color: #0C80C0;
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

/* ==========================================================================
   Product Section Typography & Spacing
   ========================================================================== */
.featured-catalog {
  padding: 40px 5% 10px;
  text-align: center;
}

.featured-catalog h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 5px;
  font-weight: 700;
  background-color: #fcb929;
}

.updated-catalog h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 5px;
  font-weight: 700;
  color: #fff;
  background-color: #f5212b;
}

.updated-catalog {
  padding: 40px 5% 10px;
  text-align: center;
}


/* ==========================================================================
   Product Grid Configuration (Desktop Default)
   ========================================================================== */
.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 4 columns on large screens */
  gap: 24px;
  padding: 20px 5% 60px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ==========================================================================
   Individual Card Components
   ========================================================================== */
.product-item {
  position: relative;
  /* Crucial for the absolute positioning of the 'NEW' badge */
  background: var(--white, #ffffff);
  padding: 16px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 0;
  /* Prevents text overflow breaking layouts */

}

.product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);

}

/* Image Wrapper and Rounded Borders */
.p-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  border-radius: 12px;
  /* Smooth rounded curve on image frame */
  overflow: hidden;
  /* Ensures the image respects the corners */
  background-color: #f9f9f9;
}

.p-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  /* Keeps imagery fill sharp and clean */
  border-radius: 12px;
  /* Applies the radius curve directly to the image border */
}

/* New Badge Styling */
.badge-new-item {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--accent-red, #ff0000);
  color: var(--white, #ffffff);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 5;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.p-type {
  font-size: 1.0rem;
  font-weight: 800;
  color: #004063;
  margin: 10px 0;
  min-height: 2.4em;
  /* Standardizes vertical height for multi-line text alignment */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-meta {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-bottom: 12px;
}

.p-price {
  color: #6d040c;
  font-size: 1.2rem;
  font-weight: 800;

}

/* ==========================================================================
   Badges (Top Left & Top Right)
   ========================================================================== */
.badge-new-item {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--accent-red, #ff0000);
  color: var(--white, #ffffff);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 5;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Percentage Badge (Top Right) */
.badge-discount-item {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--primary-green, #006837);
  /* Green or matching accent theme color */
  color: var(--white, #ffffff);
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 5;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Updated Meta Layout & Price Styling
   ========================================================================== */
.p-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Stack prices vertically to keep alignment unified */
  justify-content: center;
  align-items: center;
  margin-top: auto;
  padding-bottom: 12px;
  gap: 2px;
}

/* Current active price */
.p-price {
  color: #68004e;
  font-size: 1.2rem;
  font-weight: 800;

}

/* Previous slashed price */
.p-price-old {
  color: #888888;
  /* Faded out gray */
  font-size: 0.95rem;
  font-style: italic;
  /* Italicized style */
  text-decoration: line-through;
  /* Stricken out / Slashed effect */
  font-weight: 500;
}

/* ==========================================================================
   Mobile Responsive Rules (Samsung A16 Optimization)
   ========================================================================== */
@media (max-width: 600px) {

  .badge-new-item,
  .badge-discount-item {
    top: 8px;
    font-size: 0.65rem;
    padding: 2px 7px;
  }

  .badge-new-item {
    left: 8px;
  }

  .badge-discount-item {
    right: 8px;
  }

  .p-price {
    font-size: 1.05rem;
  }

  .p-price-old {
    font-size: 0.85rem;
  }
}

.btn-order-now {
  width: 100%;
  background-color: #0C80C0;
  color: white;
  text-decoration: none;
  padding: 10px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  transition: opacity 0.2s ease;
}

.btn-order-now:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Responsive Adjustments (Mobile & Tablet Optimization)
   ========================================================================== */

/* Tablets (1024px down to 768px) */
@media (max-width: 1024px) {
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 balanced columns */
    gap: 20px;
  }
}

/* Mobile Screens (600px and smaller) */
@media (max-width: 600px) {
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    /* Locks 2 columns comfortably side by side */
    gap: 12px;
    /* Tightens gaps to maximize screen estate */
    padding: 10px 12px 40px;

  }

  .product-item {
    padding: 10px;
    /* Reduces container bulk padding */
    border-radius: 12px;
  }

  .badge-new-item {
    top: 8px;
    left: 8px;
    font-size: 0.65rem;
    padding: 2px 7px;
  }

  .p-image {
    margin-bottom: 8px;
    border-radius: 8px;
  }

  .p-image img {
    border-radius: 8px;
  }

  .p-type {
    font-size: 0.85rem;
    min-height: 2.4em;
    margin: 4px 0;

  }

  .p-price {
    font-size: 1.05rem;
  }

  .btn-order-now {
    padding: 8px;
    font-size: 0.85rem;
    border-radius: 6px;
  }
}

/* --- 3. TRUST BAR --- */
.trust-bar {
  background: #121212;
  color: var(--white);
  display: flex;
  justify-content: space-around;
  padding: 40px 5%;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-item i {
  font-size: 4rem;
  color: var(--yellow);
}

.stat-item strong {
  display: block;
  font-size: 2.5rem;
}

/* --- 4. PRODUCT GRID & CARDS (Optimized) --- */
.featured-catalog {
  padding: 60px 5% 20px;
  text-align: center;
}

.home-product-grid {
  display: grid;
  /* Desktop: 4 columns */
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 40px 5% 100px;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Ensures all cards in a row have equal height */
  min-width: 0;
  /* Prevents overflow */
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-title {
  color: var(--primary-green);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 10px 0;
  /* Standardize title height */
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-weight {
  color: var(--primary-green);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 10px 0;
  /* Standardize title height */
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Push button to the very bottom */
.btn-find-card {
  background: var(--dark-green);
  color: var(--white);
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  margin-top: auto;
  display: block;
}

/* --- 5. MOBILE RESPONSIVENESS (Samsung A16 Fix) --- */

@media (max-width: 1024px) {
  .home-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-product-grid {
    /* Force 2 columns on small screens */
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
    padding: 20px 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .product-card {
    padding: 12px;
    border-radius: 10px;
  }

  .product-title {
    font-size: 0.85rem;
    min-height: 2.4em;
    margin: 5px 0;
  }

  .product-weight {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .btn-find-card {
    padding: 8px;
    font-size: 0.85rem;
  }

  /* Fix Hero for Mobile */
  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  /* Make trust bar more compact on mobile */
  .trust-bar {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
  }
}

/* --- BLOG SECTION --- */
/* Latest Update Mini Grid */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 10px;
}

.blog-card-mini {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
}

.blog-card-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  padding: 15px;
  color: white;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  width: 100%;
}

.read-more {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Circular Categories Section
   ========================================================================== */
.category-circles-section {
  padding: 40px 20px;
  background-color: #ffffff;
  /* Adjust based on your theme background */
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  /* Wraps gracefully on tablets */
}

.category-circle-item {
  text-align: center;
}

.category-circle-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* The circular frame */
.circle-image-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 3px solid transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Image behavior inside the circle */
.circle-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Typography for labels */
.category-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333333;
  /* Update to match your text color template */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

/* Hover Interactive Effects */
.category-circle-link:hover {
  transform: translateY(-5px);
}

.category-circle-link:hover .circle-image-wrapper {
  border-color: #6a1b9a;
  /* Replace with your specific purple/green primary theme color */
  box-shadow: 0 8px 20px rgba(106, 27, 154, 0.2);
}

.category-circle-link:hover .circle-image-wrapper img {
  transform: scale(1.1);
}

.category-circle-link:hover .category-name {
  color: #6a1b9a;
  /* Matches the hover border color */
}

/* Mobile Responsive Adjustments */
@media (max-width: 600px) {
  .category-container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 15px;
    /* Extra room for mobile scroll experience */
    gap: 20px;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar for a cleaner look while keeping swipe function */
  .category-container::-webkit-scrollbar {
    display: none;
  }

  .category-circle-item {
    flex: 0 0 auto;
    /* Stops circles from squishing down */
  }

  .circle-image-wrapper {
    width: 90px;
    height: 90px;
  }

  .category-name {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   --- HERO AD WRAPPER (Mobile & Tablet: Hidden Completely) ---
   ========================================================================== */
.hero-ad-wrapper {
  display: none !important;
  /* Forces it to hide on mobile and tablet */
}

/* ==========================================================================
   --- HERO AD WRAPPER (Desktop Only: 1024px and wider) ---
   ========================================================================== */
@media screen and (min-width: 1024px) {
  .hero-ad-wrapper {
    display: flex !important;
    /* Overrides the display none on desktop */
    align-items: stretch;
    background-color: var(--light-bg);
    width: 100%;
  }

  .hero-ad {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e9e9e9;
    padding: 20px;
    box-sizing: border-box;
  }

  .hero-ad img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
  }

  /* Right Ad Container specific fixes for desktop */
  .hero-ad.right-ad {
    display: flex;
    flex-direction: column;
    width: 20%;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Target the new simplified Hero image layout */
  .hero-premium {
    position: relative;
    /* Essential for positioning the Shop Now button */
    width: 60%;
    flex-grow: 1;
    padding: 0;
    /* Clear old padding so the image fills the space */
    min-height: auto;
    overflow: hidden;
    display: block;
    /* Changes from flex to clear old layout */
  }

  /* Keeps your new GIF responsive and filling the center block */
  .hero-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Shop Now button positioned perfectly at the bottom left */
  .btn-shop-now {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;

    /* Design System Styles */
    background-color: #7c3aed;
    color: #ffffff;
    padding: 12px 24px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.2s ease;
  }

  .btn-shop-now:hover {
    background-color: #6d28d9;
    transform: translateY(-2px);
  }
}


/* ==========================================================================
   EXCLUSIVE OFFERS & DEALS SECTION
   ========================================================================== */
.promo-deals-section {
  padding: 60px 0;
  background-color: #fdf8f5;
  /* Light warm tint to separate from catalog */
  border-top: 1px solid #f3e6e0;
  border-bottom: 1px solid #f3e6e0;
}

.promo-deals-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Title Styling */
.promo-deals-section .section-title {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 40px;
  color: #d9534f;
  /* Urgent Promo Red */
  font-weight: 800;
  text-transform: uppercase;
}

/* Responsive Grid Configuration */
.promo-deals-section .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

/* Promo Card Wrapper */
.promo-deals-section .product-card {
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100px;
}

.promo-deals-section .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(217, 83, 79, 0.08);
  /* Soft red glow on hover */
  border-color: #f5c6cb;
}

/* Image formatting */
.promo-deals-section .product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  background-color: #f9f9f9;
}

/* Product Name Typography */
.promo-deals-section .product-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 10px 0;
  line-height: 1.4;
  flex-grow: 1;
  /* Aligns pricing if titles are different lengths */
}

/* Pricing Layout Block */
.promo-deals-section .pricing-block {
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.promo-deals-section .current-promo-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: #28a745;
  /* Clean Green for active buying price */
}

.promo-deals-section .old-retail-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Dynamic Text Badge overlay */
.promo-deals-section .promo-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #d9534f;
  color: #fff;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(219, 83, 79, 0.3);
  z-index: 2;
  letter-spacing: 0.5px;
}

/* Expiry Countdown Indicator layout */
.promo-deals-section .product-card small {
  display: block;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px dashed #eee;
  color: #666;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.promo-deals-section .product-card small i {
  color: #d9534f;
}

/* Mobile responsive scaling optimization */
@media (max-width: 676px) {
  .promo-deals-section {
    padding: 40px 0;
  }

  .promo-deals-section .product-grid {
    grid-template-columns: 1fr;
    /* Stack into clean single column cards on small phones */
    gap: 20px;
  }

  .promo-deals-section .section-title {
    font-size: 1.6rem;
  }
}

/* WhatsApp Promo Order Button Configuration */
.btn-promo-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  /* Standard WhatsApp Brand Identity */
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 15px;
  border-radius: 6px;
  margin-top: 12px;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-promo-whatsapp:hover {
  background-color: #1ebd56;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-promo-whatsapp i {
  font-size: 1.15rem;
}

/* Responsive Slide Setup */
.carousel-slide {
  flex: 0 0 25%;
  /* Default: 4 Items on Large Screen Devices */
}

/* Tablet Layout Configuration */
@media (max-width: 992px) {
  .carousel-slide {
    flex: 0 0 33.333% !important;
  }
}

/* Mobile Layout Configuration (Forces exactly 2 products in a row) */
@media (max-width: 600px) {
  .carousel-slide {
    flex: 0 0 100% !important;
    /* Force exactly 1 product full width on mobile */
    padding: 0 10px !important;
    /* Standard padding since it occupies the full viewport width */
  }

  .promo-deals-section .section-title {
    font-size: 1.2rem !important;
  }

  .btn-promo-whatsapp {
    font-size: 0.85rem !important;
    padding: 10px 5px !important;
  }
}