/* =========================================================
   GLOBAL THEME VARIABLES
========================================================= */
:root {
  --accent: #1f6feb;
  --accent2: #0ea5a2;
  --muted: #666;
  --bg: #f9fafb;
  --text: #222;
  --radius: 14px;
  --shadow: 0 15px 35px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 45px rgba(0,0,0,0.15);
  --max-width: 1300px;
  --gradient: linear-gradient(135deg,#1f6feb,#0ea5a2);
}

/* =========================================================
   BASE ELEMENTS
========================================================= */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  margin: 0;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* =========================================================
   HEADER / NAVIGATION (Modern Black & White Monochrome)
========================================================= */
.site-header {
  background: transparent;   /* elegant dark translucent backdrop */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;

  height: 72px;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Shadow when scrolled */
.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background: rgba(15, 15, 15, 0.9);
}

/* Container */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 0 1.5rem;
  margin: 0 auto;
  max-width: 1300px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;

  position: relative;
  z-index: 5000; /* ✅ ensures logo stays above all layers */
}

.logo img {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;

  /* ✅ remove inversion (black logo stays black) */
  filter: none;

  transition: transform 0.3s ease;
  pointer-events: auto; /* clickable if it's a link */
}

.logo img:hover {
  transform: scale(1.04);
}

/* Mobile logo size */
@media (max-width: 768px) {
  .logo img {
    height: 70px;
  }
}


/* =========================================================
   NAVIGATION LINKS (DESKTOP & BASE)
========================================================= */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  position: relative;
  text-decoration: none;
  color: #ffffff; /* ✅ Always white on desktop */
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

/* Elegant underline hover effect */
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #ffffff; /* ✅ White underline */
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover {
  color: #ffffff; /* ✅ stay white on hover */
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 100%;
}

/* Active link style */
.main-nav a.active {
  color: #ffffff;
}

.main-nav a.active::after {
  width: 100%;
  background: #ffffff;
}

/* =========================================================
   RESPONSIVE NAVIGATION
========================================================= */

/* Tablet */
@media (max-width: 992px) {
  .main-nav a {
    font-size: 0.95rem;
    margin-left: 1rem;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.4);
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    font-size: 1.1rem;
    color: #ffffff; /* ✅ White also on mobile */
  }

  .main-nav a::after {
    background: #ffffff;
  }
} /* ✅ properly closed */

/* =========================================================
   SIMPLE HAMBURGER TOGGLE
========================================================= */
.menu-toggle {
  display: block;
  cursor: pointer;
  width: 36px;
  height: 28px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 12px; }
.menu-toggle span:nth-child(3) { top: 24px; }

/* Transform into X when open */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 12px;
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 12px;
}

/* Hide toggle on desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* =========================================================
   HERO SECTION — Cinematic Smooth Crossfade (Desktop + Mobile)
========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 5rem 8%;
  overflow: hidden;
  background: #000;
  color: #fff;
}

/* === Layered Backgrounds for True Crossfade === */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  transition: opacity 2s ease-in-out;
  z-index: 0;
  opacity: 0;
}

/* First image layer */
.hero::before {
  background-image: url('/assets/img/hero1-desktop.jpg');
  animation: heroFadeA 16s infinite ease-in-out;
}

/* Second image layer */
.hero::after {
  background-image: url('/assets/img/hero2-desktop.jpg');
  animation: heroFadeB 16s infinite ease-in-out;
}

/* === Soft Overlay for Contrast === */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.6) 30%, rgba(0,0,0,0.2) 80%);
  z-index: 1;
  opacity: 0.9;
  transition: opacity 0.8s ease;
}
.hero:hover .overlay {
  opacity: 0.7;
}

/* === Content Wrapper === */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-align: left;
  animation: fadeInUp 1.2s ease forwards;
  color: #fff;
}

/* === Headline === */
.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff, #d0d0d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: inkFlow 6s ease infinite;
}

/* === Subtext === */
.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: #eaeaea;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* === Buttons === */
.hero .btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  background: #ffffff;
  color: #111;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  margin-right: 1rem;
}

