/* ==========================================================================
   PetroDosth — Eco-Friendly, Natural Component Stylesheet
   "Your Everyday Station Partner" | "Modern Stations. Smarter Choices."
   ========================================================================== */

/* Top Announcement & Utility Bar */
.top-bar {
  background: var(--pd-bg-mint);
  color: #334155;
  font-size: 0.82rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #d4eadb;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.top-bar-badge {
  background: var(--pd-green-tint);
  color: var(--pd-green-dark);
  border: 1px solid var(--pd-green-border);
  font-weight: 800;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.top-bar-link {
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}
.top-bar-link:hover {
  color: var(--pd-green-primary);
}

/* Main Sticky Header */
.main-header {
  background: #ffffff;
  color: var(--pd-text-heading);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(25, 35, 30, 0.04);
  border-bottom: 1px solid var(--pd-border-light);
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand-icon-wrap {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--pd-green-primary), var(--pd-green-forest));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.25);
}
.brand-text-wrap h1 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--pd-text-heading);
  letter-spacing: -0.025em;
  margin: 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.brand-text-wrap h1 span {
  color: var(--pd-green-primary);
}
.brand-text-wrap p {
  font-size: 0.68rem;
  color: var(--pd-text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}

/* Header Search */
.header-search {
  flex: 1;
  max-width: 580px;
  position: relative;
}
.search-form-wrap {
  display: flex;
  align-items: center;
  background: #f4f8f5;
  border: 1.5px solid transparent;
  border-radius: var(--radius-full);
  padding: 0.25rem 0.5rem 0.25rem 1.25rem;
  transition: all var(--transition-normal);
}
.search-form-wrap:focus-within {
  background: #ffffff;
  border-color: var(--pd-green-primary);
  box-shadow: 0 0 0 4px rgba(21, 128, 61, 0.1);
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--pd-text-heading);
  font-size: 0.92rem;
  padding: 0.55rem 0.5rem 0.55rem 0;
  outline: none;
}
.search-input::placeholder {
  color: #94a3b8;
}
.search-btn {
  background: var(--pd-green-primary);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}
.search-btn:hover {
  background: var(--pd-green-dark);
}

/* Instant Search Dropdown */
.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--pd-border-light);
  z-index: 200;
  max-height: 480px;
  overflow-y: auto;
  display: none;
}
.search-suggestions-dropdown.active {
  display: block;
  animation: fadeInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.search-suggestion-header {
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  background: #fbfbf9;
  border-bottom: 1px solid var(--pd-border-light);
}
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.search-suggestion-item:hover {
  background: #f8faf7;
}
.search-sugg-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: var(--radius-xs);
  background: #ffffff;
  border: 1px solid var(--pd-border-light);
  padding: 2px;
}
.search-sugg-info {
  flex: 1;
  min-width: 0;
}
.search-sugg-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pd-text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-sugg-meta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.15rem;
}
.search-sugg-price {
  font-weight: 700;
  color: var(--pd-green-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--pd-text-heading);
  background: #f4f8f5;
  border: 1px solid var(--pd-border-light);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-normal);
  position: relative;
}
.header-action-btn:hover {
  background: var(--pd-green-tint);
  border-color: var(--pd-green-primary);
  color: var(--pd-green-primary);
}
.action-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--pd-green-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 19px;
  height: 19px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(21, 128, 61, 0.3);
}

/* Clean Horizontal Navigation Bar */
.navbar-section {
  background: #ffffff;
  border-bottom: 1px solid var(--pd-border-light);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.main-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.35rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--pd-green-primary);
  background: var(--pd-green-tint);
}
.nav-link i.arrow-icon {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}
.nav-item:hover .nav-link i.arrow-icon {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 920px;
  background: #ffffff;
  color: var(--pd-text-heading);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--pd-border-light);
  padding: 1.75rem;
  display: none;
  z-index: 150;
}
.nav-item:hover .mega-menu-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  animation: fadeInUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-menu-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--pd-green-dark);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--pd-green-primary);
}
.mega-sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mega-sublink {
  font-size: 0.85rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}
