/* ===================================================================
   Grameen Hath Kagaj Udhyog - Inner Pages Stylesheet
   Matches Home Page Design System:
   - Colors: #214d36 (Primary Forest), #F8F5EF (Warm Cream), #b18b5e (Bronze), #34373f (Heading)
   - Fonts: 'Trirong' (Headings), 'Outfit' (UI/Meta/Buttons), 'Open Sans' (Body)
   - Radius: 16px cards, 30px pill buttons
   =================================================================== */

/* Active Navigation Indicator */
.main-navigation ul.nav-menu > li > a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.main-navigation ul.nav-menu > li > a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Header "Let's talk" CTA Pill */
.header-talk-pill {
  font-family: var(--third-font);
  font-size: 14px !important;
  font-weight: 600;
  background-color: var(--primary-color);
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(33, 77, 54, 0.18);
}

.header-talk-pill:hover {
  background-color: var(--primary-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* ===================================================================
   INNER PAGE HERO / BREADCRUMB BANNER
   =================================================================== */
.inner-hero-section {
  padding: 24px 0 10px 0;
}

.inner-hero-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: var(--body-bg-color);
  min-height: 260px;
  display: flex;
  align-items: center;
  padding: 55px 60px;
  border: 1px solid #ece7dc;
}

.inner-hero-card.has-bg {
  background-size: cover;
  background-position: center;
  border: none;
  color: #ffffff;
}

.inner-hero-card.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(23, 56, 39, 0.88) 0%, rgba(33, 77, 54, 0.72) 55%, rgba(0, 0, 0, 0.35) 100%);
  z-index: 1;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.inner-hero-eyebrow {
  display: inline-block;
  font-family: var(--third-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.2px;
  color: #e6d3b3;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.inner-hero-card:not(.has-bg) .inner-hero-eyebrow {
  color: var(--primary-color);
  background: rgba(33, 77, 54, 0.08);
}

.inner-hero-title {
  font-family: var(--primary-font);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 12px;
}

.inner-hero-card.has-bg .inner-hero-title {
  color: #ffffff;
}

.inner-hero-desc {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 560px;
}

.inner-hero-card.has-bg .inner-hero-desc {
  color: rgba(255, 255, 255, 0.88);
}

.inner-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 500;
}

.inner-hero-card.has-bg .inner-breadcrumb,
.inner-hero-card.has-bg .inner-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.inner-hero-card.has-bg .inner-breadcrumb a:hover,
.inner-hero-card.has-bg .inner-breadcrumb span.current {
  color: #ffffff;
}

.inner-breadcrumb i {
  font-size: 10px;
  opacity: 0.7;
}

/* ===================================================================
   SHARED BUTTONS & BADGES
   =================================================================== */
