/* =============================================
   PADMA GARMENTS — style.css
   Fonts: Playfair Display + DM Sans
   Theme: Luxury Heritage (dark gold + warm cream)
   ============================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #faf6f0;
  color: #2d2010;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ---- CSS VARIABLES ---- */
:root {
  --gold: #B8860B;
  --gold-light: #d4a017;
  --dark: #1a1209;
  --dark-2: #100d07;
  --cream: #faf6f0;
  --cream-2: #f2ead8;
  --warm-white: #fff;
  --text: #2d2010;
  --text-muted: #7a6a55;
  --text-light: #9a8a75;
  --border: #e0d4be;
  --border-dark: #3a2a1a;
  --wa-green: #25D366;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --transition: 0.2s ease;
  --container: 1100px;
}

/* ---- CONTAINER ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: #e8d5a3;
  border: 1px solid rgba(184,134,11,0.5);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(184,134,11,0.08); }

.btn-wa {
  background: var(--wa-green);
  color: #fff;
}
.btn-wa:hover { background: #1ebe5a; }

.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---- ANNOUNCE BAR ---- */
.announce-bar {
  background: var(--dark);
  color: #b0a090;
  text-align: center;
  padding: 9px 20px;
  font-size: 13px;
  letter-spacing: 0.3px;
}
.announce-bar a { color: var(--gold); }

/* ---- HEADER / NAV ---- */
.site-header {
  background: #1a1209;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(184,134,11,0.2);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #e8d5a3;
  letter-spacing: 3px;
}
.logo-sub {
  font-family: 'Playfair Display', serif;
  font-size: 12px;
  color: var(--gold);
  font-style: italic;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
}
.nav-links a {
  color: #b0a090;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover {
  color: #e8d5a3;
  border-bottom-color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.nav-search-btn {
  background: none;
  border: none;
  color: #b0a090;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}
.nav-cart-btn {
  color: #e8d5a3;
  font-size: 20px;
  position: relative;
  padding: 4px;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #e8d5a3;
  font-size: 22px;
  cursor: pointer;
  margin-right: 8px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--dark-2);
  z-index: 200;
  padding: 60px 32px;
}
.mobile-menu.open { display: flex; flex-direction: column; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 24px; }
.mobile-menu a {
  color: #e8d5a3;
  font-size: 22px;
  font-family: 'Playfair Display', serif;
}
.mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: #b0a090;
  font-size: 24px;
  cursor: pointer;
}

/* ---- HERO ---- */
.hero {
  background: var(--dark);
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 60px 24px;
  gap: 40px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(184,134,11,0.04) 60px,
    rgba(184,134,11,0.04) 61px
  );
  pointer-events: none;
}

.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  flex: 1;
  padding-left: calc((100vw - var(--container)) / 2);
  min-width: 0;
}

.hero-eyebrow {
  color: var(--text-light);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 52px);
  color: #e8d5a3;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-desc {
  color: #8a7a6a;
  font-size: 16px;
  margin-bottom: 24px;
  max-width: 420px;
}

.hero-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 28px;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-trust span {
  color: #6a5a4a;
  font-size: 13px;
}

.hero-image-placeholder {
  flex-shrink: 0;
  width: 280px;
  height: 340px;
  background: rgba(184,134,11,0.06);
  border: 1px solid rgba(184,134,11,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: calc((100vw - var(--container)) / 2);
}
.hero-img-inner {
  text-align: center;
}
.hero-icon { font-size: 72px; display: block; margin-bottom: 12px; }
.hero-img-inner p { color: #e8d5a3; font-family: 'Playfair Display', serif; font-size: 16px; }
.hero-img-sub { color: var(--gold) !important; font-style: italic; font-size: 13px !important; margin-top: 4px; }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 500;
  color: #5a4a35;
  border-right: 1px solid var(--border);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 16px; }

/* ---- SECTIONS ---- */
.section { padding: 64px 0; }
.section--white { background: var(--warm-white); }
.section--cream { background: #f8f3ea; }
.section--dark { background: var(--dark); }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3.5vw, 34px);
  color: var(--dark);
  line-height: 1.2;
}

