:root {
  --navy: #252d3a;
  --red: #b13c42;
  --gold: #cfb373;
  --yellow: #ffbd59;
  --white: #ffffff;
  --bg-lite: #252d3a;
  --border: #e2e5ea;
  --text-main: #252d3a;
  --text-muted: #6c757d;
  --transition: 0.25s ease;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-lite);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
}

/* ─── NAVBAR ─── */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid var(--yellow);
}

.logo {
  height: 65px;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  text-transform: capitalize;
  transition: color var(--transition);
}

.navbar-toggler {
  border: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red) !important;
}

/* Base utility text classes */
.text-navy {
  color: var(--navy) !important;
}

.text-red {
  color: var(--red) !important;
}

.bg-navy {
  background-color: var(--navy) !important;
}

.bg-red {
  background-color: var(--red) !important;
}

/* ─── GLOBALS ─── */
.page-title {
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.card-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(37, 45, 58, 0.04);
}

/* ─── HOME SLIDER ─── */
.home-slider .swiper-slide {
  width: 100%;
  height: 100%;
}

.home-slider img {
  width: 100%;
  height: 100%;
}

/* ─── AUTH BLOCK (HOME) ─── */
.auth {
  padding: 2.5rem 1rem;
  background: transparent;
}

.auth-toggle {
  display: flex;
  max-width: 340px;
  margin: 0 auto 1.5rem;
  border-radius: 50px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(37, 45, 58, 0.06);
}

.auth-btn {
  flex: 1;
  padding: 0.7rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition);
  cursor: pointer;
}

.auth-btn i {
  font-size: 1rem;
}

.auth-btn.active {
  background: var(--red);
  color: var(--white);
}

.auth-panel {
  max-width: 460px;
  margin: 0 auto;
  display: none;
}

.auth-panel .form-card h4 {
  text-align: center;
}

.auth-panel.active {
  display: block;
  animation: fadeSlideUp 0.3s ease;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(37, 45, 58, 0.08);
  position: relative;
}

.form-card h4 {
  color: var(--navy);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
}

.form-card h4 i {
  color: var(--red);
}

.btn-main {
  background: var(--red);
  border: none;
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition:
    background var(--transition),
    transform var(--transition);
  cursor: pointer;
}

.btn-main:hover {
  background: #9a3039;
  transform: translateY(-1px);
  color: var(--white);
}

/* ─── PRODUCT LISTING (PRICELIST) ─── */
.table-pricelist th {
  background-color: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  vertical-align: middle;
  border-bottom: 2px solid var(--border);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  padding: 1.25rem 1rem;
}

.table-pricelist td {
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background-color: var(--white);
  font-size: 0.95rem;
  padding: 1.25rem 1rem;
}

.table-pricelist th:last-child,
.table-pricelist td:last-child {
  border-right: none;
}

.table-pricelist tr:hover td {
  background-color: #fcfcfc;
}

/* Fully responsive table for mobile without horizontal scroll */
@media (max-width: 991px) {
  .table-responsive {
    border: none;
    box-shadow: none;
    background: transparent;
  }

  .table-pricelist,
  .table-pricelist tbody,
  .table-pricelist tr,
  .table-pricelist td {
    display: block;
    width: 100%;
  }

  .table-pricelist thead {
    display: none;
  }

  .table-pricelist tr {
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }

  .table-pricelist td {
    padding: 1rem 1.25rem !important;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-right: none !important;
  }

  .table-pricelist td[data-label="#"] {
    display: none;
    /* Hide S.No on mobile */
  }

  .table-pricelist td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    width: 30%;
    margin-right: 1rem;
    flex-shrink: 0;
  }

  /* Specifically adjusting product cell so image/text layout nicely */
  .table-pricelist td[data-label="Product"] {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-pricelist td[data-label="Product"]::before {
    display: none;
    /* Self explanatory */
  }

  .table-pricelist td[data-label="Qty"] {
    border-top: 1px dashed var(--border) !important;
    border-bottom: none;
    background: #fafbfa;
	text-align: center;
  }

  /* .table-pricelist td[data-label="Qty"]::before {
    display: none;
  } */

  .table-pricelist td[data-label="Action"] {
    border-bottom: none;
    border-top: none !important;
    background: #fafbfa;
    padding-top: 0 !important;
  }

  /* .table-pricelist td[data-label="Action"]::before {
    display: none;
  } */
}

.prod-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  background-color: var(--white);
  padding: 4px;
}

.stock-badge {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
}

.stock-ready {
  background-color: #dcfedb;
  color: #1f7518;
}

.stock-out {
  background-color: #fcdcdc;
  color: #992020;
}

.stock-coming {
  background-color: #f7e8ad;
  color: #92400e;
}

/* ─── CUSTOM FORMS ─── */
.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
}

.form-control,
.form-select {
  border: 1px solid var(--text-muted);
  box-shadow: none !important;
  border-radius: 8px;
  padding: 0.6rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--navy);
}
.btn-primary-custom:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: auto;
}
.btn-primary-custom {
  background-color: var(--navy);
  color: var(--white);
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: background-color var(--transition);
}

.btn-primary-custom:hover {
  background-color: var(--red);
  color: var(--white);
}

/* ─── ABOUT & CONTACT LAYOUTS ─── */
.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.map-container {
  height: 400px;
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─── FOOTER ─── */
.site-footer {
  margin-top: auto;
  background-color: var(--navy);
  color: var(--white);
  padding: 10px 0;
  text-align: center;
  border-top: 2px solid var(--border);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0.8rem;
  font-weight: 500;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--gold);
}

.fade-up {
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 50px;
  height: 45px;
  border-radius: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  padding: 0;
  padding-left: 20px;
  margin: 0;
  border: none;
  box-shadow: 0 4px 12px rgba(29, 27, 27, 0.1);
}

@media (max-width: 678px) {
  .floating-btn {
    padding-left: 15px;
  }
}

/* Chrome, Safari, Edge, Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}

.cta-link:hover {
  color: var(--red) !important;
}

.brand-logo-list {
  width: 60px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.product-new-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  left: 86% !important;
}
.big-checkbox {
    transform: scale(1.5);
    margin-right: 8px;
  }
