/* ==========================================================================
   Muscle Elite Nutrition - Master Stylesheet
   Modern High-Performance Athletic Theme
   ========================================================================== */

:root {
  /* Modern High-End Athletic Nutrition System */
  --primary-dark: #0f172a;           /* Deep Charcoal / Carbon */
  --primary-dark-hover: #1e293b;
  --accent-gold: #f59e0b;            /* Athletic Gold / Amber */
  --accent-gold-dark: #d97706;
  --accent-gold-light: #fef3c7;
  --accent-emerald: #10b981;
  
  --bg-light: #f8fafc;               /* Modern clean off-white */
  --card-bg: #ffffff;
  --text-dark: #0f172a;              /* High-contrast crisp dark */
  --text-muted: #64748b;             /* Refined slate grey */
  --border-light: #e2e8f0;           /* Clean subtle border */
  --footer-bg: #090d16;              /* Obsidian black footer */
  
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: 'Roboto Slab', Georgia, serif;
  --container-max: 1200px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px -4px rgba(15, 23, 42, 0.14);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select {
  font-family: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo-img {
  height: 48px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.site-logo-img:hover {
  opacity: 0.88;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  padding: 8px 0;
  position: relative;
  letter-spacing: 0.2px;
}

.nav-link:hover {
  color: var(--primary-dark);
}

.nav-link.active {
  color: var(--primary-dark);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-inquire-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dark);
  color: #ffffff;
  border: 1px solid var(--primary-dark);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.header-inquire-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.header-whatsapp-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
  text-decoration: none;
}

.header-whatsapp-icon-btn:hover {
  background: #20ba59;
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.catalogue-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 10px;
}

.catalogue-label {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
  margin-right: 4px;
}

.detail-catalogue-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 15px;
  margin-bottom: 25px;
}

.inquiry-qty-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.inquiry-qty-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.catalogue-btn-group {
  display: flex;
  width: 100%;
}

.btn-whatsapp-inquire {
  width: 100%;
  height: 54px;
  background: #25D366;
  color: #ffffff !important;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  letter-spacing: 0.5px;
}

.btn-whatsapp-inquire:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
}

.btn-modal-inquire {
  flex: 1 1 200px;
  height: 52px;
  background: var(--primary-dark);
  color: #ffffff;
  border: 1px solid var(--primary-dark);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-modal-inquire:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

.catalogue-trust-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalogue-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.catalogue-trust-item svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.catalogue-trust-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.catalogue-trust-item span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 1px;
}

/* Inquiry Modal */
.inquiry-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.inquiry-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.inquiry-modal {
  background: #ffffff;
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.inquiry-modal-overlay.active .inquiry-modal {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  font-size: 1.5rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 20px;
}

.modal-product-summary {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-product-summary img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--border-light);
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.modal-input, .modal-select, .modal-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--primary-dark);
  outline: none;
  transition: var(--transition);
  background: #ffffff;
  box-sizing: border-box;
}

.modal-input:focus, .modal-select:focus, .modal-textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

.btn-submit-inquiry {
  width: 100%;
  height: 48px;
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.btn-submit-inquiry:hover {
  background: var(--accent-gold);
  color: #000000;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.3);
}

/* Scroll to Top Widget */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 46px;
  height: 46px;
  background: var(--primary-dark);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-to-top:hover {
  background: var(--accent-gold);
  color: #0f172a;
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
}

.scroll-to-top:active {
  transform: translateY(0);
}

.scroll-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  transition: transform 0.22s ease;
}

.scroll-to-top:hover svg {
  transform: translateY(-2px);
}

.floating-whatsapp {
  display: none !important;
}

.cart-button {
  display: none;
}

.user-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.user-icon-btn:hover {
  color: var(--primary-dark);
  background: #f1f5f9;
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-slider-section {
  position: relative;
  width: 100%;
  background: #000000;
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  aspect-ratio: 1200 / 533;
  background: #000000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  right: 28px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent-gold);
  width: 26px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}

/* ==========================================================================
   Section Title
   ========================================================================== */
.section-header {
  text-align: center;
  padding: 60px 0 35px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.section-accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-dark));
  margin: 0 auto;
  border-radius: 4px;
}