.mega-sublink:hover {
  color: var(--pd-green-primary);
  padding-left: 4px;
}

/* OMC Filter Quick Pills */
.omc-quick-bar {
  background: var(--pd-bg-warm);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--pd-border-light);
}
.omc-pills-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.omc-pills-wrap::-webkit-scrollbar {
  display: none;
}
.omc-pill-label {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.omc-pill {
  padding: 0.35rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-full);
  background: #ffffff;
  color: #475569;
  border: 1px solid var(--pd-border-light);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}
.omc-pill:hover, .omc-pill.active {
  background: var(--pd-green-primary);
  color: #ffffff;
  border-color: var(--pd-green-primary);
  box-shadow: 0 3px 10px rgba(21, 128, 61, 0.2);
}

/* ==========================================================================
   Hero Section — Eco-Modern Zero-Shift Composition
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: linear-gradient(135deg, #fdfcf9 0%, #f4f8f5 50%, #edf4ef 100%);
  color: var(--pd-text-heading);
  overflow: hidden;
  border-bottom: 1px solid var(--pd-border-light);
}
.hero-slides-wrapper {
  display: grid;
  grid-template-areas: "slide";
  width: 100%;
}
.hero-slide {
  grid-area: slide;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  width: 100%;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--pd-green-border);
  color: var(--pd-green-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--pd-text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-title span {
  color: var(--pd-green-primary);
  position: relative;
}
.hero-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
}
.hero-trust-row span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Hero Collage Card Arrangement */
.hero-collage-wrap {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-main-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--pd-border-light);
  max-width: 340px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-main-card img {
  height: 220px;
  object-fit: contain;
  margin: 0 auto 1rem;
  transition: transform 0.4s ease;
}
.hero-main-card:hover img {
  transform: scale(1.06);
}
.hero-float-card {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--pd-border-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: floatGentle 4s ease-in-out infinite;
}
.hero-float-card.top-left {
  top: 10px;
  left: 0;
}
.hero-float-card.bottom-right {
  bottom: 10px;
  right: 0;
  animation-delay: 2s;
}
.hero-float-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  padding: 3px;
}

/* Slider Controls */
.hero-slider-arrows {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 10;
  pointer-events: none;
}
.slider-arrow-btn {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--pd-border-light);
  color: var(--pd-text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}
.slider-arrow-btn:hover {
  background: var(--pd-green-primary);
  color: #ffffff;
  border-color: var(--pd-green-primary);
}
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.65rem;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.slider-dot.active {
  width: 28px;
  background: var(--pd-green-primary);
}

/* ==========================================================================
   Shop by Category — Organic Masonry Grid
   ========================================================================== */
.section-wrapper {
  padding: 4rem 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.section-title-wrap h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pd-text-heading);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.section-title-wrap p {
  color: #64748b;
  font-size: 1rem;
  margin-top: 0.35rem;
}
.category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.category-tile-card {
  background: #ffffff;
  border: 1px solid var(--pd-border-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.category-tile-card:hover {
  transform: translateY(-5px);
  border-color: var(--pd-green-border);
  box-shadow: var(--shadow-lg);
}
.cat-tile-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: #f4f8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-normal);
}
.category-tile-card:hover .cat-tile-icon {
  background: var(--pd-green-tint);
  transform: scale(1.08);
}
.cat-tile-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.cat-tile-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pd-text-heading);
  margin-bottom: 0.35rem;
}
.cat-tile-count {
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================================================
   Station Essentials Horizontal Section
   ========================================================================== */
.essentials-scroll-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.essentials-scroll-container .product-card {
  min-width: 290px;
  max-width: 290px;
  scroll-snap-align: start;
}

/* ==========================================================================
   Dedicated "Built for Modern Stations" (Smart & Responsible Operations)
   ========================================================================== */
.modern-stations-section {
  background: var(--pd-bg-sage);
  border-top: 1px solid var(--pd-border-light);
  border-bottom: 1px solid var(--pd-border-light);
  padding: 4.5rem 0;
}
.modern-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.benefit-card {
  background: #ffffff;
  border: 1px solid var(--pd-border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-normal);
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: var(--pd-green-primary);
  box-shadow: var(--shadow-md);
}
.benefit-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--pd-green-tint);
  color: var(--pd-green-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
}
.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pd-text-heading);
  margin-bottom: 0.4rem;
}
.benefit-card p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

