/* ===== Charvi Chikki — Public Site Stylesheet ===== */
:root {
  --primary: #ED1C24;
  --primary-dark: #c81017;
  --secondary: #A6CE39;
  --secondary-dark: #8bb52c;
  --dark: #26241f;
  --text: #3f3d38;
  --muted: #74716a;
  --bg-cream: #fdfaf3;
  --border: #eae5d8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(38, 36, 31, 0.08);
  --shadow-lg: 0 20px 50px rgba(38, 36, 31, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background: var(--bg-cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--dark); margin: 0 0 .5rem; }

.section { padding: 70px 0; }
.section-alt { background: #fff; }

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

.section-title { font-size: 32px; margin-bottom: 12px; }
.section-subtitle { color: var(--muted); max-width: 620px; margin: 0 auto 40px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: 0 2px 15px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; color: var(--dark); flex-shrink: 0; }
.brand img { height: 75px; width: auto; max-width: 160px; object-fit: contain; }
.brand span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a.nav-link {
  display: block;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--dark);
  border-radius: 8px;
}
.main-nav a.nav-link:hover, .main-nav li.active > a.nav-link { color: var(--primary); }
.main-nav .dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  min-width: 200px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
}
.main-nav li:hover > .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown-menu a { padding: 10px 14px; border-radius: 6px; display: block; font-weight: 500; }
.main-nav .dropdown-menu a:hover { background: var(--bg-cream); color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--dark); cursor: pointer; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 20px; transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; width: 100%; }
  .main-nav .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 12px; }
  .main-nav li.open .dropdown-menu { display: block; }
  .brand img { height: 50px; }
  .header-cta { gap: 10px; }
  .header-cta .btn { padding: 9px 14px; font-size: 13px; white-space: nowrap; }
}

