/* ===== Satvikstore.in Inspired Design ===== */

:root {
  --body-bg: #FAF7F2;
  --header-bg: #000;
  --accent: #E6B90D;
  --accent-hover: #c99d0b;
  --text: #000;
  --text-light: #666;
  --white: #fff;
  --border: #e5e5e5;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 25px rgba(0,0,0,0.12);
  --radius: 4px;
  --font: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--body-bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color 0.2s; }

/* ===== Announcement Bar ===== */
.announcement-bar {
  background: var(--accent);
  color: #000;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ===== Marquee ===== */
.marquee-bar {
  background: var(--accent);
  color: #000;
  padding: 6px 0;
  font-size: 0.78rem;
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-content {
  display: inline-block;
  animation: marquee 35s linear infinite;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== Site Header ===== */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-logo {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.3px;
}
.site-logo span { color: var(--accent); }
.header-search {
  flex: 1;
  display: flex;
  max-width: 480px;
}
.header-search input {
  flex: 1;
  border: none;
  padding: 9px 16px;
  font-size: 0.9rem;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--font);
  outline: none;
}
.header-search button {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 9px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.header-search button:hover { background: var(--accent-hover); }
.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-icons a {
  color: var(--white);
  font-size: 1.25rem;
  position: relative;
  transition: color 0.2s;
}
.header-icons a:hover { color: var(--accent); }
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--accent);
  color: #000;
  font-size: 0.6rem;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}

/* ===== Main Nav ===== */
.main-nav {
  background: #1a1a1a;
}
.nav-links {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a, .nav-link-item {
  color: rgba(255,255,255,0.8);
  padding: 11px 18px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.nav-links a:hover, .nav-link-item:hover,
.nav-links a.active, .nav-link-item.active {
  color: var(--white);
  border-bottom-color: var(--accent);
}

/* ===== Hero ===== */
.hero-section { margin-bottom: 0; }
.hero-slide {
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.1) 70%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  padding: 40px;
  color: var(--white);
}
.hero-content h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 20px;
  line-height: 1.6;
}
.btn-hero {
  display: inline-block;
  background: var(--white);
  color: #000;
  padding: 12px 32px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-hero:hover { background: #f0f0f0; }

/* ===== Trust Strip ===== */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.trust-item { text-align: center; }
.trust-item i {
  font-size: 1.7rem;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.trust-item h6 { font-weight: 600; font-size: 0.82rem; margin: 0 0 2px; }
.trust-item small { color: var(--text-light); font-size: 0.72rem; }

/* ===== Section Styles ===== */
.section-padding { padding: 50px 0; }
.section-header { text-align: center; margin-bottom: 36px; }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
}
.section-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ===== Category Cards ===== */
.category-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 200px;
  cursor: pointer;
  border: 1px solid var(--border);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.category-card:hover img { transform: scale(1.06); }
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.category-overlay h5 {
  color: var(--white);
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Product Cards ===== */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.badge-sale { background: var(--accent); color: #000; }
.badge-bestseller { background: #000; color: var(--white); }

.product-img {
  height: 230px;
  overflow: hidden;
  position: relative;
  background: #f8f8f8;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }

.product-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-prices { margin-bottom: 12px; }
.price-current { font-size: 1.1rem; font-weight: 700; }
.price-original {
  font-size: 0.82rem;
  color: #999;
  text-decoration: line-through;
  margin-left: 6px;
}
.price-discount {
  font-size: 0.72rem;
  color: #2e7d32;
  font-weight: 600;
  margin-left: 6px;
}

/* Buttons */
.btn-add-cart {
  margin-top: auto;
  width: 100%;
  background: #000;
  color: var(--white);
  border: 2px solid #000;
  padding: 9px;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
  font-family: var(--font);
  border-radius: var(--radius);
}
.btn-add-cart:hover { background: #1a1a1a; border-color: #1a1a1a; }

.btn-primary-custom {
  background: #000;
  color: var(--white);
  border: 2px solid #000;
  padding: 10px 28px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}
.btn-primary-custom:hover { background: #1a1a1a; }
.btn-outline-primary-custom {
  background: transparent;
  color: #000;
  border: 2px solid #000;
  padding: 10px 28px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline-primary-custom:hover { background: #000; color: var(--white); }

/* Filter */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-select {
  padding: 9px 32px 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.85rem;
  background: var(--white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ===== Promo Banner ===== */
.promo-banner {
  background: #000;
  color: var(--white);
  padding: 50px 20px;
  text-align: center;
  margin: 0;
}
.promo-banner h2 {
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}
.promo-banner p {
  color: rgba(255,255,255,0.6);
  margin: 10px 0 24px;
  font-size: 0.95rem;
}
.btn-promo {
  display: inline-block;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 13px 38px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.85rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-promo:hover { background: var(--accent-hover); }

/* ===== Stats ===== */
.stats-section {
  background: #000;
  padding: 40px 0;
}
.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  margin-top: 2px;
}

/* ===== Why Us ===== */
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.3s;
}
.why-card:hover { box-shadow: var(--shadow); }
.why-icon { font-size: 2.4rem; margin-bottom: 12px; }
.why-card h5 { font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.why-card p { color: var(--text-light); font-size: 0.85rem; margin: 0; line-height: 1.5; }

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  height: 100%;
}
.stars { color: var(--accent); font-size: 0.9rem; }
.testimonial-text {
  font-style: italic;
  line-height: 1.7;
  margin: 14px 0;
  font-size: 0.9rem;
}
.testimonial-author strong { display: block; font-size: 0.9rem; }
.testimonial-author span { color: var(--text-light); font-size: 0.8rem; }

/* ===== Contact ===== */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
}
.form-input {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font);
  width: 100%;
  transition: border-color 0.2s;
  font-size: 0.9rem;
}
.form-input:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(230,185,13,0.15);
}

/* ===== Newsletter ===== */
.newsletter-section {
  background: #000;
  color: var(--white);
  padding: 48px 0;
  text-align: center;
}
.newsletter-section h3 { font-size: 1.4rem; text-transform: uppercase; letter-spacing: 1px; }
.newsletter-section p { color: rgba(255,255,255,0.6); margin-top: 6px; }
.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 20px auto 0;
}
.newsletter-form input {
  flex: 1;
  border: none;
  padding: 13px 18px;
  font-size: 0.9rem;
  border-radius: var(--radius) 0 0 var(--radius);
  font-family: var(--font);
}
.newsletter-form button {
  background: var(--accent);
  color: #000;
  border: none;
  padding: 13px 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  letter-spacing: 0.5px;
}

/* ===== Footer ===== */
.site-footer {
  background: #000;
  color: rgba(255,255,255,0.65);
  padding-top: 48px;
}
.footer-heading {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-text { font-size: 0.85rem; line-height: 1.6; }
.footer-links { list-style: none; padding: 0; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  display: block;
  padding: 3px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.social-icons a {
  color: rgba(255,255,255,0.5);
  font-size: 1.15rem;
  margin-right: 14px;
  transition: color 0.2s;
}
.social-icons a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
  margin-top: 36px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: #25D366;
  color: var(--white);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: #000;
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #333; }

/* ===== Cart Offcanvas ===== */
.cart-item {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item-icon {
  width: 50px;
  height: 50px;
  background: #f5f5f5;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; padding: 0 12px; }
.item-name { font-weight: 500; font-size: 0.85rem; }
.item-price { font-weight: 700; font-size: 0.9rem; }
.cart-item-remove {
  background: none;
  border: none;
  color: #d32f2f;
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s;
}
.cart-item-remove:hover { transform: scale(1.2); }

/* ===== Checkout Modal ===== */
.step-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.step-dot.active { background: var(--accent); color: #000; }
.step-line {
  width: 40px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  align-self: center;
}
.text-primary-custom { color: #000 !important; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.4s ease forwards; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .header-search { display: none; }
  .hero-slide { min-height: 300px; }
}
@media (max-width: 768px) {
  .product-img { height: 170px; }
  .section-title { font-size: 1.25rem; }
  .stat-number { font-size: 1.5rem; }
  .hero-content { padding: 24px; }
  .hero-content h1 { font-size: 1.3rem; }
  .category-card { height: 150px; }
  .promo-banner h2 { font-size: 1.3rem; }
}
@media (max-width: 576px) {
  .hero-slide { min-height: 240px; }
  .btn-hero { padding: 10px 22px; font-size: 0.75rem; }
  .product-body { padding: 10px 12px 14px; }
  .product-name { font-size: 0.8rem; }
  .price-current { font-size: 0.95rem; }
  .btn-add-cart { padding: 8px; font-size: 0.72rem; }
}
