/* Banarasi Namkeen — Premium Landing Page (Reference Match) */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --cream: #FCF9F3;
  --cream-card: #F5F0E8;
  --brown-dark: #382110;
  --brown-header: #2B1B13;
  --brown-medium: #5C3D2E;
  --gold: #C5A368;
  --gold-light: #D4B87A;
  --gold-dark: #9A7B3C;
  --gold-text: #B89564;
  --white: #FFFFFF;
  --text-dark: #2A1A10;
  --text-muted: #7A6555;
  --tan-bar: #F4EBE0;
  --table-stripe: #FBF7F2;
  --shadow-sm: 0 2px 10px rgba(56, 33, 16, 0.08);
  --shadow-md: 0 4px 24px rgba(56, 33, 16, 0.12);
  --shadow-lg: 0 8px 40px rgba(56, 33, 16, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --max-width: 980px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  min-width: 1024px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-width: 1024px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===== TOP BANNER (HEADER + HERO WATERMARK) ===== */
.top-banner {
  position: relative;
}

.header-watermark {
    position: absolute;
    top: -29%;
    right: 8%;
    width: min(42vw, 520px);
    min-width: 300px;
    height: 252px;
    pointer-events: none;
    z-index: 1;
    background: url(../assets/header-watermark.png) no-repeat;
    background-position: right bottom;
    background-size: 64% 56%;
    opacity: 0.13;
    z-index: 99;
}

/* ===== TOP HEADER BAR ===== */
.site-header {
  background: var(--brown-header);
  position: relative;
  overflow: visible;
  border-bottom: 2px solid var(--gold);
  min-height: 102px;
  z-index: 2;
}

.header-top {
  padding: 14px 48px 13px;
  position: relative;
  z-index: 2;
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header-logo-link {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.header-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1) sepia(1) saturate(3.5) hue-rotate(5deg) brightness(0.92);
}

.header-divider {
  width: 1px;
  height: 56px;
  background: rgba(197, 163, 104, 0.5);
  flex-shrink: 0;
}

.header-brand-text h1 {
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.header-brand-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.54rem;
  color: var(--white);
  letter-spacing: 0.24em;
  font-weight: 500;
  margin-top: 7px;
  text-transform: uppercase;
}

.auth-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  margin-left: auto;
  padding-right: 8px;
  top: -18px;
}

.auth-badge-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.auth-badge-icon svg,
.auth-badge-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.auth-badge-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.auth-badge-text .auth-gold {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.14em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.auth-badge-text .auth-white {
  display: block;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

/* ===== HERO SECTION ===== */
.hero-section {
  text-align: center;
  padding: 28px 24px 20px;
  background: var(--cream);
  position: relative;
  z-index: 99;
}

.header-hero {
  text-align: center;
  padding: 0;
  position: relative;
  z-index: 1;
}

.hero-welcome {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-title-logo {
  display: block;
  width: auto;
  max-width: min(240px, 68vw);
  max-height: 150px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.hero-flourish {
  width: min(324px, 86vw);
  height: 24px;
  margin: 10px auto 12px;
  background: url('../assets/hero-flourish.png') center / contain no-repeat;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: var(--brown-dark);
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* ===== VERIFY BANNER ===== */
.verify-banner {
  max-width: var(--max-width);
  margin: 18px auto 32px;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

.verify-banner-inner {
  background: var(--brown-header);
  border-radius: 999px;
  padding: 11px 28px 11px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-md);
  min-height: 50px;
}

.verify-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-right: 20px;
  border-right: 1px solid rgba(197, 163, 104, 0.45);
}

.verify-shield {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.verify-shield svg,
.verify-shield img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.verify-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.verify-instruction {
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.02em;
  line-height: 1.45;
  text-align: right;
  flex: 1;
}

/* ===== PRODUCT SHOWCASE ===== */
.product-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 40px;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.product-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
}

.product-image-wrap img {
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 12px 32px rgba(56, 33, 16, 0.18));
}

.product-details h3 {
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  color: var(--brown-dark);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.product-tagline {
  font-size: 0.76rem;
  color: var(--gold-text);
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card {
  background: var(--white);
  border: 1px solid rgba(197, 160, 89, 0.32);
  border-radius: var(--radius-md);
  padding: 15px 17px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 1px 6px rgba(56, 33, 16, 0.05);
}

.info-card + .info-card {
  border-top: none;
}

.info-card-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--brown-dark);
  border-radius: 50%;
  background: var(--white);
  padding: 0;
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--brown-dark);
  color: var(--brown-dark);
  opacity: 1;
}

.info-card-icon--barcode {
  padding: 0;
}

.info-card--barcode {
  align-items: center;
}

.info-card-content--barcode {
  flex: 1;
  min-width: 0;
}

.barcode-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.barcode-text {
  flex-shrink: 0;
}

.barcode-text label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.barcode-text .gtin {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.06em;
}

.barcode-scan-img {
  height: 72px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  margin-left: auto;
}

.info-card-content label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.info-card-content .company-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.info-card-content .company-address {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-weight: 500;
}

/* ===== MANUFACTURER PANEL ===== */
.manufacturer-section {
  max-width: var(--max-width);
  margin: 0 auto 40px;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  padding: 8px 12px 20px;
}

.section-header h3 {
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 0.72rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}

.section-header p strong {
  color: var(--brown-dark);
  font-weight: 700;
}

.table-wrap {
  overflow: hidden;
  overflow-x: auto;
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.manufacturer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
  min-width: 720px;
}

.manufacturer-table thead {
  background: var(--brown-header);
}

.manufacturer-table th {
  padding: 13px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.04em;
  font-size: 0.62rem;
  text-transform: uppercase;
  vertical-align: middle;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.manufacturer-table th:last-child {
  border-right: none;
}

.th-inner {
  display: flex;
  align-items: center;
  gap: 7px;
}

.th-inner svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-light);
  flex-shrink: 0;
}

.th-fssai-logo {
  height: 18px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.manufacturer-table th:nth-child(1),
.manufacturer-table td:nth-child(1) { width: 18%; }

.manufacturer-table th:nth-child(2),
.manufacturer-table td:nth-child(2) { width: 24%; }

.manufacturer-table th:nth-child(3),
.manufacturer-table td:nth-child(3) { width: 38%; }

.manufacturer-table th:nth-child(4),
.manufacturer-table td:nth-child(4) { width: 20%; }

.manufacturer-table td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.16);
  border-right: 1px solid rgba(197, 160, 89, 0.16);
  color: var(--text-dark);
  vertical-align: middle;
  line-height: 1.5;
  font-weight: 500;
  background: var(--white);
}

