/* CSS Variables - Color Theme */
/* Main Color: #025B59 - All colors derived from this primary teal */
:root {
  /* Primary Theme Color & Shades */
  --primary-color: #025b59;
  --primary-rgb: 2, 91, 89;
  /* Teal family derived from primary */
  --primary-dark: #014c4b;
  /* Darker shade for hover/active states */
  --primary-darker: #00433f;
  /* Even darker for emphasis */
  --primary-light: #3ed1cf;
  /* Hover color for primary buttons (darker than primary) */
  --primary-hover: #014c4b;
  /* Lighter tint */
  --primary-lighter: #7fe3e1;
  /* Very light tint */
  --primary-lightest: #d4f4f3;
  /* Subtle background tint */

  /* Secondary Colors - Complementary & Harmonious */
  --secondary-color: #1f5f7a;
  /* Deep teal - complementary to red */
  --secondary-dark: #164a5f;
  /* Darker teal */
  --secondary-light: #2d7a9a;
  /* Lighter teal */

  /* Accent Colors - Warm tones that complement red */
  --accent-color: #e8a87c;
  /* Warm coral/salmon */
  --accent-dark: #d48752;
  /* Darker coral */
  --accent-light: #f2c29f;
  /* Lighter coral */

  /* Neutral Colors - Derived from red's undertones */
  --neutral-warm: #6b5b5b;
  /* Warm gray-brown */
  --neutral-dark: #4a3a3a;
  /* Dark warm gray */
  --neutral-medium: #8b7b7b;
  /* Medium warm gray */
  --neutral-light: #d4caca;
  /* Light warm gray */

  /* Text Colors */
  --text-dark: #263233;
  /* Dark neutral text */
  --text-black: #0f1414;
  /* Almost black */
  --text-light: #ffffff;
  /* Pure white */
  --text-muted: rgba(255, 255, 255, 0.85);
  /* Muted white */
  --text-primary: var(--primary-color);
  /* Primary teal for accents */

  /* Background Colors */
  --bg-white: #ffffff;
  /* Pure white */
  --bg-light: #faf8f8;
  /* Very light warm gray */
  --bg-lighter: #fdfcfc;
  /* Almost white warm */
  --bg-primary-tint: #fce8e9;
  /* Subtle red tint */
  --bg-dark: #2c1f1f;
  /* Dark warm background */
  --bg-darkest: #1a0f0f;
  /* Darkest warm background */
}

/* ===== ACCESSIBILITY UTILITIES ===== */
/* Visually hidden but accessible to screen readers */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip to main content link for keyboard users */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 4px 0;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Focus visible styles for better keyboard navigation */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    avenir next,
    avenir,
    segoe ui,
    helvetica neue,
    helvetica,
    Cantarell,
    Ubuntu,
    roboto,
    noto,
    arial,
    sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-white);
  overflow-x: hidden;
  overflow-x: clip;
}

/* Make page a column flex so footer can stick to bottom when page content is short */
html,
body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Ensure main content grows to fill available space */
main {
  flex: 1 0 auto;
}

.container {
  /* max-width: 1400px; */
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Prevent layout shifts by reserving space for images and set sane defaults */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Hero image — reserve aspect ratio so LCP has layout space before image loads */
.promotional-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: block;
}

/* Product and gallery thumbnails: reserve consistent aspect ratio to avoid CLS */
.product-image img,
.product-media img,
.products-grid .product-card img,
.category-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

/* Keep header logo sizing controlled via HTML attributes and the .logo container */
.footer-logo-img {
  height: auto;
  width: auto;
  display: inline-block;
}

/* Header styles removed — header layout and styles moved to `includes/header.php` or a separate header stylesheet. */

/* Top Banner */
.top-banner {
  background-color: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
}

/* ===== Kitchen Banner Heading & Cards ===== */
.kitchen-banner {
  position: relative;
  background-color: #fafafa;
  padding: 28px 0 24px;
}

.kitchen-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  
}

.kitchen-heading .kitchen-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark, #032f35);
  margin: 0;
}

.kitchen-heading .kitchen-sub {
  font-size: 15px;
  color: #556;
  max-width: 820px;
  margin: 0;
}

.kitchen-heading .kitchen-underline {
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color, #025B59), rgba(2,91,89,0.6));
  border-radius: 4px;
  margin-top: 6px;
}

.kitchen-banner .cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 0 0 8px;
}

@media (max-width: 992px) {
  .kitchen-heading .kitchen-title { font-size: 24px; }
  .kitchen-heading .kitchen-sub { font-size: 14px; padding: 0 12px; }
  .kitchen-banner .cards { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 576px) {
  .kitchen-heading .kitchen-title { font-size: 20px; }
  .kitchen-heading .kitchen-sub { font-size: 13px; }
  .kitchen-banner .cards { grid-template-columns: 1fr; gap: 12px; }
}

.top-banner strong {
  font-weight: 700;
  letter-spacing: 1px;
}

/* --- 2. HEADER LAYOUT --- */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background-color: white;
  border-bottom: 1px solid #e5e5e5;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
}

.logo {
  width: 160px;
  height: 60px;
  overflow: hidden;
}

.logo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- 3. DESKTOP NAVIGATION --- */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
}

.nav-links li {
  position: static;
}

.dropdown-parent {
  position: static;
}

.nav-item {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding-bottom: 5px;
  position: relative;
  transition: color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Underline Animation */
.nav-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease-in-out;
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item:hover {
  color: var(--primary-color);
}

.mobile-arrow {
  display: none;
  /* Hide arrow on desktop */
}

/* --- 4. MEGA MENU (DESKTOP) ---
 * Performance: contain layout to isolate repaints
 */
.mega-menu {
  position: fixed;
  top: var(--main-header-height, 78px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 100vw;
  max-width: 1100px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
  padding: 28px 24px;
  border-radius: 0 0 20px 20px;
  border-top: 3px solid var(--primary-color);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10015;
  /* Performance: isolate from main page reflows */
  contain: layout style paint;
}

/* Show Mega Menu on Desktop Hover */
.dropdown-parent:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  top: calc(var(--header-top, 0px) + var(--main-header-height, 78px));
}

/* Mega Menu Categories Container */
.mega-menu-categories {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}

/* Navigation Arrows */
.mega-menu-nav {
  width: 40px;
  height: 40px;
  border: 2px solid #e0e0e0;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 14px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mega-menu-nav:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(2, 91, 89, 0.3);
}

.mega-menu-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.mega-menu-nav:disabled:hover {
  background: #fff;
  border-color: #e0e0e0;
  color: #666;
  transform: none;
  box-shadow: none;
}

/* Scrollable Container */
.mega-menu-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
  padding: 12px 8px;
}