.btn-forest {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #ffffff;
  border-radius: 30px;
  padding: 11px 28px;
  font-family: var(--third-font);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-forest:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-forest {
  background-color: transparent;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 30px;
  padding: 10px 26px;
  font-family: var(--third-font);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-outline-forest:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.warm-section-bg {
  background-color: var(--body-bg-color);
}

.section-pad {
  padding: 60px 0;
}

/* ===================================================================
   CATEGORIES PAGE
   =================================================================== */
.category-showcase-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  border: 1px solid #eeebe5;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-showcase-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-5px);
}

.category-showcase-img {
  position: relative;
  padding-top: 78%;
  overflow: hidden;
  background-color: #f7f6f2;
}

.category-showcase-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-showcase-card:hover .category-showcase-img img {
  transform: scale(1.07);
}

.category-showcase-count {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-color);
  font-family: var(--third-font);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.category-showcase-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-showcase-title {
  font-family: var(--primary-font);
  font-size: 21px;
  font-weight: 600;
  color: var(--heading-text-color);
  margin-bottom: 8px;
}

.category-showcase-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.category-explore-link {
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.category-explore-link:hover {
  color: var(--primary-hover);
  gap: 12px;
}

/* Curated Collection Strip */
.collection-feature-banner {
  border-radius: var(--card-radius);
  background: linear-gradient(125deg, #214d36 0%, #2d6246 100%);
  color: #ffffff;
  padding: 48px 50px;
  position: relative;
  overflow: hidden;
}

.collection-feature-banner::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(177, 139, 94, 0.16);
  pointer-events: none;
}

/* ===================================================================
   PRODUCTS LISTING PAGE (SHOP / CATALOG)
   =================================================================== */
.shop-sidebar-card {
  background: #ffffff;
  border: 1px solid #eeebe5;
  border-radius: var(--card-radius);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget-title {
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-text-color);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eeebe5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-cat-list li {
  margin-bottom: 8px;
}

.filter-cat-btn {
  width: 100%;
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--third-font);
  font-size: 14px;
  color: #555;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.filter-cat-btn:hover,
.filter-cat-btn.active {
  background-color: var(--body-bg-color);
  color: var(--primary-color);
  font-weight: 600;
}

.filter-cat-count {
  font-size: 12px;
  background: #f3f0ea;
  color: #666;
  padding: 2px 9px;
  border-radius: 12px;
}

.filter-cat-btn.active .filter-cat-count {
  background: var(--primary-color);
  color: #ffffff;
}

.filter-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill-btn {
  border: 1px solid #e2ddd3;
  background: #ffffff;
  color: #555;
  font-family: var(--third-font);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill-btn:hover,
.filter-pill-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.shop-toolbar {
  background: var(--body-bg-color);
  border-radius: var(--card-radius);
  padding: 14px 20px;
  margin-bottom: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.shop-search-inline {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.shop-search-inline input {
  width: 100%;
  height: 40px;
  border-radius: 25px;
  border: 1px solid #dfd9cd;
  background: #ffffff;
  padding: 0 38px 0 16px;
  font-family: var(--third-font);
  font-size: 13px;
  outline: none;
}

.shop-search-inline input:focus {
  border-color: var(--primary-color);
}

.shop-search-inline i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 13px;
}

.shop-sort-select {
  height: 40px;
  border-radius: 25px;
  border: 1px solid #dfd9cd;
  background-color: #ffffff;
  padding: 0 16px;
  font-family: var(--third-font);
  font-size: 13px;
  color: var(--color-text);
  outline: none;
  cursor: pointer;
}

.view-mode-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #dfd9cd;
  background: #ffffff;
  color: #666;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.view-mode-btn.active,
.view-mode-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

/* Enhanced Product Card for Listing */
.product-card-category-tag {
  font-family: var(--third-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-color);
  margin-bottom: 4px;
  display: block;
}

.product-card-list {
  display: flex;
  flex-direction: row;
  padding-bottom: 0;
  align-items: stretch;
}

.product-card-list .product-thumb-wrap {
  width: 240px;
  flex-shrink: 0;
  border-radius: var(--card-radius) 0 0 var(--card-radius);
}

.product-card-list .product-thumb-link {
  padding-top: 0;
  height: 100%;
  min-height: 230px;
}

.product-card-list .product-details {
  text-align: left;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.product-card-list .product-rating {
  justify-content: flex-start;
}

.product-card-list .product-title {
  white-space: normal;
  font-size: 20px;
}

/* Custom Pagination */
.custom-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-pill-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #e5e0d5;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--third-font);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}

.page-pill-btn:hover,
.page-pill-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

/* ===================================================================
   PRODUCT DETAILS PAGE
   =================================================================== */
.pd-gallery-wrap {
  position: sticky;
  top: 110px;
}

.pd-main-img-box {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: #f7f6f2;
  border: 1px solid #eeebe5;
  aspect-ratio: 4 / 4.4;
  margin-bottom: 14px;
}

.pd-main-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pd-main-img-box:hover img {
  transform: scale(1.04);
}

.pd-thumbs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.pd-thumb-item {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #f7f6f2;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.pd-thumb-item.active,
.pd-thumb-item:hover {
  border-color: var(--primary-color);
}

.pd-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-info-wrap {
  padding-left: 15px;
}

.pd-cat-pill {
  display: inline-block;
  font-family: var(--third-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  background: rgba(33, 77, 54, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.pd-title {
  font-family: var(--primary-font);
  font-size: 34px;
  font-weight: 600;
  color: var(--heading-text-color);
  margin-bottom: 12px;
}

.pd-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
  font-family: var(--third-font);
  font-size: 13px;
}

.pd-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eeebe5;
}

.pd-price-current {
  font-family: var(--primary-font);
  font-size: 28px;
  font-weight: 600;
  color: var(--price-color);
}

.pd-price-old {
  font-family: var(--primary-font);
  font-size: 20px;
  color: #999;
  text-decoration: line-through;
}

.pd-save-badge {
  background: rgba(210, 60, 63, 0.1);
  color: var(--four-color);
  font-family: var(--third-font);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
}

.pd-short-desc {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 24px;
}

.pd-option-label {
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--heading-text-color);
  margin-bottom: 10px;
  display: block;
}

.pd-variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.pd-variant-btn {
  border: 1.5px solid #e0dad0;
  background: #ffffff;
  color: var(--color-text);
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: var(--transition);
}

.pd-variant-btn.active,
.pd-variant-btn:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
  color: #ffffff;
}

.pd-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 26px;
  padding: 20px;
  border-radius: var(--card-radius);
  background-color: var(--body-bg-color);
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--third-font);
  font-size: 13px;
  color: var(--heading-text-color);
}

.pd-trust-item i {
  color: var(--primary-color);
  font-size: 16px;
}

.pd-meta-table {
  margin-top: 20px;
  font-size: 14px;
}

.pd-meta-table span.meta-label {
  font-family: var(--third-font);
  font-weight: 600;
  color: var(--heading-text-color);
  min-width: 110px;
  display: inline-block;
}

/* Product Tabs */
.pd-tabs-nav {
  border-bottom: 1px solid #e7e2d8;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.pd-tabs-nav .nav-link {
  border: none;
  background: transparent;
  font-family: var(--third-font);
  font-size: 16px;
  font-weight: 600;
  color: #777;
  padding: 12px 24px;
  position: relative;
}

.pd-tabs-nav .nav-link.active {
  color: var(--primary-color);
  background: transparent;
}

.pd-tabs-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 16px;
  right: 16px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.spec-table {
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid #eeebe5;
}

.spec-table th {
  background-color: var(--body-bg-color);
  font-family: var(--third-font);
  font-weight: 600;
  color: var(--heading-text-color);
  width: 34%;
  padding: 14px 20px;
}

.spec-table td {
  padding: 14px 20px;
  color: #555;
}

/* ===================================================================
   ABOUT US PAGE
   =================================================================== */
.about-img-stack {
  position: relative;
}

.about-main-img {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow-hover);
}

.about-main-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-floating-badge {
  position: absolute;
  bottom: -24px;
  right: 24px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 24px 28px;
  border-radius: var(--card-radius);
  box-shadow: 0 15px 35px rgba(33, 77, 54, 0.28);
  max-width: 240px;
}

.about-floating-badge h3 {
  font-family: var(--primary-font);
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 4px;
}

.about-floating-badge p {
  font-family: var(--third-font);
  font-size: 13px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.stats-strip-card {
  background: var(--primary-color);
  border-radius: var(--card-radius);
  padding: 45px 30px;
  color: #ffffff;
}

.stat-box {
  text-align: center;
  padding: 10px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--primary-font);
  font-size: 40px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-label {
  font-family: var(--third-font);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #e6d3b3;
}

.process-step-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  border: 1px solid #eeebe5;
  padding: 30px 24px;
  height: 100%;
  transition: var(--transition);
  position: relative;
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--body-bg-color);
  color: var(--primary-color);
  font-family: var(--primary-font);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: var(--transition);
}

.process-step-card:hover .process-step-num {
  background: var(--primary-color);
  color: #ffffff;
}

/* ===================================================================
   BLOGS & BLOG DETAILS PAGES
   =================================================================== */
.featured-blog-card {
  background: var(--body-bg-color);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid #e9e3d7;
}

.featured-blog-img {
  height: 100%;
  min-height: 360px;
}

.featured-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-blog-body {
  padding: 42px;
}

.blog-cat-badge {
  display: inline-block;
  font-family: var(--third-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.article-cover-img {
  border-radius: var(--card-radius);
  overflow: hidden;
  max-height: 480px;
  margin-bottom: 32px;
}

.article-cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-prose {
  font-size: 16px;
  line-height: 1.85;
  color: #444;
}

.article-prose h2,
.article-prose h3 {
  margin-top: 30px;
  margin-bottom: 14px;
  font-weight: 600;
}

.article-quote {
  background: var(--body-bg-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 24px 28px;
  margin: 28px 0;
  font-family: var(--primary-font);
  font-size: 20px;
  font-style: italic;
  color: var(--heading-text-color);
}

.author-box-card {
  background: var(--body-bg-color);
  border-radius: var(--card-radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid #e9e3d7;
}

.author-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #ffffff;
  font-family: var(--primary-font);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ===================================================================
   CONTACT US & FAQ PAGES
   =================================================================== */
.contact-info-card {
  background: #ffffff;
  border: 1px solid #eeebe5;
  border-radius: var(--card-radius);
  padding: 32px 26px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.contact-info-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-4px);
}

.contact-icon-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--body-bg-color);
  color: var(--primary-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
}

.contact-info-card:hover .contact-icon-circle {
  background: var(--primary-color);
  color: #ffffff;
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid #eeebe5;
  border-radius: var(--card-radius);
  padding: 40px;
  box-shadow: var(--box-shadow-soft);
}

.form-label-custom {
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--heading-text-color);
  margin-bottom: 6px;
}

.form-control-custom,
.form-select-custom {
  border-radius: 12px;
  border: 1px solid #dfd9cd;
  padding: 12px 16px;
  font-family: var(--secondary-font);
  font-size: 14px;
  color: var(--color-text);
  transition: var(--transition);
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(33, 77, 54, 0.1);
}

.map-embed-card {
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid #eeebe5;
  height: 100%;
  min-height: 360px;
}

/* Custom Accordion for FAQ */
.artisan-accordion .accordion-item {
  border: 1px solid #eeebe5;
  border-radius: var(--card-radius) !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
}

.artisan-accordion .accordion-button {
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: 500;
  color: var(--heading-text-color);
  background: #ffffff;
  padding: 20px 24px;
  box-shadow: none !important;
}

.artisan-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: var(--body-bg-color);
}

.artisan-accordion .accordion-body {
  padding: 18px 24px 22px;
  font-size: 15px;
  color: #555;
  line-height: 1.75;
}

/* ===================================================================
   GALLERY PAGE (PHOTOS & VIDEOS)
   =================================================================== */
.gallery-controls-card {
  background: var(--body-bg-color);
  border: 1px solid #e9e3d7;
  border-radius: var(--card-radius);
  padding: 16px 20px;
}

.gallery-type-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-type-btn {
  border: 1px solid #dfd9cd;
  background: #ffffff;
  color: var(--heading-text-color);
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-type-btn:hover,
.gallery-type-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
}

.gallery-tab-count {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1ede4;
  color: var(--heading-text-color);
  transition: var(--transition);
}

.gallery-type-btn:hover .gallery-tab-count,
.gallery-type-btn.active .gallery-tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.gallery-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  border: 1px solid #eeebe5;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.gallery-media-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  padding-top: 72%;
  border: none;
  background: #f4f1ea;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
}

.gallery-media-trigger img,
.gallery-video-poster-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-video-poster-fallback {
  pointer-events: none;
}

.gallery-card:hover .gallery-media-trigger img,
.gallery-card:hover .gallery-video-poster-fallback {
  transform: scale(1.06);
}

.gallery-type-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-family: var(--third-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(6px);
}

.gallery-type-badge.is-image {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-color);
}