/* ==========================================================================
   Product Cards System — Zero-Shift & Skeleton Shimmer
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.75rem;
}
.product-card {
  background: #ffffff;
  border: 1px solid var(--pd-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-xs);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #d1ded4;
}
.card-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8faf7;
  background-image: linear-gradient(90deg, #f8faf7 0%, #edf3ee 50%, #f8faf7 100%);
  background-size: 200% 100%;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--pd-border-light);
}
.card-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.3s ease, opacity 0.25s ease;
  content-visibility: auto;
}
.product-card:hover .card-media-wrap img {
  transform: scale(1.06);
}
.card-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}
.card-wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--pd-border-light);
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  z-index: 2;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}
.card-wishlist-btn:hover, .card-wishlist-btn.active {
  background: var(--pd-ruby-light);
  color: var(--pd-ruby);
  border-color: #fecaca;
}
.card-content {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-category-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pd-text-heading);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7em;
  transition: color var(--transition-fast);
}
.card-title:hover {
  color: var(--pd-green-primary);
}
.card-rating-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}
.stars-gold {
  color: #f59e0b;
}
.card-pricing-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}
.card-price {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--pd-green-primary);
}
.card-mrp {
  font-size: 0.88rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.card-discount-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--pd-green-dark);
  background: var(--pd-green-tint);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}
.card-gst-note {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.15rem;
}
.card-actions-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* Progressive Grid Load More */
.catalog-load-more-wrap {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 0 1rem;
}
.catalog-load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Product Discovery Section
   ========================================================================== */
.discovery-section {
  background: linear-gradient(135deg, #f4f8f5, #edf4ef);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  margin: 3.5rem 0;
  text-align: center;
  border: 1px solid var(--pd-green-border);
}
.discovery-pills-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.discovery-pill {
  background: #ffffff;
  border: 1px solid var(--pd-border-light);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pd-text-heading);
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.discovery-pill:hover {
  background: var(--pd-green-primary);
  color: #ffffff;
  border-color: var(--pd-green-primary);
  transform: translateY(-2px);
}

/* ==========================================================================
   Forecourt Engineering Calculators (Bright & Modern)
   ========================================================================== */
.tools-banner {
  background: #ffffff;
  color: var(--pd-text-heading);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--pd-border-light);
  margin: 3.5rem 0;
}
.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.calc-card {
  background: var(--pd-bg-warm);
  border: 1px solid var(--pd-border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.calc-card h3 {
  font-size: 1.2rem;
  color: var(--pd-text-heading);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calc-form-group {
  margin-bottom: 1rem;
}
.calc-form-group label {
  display: block;
  font-size: 0.82rem;
  color: #475569;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.calc-input {
  width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  color: var(--pd-text-heading);
  outline: none;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}
.calc-input:focus {
  border-color: var(--pd-green-primary);
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.1);
}
.calc-result-box {
  background: var(--pd-green-tint);
  border: 1px solid var(--pd-green-border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
}
.calc-result-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--pd-green-dark);
  font-family: var(--font-heading);
}

/* ==========================================================================
   Product Detail Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(25, 35, 30, 0.6);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.active {
  display: flex;
  animation: fadeInUp 0.2s ease forwards;
}
.modal-container {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 1100px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 10;
  transition: all var(--transition-fast);
}
.modal-close-btn:hover {
  background: var(--pd-ruby-light);
  color: var(--pd-ruby);
}
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  padding: 2.5rem;
}
.gallery-main-wrap {
  position: relative;
  background: #fbfbfa;
  border-radius: var(--radius-lg);
  border: 1px solid var(--pd-border-light);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.gallery-main-img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.gallery-thumbnails-strip {
  display: flex;
  gap: 0.65rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.thumb-item {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  border: 2px solid var(--pd-border-light);
  padding: 4px;
  background: #ffffff;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.thumb-item.active, .thumb-item:hover {
  border-color: var(--pd-green-primary);
}
.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Variations Selector */
.variation-group {
  margin: 1.25rem 0;
}
.variation-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.5rem;
}
.variation-options-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.variation-btn {
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--pd-border-light);
  background: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.variation-btn.active, .variation-btn:hover {
  border-color: var(--pd-green-primary);
  background: var(--pd-green-tint);
  color: var(--pd-green-dark);
}