.mega-menu-scroll::-webkit-scrollbar {
  display: none;
}

/* Category Item */
.mega-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  min-width: 110px;
  padding: 14px 10px 12px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  border: 1px solid transparent;
}

.mega-menu-item:hover {
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border-color: rgba(2, 91, 89, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(2, 91, 89, 0.12);
}

.mega-menu-item__image {
  width: 72px;
  height: 72px;
  border-radius: 10%;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  margin-bottom: 10px;
  border: 3px solid #f0f0f0;
  transition: all 0.3s ease;
  position: relative;
}

.mega-menu-item:hover .mega-menu-item__image {
  border-color: var(--primary-color);
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(2, 91, 89, 0.2);
}

.mega-menu-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mega-menu-item:hover .mega-menu-item__image img {
  transform: scale(1.05);
}

.mega-menu-item__name {
  font-size: 12px;
  font-weight: 600;
  color: #444;
  text-align: center;
  line-height: 1.35;
  max-width: 100px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.mega-menu-empty {
  padding: 30px;
  text-align: center;
  color: #999;
  font-size: 14px;
  width: 100%;
}

/* Old menu column styles - keep for compatibility */
.menu-column a {
  display: block;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  margin-bottom: 12px;
  transition: color 0.2s;
}

.menu-column a:hover {
  color: var(--primary-color);
}

/* Icons */
.header-icons {
  color: #aaa;
  font-size: 22px;
  cursor: pointer;
}

.hamburger {
  display: none;
  font-size: 20px;
  cursor: pointer;
  border: 1px solid #333;
  padding: 6px 10px;
  border-radius: 4px;
}

/* --- 5. MOBILE RESPONSIVENESS (Max-width 768px) --- */
@media (max-width: 768px) {
  .main-header {
    padding: 15px 20px;
  }

  .desktop-only {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-arrow {
    display: block;
    font-size: 10px;
    margin-left: 5px;
  }

  /* Main Menu Box */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background-color: white;
    border: 1px solid #333;
    /* The black box border */
    padding: 15px;
    gap: 0;
    /* Remove gap, handle spacing manually */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    /* Scroll if too long */
    overflow-y: auto;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    position: relative;
  }

  .nav-item {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid transparent;
    /* Placeholder for spacing */
  }

  /* Remove underline animation on mobile */
  .nav-item::after {
    display: none;
  }

  /* --- MOBILE ACCORDION STYLES --- */

  /* Hide the mega menu initially */
  .mega-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 20px 16px;
    background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
    border: none;
    border-radius: 16px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    left: 0;
    border-top: 2px solid var(--primary-color);
  }

  .mega-menu-categories {
    flex-direction: column;
    gap: 12px;
  }

  .mega-menu-nav {
    display: none;
  }

  .mega-menu-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    overflow-x: visible;
    padding: 4px;
  }

  .mega-menu-item {
    min-width: unset;
    flex: unset;
    padding: 12px 8px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
  }

  .mega-menu-item:hover,
  .mega-menu-item:active {
    background: #fff;
    border-color: var(--primary-color);
    transform: scale(0.98);
    box-shadow: 0 4px 12px rgba(2, 91, 89, 0.12);
  }

  .mega-menu-item__image {
    width: 52px;
    height: 52px;
    margin-bottom: 8px;
    border-width: 2px;
  }

  .mega-menu-item:hover .mega-menu-item__image,
  .mega-menu-item:active .mega-menu-item__image {
    transform: none;
  }

  .mega-menu-item__name {
    font-size: 11px;
    max-width: 80px;
    font-weight: 600;
  }

  .mega-menu-empty {
    grid-column: 1 / -1;
    padding: 20px;
  }

  /* Style the links inside the dropdown for mobile */
  .menu-column {
    display: contents;
  }

  .menu-column a {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 400;
  }

  /* JS Toggles this class to show menu */
  .dropdown-parent.open-dropdown .mega-menu {
    display: block;
  }

  .dropdown-parent.open-dropdown .nav-item {
    color: var(--primary-color);
  }
}

/* Fix: remove large vertical gap in Featured section on mobile */
@media (max-width: 768px) {
  .featured-section section:not(#sectionPin) {
    min-height: auto !important;
    padding: 12px 16px !important;
  }

  .featured-section p {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    width: auto !important;
    margin: 12px 0 0 0 !important;
  }

  /* Ensure heading and intro sit close together */
  .featured-section h1 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    padding: 12px 16px !important;
  }
}

/* Category Showcase */
.category-showcase {
  padding: 20px 250px;
  background-color: var(--bg-white);
  display: block;
}

/* Mobile: remove huge side padding so categories don't get pushed off-screen */
@media (max-width: 768px) {
  .category-showcase {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding: 16px 0 !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
  }

  .category-showcase .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .category-image {
    margin-bottom: 8px;
  }

  .category-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
  }

  .category-title {
    font-size: 12px;
    line-height: 1.2;
  }
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.category-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
  height: 120px;
  width: 120px;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-image {
  margin-bottom: 15px;
}