/* ---- CATEGORIES ---- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.cat-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 16px 20px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  display: block;
  color: var(--text);
}
.cat-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.cat-card--highlight {
  border-color: var(--gold);
  background: rgba(184,134,11,0.04);
}
.cat-icon { font-size: 36px; display: block; margin-bottom: 10px; }
.cat-card h3 { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.cat-card p { font-size: 12px; color: var(--text-muted); }

/* ---- FILTER TABS ---- */
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.filter-tab {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tab:hover { border-color: var(--gold); color: var(--gold); }
.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* ---- PRODUCTS GRID ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.product-card.hidden { display: none; }

.product-img {
  height: 160px;
  background: #f8f3ea;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
/* NOTE: Replace this div with an <img> tag when you have real photos:
   <img src="your-product.jpg" alt="Product name" style="width:100%;height:100%;object-fit:cover"> */

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.product-badge--new { background: #1a8a4a; color: #fff; }

.product-info { padding: 16px; }
.product-category {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.product-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
  line-height: 1.4;
}
.product-rating {
  font-size: 12px;
  color: #c0902a;
  margin-bottom: 10px;
}
.product-rating span { color: var(--text-light); margin-left: 2px; }

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.product-price { font-size: 18px; font-weight: 600; color: var(--dark); }
.product-mrp { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.product-discount { font-size: 12px; color: #1a8a4a; font-weight: 500; }

.product-actions { display: flex; gap: 8px; }

/* ---- WHOLESALE ---- */
.wholesale-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wholesale-desc {
  color: #8a7a6a;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.7;
}

.wholesale-points {
  list-style: none;
  margin-bottom: 28px;
}
.wholesale-points li {
  color: #b0a090;
  font-size: 14px;
  padding: 5px 0;
}

.wholesale-cta-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.wholesale-cta-card h3 {
  font-family: 'Playfair Display', serif;
  color: #e8d5a3;
  font-size: 20px;
  margin-bottom: 20px;
}

.wholesale-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.wholesale-form input,
.wholesale-form select {
  padding: 11px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  color: #e8d5a3;
  font-size: 14px;
}
.wholesale-form select option { background: var(--dark); }
.wholesale-form input::placeholder { color: #5a4a3a; }
.wholesale-form input:focus,
.wholesale-form select:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---- WHY GRID ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color var(--transition);
}
.why-card:hover { border-color: var(--gold); }
.why-icon { font-size: 32px; margin-bottom: 12px; }
.why-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.testimonial {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.test-stars { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.test-text {
  font-size: 13px;
  color: #5a4a35;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 14px;
}
.test-author { display: flex; align-items: center; gap: 10px; }
.test-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(184,134,11,0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.test-author strong { font-size: 13px; display: block; }
.test-author span { font-size: 12px; color: var(--text-light); }

/* ---- CONTACT ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.contact-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 14px; margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 13px; color: var(--text-muted); }
.contact-item a:hover { color: var(--gold); }

.contact-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.social-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.social-btn--wa { background: var(--wa-green); color: #fff; border-color: var(--wa-green); }
.social-btn--wa:hover { background: #1ebe5a; color: #fff; }

.contact-form {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  background: var(--cream);
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; }

/* ---- FOOTER ---- */
.footer { background: var(--dark-2); padding: 60px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-bottom: 48px;
}

.footer-brand p {
  color: #6a5a4a;
  font-size: 13px;
  line-height: 1.7;
  max-width: 240px;
  margin-top: 4px;
}

.footer-col h5 {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a {
  color: #6a5a4a;
  font-size: 13px;
  transition: color var(--transition);
}
.footer-col a:hover { color: #e8d5a3; }

.footer-subscribe {
  display: flex;
  gap: 6px;
}
.footer-subscribe input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  color: #e8d5a3;
  font-size: 13px;
}
.footer-subscribe input::placeholder { color: #4a3a2a; }
.footer-subscribe input:focus { outline: none; border-color: var(--gold); }

.footer-bottom {
  border-top: 1px solid #2a1a0a;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { color: #4a3a2a; font-size: 12px; }

/* ---- CART SIDEBAR ---- */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}
.cart-overlay.open { display: block; }

.cart-sidebar {
  position: fixed;
  top: 0; right: -400px;
  width: 380px;
  height: 100vh;
  background: var(--warm-white);
  box-shadow: var(--shadow-lg);
  z-index: 160;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.cart-sidebar.open { right: 0; }

.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
}
.cart-header button {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-muted);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.cart-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}
.cart-empty p:first-child { font-size: 48px; margin-bottom: 10px; }
.cart-empty p { margin-bottom: 18px; }

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}
.cart-item-name { font-size: 13px; font-weight: 500; flex: 1; }
.cart-item-price { font-size: 14px; font-weight: 600; color: var(--dark); }
.cart-item-remove {
  background: none;
  border: none;
  color: #c0392b;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
}

.cart-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
}
.cart-total {
  font-size: 16px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.cart-total strong { font-size: 20px; color: var(--gold); }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform var(--transition);
}
.wa-float:hover { transform: scale(1.1); }

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 90px;
  right: 24px;
  background: #1a1209;
  color: #e8d5a3;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  z-index: 200;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
  border-left: 3px solid var(--gold);
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 48px 24px;
  }
  .hero-content { padding-left: 0; }
  .hero-desc, .hero-btns, .hero-trust { justify-content: center; }
  .hero-divider { margin: 0 auto 28px; }
  .hero-image-placeholder { width: 100%; max-width: 300px; margin: 0 auto; }

  .wholesale-wrap,
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }

  .trust-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .trust-item { flex-shrink: 0; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

  .cart-sidebar { width: 100%; right: -100%; }

  .hero-title { font-size: 28px; }
  .section { padding: 44px 0; }
}