.hero .btn:hover {
  background: #000;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Secondary button */
.hero .btn.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hero .btn.secondary:hover {
  background: #fff;
  color: #000;
}

/* === Ink Flow Animation === */
@keyframes inkFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Fade-In Up Animation === */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SMOOTH CROSSFADE ANIMATIONS
========================================================= */
@keyframes heroFadeA {
  0%, 45% { opacity: 1; }
  50%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes heroFadeB {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

/* =========================================================
   MOBILE OPTIMIZATION
========================================================= */
@media (max-width: 900px) {
  .hero {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 5%;
    background-attachment: scroll;
  }

  .hero .overlay {
    background: rgba(0, 0, 0, 0.5);
  }

  .hero-content {
    text-align: center;
    max-width: 90%;
  }

  .hero .btn {
    width: 100%;
    max-width: 300px;
    margin: 0.5rem 0;
  }
}

/* =========================================================
   SWITCH TO MOBILE IMAGES (≤590px)
========================================================= */
@media (max-width: 590px) {
  .hero::before {
    background-image: url('/assets/img/hero1-mobile.jpg');
  }
  .hero::after {
    background-image: url('/assets/img/hero2-mobile.jpg');
  }
}
/* =========================================================
   Dynamic Text Color Sync (for h1 and p)
   Matches heroFadeA / heroFadeB timing (16s cycle)
========================================================= */

/* Apply to both headline and subtitle */
.hero-content h1,
.hero-content p {
  animation: textColorShift 16s infinite ease-in-out;
  transition: color 0.8s ease-in-out;
}

/* Subtitle styles */
.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Headline styles (allow color animation to apply) */
.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  background: none; /* disable gradient so color animation shows */
  -webkit-text-fill-color: currentColor; /* ensures color animation applies */
}

/* === Synced color transition === */
@keyframes textColorShift {
  0%, 45% {
    color: #ffffff; /* White text for hero1-desktop */
  }
  50%, 95% {
    color: #000000; /* Black text for hero2-desktop */
  }
  100% {
    color: #ffffff; /* Back to white (loop restart) */
  }
}


/* =========================================================
   NAVIGATION TOGGLE (Hamburger) — Clean Black on White
========================================================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 36px;
  height: 28px;
  gap: 6px;
  z-index: 3001; /* Above overlay */
  transition: transform 0.3s ease;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #000; /* Black bars for white background */
  border-radius: 3px;
  transition: all 0.4s ease;
}

/* Active (X) animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(9px);
  background: #000;
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-9px);
  background: #000;
}

/* Hover effect */
.nav-toggle:hover span {
  transform: scaleX(1.1);
}

/* =========================================================
   MAIN NAVIGATION (Desktop Base)
========================================================= */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  transition: all 0.3s ease;
}