/* Tiered Volume Pricing Table */
.tiered-table-wrap {
  background: var(--pd-bg-warm);
  border: 1px solid var(--pd-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1.25rem 0;
}
.tiered-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.tiered-table-wrap th {
  background: #f4f8f5;
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 700;
  color: #475569;
}
.tiered-table-wrap td {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--pd-border-light);
}

/* Specs Table */
.specs-section {
  padding: 0 2.5rem 2.5rem;
  border-top: 1px solid var(--pd-border-light);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 1rem;
}
.specs-table tr:nth-child(even) {
  background: #f8fafc;
}
.specs-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  color: #64748b;
  width: 35%;
  font-weight: 600;
}
.specs-table td {
  padding: 0.75rem 1rem;
  color: var(--pd-text-heading);
  font-weight: 500;
}

/* ==========================================================================
   Slide-over Cart Drawer
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0; right: -460px;
  width: 440px;
  max-width: 100vw;
  height: 100vh;
  background: #ffffff;
  box-shadow: var(--shadow-xl);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.active {
  right: 0;
}
.cart-drawer-header {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  color: var(--pd-text-heading);
  border-bottom: 1px solid var(--pd-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}
.cart-drawer-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: #fbfbf9;
  border-radius: var(--radius-sm);
  border: 1px solid var(--pd-border-light);
  padding: 4px;
}
.cart-item-details {
  flex: 1;
}
.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--pd-text-heading);
  line-height: 1.3;
}
.cart-item-price {
  font-weight: 700;
  color: var(--pd-green-primary);
  margin-top: 0.25rem;
}
.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--pd-border-light);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  background: #ffffff;
}
.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #475569;
}
.qty-val {
  padding: 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
}
.cart-drawer-footer {
  padding: 1.5rem;
  background: var(--pd-bg-warm);
  border-top: 1px solid var(--pd-border-light);
}

/* ==========================================================================
   Admin CMS Dashboard (Bright Light Layout)
   ========================================================================== */
.admin-dashboard-view {
  background: var(--pd-bg-warm);
  min-height: 100vh;
  padding: 2rem 0;
}
.admin-header {
  background: #ffffff;
  color: var(--pd-text-heading);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border: 1px solid var(--pd-border-light);
  box-shadow: var(--shadow-xs);
}
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.kpi-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--pd-border-light);
  box-shadow: var(--shadow-xs);
}
.kpi-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pd-green-primary);
  font-family: var(--font-heading);
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.admin-table th {
  background: #f4f8f5;
  color: #334155;
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
}
.admin-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
}
.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* Sticky Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #ffffff;
  border-top: 1px solid var(--pd-border-light);
  padding: 0.5rem 0;
  z-index: 900;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}
.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
}
.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 600;
}
.mobile-nav-link.active, .mobile-nav-link:hover {
  color: var(--pd-green-primary);
}
.mobile-nav-link i {
  font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid-layout {
    grid-template-columns: 1fr;
  }
  .hero-collage-wrap {
    display: none;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .mega-menu-panel {
    width: 100vw;
    left: -1rem;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    flex-wrap: wrap;
  }
  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
    margin-top: 0.5rem;
  }
  .navbar-section {
    display: none;
  }
  .mobile-bottom-nav {
    display: block;
  }
  body {
    padding-bottom: 65px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-slider-arrows {
    display: none;
  }
}

/* Force High Z-Index for Admin Components */
#admin-login-modal {
  z-index: 3500 !important;
}
#admin-cms-container {
  z-index: 3000 !important;
}
#admin-product-edit-modal, #admin-bulk-edit-modal {
  z-index: 3600 !important;
}


