:root {
  --bg: #fbfbfc;
  --card: #fff;
  --muted: #6b7280;
  --accent: #111827;
  --max: 1100px;
}

/* =========================
   Base Layout
   ========================= */
* { box-sizing: border-box; }

body {
  font-family: Inter, system-ui, Roboto, Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--accent);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px;
}

.muted { color: var(--muted); }

/* =========================
   Header
   ========================= */
.site-header {
  border-bottom: 1px solid #eee;
  background: #fff;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  color: #000;
  font-size: 1.25rem;
}

.site-header .nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
}

.site-header .nav a {
  text-decoration: none;
  color: #555;
  font-weight: 500;
  padding: .25rem .35rem;
  transition: color .18s ease;
}

.site-header .nav a:hover,
.site-header .nav a:focus {
  color: #000;
  text-decoration: none;
}

.site-header .nav a:focus-visible {
  outline: 3px solid rgba(17,24,39,0.12);
  outline-offset: 4px;
}

@media (max-width: 768px) {
  .site-header .wrap { flex-wrap: wrap; }
  .nav {
    width: 100%;
    justify-content: flex-end;
    gap: .5rem;
    padding: .35rem 0;
  }
}

/* =========================
   Hero Section
   ========================= */
.hero-spotlight {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  margin-top: 18px;
}
.hero-content h1 {
  margin: 0;
  gap: 1px;
  font-size: 34px;
}
.hero-image img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* =========================
   Categories Grid
   ========================= */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.cat-card {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  cursor: pointer;
  transition: transform .28s, box-shadow .28s ease;
}
.cat-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35));
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.cat-title {
  color: #fff;
  font-weight: 700;
  transition: opacity .32s, transform .32s;
  transform: translateY(8px);
  opacity: 0;
}
.cat-card:hover .cat-title { opacity: 1; transform: translateY(0); }

/* =========================
   Product Grid & Cards
   ========================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 18px;
}

.card {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s ease, border-color .22s ease;
  position: relative;
}
.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  background: #f4f6f8;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 30px rgba(13,23,34,0.08);
}
.card .body { padding: 18px; }
.card h3 { font-size: 18px; margin: 0 0 8px; }

.price {
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
  margin-top: 6px;
}

.card .btn {
  padding: 10px 14px;
  border-radius: 10px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: transform .12s, box-shadow .12s, background .12s;
}
.card .btn:hover { background: #0b1220; transform: translateY(-3px); }

.muted { font-size: 13px; }

/* Badge: discount + sold */
.badge-discount {
  position: absolute;
  top: 10px; left: 10px;
  background: #f97316;
  color: #fff;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
}
.sold-badge {
  background: #6b7280;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  margin-left: 8px;
}

/* =========================
   Product Detail Page
   ========================= */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
}
.main-image img {
  width: 100%;
  border: 1px solid #eee;
  background: #f6f6f6;
}
.thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }

/* =========================
   Featured Strip
   ========================= */
.featured-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.feat-card {
  width: 220px;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(12,18,28,0.04);
}
.feat-card img {
  width: 100%; height: 160px; object-fit: cover;
}
.feat-body {
  padding: 10px;
  text-align: center;
}
.feat-title { font-weight: 700; margin-bottom: 6px; }
.feat-price { font-weight: 700; margin-bottom: 8px; }
.feat-body .btn {
  display: inline-block;
  padding: 8px 18px;
  background: #111827;
  color: #fff;
  border-radius: 8px;
}

/* =========================
   Testimonials
   ========================= */