.main-nav a {
  position: relative;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.6px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover underline */
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.main-nav a:hover {
  color: #111;
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 100%;
}

/* =========================================================
   MOBILE NAVIGATION — Fullscreen Overlay
========================================================= */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;

    background: #fff; /* Clean white background */
    color: #000;
    text-align: center;
    z-index: 3000;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .main-nav.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    margin: 1.2rem 0;
    font-size: 1.6rem;
    color: #000;
    text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
  }

  .main-nav a:hover {
    color: #333;
    transform: scale(1.05);
  }

  .main-nav a::after {
    background: #000;
  }

  /* Disable scroll when open */
  body.menu-open {
    overflow: hidden;
  }

  /* =========================================================
     Hide everything else when menu is open
  ========================================================== */
  body.menu-open *:not(.main-nav):not(.nav-toggle):not(.nav-toggle span) {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  /* Keep nav visible */
  body.menu-open .main-nav,
  body.menu-open .nav-toggle,
  body.menu-open .nav-toggle span {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Specifically hide filters, floating buttons, carts, etc. */
  body.menu-open .sp-fab,
  body.menu-open .sp-filters,
  body.menu-open #spOpenFilters,
  body.menu-open #spFilters,
  body.menu-open .filter-btn,
  body.menu-open .whatsapp-btn,
  body.menu-open .cart-widget,
  body.menu-open .floating-button {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* =========================================================
   DESKTOP NAVIGATION (Static Black/White Theme)
========================================================= */
@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
    position: static;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0;
  }

  .main-nav a {
    color: #000;
  }

  .main-nav a:hover {
    color: #111;
  }

  .main-nav a::after {
    background: #000;
  }
}



/* =========================
   CATEGORIES SECTION - MODERN CLASSIC STYLE (RESPONSIVE GRID)
========================= */
.categories {
  margin: 0;
  padding: 3rem 1.5rem;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
}

.categories h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Grid Layout */
.categories .grid {
  display: grid;
  justify-content: center;
  align-content: center;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Category Card */
.cat-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cat-card:hover {
  transform: translateY(-6px);
  background: #e6ebf1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Icon */
.cat-card .icon {
  font-size: 3.2rem;
  color: #222;
  margin-bottom: 0.8rem;
  transition: color 0.3s ease;
}

.cat-card:hover .icon {
  color: #0d1b2a;
}

/* Title */
.cat-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin: 0;
  letter-spacing: 0.5px;
}
.title1 {
  text-align: center !important;
  color: #000 !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  display: inline-block !important;
  margin: 1.5rem auto !important;
  transition: all 0.3s ease !important;
}

/* Underline hover effect */
.title1::after {
  content: "" !important;
  position: absolute !important;
  bottom: -6px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 0 !important;
  height: 2px !important;
  background: #000 !important;
  transition: width 0.3s ease !important;
}

.title1:hover::after {
  width: 60% !important;
}

/* =========================
   RESPONSIVENESS
========================= */

/* Tablet (3 columns) */
@media (max-width: 992px) {
  .categories h2 {
    font-size: 1.8rem;
  }
  .categories .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
  .cat-card {
    padding: 1.4rem 0.9rem;
  }
  .cat-card .icon {
    font-size: 2.8rem;
  }
  .cat-card h3 {
    font-size: 0.95rem;
  }
}

/* Mobile (2 columns) */
@media (max-width: 600px) {
  .categories {
    padding: 2rem 1rem;
  }
  .categories h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .categories .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .cat-card {
    padding: 1.2rem 0.8rem;
    border-radius: 14px;
  }
  .cat-card .icon {
    font-size: 2.5rem;
  }
  .cat-card h3 {
    font-size: 0.9rem;
  }
}

/* =========================
   FEATURED & ON SALE PRODUCTS - MODERN MONOCHROME STYLE
========================= */
.featured-products-showcase {
  padding: 4rem 1.5rem;
  font-family: 'Poppins', sans-serif;
  background: #eaeaea;
}

.featured-products-showcase h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.2rem;
  font-weight: 700;
  color: #fff;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  background: black;
  border-radius: 12px;
  padding: 0.5rem 0.6rem 0.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  min-height: auto;
  height: auto;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color:white;
    
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.product-thumb {
  position: relative;
  margin-bottom: 0.4rem;
  height: 120px; /* adjust based on your design */
  overflow: hidden; /* ✅ hides cropped parts cleanly */
}

.product-thumb img.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* ✅ fills entire container, crops if needed */
  object-position: center; /* ✅ keeps image centered while cropping */
  border-radius: 8px;
  background: #f5f5f5;
  cursor: pointer;
  display: block;
}
/* Mobile default */
.product-thumb {
  position: relative;
  margin-bottom: 0.4rem;
  height: 120px;
  overflow: hidden;
}

/* Tablet screens and above */
@media (min-width: 768px) {
  .product-thumb {
    height: 160px; /* ⬆ slightly taller for tablets */
  }
}

/* Desktop screens and above */
@media (min-width: 1024px) {
  .product-thumb {
    height: 200px; /* ⬆ larger for full-width desktop view */
  }
}

/* Main image styling stays consistent */
.product-thumb img.main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  background: #f5f5f5;
  cursor: pointer;
  display: block;
}

/* BADGES */
.badge-new {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #2a9d8f;
  color: #fff;
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 50px;
  font-weight: 600;
}

