:root {
  --badge-color: #741b38;
  --btn-dark: #222222;
  --card-border: #eaeaea;
  --primary-blue: #0a2540;
  --accent-gold: #d4af37;
  --bg-light: #f8f9fc;
}

/* ================= MOBILE RESPONSIVE FIX ================= */

/* 1. Body par extra horizontal scroll ko block karna */
body {
  overflow-x: hidden;
}

/* 2. Container ko mobile par strictly 100% width par rakhna */
.products-page-section .container-ng {
  width: 100% !important;
  max-width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* 3. Mobile screen (768px se kam) ke liye special adjustments */
@media (max-width: 768px) {
  .prod-card {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
  }

  /* Buttons ko narrow screen par perfectly align karna */
  .prod-actions {
    gap: 8px; /* Mobile par buttons ke beech ka gap thoda kam kiya */
  }

  .btn-inquire {
    font-size: 0.85rem; /* Text thoda chhota kiya taaki cut na ho */
    padding: 10px;
  }

  .btn-call {
    width: 38px;
    height: 38px;
  }
}

.products-page-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.products-page-section .container-ng {
  width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ================= SIDEBAR STYLES ================= */
.sidebar-wrapper {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 100px; /* Sticky effect on scroll */
}

.sidebar-title {
  color: var(--primary-blue);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 10px;
  display: inline-block;
}

/* Search Box */
.search-form {
  position: relative;
  margin-bottom: 40px;
}
.search-input {
  width: 100%;
  padding: 12px 20px;
  padding-right: 50px;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.search-input:focus {
  border-color: var(--accent-gold);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-blue);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.search-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-blue);
}

/* Category List */
.cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-list li {
  margin-bottom: 10px;
}
.cat-link {
  display: flex;
  align-items: center;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: transparent;
}
.cat-link i {
  margin-right: 10px;
  color: var(--accent-gold);
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.cat-link:hover,
.cat-link.active {
  background: rgba(10, 37, 64, 0.05);
  color: var(--primary-blue);
  padding-left: 18px;
}
.cat-link:hover i,
.cat-link.active i {
  transform: scale(1.2);
}

/* ================= PRODUCT CARD STYLES ================= */
.prod-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.prod-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #dcdcdc;
  transform: translateY(-5px);
}
.prod-img-wrapper {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background: #fff;
}
.prod-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.prod-card:hover .prod-img-wrapper img {
  transform: scale(1.08);
}

.export-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #741b38 !important;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(116, 27, 56, 0.3);
}

.prod-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.prod-title a {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}
.prod-link {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}
.prod-link i {
  font-size: 0.75rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}
.prod-card:hover .prod-link {
  color: #741b38;
}
.prod-card:hover .prod-link i {
  transform: translateX(4px);
}

.prod-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.btn-call {
  width: 42px;
  height: 42px;
  border: 1px solid #741b38 !important;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #741b38 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.btn-call i {
  font-size: 1.1rem;
  transform: rotate(90deg);
}
.btn-call:hover {
  background-color: #741b38 !important;
  color: #fff !important;
  box-shadow: 0 5px 15px rgba(116, 27, 56, 0.2);
}
.btn-inquire {
  flex-grow: 1;
  height: 42px;
  background-color: #222222 !important;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn-inquire:hover {
  background-color: #0a2540 !important;
  color: #ffffff !important;
  box-shadow: 0 5px 15px rgba(10, 37, 64, 0.2);
}

/* ================= PAGINATION STYLES ================= */
.premium-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}
.premium-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  color: var(--primary-blue);
  font-weight: 600;
  border-radius: 50%;
  text-decoration: none;
  border: 1px solid var(--card-border);
  transition: all 0.3s ease;
}
.premium-pagination li a:hover,
.premium-pagination li.active a {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* ============================
    PRODUCT DETALILS PAGE STYLING
===================================== */

.prod-details-section {
  padding: 90px 0;
  background: #ffffff;
}

/* Left Side Image */
.main-img-box {
  background: var(--bg-light);
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  position: relative;
}
.main-img-box img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
}
.badge-export {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--badge-color);
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(116, 27, 56, 0.3);
}

/* Right Side Info */
.prod-info-wrapper {
  padding-left: 30px;
  position: sticky;
  top: 100px;
}
.prod-info-title {
  color: var(--primary-blue);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 15px;
}
.title-line {
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  margin-bottom: 25px;
}

.rating-wrap {
  color: var(--accent-gold);
  font-size: 1rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-wrap span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.short-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* Action Buttons */
.action-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn-quote {
  background: var(--primary-blue);
  color: #fff;
  padding: 15px 35px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-blue);
  flex: 1;
  text-align: center;
}
.btn-quote:hover {
  background: transparent;
  color: var(--primary-blue);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #25d366;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.btn-whatsapp:hover {
  background: transparent;
  color: #25d366;
}

/* Highlights Box */
.highlights-box {
  background: var(--bg-light);
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 25px;
}
.highlights-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.highlights-box li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-blue);
  font-weight: 500;
}
.highlights-box li i {
  color: var(--accent-gold);
}

/* Tabs Section */
.custom-tabs-section {
  padding: 60px 0;
  background: var(--bg-light);
}
.nav-tabs-custom {
  border-bottom: 2px solid #eaeaea;
  margin-bottom: 30px;
  display: flex;
  gap: 30px;
}
.nav-tabs-custom button {
  background: none;
  border: none;
  padding: 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  transition: all 0.3s ease;
}
.nav-tabs-custom button.active {
  color: var(--primary-blue);
}
.nav-tabs-custom button::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}
.nav-tabs-custom button.active::after {
  width: 100%;
}

/* Reviews Style */
.review-card {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}
.review-card .stars {
  color: var(--accent-gold);
  margin-bottom: 10px;
}
.review-card h5 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 5px;
}
.review-card p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.review-form-box {
  background: #fff;
  padding: 35px;
  border-radius: 8px;
  border: 1px solid #eaeaea;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991px) {
  .prod-info-wrapper {
    padding-left: 0;
    margin-top: 40px;
    position: static;
  }
}

/* ====================
    CATEGORY PAGE STYLING
======================== */

.category-page-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.prod-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.prod-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #dcdcdc;
  transform: translateY(-5px);
}

.prod-img-wrapper {
  position: relative;
  height: 220px;
  width: 100%;
  overflow: hidden;
  background: #fff;
}
.prod-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.prod-card:hover .prod-img-wrapper img {
  transform: scale(1.08);
}

.export-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #741b38 !important;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(116, 27, 56, 0.3);
}

.prod-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}
.prod-title a{
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}
.prod-link {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  margin-bottom: 20px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}
.prod-link i {
  font-size: 0.75rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
}
.prod-card:hover .prod-link {
  color: #741b38;
}
.prod-card:hover .prod-link i {
  transform: translateX(4px);
}

.prod-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}
.btn-call {
  width: 42px;
  height: 42px;
  border: 1px solid #741b38 !important;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #741b38 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.btn-call i {
  font-size: 1.1rem;
  transform: rotate(90deg);
}
.btn-call:hover {
  background-color: #741b38 !important;
  color: #fff !important;
  box-shadow: 0 5px 15px rgba(116, 27, 56, 0.2);
}

.btn-inquire {
  flex-grow: 1;
  height: 42px;
  background-color: #222222 !important;
  color: #ffffff !important;
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
.btn-inquire:hover {
  background-color: #0a2540 !important;
  color: #ffffff !important;
  box-shadow: 0 5px 15px rgba(10, 37, 64, 0.2);
}