.category-placeholder {
  width: 100%;
  aspect-ratio: 1;
  /* background-color: var(--primary-lightest); */
  /* border: 1px solid var(--border-primary); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(2, 91, 89, 0.15);
}

.category-placeholder::before {
  font-size: 40px;
  filter: grayscale(0.3);
}

.storage-organizers::before {
  content: "📦";
}

.kitchen-containers::before {
  content: "🥣";
}

.cookware::before {
  content: "🍳";
}

.bathroom::before {
  content: "🚿";
}

.kids::before {
  content: "🧸";
}

.floor-mats::before {
  content: "🏠";
}

.trash-cans::before {
  content: "🗑️";
}

.sofa-covers::before {
  content: "🛋️";
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.category-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-top: 10px;
}

/* Promotional Banner */
.promotional-banner {
  position: relative;
  margin-top: 30px;
  padding: 0;
  /* full-bleed hero uses its image's height */
  cursor: pointer;
}

.banner-content {
  position: relative;
  display: block;
}

.banner-title {
  font-size: 80px;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: -2px;
  line-height: 1;
}

.banner-subtitle {
  font-size: 32px;
  font-family: "Dancing Script", cursive;
  color: var(--text-black);
  margin-bottom: 20px;
  font-weight: 400;
}

.banner-offer {
  font-size: 24px;
  color: var(--text-black);
  font-weight: 600;
  margin-bottom: 30px;
}

.banner-button {
  display: inline-block;
  background-color: var(--bg-darkest);
  color: var(--text-light);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.banner-button:hover {
  background-color: var(--bg-dark);
  transform: translateY(-2px);
}

.banner-image {
  display: block;
  width: 100%;
}

.banner-image-placeholder {
  width: 400px;
  height: 500px;
  background: var(--gradient-light);
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Section Titles */
.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 30px;
  text-align: center;
}

/* Full-bleed promotional image */
/* .promotional-img {
  width: 100vw;
  max-width: 100vw;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  scale: 1.1;
}

@media (max-width: 768px) {
  .promotional-img {
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    min-height: 0;
  }
} */

/* Products Section */

/* hero swiper-slider */
/* Slider Container */
.swiper {
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

/* SLIDE STYLING - This creates the "Peeking" effect */
.swiper-slide {
  /* Mobile: Show 85% of current slide (so 7.5% peeks on left/right) */
  width: 85%;
  position: relative;

  /* Transition for the zoom effect */
  transition: transform 0.3s ease;
  opacity: 0.5;
  /* Fade out side images slightly */
  transform: scale(0.9);
  /* Shrink side images slightly */
}

/* Desktop: Show 60% of current slide (larger peek) */
@media (min-width: 768px) {
  .swiper-slide {
    width: 60%;
  }
}

/* Active Slide (The Center One) */
.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  /* Full size */
  z-index: 10;
}

/* Image styling */
.swiper-slide img {
  display: block;
  width: 100%;
  height: 400px;
  /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Pagination Dots */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 2px solid #333;
  opacity: 0.5;
  transition: all 0.3s;
}

.swiper-pagination-bullet-active {
  background: #333;
  /* Solid black active dot */
  width: 12px;
  height: 12px;
  opacity: 1;
}

/* ===== MOBILE SLIDER RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .promotional-banner {
    margin-top: 15px;
    padding: 0;
    overflow: hidden;
  }

  .promotional-banner .container {
    padding: 0;
    max-width: 100%;
  }

  .banner-image {
    width: 100%;
    overflow: hidden;
  }

  .swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 40px;
    overflow: hidden;
  }

  .swiper-slide {
    width: 92%;
    opacity: 0.6;
    transform: scale(0.95);
  }

  .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
  }

  .swiper-slide img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 280px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  /* Pagination dots for mobile */
  .swiper-pagination {
    bottom: 10px !important;
  }

  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
  }

  .swiper-pagination-bullet-active {
    width: 8px;
    height: 8px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .promotional-banner {
    margin-top: 10px;
  }

  .swiper {
    padding-top: 15px;
    padding-bottom: 35px;
  }

  .swiper-slide {
    width: 95%;
  }

  .swiper-slide img {
    min-height: 160px;
    max-height: 220px;
    border-radius: 10px;
  }

  .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
  }

  .swiper-pagination-bullet-active {
    width: 6px;
    height: 6px;
  }
}

.products-section {
  padding: 60px 0;
  background-color: #f3f1eb;
}

.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
  scale: 1.05;
}

.products-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  /* prevents page horizontal scroll caused by absolute nav buttons */
}

.carousel-btn {
  background-color: var(--bg-white);
  border: 2px solid var(--border-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  flex: 1;
  overflow: hidden;
}

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-lighter);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.product-image {
  width: 100%;
  height: 200px;
  background-color: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  margin-bottom: 15px;
  overflow: hidden;

  img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 8px !important;
  }
}

.product-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 10px;
  min-height: 40px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.product-price::before {
  content: "₹ ";
}

/* Utility: suppress the pseudo-currency when server-side formatting already includes symbol */
.no-currency::before {
  content: "" !important;
  display: none !important;
}

/* Price layout variations */
.product-price-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.product-price.sale-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0;
}

.product-price.old-price {
  font-size: 16px;
  color: #9b9b9b;
  text-decoration: line-through;
  font-weight: 600;
  margin-left: 6px;
}

.discount-badge {
  background-color: rgba(2, 91, 89, 0.06);
  color: var(--primary-color);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--accent-color);
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

/* Add Font Awesome cart icon before the button text (keeps HTML unchanged) */
.add-to-cart-btn::before {
  content: "\f07a";
  /* shopping-cart */
  font-family: "Font Awesome 6 Free";
  /* matches included FA CSS */
  font-weight: 900;
  /* solid icon */
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}

/* Make the grid a single non-wrapping row that scrolls horizontally */
.products-carousel .products-grid {
  display: flex;
  gap: 16px;
  /* reserve room for the overlay arrows so they remain clickable; reduced side padding to decrease empty space */
  padding: 12px 28px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  flex-wrap: nowrap;
}

/* Hide horizontal scrollbar while preserving scroll behavior */
.products-carousel .products-grid {
  /* Firefox */
  scrollbar-width: none;
  /* IE 10+ */
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
}

.products-carousel .products-grid:active {
  cursor: grabbing;
}

/* Prevent native image drag from interfering with carousel drag */
.products-carousel .products-grid img {
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.products-carousel .products-grid::-webkit-scrollbar {
  height: 0;
  /* Chrome, Safari */
  background: transparent;
}

/* Ensure product cards inside the carousel keep a consistent width and snap into place */
.products-carousel .product-card {
  flex: 0 0 240px;
  /* fixed card width in the scroll row */
  min-width: 220px;
  scroll-snap-align: start;
}

@media (min-width: 1200px) {
  .products-carousel .product-card {
    flex: 0 0 280px;
    min-width: 260px;
  }
}

/* Position the nav arrows over the carousel edges */
.products-carousel .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
}