.badge-sale {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #e63946;
  color: #fff;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 50px;
  font-size: 0.7rem;
}

/* GALLERY */
.thumb-gallery {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 4px;
  min-height: 30px;
}
/* GALLERY THUMBNAILS */
.thumb-gallery img.thumb {
  width: 30px;
  height: 30px;
  object-fit: cover;         /* ✅ makes mini thumbnails also fill container */
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: transform 0.2s;
}
.thumb-gallery img.thumb:hover {
  transform: scale(1.1);
}
.thumb-placeholder {
  height: 30px;
}

/* PRODUCT INFO */
.product-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex-grow: 1;
  padding: 0.3rem 0 0.5rem;
  color:white;
}

.product-info h3 {
  font-size: 1rem;
  margin: 0.2rem 0;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
    
}

/* PRICE DISPLAY */
.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.8rem;
  line-height: 1;
}

.new-price {
  color: #e63946;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1px;
}

/* BUTTON */
.btn-add {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background: #111;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-add:hover {
  background: #fff;
  color: #111;
  border: 1px solid #111;
}
.view-all {
  text-align: center;
  margin-top: 2.2rem;
}

/* MODAL */
.img-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}
.img-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}
.img-modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* =========================
   RESPONSIVE PRODUCT GRID FIXES
========================= */

/* Tablet (2 per row) */
@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 90%;
  }
}

/* Mobile (always 2 per row, full width, compact cards) */
@media (max-width: 768px) {
  .featured-products-showcase .container {
    padding: 0 0.4rem; /* reduce horizontal padding to maximize width */
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem; /* tighter gap for more width */
    width: 100%; /* full width usage */
    max-width: 100% !important;
  }

  .product-card {
    min-height: 200px;
    padding: 0.6rem;
  }

  .product-thumb img.main-img {
    height: 110px;
  }

  .product-info h3 {
    font-size: 0.85rem;
  }

  .old-price {
    font-size: 0.75rem;
  }

  .new-price {
    font-size: 0.85rem;
  }
}
.product-info a {
  text-decoration: none !important;  /* ✅ remove underline */
  color: inherit !important;         /* ✅ match normal text color */
}
/* Tiny screens (still 2 per row, full width) */
@media (max-width: 480px) {
  .featured-products-showcase .container {
    padding: 0 0.3rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem;
    width: 100%;
    max-width: 100% !important;
  }

  .product-card {
    min-height: 190px;
    padding: 0.5rem;
  }

  .product-thumb img.main-img {
    height: 95px;
  }

  .product-info h3 {
    font-size: 0.8rem;
  }
}



/* =========================
   WHY CHOOSE US - MODERN STYLE
========================= */
.why-us-modern {
  position: relative;
  padding: 6rem 2rem;
  background: #fff; /* white general background */
  font-family: 'Poppins', sans-serif;
}

.why-us-modern .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.why-us-modern h2 {
  font-size: 2.8rem;
  margin-bottom: 4rem;
  color: #111;
  font-weight: 700;
  text-align: center;
}

/* Cards wrapper */
.cards-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

/* ================================
   Feature Card - Modern Responsive
================================= */
.feature-card {
  background: #000;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  padding: 2.5rem 1.8rem;
  width: 320px;
  max-width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.18);
  background: linear-gradient(145deg, #000 0%, #111 100%);
}

