/* ==========================================================================
   FARMMACHINERIES - PREMIER INDUSTRIAL E-COMMERCE THEME
   High-End Obsidian & Precision Gold Equipment Showroom
   ========================================================================== */

:root {
  --navy-dark: #040E1B;
  --navy-card: #08203E;
  --navy-surface: #0E2A50;
  --jd-green: #15803D;
  --jd-green-dark: #166534;
  --gold-vibrant: #F59E0B;
  --gold-amber: #D97706;
  --gold-subtle: #FEF3C7;
  --gray-bg: #F4F6F9;
  --gray-border: #E2E8F0;
  --gray-subtle: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-card: 0 2px 8px rgba(4, 14, 27, 0.06);
  --shadow-hover: 0 8px 24px rgba(4, 14, 27, 0.12);
  --shadow-modal: 0 24px 48px -12px rgba(4, 14, 27, 0.35);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

.flyer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
  background: #02070F;
  color: #94A3B8;
  font-size: 11.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-announcement-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.announcement-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.announcement-divider {
  color: #475569;
}

.top-phone-link {
  color: var(--gold-vibrant);
  font-weight: 700;
}

.top-phone-link:hover {
  text-decoration: underline;
}

.top-tiktok-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #F1F5F9;
  font-weight: 600;
}

.tiktok-badge {
  background: #DC2626;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   TOP STICKY NAVIGATION BAR
   ========================================================================== */
.top-nav-bar {
  background: var(--navy-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.top-nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.nav-brand-wrap {
  display: flex;
  align-items: center;
}

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

.brand-emblem-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-vibrant);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.brand-title-text {
  display: flex;
  flex-direction: column;
}

.brand-primary-name {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.brand-primary-name span {
  color: var(--gold-vibrant);
}

.brand-sub-name {
  color: #94A3B8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-search-wrap {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.nav-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #94A3B8;
  pointer-events: none;
}

.nav-search-input {
  width: 100%;
  padding: 8px 14px 8px 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 13px;
  outline: none;
  transition: var(--transition);
}

.nav-search-input::placeholder {
  color: #94A3B8;
}

.nav-search-input:focus {
  border-color: var(--gold-vibrant);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-track-btn, .nav-hotline-btn, .nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.nav-track-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F1F5F9;
}

.nav-track-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
}

.nav-hotline-btn {
  background: var(--gold-vibrant);
  border: 1px solid var(--gold-amber);
  color: #78350F;
}

.nav-hotline-btn:hover {
  background: #FBBF24;
}

.nav-cart-btn {
  background: var(--jd-green);
  border: 1px solid #166534;
  color: #FFFFFF;
  position: relative;
}

.nav-cart-btn:hover {
  background: #16A34A;
}

.nav-cart-badge {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

/* ==========================================================================
   HERO FLYER BANNER SECTION
   ========================================================================== */
.flyer-hero {
  padding: 16px 0 0 0;
}

.hero-banner-image-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(4, 14, 27, 0.15);
  border: 1px solid var(--gray-border);
  background: #000;
}

.hero-flyer-bg-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
}

/* ==========================================================================
   FLYER CATEGORY BAR
   ========================================================================== */
.flyer-category-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--gray-border);
  box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  margin-top: 14px;
}

.flyer-category-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid var(--gray-border);
}

.flyer-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-right: 1px solid var(--gray-border);
  cursor: pointer;
  transition: background 0.18s, border-top 0.18s;
  background: #FFFFFF;
  border-top: 3px solid transparent;
}

.flyer-cat-item:hover {
  background: var(--gray-subtle);
}

.flyer-cat-item.active {
  background: #F0FDF4;
  border-top: 3px solid var(--jd-green);
}

.cat-icon-svg {
  width: 22px;
  height: 22px;
  color: #64748B;
  flex-shrink: 0;
}

.flyer-cat-item.active .cat-icon-svg {
  color: var(--jd-green);
}

.cat-text-wrap h5 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
  white-space: nowrap;
}

.cat-text-wrap p {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ==========================================================================
   CATALOG TOOLBAR & GRID
   ========================================================================== */
.flyer-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 4px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.featured-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy-dark);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}

.flyer-header-script {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--jd-green);
  display: flex;
  align-items: center;
  gap: 10px;
}

.script-divider {
  font-style: normal;
  color: #CBD5E1;
}

