/* ============================================
   Mumbai Safety – Main Stylesheet (v2) – Full
   ============================================ */

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --yellow: #FACC15;
  --yellow-dark: #EAB308;
  --yellow-light: #FEF3C7;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --success: #22C55E;
  --danger: #EF4444;
  --warning: #F59E0B;
  --info: #3B82F6;

  --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  --transition: 0.2s ease;
  --max-width: 1200px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header__top {
  background: var(--navy);
  color: var(--white);
  padding: 4px 0;
  font-size: 0.8rem;
  text-align: center;
}

.header__main {
  border-bottom: 1px solid var(--gray-200);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  height: 40px;
  width: auto;
}

/* Desktop navigation */
.header__nav-list {
  display: flex;
  gap: 8px;
}

.header__nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: all var(--transition);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--navy);
  background: var(--yellow-light);
}

.header__nav-dropdown {
  position: relative;
}

.header__mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 700px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 100;
  border: 1px solid var(--gray-200);
}

.header__nav-dropdown:hover .header__mega-menu {
  opacity: 1;
  visibility: visible;
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mega-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background var(--transition);
  font-size: 0.9rem;
  font-weight: 500;
}

.mega-menu__item:hover {
  background: var(--yellow-light);
}

.mega-menu__icon {
  font-size: 1.5rem;
}

/* Search */
.header__search {
  flex: 1;
  max-width: 480px;
  position: relative;
  margin: 0 auto;
}

.header__search-input {
  width: 100%;
  padding: 10px 42px 10px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  background: var(--gray-50);
  font-size: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}

.header__search-input:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}

.header__search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.header__search-btn:hover {
  background: var(--yellow-dark);
}

.header__search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  max-height: 360px;
  overflow-y: auto;
  z-index: 200;
  border: 1px solid var(--gray-200);
}

/* Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__action-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gray-700);
  transition: background var(--transition);
}

.header__action-btn:hover {
  background: var(--gray-100);
  color: var(--navy);
}

.header__action-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--danger);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
}

.header__menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background: var(--white);
  padding: 80px 20px;
  transform: translateX(100%);
  transition: transform 0.3s;
}

.mobile-menu.active .mobile-menu__inner {
  transform: translateX(0);
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__list a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 500;
  color: var(--gray-700);
}

.mobile-menu__list a:hover {
  background: var(--yellow-light);
  color: var(--navy);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 48px 0 0;
  margin-top: 80px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--navy-light);
}

.footer__col h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer__col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col ul li a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--yellow);
}

.footer__contact li {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.coupon-box {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.coupon-box__header {
  margin-bottom: 14px;
}

.coupon-box__title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.coupon-box__title-wrap h3 {
  font-size: 1.05rem;
  margin: 0;
}

.coupon-box__icon {
  font-size: 1.2rem;
}

.coupon-box__form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.coupon-box__input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--white);
  color: var(--gray-800);
}

.coupon-box__input:focus {
  outline: none;
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.coupon-box__actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.coupon-box__remove {
  background: transparent;
  border: none;
  color: var(--gray-600);
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
}

.coupon-box__message {
  min-height: 22px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.coupon-box__message--success {
  color: var(--success);
}

.coupon-box__message--error {
  color: var(--danger);
}

.coupon-box__message--info {
  color: var(--info);
}

.coupon-box__applied {
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.coupon-box__applied-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.87rem;
  margin: 4px 0;
}

.coupon-box__terms {
  border-top: 1px solid var(--gray-200);
  padding-top: 12px;
  font-size: 0.82rem;
}

.coupon-box__terms summary {
  cursor: pointer;
  color: var(--gray-700);
  font-weight: 600;
}

.coupon-box__terms-content {
  margin-top: 10px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn--primary:hover {
  background: var(--yellow-dark);
  border-color: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn--whatsapp:hover {
  background: #20ba57;
}

.btn--lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn--sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.5) 0%, rgba(15,23,42,0.3) 100%);
}

.hero__title, .hero__subtitle, .hero__badge {
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 80px 0;
}

.hero__badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.hero__title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 700px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat strong {
  font-size: 1.5rem;
  color: var(--yellow);
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-700);
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
}

.category-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.category-card__icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.category-card__name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.category-card__desc {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ============================================
   WHY US
   ============================================ */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-us-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.why-us-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--yellow);
}

.why-us-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.why-us-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.why-us-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ============================================
   CORPORATE SOLUTIONS
   ============================================ */
.corporate-solutions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.corporate-solutions__content p {
  color: var(--gray-300);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.corporate-solutions__list {
  margin-bottom: 28px;
}

.corporate-solutions__list li {
  padding: 8px 0;
  color: var(--gray-200);
  font-size: 1rem;
}

.corporate-solutions__image img {
  border-radius: var(--radius-xl);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.testimonial-card__stars {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.7;
}

.testimonial-card__author strong {
  display: block;
  color: var(--navy);
}

.testimonial-card__author span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--gray-300);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.cta-section__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PRODUCT CARDS (add‑ons)
   ============================================ */
.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--yellow);
  color: var(--navy);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-card__badge--bestseller {
  background: var(--navy);
  color: var(--white);
}

.product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  color: var(--gray-400);
}

.product-card__wishlist:hover,
.product-card__wishlist.active {
  color: var(--danger);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section {
  padding: 60px 0;
}

.section--gray {
  background: var(--gray-50);
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section__header {
  text-align: center;
  margin-bottom: 40px;
}

.section__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.section__title--light {
  color: var(--white);
}

.section__subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
}

.section__footer {
  text-align: center;
  margin-top: 40px;
}

/* ============================================
   PRODUCT GRID (common)
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--yellow);
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--gray-50);
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.product-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-card__body {
  padding: 16px;
}

.product-card__brand {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.product-card__name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.product-card__price-current {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.product-card__price-original {
  font-size: 0.85rem;
  color: var(--gray-400);
  text-decoration: line-through;
}

.product-card__price-discount {
  font-size: 0.75rem;
  color: var(--success);
  font-weight: 600;
}

.product-card__weight {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.product-card__actions {
  display: flex;
  gap: 8px;
}

.product-card__actions .btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 8px 12px;
}

/* ============================================
   FORM ELEMENTS
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.hidden { display: none !important; }

/* Bulk Order Link (header) */
.header__bulk-link {
  background: var(--yellow);
  color: var(--navy) !important;
  padding: 6px 14px !important;
  border-radius: var(--radius-full);
  font-weight: 700;
  margin-left: 8px;
}

.header__bulk-link:hover {
  background: var(--yellow-dark) !important;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}