/* ==========================================================================
   Product Grid & Cards
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}

.product-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #eef2f6;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-dark);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  border-left: 3px solid var(--accent-gold);
}

.product-img-wrapper {
  background: #fbfcfd;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 205px;
  position: relative;
  overflow: hidden;
}

.product-img-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-img-wrapper img {
  max-height: 170px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  will-change: transform;
}

.product-card:hover .product-img-wrapper img {
  transform: scale(1.08);
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.1));
}

.product-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.product-category {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 700;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title a:hover {
  color: var(--accent-gold-dark);
}

.product-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 0.78rem;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.product-rating-count {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-left: 3px;
}

.product-price {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}

.product-actions {
  margin-top: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 16px;
  background: var(--primary-dark);
  color: #ffffff;
  border: 1px solid var(--primary-dark);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card:hover .btn-primary,
.btn-primary:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
}

.btn-text-mobile {
  display: none;
}

/* ==========================================================================
   Trust Badges / Value Propositions
   ========================================================================== */
.trust-badges-section {
  padding: 60px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  transition: var(--transition);
}

.trust-badge-item:hover {
  transform: translateY(-4px);
}

.trust-badge-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.trust-badge-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.trust-badge-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.trust-badge-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--footer-bg);
  color: #e2e8f0;
  padding-top: 70px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #1e293b;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 380px;
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e0;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-subtitle-italic {
  font-style: italic;
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-top: 20px;
  font-weight: 600;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* ==========================================================================
   Slide-over Cart Drawer
   ========================================================================== */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background: #ffffff;
  z-index: 2001;
  box-shadow: -8px 0 28px rgba(15, 23, 42, 0.2);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  right: 0;
}

.drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
}

.drawer-close:hover {
  color: var(--primary-dark);
}

.drawer-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-cart-msg {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 0.95rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.cart-item-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 8px;
  padding: 6px;
  border: 1px solid var(--border-light);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 3px 0;
}

.cart-item-price {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #cbd5e0;
  background: #f8fafc;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 4px;
  font-size: 1.1rem;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-light);
  background: #f8fafc;
}

.subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.shipping-note {
  font-size: 0.82rem;
  color: #059669;
  font-weight: 700;
  margin-bottom: 16px;
}