.catalog-toolbar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 14px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.toolbar-count {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.toolbar-count b {
  color: var(--text-dark);
}

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

.toolbar-select {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-border);
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  outline: none;
}

.toolbar-select:focus {
  border-color: var(--jd-green);
}

/* ==========================================================================
   FLYER PRODUCT CARD (WORLD-CLASS INDUSTRIAL CARD)
   ========================================================================== */
.flyer-catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.flyer-product-card {
  background: #FFFFFF;
  border: 1px solid #DCE3EC;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.flyer-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #94A3B8;
}

.flyer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  font-size: 10.5px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge-gold-crown { background: #D97706; border: 1px solid #B45309; }
.badge-blue-star { background: #0284C7; border: 1px solid #0369A1; }
.badge-green-circle { background: #15803D; border: 1px solid #166534; }

.flyer-card-media {
  height: 180px;
  margin: 12px 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
}

.flyer-product-image {
  max-height: 165px;
  max-width: 95%;
  object-fit: cover;
  transition: var(--transition);
}

.flyer-card-media-link, .flyer-card-title-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.flyer-card-media-link:hover .flyer-product-image {
  transform: scale(1.05);
}

.flyer-card-title-link:hover .model-line {
  color: var(--jd-green);
}

.flyer-card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.flyer-card-title {
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.brand-bold {
  font-size: 12px;
  font-weight: 900;
  color: var(--jd-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.model-line {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.35;
  height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-stars-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  margin-bottom: 10px;
}

.stars-gold {
  color: #F59E0B;
  font-size: 13px;
}

.rating-val {
  font-weight: 800;
  color: var(--text-dark);
}

.review-count-pill {
  color: var(--text-muted);
}

.flyer-card-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
  flex: 1;
}

.flyer-card-bullets li {
  font-size: 12px;
  color: #475569;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.bullet-dot {
  color: var(--jd-green);
  font-weight: 900;
}

.flyer-price-row {
  border-top: 1px solid var(--gray-border);
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.price-sublabel {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.price-main {
  font-size: 19px;
  font-weight: 900;
  color: var(--navy-dark);
}

.flyer-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flyer-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background: var(--gray-subtle);
}

.stepper-btn {
  background: transparent;
  border: none;
  width: 30px;
  height: 34px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stepper-btn:hover {
  background: #E2E8F0;
}

.stepper-val {
  width: 26px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.flyer-add-cart-btn {
  flex: 1;
  background: var(--navy-dark);
  color: #FFFFFF;
  border: none;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.flyer-add-cart-btn:hover {
  background: var(--jd-green);
}

/* ==========================================================================
   TIKTOK & WORKSHOP SPOTLIGHT
   ========================================================================== */
.showroom-section {
  background: #FFFFFF;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 48px 0;
  margin-bottom: 40px;
}

.section-head-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px auto;
}

.section-head-center .sub-tag {
  color: var(--gold-amber);
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 6px;
  display: block;
}

.section-head-center h2 {
  font-size: 26px;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.section-head-center p {
  font-size: 14.5px;
  color: var(--text-muted);
}

.tiktok-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tiktok-video-card {
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.tiktok-video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-vibrant);
}

.tiktok-thumb-container {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.tiktok-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.tiktok-video-card:hover .tiktok-thumb-img {
  transform: scale(1.06);
}

.tiktok-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(220, 38, 38, 0.9);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 3px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.tiktok-badge-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(4, 14, 27, 0.85);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.tiktok-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tiktok-card-body h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.tiktok-card-body p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}

.tiktok-author-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--jd-green);
}

/* ==========================================================================
   TECHNICAL SPECIFICATION MATRIX
   ========================================================================== */
.tech-matrix-section {
  padding: 40px 0;
  margin-bottom: 40px;
}

.matrix-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-card);
  background: #FFFFFF;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.matrix-table th {
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 14px 16px;
  font-weight: 800;
  font-size: 13px;
  border-bottom: 2px solid var(--gold-vibrant);
}

.matrix-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
}

.matrix-table tr:nth-child(even) td {
  background: #F8FAFC;
}

.highlight-spec {
  background: var(--gold-subtle);
  color: #92400E;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  background: #FFFFFF;
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 48px 0;
  margin-bottom: 40px;
}

.faq-list-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-details {
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-details[open] {
  border-color: var(--navy-dark);
  background: #FFFFFF;
}

.faq-summary {
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-body-text {
  padding: 0 20px 18px 20px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
}

/* ==========================================================================
   TRUST FOOTER
   ========================================================================== */
.flyer-bottom-trust {
  background: var(--navy-dark);
  color: #94A3B8;
  padding: 48px 0 24px 0;
  font-size: 13.5px;
}

.trust-flex-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
}

.trust-brand-title {
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 900;
  margin-bottom: 12px;
}

.trust-col h4 {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.trust-col a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.trust-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

/* ==========================================================================
   DRAWERS & MODALS
   ========================================================================== */
.cart-overlay, .modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 14, 27, 0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cart-overlay.active, .modal-backdrop.active {
  display: flex;
}

.cart-drawer-window {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  animation: drawerSlide 0.25s ease-out;
}

@keyframes drawerSlide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

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

.cart-drawer-header h3 {
  font-size: 18px;
  font-weight: 800;
}

.drawer-close-btn, .modal-close-btn {
  background: #F1F5F9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #64748B;
  transition: var(--transition);
}

.drawer-close-btn:hover, .modal-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.shipping-notice-bar {
  background: #F0FDF4;
  border-bottom: 1px solid #BBF7D0;
  padding: 10px 18px;
  font-size: 12.5px;
  color: #166534;
}

.cart-items-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-line-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
}

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

.cart-item-brand {
  font-size: 11px;
  font-weight: 800;
  color: var(--jd-green);
}

.cart-item-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy-dark);
}

.cart-item-specs {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 4px;
}

.cart-qty-box button {
  background: transparent;
  border: none;
  width: 24px;
  height: 24px;
  font-weight: 800;
  cursor: pointer;
}

.cart-qty-box span {
  width: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

.remove-cart-item-btn {
  background: none;
  border: none;
  color: #EF4444;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.cart-drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--gray-border);
  background: #F8FAFC;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 6px;
}

.total-row {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy-dark);
  border-top: 1px dashed #CBD5E1;
  padding-top: 8px;
  margin-bottom: 14px;
}

.btn-checkout-trigger {
  width: 100%;
  background: var(--navy-dark);
  color: #FFFFFF;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-checkout-trigger:hover {
  background: var(--jd-green);
}

/* Modal Windows */
.checkout-modal-window {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 880px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
}

.modal-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
}

.modal-title-group h3 {
  font-size: 17px;
  font-weight: 800;
}

.modal-badge-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--jd-green);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.modal-scroll-body {
  padding: 22px;
  overflow-y: auto;
  flex: 1;
}