/* ================================
   Icon Circle
================================= */
.icon-bg {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #111;
  background: #fff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .icon-bg {
  transform: scale(1.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

/* Optional colored themes */
.pastel-pink,
.pastel-yellow,
.pastel-blue {
  background: #fff;
}

/* ================================
   Text Styling
================================= */
.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}

.feature-card p {
  font-size: 1rem;
  color: #e8e8e8;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 90%;
}

/* ================================
   Layout Wrapper for Cards
================================= */
.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* ================================
   Responsive Tweaks
================================= */

/* Tablets */
@media (max-width: 992px) {
  .cards-wrapper {
    gap: 1.5rem;
  }
  .feature-card {
    width: 45%;
    padding: 2rem 1.4rem;
  }
  .feature-card h3 {
    font-size: 1.3rem;
  }
  .feature-card p {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .cards-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
  }
  .feature-card {
    width: 90%;
    max-width: 400px;
    padding: 2rem 1.3rem;
  }
  .icon-bg {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
  .feature-card h3 {
    font-size: 1.2rem;
  }
  .feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .feature-card {
    width: 95%;
    padding: 1.8rem 1.1rem;
  }
  .icon-bg {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  .feature-card h3 {
    font-size: 1.1rem;
  }
  .feature-card p {
    font-size: 0.85rem;
  }
}

/* =========================
   TESTIMONIALS - ASHY BLUE BACKGROUND
========================= */
.testimonials-paper {
  position: relative;
  padding: 6rem 2rem;
  background: #eaeaea; /* ashy blue background */
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow: hidden;
  border-radius: 0;
}

.testimonials-paper .container {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonials-paper h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.testimonials-paper h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #fff;
  margin: 1rem auto 0;
  border-radius: 3px;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.testimonial-card {
  position: relative;
  background: #000; /* ✅ black background */
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(255,255,255,0.08); /* ✅ softer white glow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform: rotate(var(--rotate, 0deg));
  color: #fff; /* ✅ default white text */
  border: 1px solid rgba(255,255,255,0.1);
}

.testimonial-card:hover {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 0 15px 35px rgba(255,255,255,0.15); /* ✅ glow on hover */
}

/* Quote mark */
.testimonial-card .quote-mark {
  font-size: 3rem;
  color: rgba(255,255,255,0.15); /* ✅ subtle white accent */
  position: absolute;
  top: -15px;
  left: 15px;
  opacity: 0.9;
}

/* Paragraph text */
.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  color: #f5f5f5; /* ✅ soft white for readability */
}

/* Author name */
.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: #ccc; /* ✅ lighter grey for distinction */
}

/* Responsive grid */
@media (min-width: 600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Random playful tilt */
.testimonial-card:nth-child(1) { --rotate: -2deg; }
.testimonial-card:nth-child(2) { --rotate: 1.5deg; }
.testimonial-card:nth-child(3) { --rotate: -1deg; }

/* =========================
   NEWSLETTER - MODERN MONOCHROME (Blue Grey)
========================= */
.newsletter-modern {
  position: relative;
  padding: 6rem 2rem;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  background: #fff;
  color: #111;
  border-radius: 0;
}

.newsletter-modern .container {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #111;
  letter-spacing: -0.5px;
  position: relative;
}

.newsletter-content h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #111;
  margin: 1rem auto 0;
  border-radius: 3px;
  transition: width 0.4s ease;
}

.newsletter-content h2:hover::after {
  width: 100px;
}

.newsletter-content p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2.5rem;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 50px;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #111;
}

.newsletter-form input::placeholder {
  color: #888;
}

.newsletter-form button {
  border: none;
  padding: 1rem 2rem;
  background: black; /* Blue Grey */
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #506271; /* Slightly darker blue-grey on hover */
  color: #fff;
}

/* Floating bubbles */
.floating-elements .circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  background: #eaeaea; /* Blue Grey */
  animation: floatUpDown 10s ease-in-out infinite;
}

.floating-elements .circle:nth-child(1) {
  width: 160px; height: 160px;
  top: 5%; left: 10%;
}
.floating-elements .circle:nth-child(2) {
  width: 120px; height: 120px;
  bottom: 10%; right: 15%;
}

@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

@media (max-width: 600px) {
  .newsletter-content h2 {
    font-size: 2rem;
  }
  .newsletter-form {
    flex-direction: column;
    border-radius: 15px;
  }
  .newsletter-form input, .newsletter-form button {
    width: 100%;
  }
  .newsletter-form button {
    margin-top: 0.5rem;
    border-radius: 0 0 15px 15px;
  }
}
/* =========================================================
   CART ICON
========================================================= */
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.3s ease;
}
.cart-link:hover {
  color: #ff512f;
  transform: scale(1.1);
}
.cart-icon {
  width: 26px;
  height: 26px;
}
#mini-cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: linear-gradient(135deg, #ff512f, #dd2476);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
