/* BHAARAT EXPORTS - ACCESSIBLE, HIGH PERFORMANCE & MOBILE-FIRST STYLES */
:root {
  --brand-gold: #c59b27;
  --brand-gold-hover: #e0b33b;
  --header-dark: #120b05;
  --header-nav-dark: #1e130a;
  --nav-hover: #2d1c0f;
  --body-bg: #fbf5ec;
  --card-bg: #ffffff;
  --text-primary: #1e140a;
  --text-secondary: #524334;
  --table-border: #eadbc8;
  --table-header: #201308;
  --wa-green: #25d366;
  --wa-dark-green: #1ebd5b;
  --focus-ring: #2563eb;
}

/* Accessibility: Resets & Focus States */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background-color: var(--body-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* WCAG Focus Visible Styles */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Skip link for screen reader & keyboard accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: var(--header-dark);
  color: #ffffff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 10px;
}

/* Header & Brand Identity */
.top-header {
  background-color: var(--header-dark);
  padding: 16px 20px;
  text-align: center;
  border-bottom: 2px solid var(--brand-gold);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-logo {
  height: 54px;
  width: auto;
  border-radius: 4px;
  display: block;
}

.brand-title {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-title span {
  color: var(--brand-gold);
}

/* Sticky Navigation Bar */
.nav-header {
  background-color: var(--header-nav-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid #332011;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  min-height: 54px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
}

.nav-item {
  position: relative;
}

.nav-link, .nav-btn {
  color: #ede2d3;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background-color 0.2s;
}

.nav-link:hover, .nav-link.active, .nav-btn:hover {
  color: var(--brand-gold);
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
  display: inline-block;
}

/* Desktop Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #180d06;
  min-width: 320px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  border-top: 3px solid var(--brand-gold);
  border-radius: 0 0 6px 6px;
  display: none;
  list-style: none;
  padding: 6px 0;
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
  display: block;
}

.submenu-parent {
  position: relative;
}

.submenu-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  color: #f1e7d8;
  font-size: 13.5px;
  text-decoration: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.submenu-btn:hover, .submenu-btn:focus {
  background: var(--nav-hover);
  color: var(--brand-gold);
}

.submenu-menu {
  position: absolute;
  top: 0;
  left: 100%;
  background: #201309;
  min-width: 300px;
  max-height: 480px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  display: none;
  list-style: none;
  padding: 6px 0;
  border-left: 2px solid var(--brand-gold);
}

.submenu-parent:hover > .submenu-menu,
.submenu-parent:focus-within > .submenu-menu {
  display: block;
}

.submenu-menu li a {
  display: block;
  padding: 9px 18px;
  color: #dfd2c0;
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.submenu-menu li a:hover, .submenu-menu li a:focus {
  background: #2b1a0d;
  color: var(--brand-gold);
  padding-left: 22px;
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: none;
  background: #201309;
  border: 1px solid var(--brand-gold);
  color: var(--brand-gold);
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  align-items: center;
  gap: 6px;
}

.mobile-toggle:hover {
  background: var(--brand-gold);
  color: #120b05;
}

/* WhatsApp Nav & Floating Buttons */
.nav-wa-btn {
  background-color: var(--wa-green);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.nav-wa-btn:hover {
  background-color: var(--wa-dark-green);
}

.floating-wa-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background-color: var(--wa-green);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  transition: transform 0.2s, background-color 0.2s;
}

.floating-wa-btn:hover {
  background-color: var(--wa-dark-green);
  transform: scale(1.04);
}

/* Containers & Cards */
.page-container {
  max-width: 1100px;
  margin: 35px auto 60px auto;
  padding: 0 16px;
}

.card-sheet {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-top: 5px solid #2d1b0d;
  margin-bottom: 30px;
}

.card-sheet.accent-gold {
  border-top: 5px solid var(--brand-gold);
}

.sheet-title {
  font-size: 26px;
  font-weight: 800;
  color: #1a0f07;
  text-align: center;
  margin-bottom: 8px;
}

.sheet-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 14.5px;
  margin-bottom: 25px;
}

.notice-box {
  background-color: #fff9ee;
  border-left: 4px solid var(--brand-gold);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: #5c4327;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Table Design */
.catalog-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--table-border);
}

.catalog-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  background-color: #ffffff;
}

.catalog-table thead {
  background-color: var(--table-header);
  color: #ffffff;
}

.catalog-table th {
  padding: 14px 16px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: left;
}

.catalog-table td {
  padding: 12px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid #f2e9de;
  color: var(--text-primary);
  vertical-align: middle;
}