/* Checkout Form Layout */
.checkout-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.form-section-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 14px;
  border-bottom: 1.5px solid var(--gray-border);
  padding-bottom: 6px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--navy-dark);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.payment-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.payment-option-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  background: var(--gray-subtle);
}

.pay-text b {
  font-size: 13px;
  display: block;
}

.pay-text small {
  font-size: 11.5px;
  color: var(--text-muted);
}

.checkout-calculation-box {
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 16px;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
}

.calc-total {
  border-top: 1.5px solid #CBD5E1;
  padding-top: 8px;
  font-weight: 900;
  font-size: 16px;
  color: var(--navy-dark);
}

.btn-submit-order {
  width: 100%;
  background: var(--navy-dark);
  color: #FFFFFF;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-submit-order:hover {
  background: var(--jd-green);
}

/* Timeline in Tracking */
.timeline-stepper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
  padding-left: 10px;
}

.timeline-step {
  display: flex;
  gap: 12px;
}

.step-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #64748B;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step.done .step-icon {
  background: var(--jd-green);
  color: #FFFFFF;
}

.timeline-step.active .step-icon {
  background: var(--gold-vibrant);
  color: #78350F;
}

.step-text b {
  display: block;
  font-size: 13px;
}

.step-text span {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* App Toast */
.app-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 300;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.app-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   DEDICATED PRODUCT PAGE STYLES (NO FLOATING MODAL)
   ========================================================================== */
.product-breadcrumbs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 18px 0;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumbs-list a {
  color: var(--navy-dark);
  font-weight: 600;
}

.breadcrumbs-list a:hover {
  text-decoration: underline;
}

.bc-sep {
  color: #CBD5E1;
}

.bc-current {
  color: var(--jd-green);
  font-weight: 700;
}

.btn-back-catalog {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--navy-dark);
  transition: var(--transition);
}

.btn-back-catalog:hover {
  background: var(--gray-subtle);
  border-color: var(--navy-dark);
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}

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