.gallery-type-badge.is-video {
  background: rgba(33, 77, 54, 0.92);
  color: #ffffff;
}

.gallery-duration-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: rgba(20, 22, 24, 0.78);
  color: #ffffff;
  font-family: var(--third-font);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(16, 36, 26, 0.08) 0%, rgba(16, 36, 26, 0.62) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 1;
  transition: var(--transition);
}

.gallery-item[data-type="image"] .gallery-hover-overlay {
  opacity: 0;
}

.gallery-card:hover .gallery-hover-overlay,
.gallery-media-trigger:focus-visible .gallery-hover-overlay {
  opacity: 1;
}

.gallery-play-circle,
.gallery-zoom-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition);
}

.gallery-play-circle {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  padding-left: 3px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.gallery-card:hover .gallery-play-circle {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.08);
}

.gallery-zoom-circle {
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Gallery Lightbox Modal */
.gallery-lightbox-modal .modal-content {
  background: #171a18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  overflow: hidden;
  color: #ffffff;
}

.gallery-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.gallery-lightbox-type-pill {
  font-family: var(--third-font);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary-color);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
}

.gallery-lightbox-counter {
  font-family: var(--third-font);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 6px;
}

.gallery-lightbox-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-lightbox-close:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.gallery-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1210;
  padding: 18px 64px;
  min-height: 340px;
}