.catalog-table tbody tr:nth-child(even) { background-color: #faf5ed; }
.catalog-table tbody tr:hover { background-color: #f5ecd8; }

.col-prod a {
  color: #1b1008;
  text-decoration: none;
  font-weight: 700;
}

.col-prod a:hover, .col-prod a:focus {
  color: var(--brand-gold);
  text-decoration: underline;
}

.col-prod .hindi-name {
  color: #685747;
  font-size: 12.5px;
  display: block;
}

.badge-tag {
  display: inline-block;
  padding: 3px 9px;
  background-color: #f7e6cc;
  color: #7a4e0c;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.stock-status {
  font-size: 12.5px;
  font-weight: 600;
  color: #128237;
}

.btn-get-quote {
  background-color: var(--wa-green);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-get-quote:hover, .btn-get-quote:focus {
  background-color: var(--wa-dark-green);
}

/* Filter & Search */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  justify-content: space-between;
}

.search-input {
  flex: 1;
  min-width: 250px;
  padding: 10px 16px;
  border: 1px solid #d4c2ab;
  border-radius: 6px;
  font-size: 14px;
  background: #ffffff;
}

.filter-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-btn {
  background: #f0e6d6;
  border: none;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #3b2c1f;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover, .filter-btn:focus {
  background: var(--header-dark);
  color: #ffffff;
}

/* Specifications Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  border: 1px solid #eedec9;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

.specs-table td {
  padding: 12px 18px;
  font-size: 14px;
  border-bottom: 1px solid #f3e9dc;
}

.specs-table tr td:first-child {
  width: 32%;
  font-weight: 700;
  background-color: #faf5ed;
  color: var(--text-primary);
}

/* Article & SEO Content */
.pdp-article {
  margin: 30px 0;
  font-size: 15px;
  line-height: 1.8;
  color: #2a1e13;
}

.pdp-article h2 {
  font-size: 20px;
  color: #1f1208;
  margin: 24px 0 10px 0;
  border-left: 4px solid var(--brand-gold);
  padding-left: 12px;
}

.pdp-article p { margin-bottom: 15px; }

.terms-card {
  background: #f7eee2;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 25px;
  border-left: 4px solid #8e6822;
}

.terms-title {
  font-size: 14px;
  font-weight: 800;
  color: #1f1309;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.terms-list {
  list-style-type: none;
  font-size: 13px;
  color: #4a3c2e;
}

.terms-list li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.terms-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand-gold);
  font-weight: bold;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.info-block { margin-bottom: 18px; }

.info-block h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8f6516;
  margin-bottom: 6px;
}

.info-block p {
  font-size: 14px;
  color: #332417;
  line-height: 1.5;
}

.big-wa-btn {
  background-color: var(--wa-green);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 40px;
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.big-wa-btn:hover, .big-wa-btn:focus {
  background-color: var(--wa-dark-green);
}

/* Footer */
.site-footer {
  background-color: var(--header-dark);
  color: #d1bda6;
  padding: 30px 20px;
  text-align: center;
  font-size: 13.5px;
  border-top: 3px solid var(--brand-gold);
}

.footer-cert-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.cert-pill {
  border: 1px solid #71552a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  color: #dfba6c;
  font-weight: 700;
  text-transform: uppercase;
}

/* Mobile & Touch Responsive Behavior (Strictly 98% Mobile Optimized) */
@media (max-width: 860px) {
  .brand-title { font-size: 21px; letter-spacing: 1.5px; }
  .brand-logo { height: 44px; }
  .mobile-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #150c05;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
    border-bottom: 2px solid var(--brand-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
  }
  .nav-links.expanded {
    display: flex;
  }
  .nav-link, .nav-btn {
    width: 100%;
    justify-content: space-between;
    padding: 13px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  /* Mobile Accordion Dropdowns */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: #1e1107;
    padding: 0;
    border-top: none;
    display: none;
  }
  .dropdown-menu.expanded {
    display: block;
  }
  .submenu-parent {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .submenu-btn {
    padding: 12px 20px 12px 30px;
    background: #1c1006;
    color: #ede2d3;
  }
  .submenu-menu {
    position: static;
    box-shadow: none;
    background-color: #241408;
    max-height: none;
    border-left: none;
    padding: 0;
    display: none;
  }
  .submenu-menu.expanded {
    display: block;
  }
  .submenu-menu li a {
    padding: 11px 20px 11px 45px;
    background: #241408;
  }
  .contact-grid { grid-template-columns: 1fr; }
  .card-sheet { padding: 22px 16px; }
  .floating-wa-btn {
    bottom: 16px;
    right: 16px;
    padding: 10px 18px;
    font-size: 13.5px;
  }
  .big-wa-btn {
    font-size: 14.5px;
    padding: 14px 20px;
    width: 100%;
    justify-content: center;
  }
}