.products-carousel .prev-btn {
  left: 12px;
}

.products-carousel .next-btn {
  right: 12px;
}

/* On small screens hide the arrow buttons and rely on touch/drag */
@media (max-width: 768px) {
  .products-carousel .carousel-btn {
    display: none;
  }

  .products-carousel .products-grid {
    padding: 12px 4px;
  }
}

@media (max-width: 576px) {
  .products-section {
    padding: 40px 0;
  }

  .products-section .container {
    padding: 0 12px;
  }

  .products-carousel .products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 12px 0;
    overflow: visible !important;
  }

  .products-carousel .product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .product-image {
    height: 140px;
  }
}

.add-to-cart-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(2, 91, 89, 0.3);
}

/* Kitchen Collection Banner Section */

.kitchen-banner {
  position: relative;
  background-color: #fafafa;

  .cards {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    /* overflow: hidden; ScrollTrigger controls translation */
    will-change: transform;
  }

  .card {
    height: 35vmax;
    width: 23vmax;
    min-width: 23vmax; /* prevent shrinking below width */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    cursor: pointer;
    flex: 0 0 auto; /* don't let flexbox shrink the cards */
    scroll-snap-align: start;
  }

  .card .imgdiv {
    height: 100%;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .card .imgdiv img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    filter: brightness(60%);
  }
  .card .imgdiv h1 {
    font-size: 2vmax;
    font-weight: 600;
    color: #fff;
    z-index: 1;
    padding: 2vw 1.5vw;
  }

  .card .content {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 2vw 1.5vw;
    box-sizing: border-box;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    opacity: 0;
  }

  .content h1 {
    font-size: 2vmax;
    font-weight: 600;
  }

  .content p {
    font-size: 1.3vmax;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 3vh;
  }

  .content .arrow {
    overflow: hidden;
    height: 3vmax;
    width: 3vmax;
    border-radius: 50%;
    padding: 1vw;
    background-color: #fff;
    margin-top: 2vh;
    position: relative;
  }
  .arrow img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  /* ----------------- Responsive (≤ 900px) ----------------- */

  @media (max-width: 900px) {
    .kitchen-banner .cards {
      /* switch from horizontal scroll to vertical stack */
      flex-direction: column !important;
      flex-wrap: nowrap !important;
      overflow-x: hidden !important;
      overflow-y: visible !important;
      scroll-snap-type: none !important;

      /* center the stack */
      justify-content: center !important;
      align-items: center !important;
      height: auto !important;
      padding: 16px !important;
    }

    .kitchen-banner .card {
      width: min(520px, 92vw) !important;
      min-width: 0 !important;
      height: auto !important;
    }

    /* ensure images cover the tile area even if other rules exist */
    .kitchen-banner .card .imgdiv {
      height: 220px !important;
      padding: 0 !important;
    }
    .kitchen-banner .card .imgdiv h1 {
      padding: 2vw 1.5vw;
    }
    .kitchen-banner .card .imgdiv img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      object-position: center !important;
      padding: 0 !important;
      max-width: none !important;
      max-height: none !important;
    }
  }

  @media (max-width: 480px) {
    .kitchen-banner .card .imgdiv {
      height: 190px !important;
    }
  }
}

/* Transform Section */
.transform-section {
  padding: 60px 0;
  /* background-color: var(--bg-lighter); */
  background-color: #f7f4ef;
}