/* Direct Add to Cart & Inline Stepper Styling */
.card-buy-action-wrap {
  width: 100%;
}

.card-inline-qty {
  transition: border-color var(--transition-fast);
}

.card-inline-qty:hover {
  border-color: var(--pd-green-primary);
}

.card-qty-btn:hover {
  background: var(--pd-bg-sage);
  color: var(--pd-green-primary);
}

.btn-add-to-cart-direct {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.2);
}

.btn-add-to-cart-direct:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(21, 128, 61, 0.35);
}

.btn-add-to-cart-direct:active {
  transform: scale(0.97);
}

@media (max-width: 640px) {
  .card-qty-add-row {
    flex-wrap: nowrap;
  }
  .btn-add-to-cart-direct {
    font-size: 0.78rem !important;
    padding: 0 0.5rem !important;
  }
}


/* ==========================================================================
   PETRO DOSTH — PRODUCT CATALOGUE SECTION & PRINT STYLES
   ========================================================================== */

.catalogue-cover-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 50%, #f8fafc 100%);
  border-bottom: 1.5px solid var(--pd-border-light);
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.catalogue-cover-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.catalogue-badge-group {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.catalogue-meta-box {
  background: #ffffff;
  border: 1px solid var(--pd-border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-top: 1.25rem;
}

.catalogue-actions-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.cat-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.cat-pillar-card {
  background: #ffffff;
  border: 1px solid var(--pd-border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-xs);
}

.cat-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--pd-green-primary);
  box-shadow: var(--shadow-md);
}

.cat-pillar-img-wrap {
  width: 100%;
  height: 130px;
  background: #f8faf7;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--pd-border-light);
}

.cat-pillar-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.cat-pillar-card:hover .cat-pillar-img-wrap img {
  transform: scale(1.06);
}

/* Contact Petro Dosth Section */
.contact-hub-section {
  background: #ffffff;
  border-top: 1px solid var(--pd-border-light);
  padding: 4rem 0 3.5rem;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--pd-bg-sage);
  border: 1.5px solid var(--pd-green-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pd-green-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* Print Styles for A4 Catalogue */
@media print {
  body * {
    visibility: hidden;
  }
  #catalogue-printable-view, #catalogue-printable-view * {
    visibility: visible;
  }
  #catalogue-printable-view {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #ffffff !important;
  }
  .no-print {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .catalogue-cover-wrap {
    grid-template-columns: 1fr;
  }
}


/* Same-Row Cart Item Controls & Dynamic Price Alignment */
.cart-row-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.cart-item-line-price {
  font-weight: 800;
  color: var(--pd-green-primary);
  font-size: 0.95rem;
  white-space: nowrap;
  font-family: var(--font-heading);
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
    right: -100vw;
  }
  .cart-drawer-item {
    padding: 0.85rem 1rem !important;
  }
}


/* Floating Action Buttons Container (Catalogue + WhatsApp) */
.floating-action-buttons {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 999;
}

.floating-catalogue-btn {
  background: linear-gradient(135deg, #15803d, #166534);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 6px 20px rgba(21, 128, 61, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
}

.floating-catalogue-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(21, 128, 61, 0.55);
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.floating-catalogue-btn i {
  font-size: 1.15rem;
  color: #fef08a;
}

.floating-btn-pulse {
  animation: floatGentle 3.5s ease-in-out infinite;
}

@media (max-width: 768px) {
  .floating-action-buttons {
    bottom: 78px;
    right: 16px;
    gap: 10px;
  }
  .floating-catalogue-btn {
    padding: 0.55rem 0.95rem;
    font-size: 0.78rem;
  }
}