.gallery-lightbox-media-wrap {
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-media-wrap img,
.gallery-lightbox-media-wrap video {
  max-width: 100%;
  max-height: 68vh;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-media-wrap video {
  width: 100%;
  background: #000000;
}

.gallery-lightbox-media-wrap .ratio {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 5;
}

.gallery-lightbox-nav:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.gallery-lightbox-nav.prev {
  left: 14px;
}

.gallery-lightbox-nav.next {
  right: 14px;
}

/* ===================================================================
   RESPONSIVE OVERRIDES FOR INNER PAGES
   =================================================================== */
@media (max-width: 991.98px) {
  .inner-hero-card {
    padding: 40px 30px;
    min-height: 220px;
  }
  .inner-hero-title {
    font-size: 32px;
  }
  .pd-gallery-wrap {
    position: static;
    margin-bottom: 24px;
  }
  .pd-info-wrap {
    padding-left: 0;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 16px 10px;
  }
  .stat-box:last-child {
    border-bottom: none;
  }
  .about-floating-badge {
    position: static;
    margin-top: 16px;
    max-width: 100%;
  }
  .featured-blog-body {
    padding: 28px;
  }
}

@media (max-width: 767.98px) {
  .inner-hero-card {
    padding: 32px 22px;
  }
  .inner-hero-title {
    font-size: 26px;
  }
  .section-pad {
    padding: 42px 0;
  }
  .product-card-list {
    flex-direction: column;
  }
  .product-card-list .product-thumb-wrap {
    width: 100%;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
  }
  .pd-title {
    font-size: 26px;
  }
  .pd-trust-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 24px 20px;
  }
  .author-box-card {
    flex-direction: column;
    text-align: center;
  }
  .gallery-lightbox-stage {
    padding: 14px 12px;
    min-height: 240px;
  }
  .gallery-lightbox-nav {
    width: 36px;
    height: 36px;
  }
  .gallery-lightbox-nav.prev {
    left: 8px;
  }
  .gallery-lightbox-nav.next {
    right: 8px;
  }
}