/* Fix: make kitchen-banner card images fully visible (avoid cropping) */
.kitchen-banner .card img,
.kitchen-banner .rows-container .card img {
  /* ensure banner images COVER the tile */
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Hard override (top-level) for mobile: always stack cards vertically.
   This avoids any issues if nested @media blocks are ignored by some browsers. */
@media (max-width: 900px) {
  .kitchen-banner .cards {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    scroll-snap-type: none !important;
    padding: 20px 16px !important;
    gap: 16px !important;
  }

  .kitchen-banner .card {
    width: min(520px, 92vw) !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 200px !important;
  }
  
  /* On mobile, show the content overlay by default since hover doesn't work */
  .kitchen-banner .card .content {
    opacity: 1 !important;
    position: relative !important;
    height: auto !important;
    padding: 16px !important;
  }
  
  /* Show the image div on mobile with a fixed height */
  .kitchen-banner .card .imgdiv {
    display: block !important;
    height: 180px !important;
    position: relative !important;
  }

  .kitchen-banner .card .imgdiv img {
    position: absolute !important;
    filter: brightness(70%) !important;
  }
  
  /* Hide the duplicate title inside the image div since content section shows it */
  .kitchen-banner .card .imgdiv h1 {
    display: none !important;
  }
  
  .kitchen-banner .card .content h1 {
    font-size: 18px !important;
    margin-bottom: 8px !important;
  }
  
  .kitchen-banner .card .content p {
    font-size: 14px !important;
    margin-top: 0 !important;
    line-height: 1.5 !important;
  }
  
  .kitchen-banner .card .content .arrow {
    height: 36px !important;
    width: 36px !important;
    padding: 8px !important;
    margin-top: 12px !important;
  }
}

/* Carousel wrapper (single-row scroll similar to "Our Top Categories") */
.transform-carousel {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 1rem;
}

.transform-track {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.transform-grid {
  display: flex;
  gap: 20px;
  padding: 12px 8px;
  align-items: stretch;
  flex-wrap: nowrap;
}

.transform-card {
  flex: 0 0 220px;
  min-width: 220px;
  background-color: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.transform-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.transform-image {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-light);
  font-size: 40px;
}

.transform-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.transform-price {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 700;
}

.transform-btn {
  margin-top: auto;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* Prev / Next buttons - reuse carousel-btn styles but position specifically */
.transform-prev {
  position: absolute;
  left: -26px;
  /* place outside the first card */
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.transform-next {
  position: absolute;
  right: -26px;
  /* place outside the last card */
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Hide scrollbars while keeping scrolling usable */
.transform-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.transform-track::-webkit-scrollbar {
  display: none;
  height: 0;
}

/* Responsive: on smaller screens convert to 2-column grid and hide arrows */
@media (max-width: 768px) {
  .transform-carousel {
    padding: 0;
  }

  .transform-track {
    overflow-x: auto;
  }

  .transform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 8px 0;
  }

  .transform-card {
    flex: 1 1 auto;
    min-width: unset;
  }

  .transform-carousel .carousel-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .transform-card {
    padding: 12px;
  }

  .transform-image {
    height: 86px;
    font-size: 30px;
  }

  /* Mega Menu - Small Mobile */
  .mega-menu-scroll {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .mega-menu-item {
    padding: 10px 6px;
  }

  .mega-menu-item__image {
    width: 46px;
    height: 46px;
  }

  .mega-menu-item__name {
    font-size: 10px;
    max-width: 70px;
  }
}

/* Featured Section */
.featured-section {
  padding: 60px 0;
  background-color: #a9a9a91f;

  section:not(#sectionPin) {
    min-height: 30vh;
    width: 100%;
    position: relative;
    display: block;
    padding: 80px 10vw;
    margin: auto;
  }

  img {
    height: 80vh;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  h2 {
    font-size: 2rem;
    max-width: 400px;
  }

  .credit {
    font-family: Termina, sans-serif;

    a {
      color: var(--text-color);
    }
  }

  #sectionPin {
    height: 100vh;
    overflow: hidden;
    display: flex;
    left: 0;
    background: var(--text-color);
    color: var(--bg-color);
  }

  .pin-wrap {
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 50px 10vw;

    & > * {
      min-width: 60vw;
      padding: 0 5vw;
    }
  }
}

/* Featured Intro - New Layout */
.featured-intro {
  position: relative;
  overflow: hidden;
}

.featured-bg-number {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  font-size: clamp(200px, 35vw, 450px);
  font-weight: 900;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.6s ease;
}

.featured-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.featured-left {
  flex: 1;
  max-width: 55%;
}

.featured-left h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  position: relative;
  top: auto;
  left: auto;
  margin: 0;
}

.featured-left h1 span {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
}

.featured-left h1 span:nth-child(1) {
  animation-delay: 0.1s;
}

.featured-left h1 span:nth-child(2) {
  animation-delay: 0.2s;
}

.featured-left h1 span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-right {
  flex: 0 0 320px;
  max-width: 320px;
  position: relative;
  padding-left: 30px;
}

.featured-line {
  width: 50px;
  height: 3px;
  background: #1a1a1a;
  margin-bottom: 20px;
  transform-origin: left;
  animation: lineGrow 0.8s ease 0.5s forwards;
  transform: scaleX(0);
}

@keyframes lineGrow {
  to {
    transform: scaleX(1);
  }
}

.featured-right p {
  position: relative;
  bottom: auto;
  right: auto;
  width: auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
  opacity: 0;
  animation: fadeIn 0.6s ease 0.6s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive for featured intro */
@media (max-width: 900px) {
  .featured-split {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    min-height: auto;
    padding: 60px 0;
  }

  .featured-left {
    max-width: 100%;
  }

  .featured-right {
    flex: none;
    max-width: 100%;
    padding-left: 0;
  }

  .featured-bg-number {
    font-size: clamp(120px, 30vw, 200px);
    top: 10%;
    left: 0;
    transform: translateY(0);
  }
}

/* Make the featured pin section stack on small screens */
@media (max-width: 768px) {
  #sectionPin {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
    background: none !important;
    color: inherit !important;
  }

  .pin-wrap {
    display: block !important;
    height: auto !important;
    padding: 20px 12px !important;
  }

  .pin-wrap > * {
    min-width: auto !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .pin-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 14px;
  }

  .pin-wrap h2 {
    margin-bottom: 12px;
  }
}

/* App Banner */
.app-banner {
  padding: 40px 0;
  background-color: #f6f6f6;
  margin: 40px 0;
}

.app-banner .inquiry-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.app-banner .inquiry-container {
  width: 100%;
  max-width: 1100px;
  background: #ffffff;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.app-banner .inquiry-left {
  width: 60%;
  padding: 40px 50px;
}

.app-banner .small-title {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
}

.app-banner .main-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.05;
}

.app-banner .inquiry-form .input-box {
  margin-bottom: 15px;
}

.app-banner .inquiry-form input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
  background: #fafafa;
}

.app-banner .inquiry-form input:focus {
  border-color: #222;
}

.app-banner .submit-btn {
  padding: 14px 25px;
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s;
  margin-top: 10px;
}

.app-banner .submit-btn:hover {
  background: #333;
}

.app-banner .inquiry-right {
  width: 40%;
  background: #f5f5f5;
}

.app-banner .inquiry-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .app-banner .inquiry-container {
    flex-direction: column;
  }

  .app-banner .inquiry-left,
  .app-banner .inquiry-right {
    width: 100%;
  }

  .app-banner .inquiry-right img {
    height: 250px;
    object-fit: cover;
    width: 100%;
  }

  /* Make title wrap cleanly on smaller screens */
  .app-banner .main-title {
    font-size: 22px;
    line-height: 1.25;
  }
}

/* Blogs Section */
.blogs-section {
  padding: 60px 0;
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-lighter);
  border-radius: 8px;
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.blog-title {
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.blog-link {
  display: block;
  padding: 0 20px 20px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Footer - redesigned */
.main-footer {
  background-color: var(--primary-darker);
  /* darker background for contrast */
  color: var(--text-light);
  padding: 48px 48px 24px;
}

.footer-top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
  width: 100%;
}

/* Make left content wider and push link columns to the right */
.footer-left {
  flex: 0 0 62%;
  min-width: 260px;
}

.footer-logo {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-logo-img {
  height: 100px;
  width: auto;
}

.footer-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-light);
  display: block;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 8px;
  line-height: 1.5;
}

.social-and-apps {
  margin: 18px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-color);
  color: #fff;
}

.app-stores-footer {
  display: flex;
  gap: 10px;
}

.app-store-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: var(--text-light);
  font-size: 18px;
}

.newsletter {
  margin-top: 18px;
}