.product-main-view-box {
  height: 380px;
  background: #F8FAFC;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-main-img {
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.product-main-view-box:hover .product-main-img {
  transform: scale(1.05);
}

.product-thumbs-strip {
  display: flex;
  gap: 12px;
}

.thumb-item {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gray-border);
  overflow: hidden;
  cursor: pointer;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.thumb-item:hover {
  border-color: var(--navy-dark);
}

.thumb-item.active {
  border-color: var(--jd-green);
  box-shadow: 0 0 0 2px rgba(21, 128, 61, 0.2);
}

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

.product-proof-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.proof-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
}

.proof-icon {
  font-size: 20px;
}

.proof-badge-item b {
  display: block;
  font-size: 12px;
  color: var(--navy-dark);
}

.proof-badge-item small {
  font-size: 10.5px;
  color: var(--text-muted);
}

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

.product-brand-tag-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.product-brand-pill {
  background: var(--gold-vibrant);
  color: #78350F;
  font-size: 11px;
  font-weight: 900;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}

.product-hp-pill {
  background: var(--navy-dark);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 4px;
}

.product-sku-pill {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.product-page-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.rating-sep {
  color: #CBD5E1;
}

.rating-reviews-link {
  color: var(--navy-dark);
  text-decoration: underline;
  font-weight: 600;
}

.product-price-panel {
  background: #F8FAFC;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.price-sub-caption {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.price-amount-flex {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.price-large {
  font-size: 32px;
  font-weight: 900;
  color: var(--navy-dark);
}

.price-tax-badge {
  background: #DCFCE7;
  color: #166534;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.price-incentive-line {
  font-size: 12.5px;
  color: var(--jd-green);
  font-weight: 600;
}

.product-long-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 20px;
}

.quick-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.qspec-card {
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}

.qspec-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.qspec-val {
  display: block;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-top: 2px;
}

.product-feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
  color: #334155;
}

.product-feature-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.bullet-check {
  color: var(--jd-green);
  font-weight: 900;
  font-size: 14px;
}

.product-purchase-box {
  background: #FFFFFF;
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 18px;
}

.purchase-stepper-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.qty-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-dark);
}

.purchase-btn-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
}

.btn-add-cart-large {
  background: var(--navy-dark);
  color: #FFFFFF;
  border: none;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-add-cart-large:hover {
  background: var(--jd-green);
}

.btn-buynow-large {
  background: var(--gold-vibrant);
  color: #78350F;
  border: 1px solid var(--gold-amber);
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-buynow-large:hover {
  background: #FBBF24;
}

.product-hotline-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  gap: 14px;
  flex-wrap: wrap;
}

.hotline-card-icon {
  font-size: 24px;
}

.hotline-card-text {
  flex: 1;
  font-size: 12.5px;
  color: #166534;
}

.hotline-card-text b {
  display: block;
}

.btn-hotline-wa {
  background: #16A34A;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
}

.btn-hotline-wa:hover {
  background: #15803D;
}

/* Sections on Product Page */
.section-title-wrap {
  margin-bottom: 24px;
}

.section-title-wrap .sub-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold-amber);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.section-title-wrap h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 6px;
}

.section-title-wrap p {
  font-size: 13.5px;
  color: var(--text-muted);
}

.product-tabs-section {
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-card);
}

.spec-label-col {
  width: 32%;
  background: var(--gray-subtle);
  font-size: 13px;
  color: var(--navy-dark);
}

.spec-val-col {
  font-size: 13px;
  color: #334155;
}

/* Protocol Section */
.testing-protocol-section {
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 36px;
}

.protocol-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.protocol-card {
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

.proto-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--jd-green);
  margin-bottom: 6px;
}

.protocol-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.protocol-card p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Reviews Split Grid */
.reviews-page-section {
  background: #FFFFFF;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-card);
}

.reviews-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

.reviews-score-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.score-big {
  font-size: 38px;
  font-weight: 900;
  color: var(--navy-dark);
}

.reviews-flow-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-comment-card {
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.rev-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.rev-author-name {
  font-size: 13.5px;
  color: var(--navy-dark);
}

.rev-location-tag {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-left: 6px;
}

.rev-headline-text {
  font-size: 13px;
  font-weight: 800;
  color: #1E293B;
  margin-bottom: 4px;
}

.rev-body-para {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 10px;
}

.rev-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #94A3B8;
}

.rev-helpful-btn {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 700;
  color: #334155;
}