@media (max-width: 400px) {
  .brand { font-size: 17px; }
  .brand img { height: 80px;  max-width: 110px; margin-left: 15px; }
  .header-cta { gap: 6px; }
  .header-cta .btn { padding: 8px 10px; font-size: 12px; }
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1d1b16 0%, var(--dark) 55%, #3a3629 100%);
  color: #fff;
  overflow: hidden;
  padding: 110px 0 120px;
  isolation: isolate;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
}
.hero-blob-1 { width: 480px; height: 480px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(166,206,57,.35), transparent 70%); }
.hero-blob-2 { width: 420px; height: 420px; bottom: -180px; left: -140px; background: radial-gradient(circle, rgba(237,28,36,.3), transparent 70%); }
.hero-pattern {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: 48px; line-height: 1.18; margin-bottom: 20px; letter-spacing: -.5px; }
.hero h1 .accent { color: var(--secondary); position: relative; display: inline-block; }
.hero p { color: #d9d6cc; font-size: 17px; max-width: 520px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-actions .btn-primary { box-shadow: 0 14px 30px rgba(237,28,36,.35); }
.hero-actions .btn-outline { background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(166,206,57,.12);
  border: 1px solid rgba(166,206,57,.35);
  padding: 8px 18px; border-radius: 50px; font-size: 13px;
  margin-bottom: 22px; color: var(--secondary); font-weight: 700;
  letter-spacing: .3px;
}
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #e4e1d7; font-weight: 500; }
.hero-trust-icon { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(166,206,57,.2); color: var(--secondary); font-size: 11px; font-weight: 800; flex-shrink: 0; }

.hero-art { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-art-frame {
  position: relative; width: 100%;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(166,206,57,.5), rgba(237,28,36,.4));
}
.hero-art-frame::before {
  content: '';
  position: absolute; inset: -14px;
  border: 1px dashed rgba(255,255,255,.25);
  border-radius: 34px;
  pointer-events: none;
}
.hero-art-frame img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.hero-slider { position: relative; width: 100%; aspect-ratio: 4/3; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 0; box-shadow: none;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slider-dots { position: absolute; left: 50%; bottom: 14px; z-index: 2; display: flex; gap: 8px; transform: translateX(-50%); }
.hero-slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(255,255,255,.3);
  padding: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.hero-slider-dot.is-active { background: var(--secondary); border-color: var(--secondary); transform: scale(1.15); }

.hero-float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(38,36,31,.85);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 16px 34px rgba(0,0,0,.35);
}
.hero-float-card strong { display: block; font-size: 15px; color: #fff; line-height: 1.2; }
.hero-float-card span { display: block; font-size: 11.5px; color: #c9c6ba; }
.hero-float-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-size: 15px; flex-shrink: 0;
}
.hero-float-card-years { left: -28px; bottom: 28px; }
.hero-float-card-seal { right: -16px; top: 26px; }

@media (max-width: 860px) {
  .hero { padding: 80px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .hero-art { margin-top: 10px; }
  .hero-float-card-years { left: 10px; bottom: -18px; }
  .hero-float-card-seal { right: 10px; top: -18px; }
  .hero-trust { gap: 10px 18px; }
}

@media (max-width: 480px) {
  .hero-float-card { padding: 9px 12px; }
  .hero-float-card strong { font-size: 13px; }
  .hero-float-card span { font-size: 10.5px; }
}

/* Stats */
.stats-strip { background: var(--primary); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.stat-item { text-align: center; color: #fff; }
.stat-item .num { font-size: 36px; font-weight: 800; display: block; }
.stat-item .label { font-size: 14px; opacity: .9; text-transform: uppercase; letter-spacing: .5px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* Product cards */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--border); position: relative; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.no-image {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; font-size: 42px; font-weight: 800;
}
.product-card .badge { position: absolute; top: 14px; left: 14px; background: var(--secondary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.product-card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 19px; margin-bottom: 8px; }
.product-card p { color: var(--muted); font-size: 14px; flex: 1; }
.product-card .meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.product-card .sizes { font-size: 13px; color: var(--muted); font-weight: 600; }
.product-card .cat-tag { display: inline-block; background: rgba(166,206,57,.12); color: var(--secondary-dark); font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 50px; margin-bottom: 10px; width: fit-content; }

/* Rich text content (product descriptions etc.) */
.rich-content { color: var(--text); font-size: 15px; line-height: 1.75; }
.rich-content h2, .rich-content h3 { margin-top: 24px; margin-bottom: 10px; }
.rich-content h2:first-child, .rich-content h3:first-child { margin-top: 0; }
.rich-content p { margin: 0 0 14px; }
.rich-content strong { color: var(--dark); }
.rich-content ul, .rich-content ol { margin: 0 0 14px; padding-left: 22px; }
.rich-content li { margin-bottom: 6px; }
.rich-content a { color: var(--primary); text-decoration: underline; }

/* Main product image on the product detail page */
#product-main-image { display: flex; align-items: center; justify-content: center; background: #fff; }
#product-main-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: center; display: block; margin: 0 auto; }

/* Product gallery thumbnails */
.product-gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.product-gallery-thumbs .gallery-thumb {
  padding: 0; margin: 0; background: none; cursor: pointer; flex: 0 0 auto;
  width: 150px; height: 150px;
  border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow); transition: border-color .15s ease, transform .15s ease;
}
.product-gallery-thumbs .gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-gallery-thumbs .gallery-thumb:hover { border-color: var(--secondary); transform: translateY(-2px); }
.product-gallery-thumbs .gallery-thumb.active { border-color: var(--primary); }

/* Feature blocks */
.feature-item { text-align: center; padding: 30px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-icon { width: 62px; height: 62px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff; margin: 0 auto 18px; }
.feature-item h3 { font-size: 18px; }
.feature-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: var(--radius); padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }

/* Footer */
.site-footer { background: var(--dark); color: #cfccc3; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a:hover { color: var(--secondary); }
.footer-brand span { color: var(--primary); }
.footer-bottom { padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #9e9b92; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--primary); }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .site-footer { padding: 40px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 30px; text-align: center; }
  .social-links { justify-content: center; }
  .footer-brand p { max-width: 320px; margin: 0 auto; }
  .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
}

/* Forms */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 15px; background: #fff; color: var(--text);
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

.alert { padding: 16px 20px; border-radius: 10px; margin-bottom: 24px; font-weight: 500; }
.alert-success { background: rgba(166,206,57,.15); color: var(--secondary-dark); border: 1px solid var(--secondary); }
.alert-error { background: rgba(237,28,36,.1); color: var(--primary-dark); border: 1px solid var(--primary); }

/* Page header */
.page-header { background: var(--dark); color: #fff; padding: 60px 0; text-align: center; }
.page-header h1 { color: #fff; margin-bottom: 8px; }
.breadcrumb { color: #b9b6ac; font-size: 14px; }
.breadcrumb a:hover { color: var(--secondary); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid a { border-radius: 10px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Gallery lightbox */
.gallery-grid a { cursor: zoom-in; }
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; padding: 24px 72px; background: rgba(0, 0, 0, .9); }
.lightbox.is-open { display: flex; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox-img { display: block; max-width: 100%; max-height: calc(100vh - 100px); object-fit: contain; border-radius: 6px; }
.lightbox-caption { color: #e8e6df; font-size: 14px; text-align: center; white-space: pre-wrap; }
.lightbox-btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; transition: background .2s ease; }
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: rgba(255, 255, 255, .3); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox.is-single .lightbox-prev, .lightbox.is-single .lightbox-next { display: none; }
@media (max-width: 860px) {
    .lightbox { padding: 72px 12px; }
    .lightbox-img { max-height: calc(100vh - 190px); }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
    .lightbox-prev { left: calc(50% - 60px); }
    .lightbox-next { right: calc(50% - 60px); }
}

/* Pagination */
.pagination { display: flex; gap: 6px; list-style: none; padding: 0; margin: 30px 0 0; justify-content: center; flex-wrap: wrap; }
.pagination li a, .pagination li span { display: inline-flex; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--border); font-size: 14px; }
.pagination li.active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination li.disabled span { color: #ccc; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