.newsletter-title {
  color: var(--text-light);
  font-weight: 300;
  margin-bottom: 8px;

  strong {
    font-weight: 700;
    text-transform: uppercase;
  }
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: var(--text-light);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  cursor: pointer;
}

.newsletter-btn:hover {
  background: var(--primary-hover);
}

/* === Checkout page and general form/button styling === */
.checkout-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.checkout-section {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.order-summary {
    background: var(--bg-white);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.address-card {
    border: 1px solid #e9e9e9;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.payment-option {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.payment-option input[type=radio] {
    transform: scale(1.2);
}

.checkout-section input[type=text],
.checkout-section input[type=number],
.checkout-section input[type=email],
.checkout-section input[type=tel],
.checkout-section select,
.checkout-section textarea {
    width:100%;
    padding: 10px;
    border:1px solid #ccc;
    border-radius:6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.checkout-section input:focus,
.checkout-section select:focus,
.checkout-section textarea:focus {
    outline: 2px solid var(--primary-color);
    border-color: var(--primary-color);
}

.btn {
    display:inline-block;
    background:var(--primary-color);
    color:#fff;
    padding:10px 18px;
    border:none;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    cursor:pointer;
    transition:background 0.3s;
}
.btn:hover{background:var(--primary-hover);}

.page-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 18px;
}
.page-subtitle {
    text-align: center;
    color: #666;
    margin-top: 0;
    margin-bottom: 22px;
}

.checkout-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.btn-outline {
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}
.btn-outline:hover {
    background: var(--primary-lightest);
}

.payment-option.active {
    border-color: var(--primary-color);
    background: var(--primary-lightest);
}

.checkout-section h3 {
    margin-bottom: 14px;
}
.order-summary h3 {
    margin-bottom: 12px;
}

.checkout-section .form-row {
    margin-bottom: 12px;
}

.order-summary .item {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid #f3f3f3;
}
.order-summary .item:last-child {
    border-bottom:none;
}
.order-summary .item .info {
    flex:1;
    display:flex;
    align-items:center;
    gap:12px;
}
.order-summary .item .thumb {
    width:56px;
    height:56px;
    border-radius:8px;
    overflow:hidden;
    background:#fff;
    border:1px solid #f3f3f3;
}
.order-summary .item .name {
    font-weight:700;
    font-size:14px;
}

.order-summary .totals {
    margin-top:12px;
    border-top:1px dashed #e9e9e9;
    padding-top:12px;
}
.order-summary .totals .row {
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    color:#666;
}
.order-summary .totals .row.total {
    padding-top:12px;
    align-items:center;
}
.order-summary .totals .row.total span {
    color:var(--primary-color);
    font-size:20px;
    font-weight:800;
}

.qr-container {
    width:200px;
    height:200px;
    background:#fff;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 20px rgba(0,0,0,0.06);
    padding:8px;
}

.upi-id-box {
    display:inline-block;
    background:#f0fdf4;
    border:1px solid #bbf7d0;
    border-radius:8px;
    padding:8px 16px;
    font-size:14px;
}

.checkout-section .two-col {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
}

.footer-container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header icons: search, cart, account (compact, used in includes/header.php) */
.header-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-icons .icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--text-dark);
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.18s ease;
  font-size: 16px;
}

.header-icons .icon-link:hover {
  color: var(--primary-color);
  background: var(--bg-light);
  border-color: var(--border-lighter);
}

.header-icons .cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* User menu */
.user-menu {
  position: relative;
}

.user-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  text-decoration: none;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 180px;
  display: none;
  z-index: 1200;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  color: #333;
}

.user-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-dark);
  text-decoration: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 500;
  font-size: 16px;
}

.user-dropdown a:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.user-menu:hover .user-dropdown {
  display: block;
}

/* Also show dropdown when `.open` class is applied via JS
   This allows JS to keep it visible even after quick mouseleave. */
.user-menu.open .user-dropdown {
  display: block;
}

.footer-columns {
  flex: 0 0 34%;
  display: flex;
  gap: 48px;
  justify-content: flex-end;
  /* keep columns to the right */
  align-items: flex-start;
  padding-right: 0;
}

.footer-col {
  min-width: 140px;
  text-align: left;
}

.footer-heading {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-small {
  opacity: 0.9;

  a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
  }
}

@media (max-width: 992px) {
  .footer-top {
    flex-direction: column;
  }

  .footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 24px;
    margin-left: 0;
    margin-top: 18px;
  }

  .footer-left {
    width: 100%;
    flex: none;
  }
}