.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(12,18,28,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .28s, box-shadow .28s ease;
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(12,18,28,0.1);
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding: 24px 0 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer-grid h4 { margin-top: 0; }
.social a { color: var(--muted); text-decoration: none; }
.copyright {
  margin-top: 18px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
}

/* =========================
   Responsive Adjustments
   ========================= */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-spotlight { grid-template-columns: 1fr 360px; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero-spotlight { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .testimonial-card { min-height: auto; padding: 16px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; gap: 16px; padding: 0 14px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.site-header .brand {
  white-space: nowrap;
}

/* =========================
   Product Filters Layout
   ========================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
}

.filters label {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.filters input {
  flex: 1;
  min-width: 140px; /* prevent shrinking too small */
}
/* 
=========================
  Effect for taller tile in products pag
 =========================
.sold-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #6b7280;    
  color: #fff;
  font-size: 14px;        
  font-weight: 600;
  padding: 6px 12px;     
  border-radius: 9999px; 
}
 */

 /* 
=========================
 Orginal product card style
 =========================*/
 
 .sold-badge {
  background: #6b7280;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  margin-left: 8px;
}

 
 
 

/* =========================
   Featured
   ========================= */

.feat-title {
  font-size: 1rem;
  margin: 6px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.feat-cat {
  font-size: 0.85rem;
  color: #6b7280;   /* muted gray */
  margin: 0 0 8px 0;
}

.feat-body .btn {
  margin-top: auto; /* pushes button down */
}

.feat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}


.sold-badge-overlay {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #6b7280;   /* same grey tone */
  color: #fff;
  font-size: 13px;       /* slightly larger than inline badge */
  font-weight: 600;      /* bolder text for clarity */
  padding: 5px 10px;     /* balanced padding */
  border-radius: 8px;    /* softer rounded, not full pill */
}



/* Featured Card Enhancements */
.feat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Featured Title - force override */
.feat-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 6px 0 4px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;   /* allow up to 2 lines */
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  word-break: break-word;
  min-height: 2.6em !important;       /* reserve space for 2 lines */
  white-space: normal !important;     /* ⬅️ reset this */
}


.feat-cat {
  font-size: 0.85rem;
  color: #6b7280;  /* muted gray */
  margin-bottom: 10px;
}

/* View button centered at bottom */
.feat-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feat-body .btn {
  margin-top: auto;
}


.size-btn.selected {
  border: 2px solid var(--accent);
  background: #f8f9fa;  /* light gray highlight */
}


/* Box shown when no products are found locally */
.search-hint-box {
  text-align: center;
  margin: 20px auto;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  max-width: 420px;
  font-size: 0.95rem;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Box shown when no products are found locally */
.search-hint-box {
  text-align: center;
  margin: 20px auto;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
  max-width: 420px;
  font-size: 0.95rem;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.search-hint-box p {
  margin: 6px 0;
}

.search-hint-box strong {
  color: #000;
}

/* Box shown when more results can be loaded */
.scroll-hint-box {
  text-align: center;
  margin: 24px 0;
  padding: 12px 16px;
  border-radius: 6px;
  background: #fff3cd; /* light yellow */
  border: 1px solid #ffeeba;
  font-size: 1rem;
  font-weight: 500;
  color: #856404;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeIn 0.8s ease-in;
}

.scroll-icon {
  font-size: 1.3rem;
  margin-right: 6px;
  display: inline-block;
  animation: bounce 1.2s infinite;
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(2px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.promo-banner {
  background: linear-gradient(90deg, #ffed4a, #ffe066);
  color: #222;
  text-align: center;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.8s ease-in-out;
}

.promo-banner strong {
  color: #000;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Make sure it looks good on small screens */
@media (max-width: 600px) {
  .promo-banner {
    font-size: 0.9rem;
    padding: 10px;
  }
}


.shipping-note {
  font-size: 1.2rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

.discount-badge {
  display: inline-block;
  background: #ff4d4f;
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.about-hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #f9f9f9, #fff);
  border-radius: 8px;
  margin-bottom: 40px;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
}
.about-hero span {
  color: #d63384; /* accent color */
}
.about-hero p {
  font-size: 1.2rem;
  color: #555;
  margin-top: 10px;
}

.about-content {
  display: grid;
  gap: 32px;
  margin: 0 auto;
  max-width: 800px;
}

.about-block h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #222;
}
.about-block p, .about-block li {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}
.about-block ul {
  padding-left: 20px;
}

.about-cta {
  text-align: center;
  margin-top: 40px;
}
.about-cta .btn {
  padding: 12px 20px;
  font-size: 1rem;
  border-radius: 6px;
}

.size-btn.struck {
  position: relative;
  color: #aaa; /* faded text */
  text-decoration: line-through;
  background: #f8f9fa;
  border: 1px solid #ddd;
  cursor: not-allowed;
}

.size-btn.struck::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #919191; /* red strike line #c00*/
  transform: rotate(0deg);
}

.read-more-btn {
  cursor: pointer;
  color: #0d6efd;
  background: none;
  border: none;
  padding: 0;
  margin-top: 6px;
  margin-bottom: 12px; /* ✅ add spacing before thumbnails */
  font-size: 0.95rem;
}

.prod-price .prev,
.prod-price .mrp {
  color: #777;
  text-decoration: line-through;
  margin-left: 4px;
}
.prod-price strong {
  color: #444;
}


/* Feature cards under hero content */
.feature-cards { display:flex; gap:14px; margin-top:18px; align-items:stretch; flex-wrap:wrap; }
.feature-card { flex:1 1 180px; min-width:170px; background:#fff; border:1px solid #eee; border-radius:10px; padding:12px; box-shadow:0 6px 18px rgba(12,18,28,0.04); text-align:left; }
.feature-icon { font-size:22px; margin-bottom:6px; }
.feature-title { font-weight:700; margin-bottom:6px; color:#0b1220; }
.feature-copy { color:#6b7280; font-size:14px; line-height:1.3; }

/* Responsive: stack cards on small screens */
@media (max-width: 640px) {
  .feature-cards { flex-direction:column; }
  .feature-card { width:100%; }
}

/* Shop button continuous pulse */
.shop-btn {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%   { transform: scale(1); box-shadow: 0 0 0 rgba(0,0,0,0.4); }
  50%  { transform: scale(1.08); box-shadow: 0 0 20px rgba(0,0,0,0.5); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(0,0,0,0.4); }
}

/* CTA card sizing to match product cards */
.feat-card.cta-card {
  width: 220px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #eee;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(12,18,28,0.04);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: inherit;          /* ✅ no blue link */
  text-decoration: none;   /* ✅ no underline */
}

.feat-card.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
   color: inherit;
  text-decoration: none;
}

@media (max-width: 800px) {
  .feat-card.cta-card {
    flex: 0 0 75% !important;   /* ✅ force match product cards */
    max-width: 75% !important;  /* ✅ force match product cards */
    width: auto !important;     /* ✅ override fixed 220px */
    min-height: 320px;
  }
}

/* Make product cards fully clickable */
.card {
  cursor: pointer;
}
.card a {
  color: inherit;          /* no blue link text */
  text-decoration: none;   /* no underline */
}
.card a:hover {
  color: inherit;
  text-decoration: none;
}