.write-review-card {
  background: var(--gray-subtle);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.write-review-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

/* ==========================================================================
   MOBILE & RESPONSIVE FLYER VIEW (MATCHING CHERRY 2-COLUMN PREFERENCE)
   ========================================================================== */
@media (max-width: 1024px) {
  .flyer-catalog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .flyer-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .tiktok-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-flex-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-nav-flex {
    flex-wrap: wrap;
  }
  
  .nav-search-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
  }

  .nav-hotline-btn, .nav-btn-label {
    display: none;
  }

  .flyer-category-grid {
    display: flex;
    overflow-x: auto;
    border-left: none;
  }

  .flyer-cat-item {
    border-right: none;
    border-bottom: 2px solid transparent;
    padding: 10px 14px;
  }

  /* Compact 2-on-each-side card view */
  .flyer-catalog-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .flyer-product-card {
    padding: 10px 8px !important;
  }

  .flyer-card-media {
    height: 110px !important;
  }

  .flyer-product-image {
    max-height: 100px !important;
  }

  .model-line {
    font-size: 13px !important;
    height: 34px !important;
  }

  .flyer-card-bullets {
    display: none !important;
  }

  .price-main {
    font-size: 15px !important;
  }

  .flyer-stepper {
    display: none !important;
  }

  .flyer-add-cart-btn {
    padding: 8px !important;
    font-size: 11.5px !important;
  }

  .checkout-grid-layout {
    grid-template-columns: 1fr;
  }

  .tiktok-grid-container {
    grid-template-columns: 1fr;
  }

  .trust-flex-grid {
    grid-template-columns: 1fr;
  }

  /* Product Page Mobile Overrides */
  .product-showcase-grid {
    grid-template-columns: 1fr !important;
    padding: 16px !important;
    gap: 20px !important;
  }

  .product-main-view-box {
    height: 240px !important;
  }

  .protocol-steps-grid {
    grid-template-columns: 1fr !important;
  }

  .reviews-split-grid {
    grid-template-columns: 1fr !important;
  }

  .purchase-btn-actions {
    grid-template-columns: 1fr !important;
  }

  .quick-specs-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Product detail refinement: make the small-screen page read like one item,
   not a collection of competing marketplace widgets. */
.product-page-main { max-width: 1180px; }
.product-breadcrumbs-row { padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.breadcrumbs-list { gap: 7px; font-size: 12px; }
.btn-back-catalog { color: var(--forest); border-color: var(--line); background: #fff; border-radius: 3px; padding: 8px 11px; }
.product-showcase-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.product-main-view-box { height: 420px; border-radius: 4px; background: #eff1ed; border-color: var(--line); padding: 0; }
.product-main-img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.product-main-view-box:hover .product-main-img { transform: none; }
.product-thumbs-strip { gap: 8px; }
.thumb-item { width: 58px; height: 58px; border-radius: 3px; border-width: 1px; }
.product-proof-badges-grid { gap: 0; margin-top: 4px; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.proof-badge-item { gap: 8px; min-height: 58px; padding: 9px 10px; border: 0; border-radius: 0; background: #fff; }
.proof-badge-item:nth-child(odd) { border-right: 1px solid var(--line); }
.proof-badge-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.proof-icon { font-size: 16px; }
.proof-badge-item b { font-size: 11px; }
.proof-badge-item small { display: block; font-size: 9.5px; line-height: 1.25; }
.product-brand-tag-row { margin: 2px 0 12px; }
.product-brand-pill, .product-hp-pill { border-radius: 2px; }
.product-page-title { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.product-rating-row { margin-bottom: 16px; }
.product-price-panel { background: var(--sand); border: 0; border-left: 3px solid var(--forest); border-radius: 0; padding: 16px 18px; }
.price-large { font-size: 28px; }
.quick-specs-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.qspec-card { border: 0; border-radius: 0; background: #fff; padding: 10px 12px; }

/* Technical specifications should read like a spec sheet, not a grid of cards. */
#specsSection { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
#specsSection .section-title-wrap { margin-bottom: 18px; }
#specsSection .matrix-table-wrap { border: 0; border-radius: 0; overflow: visible; background: transparent; }
#specsSection .matrix-table { border-collapse: collapse; background: transparent; }
#specsSection .matrix-table td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent !important; vertical-align: top; }
#specsSection .matrix-table tr:last-child td { border-bottom: 0; }
#specsSection .spec-label-col { width: 31%; padding-right: 24px !important; background: transparent; color: var(--muted); font-size: 12px; }
#specsSection .spec-val-col { color: var(--ink); font-size: 13px; line-height: 1.45; }

@media (max-width: 768px) {
  .product-page-main { padding-top: 0 !important; }
  .product-page-main .product-breadcrumbs-row { justify-content: flex-start; padding: 12px 0; }
  .product-page-main .breadcrumbs-list { display: none; }
  .btn-back-catalog { font-size: 11px; padding: 7px 10px; }
  .product-showcase-grid { display: flex; flex-direction: column; gap: 22px !important; }
  .product-gallery-side { gap: 10px; }
  .product-main-view-box { height: min(76vw, 360px) !important; border-radius: 3px; }
  .product-thumbs-strip { display: none; }
  .product-proof-badges-grid { display: none; }
  .product-info-side { padding: 0 2px; }
  .product-brand-tag-row { margin-bottom: 9px; }
  .product-sku-pill { display: none; }
  .product-page-title { font-size: 31px; margin-bottom: 10px; }
  .product-rating-row { gap: 6px; font-size: 12px; margin-bottom: 14px; }
  .rating-sep { display: none; }
  .product-price-panel { margin-bottom: 16px; padding: 14px; }
  .price-large { font-size: 25px; }
  .price-tax-badge { font-size: 9px; }
  .product-long-desc { font-size: 13px; margin-bottom: 16px; }
  .quick-specs-grid { grid-template-columns: repeat(2, 1fr) !important; }
  #specsSection .matrix-table td { padding: 11px 0; }
  #specsSection .spec-label-col { width: 36%; padding-right: 14px !important; font-size: 10px; }
  #specsSection .spec-val-col { font-size: 11.5px; }
}

/* ========================================================================
   2026 SHOWROOM REFINEMENT
   A quieter visual system: product first, proof second, no visual theatre.
   ======================================================================== */
:root {
  --ink: #17211f;
  --forest: #1e4d3d;
  --forest-deep: #14362b;
  --sand: #f5f2ea;
  --line: #d9ded8;
  --muted: #65716d;
  --navy-dark: var(--ink);
  --jd-green: var(--forest);
  --gray-bg: #f7f7f3;
  --gray-border: var(--line);
  --gray-subtle: #fbfbf8;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-card: 0 1px 2px rgba(20, 40, 31, .06);
  --shadow-hover: 0 10px 28px rgba(20, 40, 31, .12);
}

body { color: var(--ink); background: var(--gray-bg); }
.flyer-container { max-width: 1280px; padding: 0 24px; }

.top-announcement-bar { background: var(--forest-deep); padding: 8px 0; color: #dce5dd; font-size: 12px; }
.top-announcement-flex { gap: 16px; }
.top-phone-link { color: #fff; }
.announcement-right { color: #c9d5cd; }

.top-nav-bar { background: #fff; border-bottom: 1px solid var(--line); box-shadow: none; padding: 15px 0; }
.brand-emblem-img { width: 40px; height: 40px; border: 0; box-shadow: none; }
.brand-primary-name { color: var(--ink); font-size: 16px; letter-spacing: .1px; }
.brand-primary-name span { color: var(--forest); }
.brand-sub-name { color: var(--muted); font-size: 10px; letter-spacing: .55px; }
.nav-search-wrap { max-width: 390px; }
.nav-search-input { color: var(--ink); background: #f3f4ef; border: 1px solid transparent; border-radius: 4px; padding: 10px 14px 10px 36px; }
.nav-search-input::placeholder { color: #76807c; }
.nav-search-input:focus { border-color: var(--forest); background: #fff; box-shadow: 0 0 0 3px rgba(30,77,61,.10); }
.nav-search-icon { color: var(--forest); }
.nav-right-actions { gap: 8px; }
.nav-track-btn, .nav-hotline-btn, .nav-cart-btn { border-radius: 4px; padding: 9px 12px; font-size: 12px; }
.nav-track-btn { color: var(--forest); background: #fff; border-color: var(--line); }
.nav-hotline-btn { color: #fff; background: var(--forest); border-color: var(--forest); }
.nav-cart-btn { color: var(--ink); background: #f0f2ed; border-color: #f0f2ed; }
.nav-cart-badge { background: var(--forest); }

.flyer-hero { padding: 0; }
.hero-banner-image-container { max-width: none; border: 0; border-radius: 0; box-shadow: none; height: min(560px, 57vw); position: relative; }
.hero-flyer-bg-img { height: 100%; max-height: none; filter: saturate(.72) contrast(.95) brightness(.66); }
.hero-banner-image-container::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,31,25,.78) 0%, rgba(12,31,25,.34) 49%, rgba(12,31,25,.08) 100%); }
.hero-copy { position: absolute; z-index: 1; top: 50%; left: max(24px, calc((100% - 1232px) / 2)); transform: translateY(-50%); color: #fff; max-width: 535px; }
.hero-eyebrow { color: #d8d5aa; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; margin-bottom: 15px; }
.hero-copy h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(40px, 5.1vw, 72px); font-weight: 400; line-height: 1.02; letter-spacing: -.04em; margin-bottom: 18px; }
.hero-copy > p:not(.hero-eyebrow) { max-width: 410px; font-size: 16px; line-height: 1.55; color: #e6ebe5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-primary-action, .hero-secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 3px; font-size: 13px; font-weight: 750; }
.hero-primary-action { color: var(--forest-deep); background: #e3dfac; }
.hero-secondary-action { color: #fff; border: 1px solid rgba(255,255,255,.6); }

.flyer-category-bar { margin: 0; background: #fff; box-shadow: none; border-bottom: 1px solid var(--line); }
.flyer-category-grid { border: 0; grid-template-columns: repeat(7, 1fr); }
.flyer-cat-item { min-height: 82px; justify-content: center; border: 0; border-bottom: 2px solid transparent; padding: 13px 8px; }
.flyer-cat-item:hover { background: #f6f7f3; }
.flyer-cat-item.active { background: #f6f7f3; border-top: 0; border-bottom-color: var(--forest); }
.cat-icon-svg { width: 19px; height: 19px; color: var(--forest); }
.cat-text-wrap h5 { font-size: 12px; font-weight: 750; }
.cat-text-wrap p { font-size: 10px; }

.flyer-section-header { padding: 50px 0 4px; }
.featured-title { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
.flyer-header-script { color: var(--muted); font-size: 12px; font-weight: 600; }
.catalog-toolbar-row { padding: 16px 0 20px; border-bottom: 1px solid var(--line); }
.toolbar-count { font-size: 12px; letter-spacing: .1px; }
.toolbar-select { border-radius: 3px; color: var(--ink); padding: 9px 11px; }

.flyer-catalog-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 72px; }
.flyer-product-card { padding: 0; border: 1px solid var(--line); border-radius: 4px; box-shadow: none; overflow: hidden; }
.flyer-product-card:hover { transform: translateY(-3px); border-color: #aab6ae; box-shadow: var(--shadow-hover); }
.flyer-badge { top: 12px; left: 12px; border: 0; border-radius: 2px; box-shadow: none; background: var(--forest) !important; color: #fff; font-size: 9px; letter-spacing: .7px; }
.flyer-card-media { height: 210px; margin: 0; border-radius: 0; background: #eceee9; }
.flyer-product-image { width: 100%; height: 100%; max-height: none; max-width: none; object-fit: cover; }
.flyer-card-info { padding: 15px 15px 0; }
.brand-bold { font-size: 10px; color: var(--forest); letter-spacing: .8px; }
.model-line { height: 43px; margin-top: 4px; font-size: 14px; font-weight: 700; line-height: 1.38; }
.card-stars-row { margin: 10px 0 13px; font-size: 11px; }
.stars-gold { color: #b57a14; }
.flyer-card-bullets { display: none; }
.flyer-price-row { margin: 0; border-top: 1px solid var(--line); padding: 13px 0; }
.price-main { color: var(--ink); font-size: 18px; }
.flyer-card-actions { padding-bottom: 15px; }
.flyer-stepper { border-radius: 3px; }
.flyer-add-cart-btn { border-radius: 3px; background: var(--forest); font-size: 12px; }
.flyer-add-cart-btn:hover { background: var(--forest-deep); }

/* These sections diluted the catalogue with invented-looking content. Keep only useful buying support. */
.showroom-section, .tech-matrix-section { display: none; }
.guarantee-section { padding: 54px 0 !important; background: var(--sand) !important; border-color: var(--line) !important; }
.guarantee-section .flyer-container > div { gap: 0 !important; }
.guarantee-section .flyer-container > div > div { padding: 0 24px !important; border-right: 1px solid var(--line); text-align: left !important; }
.guarantee-section .flyer-container > div > div:last-child { border-right: 0; }
.faq-section { padding: 70px 0 !important; background: #fff !important; }
.faq-section .section-head-center { text-align: left; margin: 0 0 26px; }
.faq-section .section-head-center h2 { font-family: Georgia, 'Times New Roman', serif; text-transform: none; font-weight: 400; font-size: 34px; }
.flyer-bottom-trust { background: var(--forest-deep); }

@media (max-width: 900px) {
  .flyer-catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-hotline-btn { display: none; }
  .hero-banner-image-container { height: 520px; }
  .flyer-category-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .flyer-container { padding: 0 16px; }
  .top-announcement-bar { font-size: 10px; }
  .announcement-right, .announcement-divider { display: none; }
  .top-nav-bar { padding: 10px 0; }
  .nav-brand-link { gap: 8px; }
  .brand-emblem-img { width: 34px; height: 34px; }
  .brand-primary-name { font-size: 13px; }
  .brand-sub-name { font-size: 8px; }
  .nav-right-actions { margin-left: auto; }
  .nav-track-btn { display: none; }
  .nav-cart-btn { padding: 8px 9px; }
  .nav-search-wrap { order: 3; width: 100%; max-width: none; }
  .hero-banner-image-container { height: 470px; }
  .hero-copy { left: 24px; right: 24px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-copy > p:not(.hero-eyebrow) { font-size: 14px; }
  .flyer-category-grid { display: flex; overflow-x: auto; }
  .flyer-cat-item { min-width: 150px; min-height: 68px; justify-content: flex-start; }
  .flyer-section-header { padding-top: 36px; }
  .featured-title { font-size: 30px; }
  .flyer-header-script { display: none; }
  .flyer-catalog-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; margin-bottom: 48px; }
  .flyer-product-card { padding: 0 !important; }
  .flyer-card-media { height: 142px !important; }
  .flyer-card-info { padding: 11px 10px 0; }
  .model-line { font-size: 12px !important; height: 38px !important; }
  .card-stars-row { margin: 8px 0 10px; }
  .price-main { font-size: 15px !important; }
  .flyer-price-row { padding: 10px 0; }
  .flyer-add-cart-btn { padding: 9px 6px !important; }
  .guarantee-section .flyer-container > div { grid-template-columns: 1fr 1fr !important; }
  .guarantee-section .flyer-container > div > div { padding: 14px !important; }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   Sits below the modal layer (z-index 200) so dialogs always cover it.
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #06331a;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(6, 51, 26, 0.28);
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(6, 51, 26, 0.34);
}

.wa-float:active { transform: translateY(0); }

.wa-float:focus-visible {
  outline: 3px solid #06331a;
  outline-offset: 3px;
}

.wa-float svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.wa-float-label { white-space: nowrap; }

@media (max-width: 768px) {
  .wa-float {
    right: 14px;
    bottom: 14px;
    padding: 14px;
    gap: 0;
  }
  .wa-float-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}

/* ==========================================================================
   RESPONSIVE FORM + PANEL LAYOUT
   These live in CSS rather than inline styles so the mobile rules can win.
   ========================================================================== */
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.tracking-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 12.5px;
  margin-bottom: 18px;
  background: #f8fafc;
  padding: 10px;
  border-radius: 6px;
}

@media (max-width: 620px) {
  .form-row-2,
  .tracking-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .modal-backdrop { padding: 10px; }

  #checkoutModal .modal-window { max-height: 94vh !important; }

  #checkoutModal .modal-scroll-body { padding: 16px !important; }

  /* Form controls must stay at 16px or iOS Safari zooms the viewport on focus */
  #checkoutModal input,
  #checkoutModal select,
  #checkoutModal textarea {
    font-size: 16px !important;
  }

  #checkoutModal label { font-size: 12.5px !important; }
}

@media (max-width: 480px) {
  .hero-banner-image-container { height: 380px; }
  .hero-copy h1 { font-size: 30px; }
  .hero-copy > p:not(.hero-eyebrow) { font-size: 13.5px; }
  .featured-title { font-size: 26px; }
  .flyer-cat-item { min-width: 134px; min-height: 62px; }
  .flyer-card-media { height: 124px !important; }
  .model-line { font-size: 11.5px !important; height: 34px !important; }
  .price-main { font-size: 14px !important; }
}