.manufacturer-table td:last-child {
  border-right: none;
}

.manufacturer-table tbody tr:last-child td {
  border-bottom: none;
}

.manufacturer-table td:first-child {
  text-align: center;
  vertical-align: middle;
}

.manufacturer-table tbody tr:nth-child(even) td {
  background: var(--table-stripe);
}

.mfg-code {
  font-weight: 700;
  color: var(--brown-dark);
  font-size: 1.45rem;
  font-family: 'Playfair Display', 'Cinzel', serif;
  line-height: 1;
}

.mfg-name {
  display: block;
  font-weight: 700;
  color: var(--brown-dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.mfg-address {
  display: block;
  font-size: 0.68rem;
  color: var(--brown-medium);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

.fssai-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.fssai-logo {
  height: 30px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.fssai-number {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

/* ===== TRUST BAR (inside manufacturer panel) ===== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--tan-bar);
  border: 1px solid rgba(197, 160, 89, 0.28);
  border-radius: var(--radius-md);
  margin-top: 14px;
  overflow: hidden;
}

.trust-bar .trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  text-align: left;
}

.trust-bar .trust-item:not(:last-child) {
  border-right: 1px solid rgba(197, 160, 89, 0.25);
}

.trust-bar .trust-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-bar .trust-icon svg {
  width: 21px;
  height: 21px;
  fill: var(--brown-dark);
  stroke: none;
  opacity: 1;
}

.trust-bar .trust-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.trust-bar .trust-item p {
  font-size: 0.66rem;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: none;
  margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--brown-header);
  padding: 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding-right: 16px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  filter: brightness(0) invert(1) sepia(1) saturate(3) hue-rotate(5deg) brightness(1.05);
}

.footer-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.footer-divider,
.footer-contact-divider {
  width: 1px;
  height: 30px;
  background: rgba(197, 163, 104, 0.5);
  flex-shrink: 0;
}

.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0;
  margin-left: auto;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.67rem;
  color: var(--white);
  white-space: nowrap;
  padding: 0 16px;
}

.footer-contact-item svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

/* ===== INDEX PAGE ===== */
.page-body {
  background: var(--cream);
}

.products-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 48px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(197, 160, 89, 0.15);
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.product-card-image {
  background: var(--cream-card);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 260px;
}

.product-card-image img {
  max-height: 240px;
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(56, 33, 16, 0.12));
}

.product-card-body {
  padding: 18px 20px 22px;
  text-align: center;
}

.product-card-body h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.product-card-body p {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 14px;
}

.btn-view {
  display: inline-block;
  background: var(--brown-header);
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 9px 24px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.btn-view:hover {
  background: var(--gold-dark);
  color: var(--white);
}