@media (max-width: 768px) {
  .main-footer {
    padding: 32px 16px 20px;
  }

  .footer-container {
    padding: 0;
  }

  .footer-top {
    gap: 30px;
  }

  .footer-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-logo-img {
    height: 45px;
  }

  .footer-logo-text {
    font-size: 18px;
  }

  .footer-desc {
    font-size: 14px;
    line-height: 1.6;
  }

  .social-and-apps {
    margin: 16px 0;
  }

  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .newsletter {
    margin-top: 16px;
  }

  .newsletter-title {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  /* Two-column layout for Company and Support on mobile */
  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
  }

  .footer-col {
    min-width: unset;
    width: 100%;
  }

  .footer-heading {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 13px;
    display: inline-block;
    padding: 4px 0;
    min-height: 40px;
    line-height: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
    font-size: 13px;
  }

  .footer-bottom p {
    margin: 0;
  }

  .footer-contact-small {
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-contact-small a {
    display: inline-block;
    padding: 4px 0;
  }

  .footer-partner {
    width: 100%;
    text-align: left;
    margin-top: 8px;
  }

  .footer-partner-by {
    font-size: 12px;
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .main-footer {
    padding: 28px 12px 16px;
  }

  .footer-top {
    gap: 24px;
  }

  .footer-logo-img {
    height: 40px;
  }

  .footer-logo-text {
    font-size: 16px;
  }

  .footer-desc {
    font-size: 13px;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icon {
    width: 42px;
    height: 42px;
  }

  .newsletter-title {
    font-size: 13px;
  }

  /* Keep two-column layout on small screens */
  .footer-columns {
    gap: 12px;
  }

  .footer-heading {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .footer-links li {
    margin-bottom: 8px;
  }

  .footer-links a {
    font-size: 12px;
    min-height: 36px;
    line-height: 28px;
  }

  .footer-bottom {
    gap: 10px;
    font-size: 12px;
  }

  .footer-contact-small {
    font-size: 12px;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .transform-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .room-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    gap: 15px;
  }

  .nav-link {
    font-size: 12px;
  }

  .banner-title {
    font-size: 60px;
  }

  .banner-subtitle {
    font-size: 24px;
  }

  .banner-content {
    flex-direction: column;
    text-align: center;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .transform-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .room-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Header Layout */
  .header-content {
    padding: 12px 15px;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* Hamburger Menu */
  .hamburger-menu {
    display: flex;
    order: 1;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .logo {
    order: 2;
    flex-basis: auto;
    text-align: center;
    /* padding: 12px 0; */
    height: auto;
    width: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1100;
    width: auto;
    height: 75px;
  }

  /* constrain logo size on small screens for clarity */
  .main-header {
    min-height: 64px;
    /* ensure header has room for larger logo */
  }

  .logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .logo a {
    justify-content: center;
  }

  .logo-text {
    font-size: 18px;
  }

  .logo-img {
    height: 40px;
  }

  .header-icons {
    order: 3;
    gap: 15px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
  }

  .user-name {
    display: none;
  }

  /* Navigation responsive */
  .main-nav {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    /* background-color: var(--bg-white); */
    background-color: rgba(255, 255, 255, 0.479);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 998;
    overflow-y: auto;
    padding: 0;
  }

  .main-nav.active {
    left: 0;
  }

  .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 0;
    margin: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--border-lighter);
    margin: 0;
    padding: 0;
  }

  .nav-link {
    padding: 18px 20px;
    display: block;
    border-bottom: none;
    justify-content: center;
    margin: 0;
  }

  .nav-link i {
    font-size: 12px;
  }

  /* Mega dropdown responsive */
  .dropdown-nav:hover .mega-dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
  }

  .mega-dropdown {
    position: static;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    min-width: 100%;
    transform: none !important;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .dropdown-nav.active .mega-dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 1000px;
  }

  .mega-dropdown-content {
    padding: 15px;
    background-color: var(--bg-light);
    gap: 15px;
    justify-content: flex-start;
  }

  .mega-item {
    width: 100%;
    flex-direction: row;
    text-align: left;
    padding: 15px;
    justify-content: flex-start;
    gap: 15px;
  }

  .mega-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
  }

  .mega-item span {
    font-size: 13px;
  }

  .banner-title {
    font-size: 48px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transform-grid {
    grid-template-columns: 1fr;
  }

  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  /* Mobile refinements: category row scroll + product carousels as 2x3 grid */
  @media (max-width: 768px) {
    /* Small tablets: two-column category grid */
    .category-grid {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 12px;
      padding: 8px 6px;
      overflow: visible;
    }

    .category-card {
      text-align: center;
      margin: 0;
    }

    .category-image {
      width: 100%;
      height: auto;
      margin-bottom: 6px;
    }

    .category-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px;
    }

    .category-title {
      font-size: 12px;
      line-height: 1.1;
    }

    /* Convert product carousels to a 2-column grid on mobile so 6 items show as 2x3 */
    .products-carousel .products-grid {
      display: grid !important;
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 10px !important;
      padding: 8px 0 !important;
      overflow: visible !important;
    }

    .products-carousel .product-card {
      flex: none !important;
      min-width: auto !important;
      width: 100% !important;
    }

    /* Ensure carousel arrows hidden and touch/drag not required */
    .products-carousel .carousel-btn {
      display: none !important;
    }

    /* Slightly reduce product image height on small screens */
    .product-image {
      height: 120px;
      font-size: 44px;
    }

    .product-name {
      font-size: 12px;
    }

    .product-price {
      font-size: 16px;
    }

    .add-to-cart-btn {
      padding: 10px;
      font-size: 14px;
    }
  }

  /* Ensure promotional banner is full-bleed on small screens */
  @media (max-width: 768px) {
    .promotional-banner {
      overflow: hidden;
      margin-left: 0;
      margin-right: 0;
    }

    /* Make container full width and remove side padding so the image can break out */
    .promotional-banner .container {
      max-width: 100%;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
    }

    /* Force the hero image to break out and cover the viewport width */
    .promotional-banner .promotional-img {
      width: 100vw !important;
      max-width: 100vw !important;
      position: relative !important;
      left: 50% !important;
      right: 50% !important;
      margin-left: -50vw !important;
      margin-right: -50vw !important;
      height: auto !important;
      object-fit: cover !important;
      display: block !important;
    }
  }

  /* Extra mobile safety: ensure any .products-grid becomes a 2-column grid and supports up to 3 rows (2x3) */
  @media (max-width: 768px) {
    .products-grid {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      grid-auto-rows: auto !important;
      gap: 12px !important;
      overflow: visible !important;
      padding: 6px 0 !important;
      align-items: start !important;
    }

    .products-grid .product-card {
      width: 100% !important;
      min-width: 0 !important;
      height: auto !important;
    }

    /* If a carousel contains 6 items, they will display as 2 columns × 3 rows naturally */
  }
}

@media (max-width: 576px) {
  .header-content {
    padding: 12px 10px;
  }

  .logo a {
    gap: 8px;
  }

  .logo-img {
    height: 35px;
  }

  .logo-text {
    font-size: 16px;
  }

  .icon-link {
    font-size: 16px;
  }

  .header-icons {
    gap: 12px;
  }

  .main-nav {
    top: 110px;
  }

  .nav-link {
    padding: 12px 15px;
    font-size: 14px;
  }

  .mega-item {
    width: 90px;
  }

  .mega-item img {
    width: 70px;
    height: 70px;
  }

  .banner-title {
    font-size: 36px;
  }

  .banner-subtitle {
    font-size: 20px;
  }

  .banner-offer {
    font-size: 18px;
  }

  .category-grid {
    display: flex !important;
    gap: 12px;
    padding: 8px 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
  }

  .category-grid::-webkit-scrollbar {
    height: 0;
    background: transparent;
  }

  .category-card {
    flex: 0 0 84px;
    min-width: 84px;
    text-align: center;
    margin: 0;
  }

  .category-image {
    width: 84px;
    height: 84px;
    margin: 0 auto 6px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .room-grid {
    grid-template-columns: 1fr;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }
}

/* Mobile: make category filter buttons horizontally scrollable */
@media (max-width: 768px) {
  .category-filters {
    display: flex;
    gap: 12px;
    padding: 8px 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .category-filters::-webkit-scrollbar {
    height: 0;
    background: transparent;
  }

  .category-filters .filter-btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

/* Mobile: make homepage category showcase horizontally scrollable */
@media (max-width: 768px) {
  .category-showcase .category-grid {
    display: flex !important;
    visibility: visible !important;
    gap: 12px;
    padding: 8px 6px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .category-showcase .category-grid::-webkit-scrollbar {
    height: 0;
    background: transparent;
  }

  .category-showcase .category-card {
    display: block !important;
    visibility: visible !important;
    flex: 0 0 84px;
    min-width: 84px;
  }

  .category-showcase .category-image {
    display: block !important;
    width: 84px;
    height: 84px;
    margin: 0 auto 6px;
  }
  
  .category-showcase .category-title {
    display: block !important;
    visibility: visible !important;
    font-size: 11px;
    text-align: center;
  }
}

.products-grid {
  grid-template-columns: repeat(2, 1fr);
}

.transform-grid {
  grid-template-columns: 1fr;
}

.room-grid {
  grid-template-columns: repeat(2, 1fr);
}

.featured-images {
  grid-template-columns: repeat(2, 1fr);
}

.blogs-grid {
  grid-template-columns: 1fr;
}

.kitchen-banner-content,
.app-banner-content {
  flex-direction: column;
}

.footer-content {
  grid-template-columns: 1fr;
}

/* --- WHY CHOOSE SECTION --- */
.why-choose {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fafa 0%, #fff8f4 50%, #f0fafa 100%);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.04);
  pointer-events: none;
}

.why-choose-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.why-choose-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-badge {
  display: inline-block;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.why-title {
  font-size: 38px;
  margin: 0 0 16px 0;
  font-weight: 800;
  color: var(--text-black);
  line-height: 1.2;
}

.why-sub {
  color: var(--neutral-warm);
  font-size: 16px;
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
}

/* Stats row */
.why-stats-row {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.why-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.why-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.why-stat-label {
  font-size: 13px;
  color: var(--neutral-warm);
  margin-top: 4px;
}

/* Feature cards - 2x2 grid */
.why-choose-right .choose-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.choose-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(var(--primary-rgb), 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.choose-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(var(--primary-rgb), 0.1);
}

.choose-card:hover::after {
  transform: scaleX(1);
}

.choose-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 14px;
  transition: background 0.25s ease, color 0.25s ease;
}

.choose-card:hover .choose-icon {
  background: var(--primary-color);
  color: #fff;
}

.choose-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--text-dark);
}

.choose-card p {
  color: var(--neutral-warm);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}

.start-shopping-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--primary-color);
  color: var(--text-light);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.start-shopping-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* --- Responsive: Why Choose --- */
@media (max-width: 992px) {
  .why-choose-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose-left {
    text-align: center;
    align-items: center;
  }

  .why-sub {
    max-width: 600px;
  }

  .why-stats-row {
    justify-content: center;
  }

  .why-title {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .why-choose {
    padding: 48px 0;
  }

  .why-choose-right .choose-cards {
    grid-template-columns: 1fr;
  }

  .why-stats-row {
    gap: 20px;
    flex-wrap: wrap;
  }

  .why-stat-number {
    font-size: 24px;
  }

  .why-title {
    font-size: 26px;
  }

  .why-title br {
    display: none;
  }
}

/* --- FULL-WIDTH RESELLER BANNER --- */
.reseller-banner {
  padding: 90px 0;
  background-image: url("../image/our_store.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.reseller-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.reseller-banner .container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.reseller-cloud {
  position: relative;
  width: min(920px, 100%);
  padding: 58px 34px;
  background: #fff8f4;
  border-radius: 9999px;
  text-align: center;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
}

.reseller-cloud::before {
  content: "";
  position: absolute;
  inset: -26px -30px;
  background: rgba(255, 248, 244, 0.35);
  border-radius: 9999px;
  z-index: -1;
}

.reseller-badge {
  display: inline-block;
  background: rgba(2, 91, 89, 0.08);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}

.reseller-title {
  font-size: 42px;
  margin: 6px 0 12px 0;
  font-weight: 900;
  color: var(--text-black);
}

.reseller-highlight {
  color: var(--primary-color);
}

.reseller-sub {
  color: #6b5b5b;
  max-width: 720px;
  margin: 0 auto 24px auto;
}

.reseller-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-darkest);
  color: var(--text-light);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: background 0.18s ease;
}

.reseller-btn:hover {
  background: var(--primary-color);
}

@media (max-width: 992px) {
  .reseller-title {
    font-size: 32px;
  }

  .reseller-banner {
    padding: 70px 0;
  }
}

@media (max-width: 576px) {
  .reseller-banner {
    padding: 52px 0;
  }

  .reseller-cloud {
    padding: 28px 18px;
    border-radius: 28px;
  }

  .reseller-cloud::before {
    inset: -14px -16px;
    border-radius: 28px;
  }

  .reseller-title {
    font-size: 24px;
  }
}

/* Tablet (iPad / medium screens) - show 3 columns x 2 rows for category showcase */
@media (min-width: 768px) and (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .category-card {
    /* ensure consistent card sizing on tablet */
    padding: 12px 8px;
  }
}

/* CTA / reference banner used above Featured Products */
.site-cta {
  padding: 10px 0;
  background: transparent;
  margin: 1vh 0vh;
}

.site-cta .cta-bar {
  background: var(--primary-dark);
  /* deep blue similar to reference */
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  width: 100%;
}

.site-cta .cta-bar p {
  margin: 0;
  font-size: 16px;
}

.site-cta .cta-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  margin-left: 6px;
}

@media (max-width: 768px) {
  .site-cta .cta-bar {
    padding: 10px 12px;
  }

  .site-cta .cta-bar p {
    font-size: 14px;
  }
}