.btn-checkout {
  width: 100%;
  padding: 16px;
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-checkout:hover {
  background: var(--accent-gold);
  color: #000000;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* ==========================================================================
   Single Product Detail View
   ========================================================================== */
.breadcrumbs {
  padding: 24px 0 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumbs a {
  color: #475569;
}

.breadcrumbs a:hover {
  color: var(--accent-gold-dark);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 30px 0 60px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-main {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.gallery-main img {
  max-height: 420px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease-out, opacity 0.25s ease;
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.gallery-zoom-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(6px);
  color: #f1f5f9;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 7px;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.25s ease;
  z-index: 5;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-zoom-badge svg {
  color: var(--accent-gold);
}

.gallery-main:hover .gallery-zoom-badge {
  opacity: 0;
}

.gallery-thumbs {
  display: flex;
  gap: 14px;
}

.gallery-thumb {
  width: 85px;
  height: 85px;
  border: 2px solid var(--border-light);
  border-radius: 10px;
  background: #ffffff;
  padding: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-thumb:hover {
  border-color: #94a3b8;
}

.gallery-thumb.active {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 2px var(--primary-dark);
}

.gallery-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.product-info-panel {
  display: flex;
  flex-direction: column;
}

.detail-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 12px;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.detail-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
}

.detail-free-shipping {
  font-size: 0.9rem;
  color: #059669;
  font-weight: 700;
}

.selector-group {
  margin-bottom: 22px;
}

.selector-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-btn {
  padding: 10px 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  transition: var(--transition);
}

.pill-btn:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
}

.pill-btn.active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 30px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: #fff;
  height: 50px;
}

.qty-btn-large {
  width: 44px;
  height: 100%;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 700;
}

.qty-input {
  width: 50px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.btn-add-detail {
  flex-grow: 1;
  height: 50px;
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  transition: var(--transition);
}

.btn-add-detail:hover {
  background: var(--accent-gold);
  color: #000000;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.safe-checkout-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
}

.safe-checkout-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.payment-badge {
  padding: 5px 12px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #334155;
  background: #f8fafc;
}

.payment-badge.visa { color: #1a1f71; }
.payment-badge.mastercard { color: #eb001b; }
.payment-badge.amex { color: #006fcf; }
.payment-badge.discover { color: #f9a01b; }

/* Product Tabs */
.product-tabs-section {
  padding-bottom: 70px;
}

.tabs-nav {
  display: flex;
  gap: 30px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.tab-link {
  padding: 14px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.tab-link:hover {
  color: var(--primary-dark);
}

.tab-link.active {
  color: var(--primary-dark);
  border-bottom-color: var(--accent-gold);
}

.tab-content {
  display: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border-light);
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
}

.tab-content.active {
  display: block;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--primary-dark);
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--accent-gold);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Mobile Navigation Drawer & Hamburger Menu
   ========================================================================== */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  transition: var(--transition);
  margin-left: 6px;
}

.mobile-menu-toggle:hover {
  background: #f8fafc;
  border-color: var(--accent-gold);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 310px;
  max-width: 86%;
  height: 100%;
  background: #ffffff;
  z-index: 2600;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.22);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-light);
  background: #f8fafc;
}

.mobile-nav-logo {
  height: 34px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.mobile-nav-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s ease;
}

.mobile-nav-close:hover {
  color: var(--primary-dark);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 14px 0;
  flex-grow: 1;
}

.mobile-nav-link {
  padding: 14px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: #f8fafc;
  color: var(--accent-gold-dark);
  padding-left: 28px;
  border-left: 4px solid var(--accent-gold);
}

.mobile-nav-actions {
  padding: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f8fafc;
}

.mobile-nav-inquire-btn {
  width: 100%;
  height: 48px;
  background: var(--primary-dark);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-nav-inquire-btn:hover {
  background: var(--accent-gold);
  color: #000000;
}

.mobile-nav-whatsapp-btn {
  width: 100%;
  height: 48px;
  background: #25D366;
  color: #ffffff !important;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav-whatsapp-btn:hover {
  background: #20ba59;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (All Screen Sizes)
   ========================================================================== */

/* 1. Laptops & Small Desktops (max-width: 1100px) */
@media (max-width: 1100px) {
  .header-nav {
    gap: 20px;
  }
  .nav-link {
    font-size: 0.9rem;
  }
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .product-detail-layout {
    gap: 36px;
  }
}

/* 2. Tablets & Mobile Landscape (max-width: 900px) */
@media (max-width: 900px) {
  .header-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .site-logo-img {
    height: 40px;
    max-width: 190px;
  }
  .header-inner {
    height: 66px;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 20px 0 40px;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .gallery-main {
    min-height: 360px;
    padding: 30px;
  }
  .gallery-main img {
    max-height: 320px;
  }
  .detail-title {
    font-size: 1.85rem;
  }
  .detail-price {
    font-size: 1.85rem;
  }
  .section-header {
    padding: 38px 0 22px;
  }
  .section-title {
    font-size: 1.85rem;
  }
}

/* 3. Phablets & Large Phones (max-width: 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }
  .site-header {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  }
  .header-inner {
    height: 60px;
  }
  .site-logo-img {
    height: 36px;
    max-width: 155px;
  }
  .header-inquire-btn {
    display: none; /* Accessible in mobile drawer */
  }
  .header-whatsapp-icon-btn {
    width: 36px;
    height: 36px;
  }
  .header-whatsapp-icon-btn svg {
    width: 18px;
    height: 18px;
  }
  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    padding: 6px;
  }
  .btn-text-desktop {
    display: none;
  }
  .btn-text-mobile {
    display: inline;
  }
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
    margin: 0 auto;
    gap: 12px;
  }
  .product-card {
    border-radius: 10px;
  }
  .product-badge {
    top: 8px;
    left: 8px;
    font-size: 0.6rem;
    padding: 3px 7px;
    letter-spacing: 0.4px;
  }
  .product-img-wrapper {
    height: 175px;
    padding: 12px 10px;
  }
  .product-img-wrapper img {
    max-height: 145px;
  }
  .product-content {
    padding: 10px 8px 12px;
  }
  .product-category {
    font-size: 0.65rem;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
  }
  .product-title {
    font-size: 0.88rem;
    line-height: 1.25;
    margin-bottom: 6px;
    min-height: 2.5em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-rating {
    font-size: 0.7rem;
    gap: 2px;
    margin-bottom: 6px;
  }
  .product-rating-count {
    font-size: 0.66rem;
    margin-left: 2px;
  }
  .product-price {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }
  .catalogue-label {
    font-size: 0.68rem;
  }
  .product-actions .btn-primary {
    height: 38px;
    padding: 8px 6px;
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .section-header {
    padding: 28px 0 16px;
  }
  .section-title {
    font-size: 1.45rem;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
  }
  .section-accent-line {
    width: 44px;
    height: 3px;
  }
  .trust-badges-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }
  .trust-badges-section {
    padding: 34px 0;
  }
  .trust-badge-item {
    padding: 8px 6px;
  }
  .trust-badge-icon {
    width: 52px;
    height: 52px;
    padding: 10px;
    margin-bottom: 10px;
  }
  .trust-badge-title {
    font-size: 0.92rem;
    margin-bottom: 3px;
  }
  .trust-badge-desc {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-brand-logo img {
    height: 36px;
  }
  .slider-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .slider-arrow.prev { left: 6px; }
  .slider-arrow.next { right: 6px; }
  .slider-dots {
    bottom: 6px;
    right: 10px;
    gap: 5px;
  }
  .slider-dot {
    width: 7px;
    height: 7px;
  }

  /* Product Details Page on Phones */
  .gallery-main {
    min-height: 290px;
    padding: 20px;
  }
  .gallery-main img {
    max-height: 260px;
  }
  .gallery-zoom-badge {
    display: none; /* Disable hover zoom label on touch screens */
  }
  .gallery-thumbs {
    gap: 10px;
  }
  .gallery-thumb {
    width: 64px;
    height: 64px;
    padding: 4px;
  }
  .detail-title {
    font-size: 1.55rem;
  }
  .detail-price {
    font-size: 1.6rem;
  }
  .pill-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .inquiry-qty-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .btn-whatsapp-inquire {
    height: 52px;
    font-size: 1rem;
    padding: 0 16px;
  }
  .catalogue-trust-card {
    padding: 16px;
    gap: 12px;
  }
  .catalogue-trust-item strong {
    font-size: 0.84rem;
  }
  .catalogue-trust-item span {
    font-size: 0.78rem;
  }
  .product-tabs-section {
    padding-bottom: 50px;
  }
  .tabs-nav {
    gap: 18px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .tab-link {
    font-size: 0.95rem;
    padding: 10px 0;
  }
  .tab-content {
    padding: 20px 16px;
    font-size: 0.92rem;
  }
  #tab-additional td {
    padding: 8px 6px;
    font-size: 0.88rem;
  }

  /* Modals */
  .inquiry-modal {
    padding: 24px 18px;
    max-width: 95%;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-title {
    font-size: 1.25rem;
  }
  .modal-subtitle {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }
  .modal-input, .modal-select, .modal-textarea {
    font-size: 16px; /* Prevents auto-zoom in iOS Safari */
    padding: 10px 12px;
  }
  .scroll-to-top {
    width: 42px;
    height: 42px;
    bottom: 20px;
    right: 18px;
  }
  .scroll-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* 4. Small Smartphones (max-width: 380px) */
@media (max-width: 380px) {
  .products-grid {
    gap: 8px;
  }
  .product-img-wrapper {
    height: 140px;
    padding: 8px 6px;
  }
  .product-img-wrapper img {
    max-height: 115px;
  }
  .product-content {
    padding: 8px 6px 10px;
  }
  .product-title {
    font-size: 0.8rem;
  }
  .product-price {
    font-size: 0.86rem;
  }
  .product-actions .btn-primary {
    height: 34px;
    font-size: 0.7rem;
    padding: 6px 4px;
  }
  .section-header {
    padding: 20px 0 12px;
  }
  .section-title {
    font-size: 1.22rem;
    margin-bottom: 6px;
  }
  .section-accent-line {
    width: 32px;
    height: 2.5px;
  }
  .trust-badges-grid {
    gap: 12px 8px;
  }
  .trust-badge-icon {
    width: 44px;
    height: 44px;
    padding: 8px;
    margin-bottom: 6px;
  }
  .trust-badge-title {
    font-size: 0.84rem;
  }
  .trust-badge-desc {
    font-size: 0.68rem;
  }
  .site-logo-img {
    height: 30px;
    max-width: 130px;
  }
  .header-inner {
    height: 54px;
  }
  .detail-title {
    font-size: 1.35rem;
  }
  .detail-price {
    font-size: 1.45rem;
  }
  .pill-btn {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .btn-whatsapp-inquire {
    height: 48px;
    font-size: 0.92rem;
    gap: 8px;
  }
  .gallery-main {
    min-height: 240px;
    padding: 14px;
  }
  .gallery-main img {
    max-height: 220px;
  }
  .gallery-thumb {
    width: 54px;
    height: 54px;
  }
  .tab-content {
    padding: 16px 12px;
  }
}
