/* =========================================================
   1. STRICT ANTI-COPY, ANTI-DRAG & MEDIA SHIELD
   ========================================================= */
* {
  -webkit-user-drag: none !important;
  -khtml-user-drag: none !important;
  -moz-user-drag: none !important;
  -o-user-drag: none !important;
  user-drag: none !important;
}

body,
img,
video,
canvas,
svg {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

/* Screen Capture & Print Screen Mitigation */
@media print {
  body {
    display: none !important;
  }
}

/* Anti-Screenshot, Tab-Switch & Window Blur Filter */
body.window-blur {
  filter: blur(20px) grayscale(100%) !important;
  transition: filter 0.08s ease-in-out;
  pointer-events: none !important;
}

/* Re-enable input & form interactions so search / quote basket works smoothly */
input,
textarea,
select,
button,
a,
.cursor-pointer,
[onclick] {
  -webkit-user-select: auto !important;
  user-select: auto !important;
  pointer-events: auto !important;
}

/* ===== MODERN INDUSTRIAL DESIGN SYSTEM (ANGELS INSTRUMENTS 2026) ===== */
:root {
  /* Official Brand Signature Identity */
  --brand-green: #357a20;
  --brand-green-hover: #296019;
  --brand-green-light: #489e2c;
  --brand-green-subtle: #f0f7ec;
  --brand-green-border: #d4ebd0;

  --brand-gold: #c59b3f;
  --brand-gold-dark: #9e7a2b;
  --brand-gold-subtle: #fcf8ee;
  --brand-gold-border: #f1e2be;

  --brand-slate: #1e262c;
  --brand-charcoal: #0f172a;

  /* Neutral Palette */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-subtle: #f8fafc;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --border-subtle: #f1f5f9;
  --border-regular: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-focus: #357a20;

  /* Status Colors */
  --success: #16a34a;
  --success-bg: #dcfce7;
  --error: #dc2626;
  --error-bg: #fee2e2;
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;

  /* Spatial & Elevation */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -8px rgba(15, 23, 42, 0.14);
  --shadow-modal: 0 30px 80px -10px rgba(15, 23, 42, 0.28);

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-page);
  color: var(--text-main);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: radial-gradient(1400px 800px at 50% 0%, rgba(53, 122, 32, 0.04), transparent 75%), var(--bg-page);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

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

:focus-visible {
  outline: 2px solid var(--brand-green);
  outline-offset: 2px;
}

/* Container */
.container {
  width: min(1360px, 94%);
  margin: 0 auto;
}

/* ===== STICKY EXECUTIVE HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-regular);
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  transition: var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08));
}

.brand-text h1 {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand-charcoal);
  line-height: 1.1;
}

.brand-text p {
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 1px;
}

/* Header Search Bar */
.header-search-wrap {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header-search-input {
  width: 100%;
  height: 42px;
  padding: 0 42px 0 38px;
  background: var(--bg-muted);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.header-search-input:focus {
  background: #ffffff;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(53, 122, 32, 0.14);
  outline: none;
}

.header-search-input::placeholder {
  color: var(--text-light);
}

.search-icon-left {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  padding: 4px;
  border-radius: 50%;
  display: none;
  font-size: 12px;
}

.search-clear-btn:hover {
  color: var(--text-main);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* View Switcher */
.view-switcher {
  display: flex;
  background: var(--bg-muted);
  padding: 3px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-regular);
}

.view-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.view-btn:hover {
  color: var(--text-main);
}

.view-btn[aria-selected="true"] {
  background: #ffffff;
  color: var(--brand-green);
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* WhatsApp Quick Button */
.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.25);
  transition: var(--transition-fast);
}

.whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(37, 211, 102, 0.35);
}

/* Quote Basket Button */
.basket-trigger-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-hover));
  color: #ffffff;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(53, 122, 32, 0.28);
  transition: var(--transition-fast);
}

.basket-trigger-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(53, 122, 32, 0.35);
}

.basket-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--brand-green);
  font-size: 11px;
  font-weight: 700;
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 44px 0 28px;
  text-align: center;
  position: relative;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--brand-green-subtle);
  border: 1px solid var(--brand-green-border);
  border-radius: var(--radius-full);
  color: var(--brand-green);
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-kicker i {
  font-size: 8px;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4.4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--brand-charcoal);
  line-height: 1.15;
  margin-bottom: 14px;
}

.hero-description {
  max-width: 780px;
  margin: 0 auto 28px;
  font-size: 15.5px;
  color: var(--text-body);
  line-height: 1.65;
}

/* Hero Stats Bar */
.hero-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  padding: 16px 28px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-charcoal);
  letter-spacing: 0.02em;
}

.hero-stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border-regular);
}

/* ===== CATEGORY PILL RIBBON ===== */
.category-ribbon-wrap {
  margin-top: 28px;
  position: sticky;
  top: 61px;
  z-index: 90;
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-regular);
}

.category-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 0;
}

.category-ribbon::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.cat-pill:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  transform: translateY(-1px);
}

.cat-pill.active {
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-hover));
  border-color: var(--brand-green);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(53, 122, 32, 0.25);
}

.cat-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  background: var(--bg-muted);
  color: var(--text-muted);
}

.cat-pill.active .cat-pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ===== CATALOG TOOLBAR ===== */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0 16px;
}

.results-count-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.results-count-badge strong {
  color: var(--brand-charcoal);
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.select-styled {
  height: 38px;
  padding: 0 32px 0 14px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-body);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}

.select-styled:focus {
  border-color: var(--brand-green);
  outline: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
  background: #ffffff;
}

/* ===== VIEW 1: EXECUTIVE SHOWCASE VIEW ===== */
.showcase-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 60px;
}

.showcase-card {
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  transition: var(--transition-base);
}

.showcase-card:hover {
  border-color: var(--brand-green-border);
  box-shadow: var(--shadow-lg);
}

.showcase-stage {
  background: radial-gradient(circle at center, #ffffff 30%, #f8fafc 100%);
  border-right: 1px solid var(--border-regular);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.showcase-img-wrap {
  width: 100%;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  overflow: hidden;
}

.showcase-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 14px 20px rgba(15, 23, 42, 0.12));
  transition: transform var(--transition-smooth);
}

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

.showcase-badges-float {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-muted);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.badge-pill.gold {
  background: var(--brand-gold-subtle);
  border-color: var(--brand-gold-border);
  color: var(--brand-gold-dark);
}

.badge-pill.green {
  background: var(--brand-green-subtle);
  border-color: var(--brand-green-border);
  color: var(--brand-green);
}

.showcase-content {
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-header {
  margin-bottom: 18px;
}

.showcase-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.showcase-cat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.showcase-model-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--bg-muted);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-sm);
  color: var(--brand-charcoal);
}

.showcase-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--brand-charcoal);
  line-height: 1.25;
  margin-bottom: 12px;
}

.showcase-desc {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Variant Selector Chips */
.showcase-variants-block {
  margin-bottom: 22px;
  padding: 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-md);
}

.variants-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.variant-chips-wrap {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.variant-chip {
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition-fast);
}

.variant-chip:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.variant-chip.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
  font-weight: 600;
}

/* Features List */
.showcase-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  gap: 8px;
}

.showcase-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
}

.showcase-features-list li i {
  color: var(--brand-green);
  margin-top: 4px;
  font-size: 12px;
  flex-shrink: 0;
}

/* Actions Row */
.showcase-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border-regular);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-hover));
  color: #ffffff;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 10px rgba(53, 122, 32, 0.25);
  transition: var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(53, 122, 32, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.btn-outline:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.btn-basket-toggle {
  height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-muted);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-md);
  color: var(--text-body);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-fast);
}

.btn-basket-toggle:hover {
  background: var(--brand-green-subtle);
  border-color: var(--brand-green-border);
  color: var(--brand-green);
}

.btn-basket-toggle.in-basket {
  background: var(--brand-green-subtle);
  border-color: var(--brand-green);
  color: var(--brand-green);
  font-weight: 600;
}

/* ===== VIEW 2: MODERN CATALOG GRID VIEW ===== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
  padding-bottom: 60px;
}

.product-grid-card {
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-base);
  position: relative;
}

.product-grid-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-green-border);
  box-shadow: var(--shadow-lg);
}

.grid-card-thumb-wrap {
  aspect-ratio: 4/3;
  background: radial-gradient(circle at center, #ffffff 40%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-regular);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.grid-card-thumb-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.1));
  transition: transform var(--transition-smooth);
}

.product-grid-card:hover .grid-card-thumb-wrap img {
  transform: scale(1.1);
}

.grid-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.grid-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.grid-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.grid-cat-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.grid-model-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 2px 7px;
  border-radius: var(--radius-sm);
}

.grid-product-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--brand-charcoal);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.grid-desc-snippet {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.grid-variant-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-gold-dark);
  margin-bottom: 14px;
}

.grid-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.grid-action-link {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-green);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
}

.grid-action-link:hover {
  color: var(--brand-green-hover);
  transform: translateX(2px);
}

.grid-basket-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 1px solid var(--border-regular);
  color: var(--text-muted);
  font-size: 12px;
  transition: var(--transition-fast);
}

.grid-basket-btn:hover {
  background: var(--brand-green-subtle);
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.grid-basket-btn.in-basket {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
}

/* ===== VIEW 3: ENGINEERING SPEC MATRIX (TABLE VIEW) ===== */
.table-view-container {
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 60px;
}

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

.spec-matrix-table th {
  background: var(--bg-muted);
  padding: 14px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-regular);
  white-space: nowrap;
}

.spec-matrix-table td {
  padding: 16px 18px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.spec-matrix-table tr:hover td {
  background: var(--bg-subtle);
}

.table-model-cell {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  color: var(--brand-charcoal);
  white-space: nowrap;
}

.table-name-cell {
  font-weight: 600;
  color: var(--brand-charcoal);
  min-width: 220px;
}

.table-cat-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand-green);
  white-space: nowrap;
}

.table-specs-summary {
  font-size: 12.5px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.45;
}

.table-actions-cell {
  white-space: nowrap;
  text-align: right;
}

/* ===== CATEGORY INTERSTITIAL BANNERS ===== */
.category-showcase-banner {
  background: linear-gradient(135deg, #1e262c, #0f172a);
  border: 1px solid rgba(197, 155, 63, 0.35);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  margin: 16px 0;
}

.banner-text-block h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  margin: 6px 0;
  color: #ffffff;
}

.banner-text-block p {
  color: #cbd5e1;
  font-size: 14px;
  max-width: 700px;
  line-height: 1.6;
}

.banner-kicker-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-gold);
}

.banner-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ===== INTERACTIVE PRODUCT DETAIL MODAL ===== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-xl);
  width: min(1080px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
  overflow: hidden;
  transform: scale(0.96) translateY(14px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 18px 28px;
  border-bottom: 1px solid var(--border-regular);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #ffffff;
  flex-shrink: 0;
}

.modal-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.modal-breadcrumbs strong {
  color: var(--brand-green);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--bg-page);
  color: var(--text-main);
}

.modal-scrollable-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px 36px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

/* Modal Left: Product Preview & Specs */
.modal-preview-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-zoom-stage {
  background: radial-gradient(circle at center, #ffffff 40%, #f8fafc 100%);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.modal-zoom-stage img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.12));
  transition: transform var(--transition-base);
}

.modal-zoom-stage:hover img {
  transform: scale(1.3);
}

.zoom-hint-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  pointer-events: none;
}

.modal-specs-table-wrap {
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.modal-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.modal-specs-table tr:nth-child(even) {
  background: var(--bg-subtle);
}

.modal-specs-table td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.modal-specs-table td:first-child {
  font-weight: 600;
  color: var(--brand-charcoal);
  width: 42%;
  border-right: 1px solid var(--border-subtle);
}

/* Modal Right: Form & Controls */
.modal-form-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-product-title {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--brand-charcoal);
  line-height: 1.25;
}

.modal-quote-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.modal-quote-box h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-label {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: var(--text-main);
  transition: var(--transition-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--brand-green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(53, 122, 32, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.form-feedback-msg {
  font-size: 13px;
  font-weight: 500;
  min-height: 1.5em;
  margin-top: 8px;
}

/* ===== MULTI-ITEM QUOTE BASKET DRAWER ===== */
.basket-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1010;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.basket-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.basket-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 92vw);
  background: #ffffff;
  z-index: 1020;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.basket-drawer.open {
  transform: translateX(0);
}

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

.basket-header h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.basket-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.basket-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--bg-muted);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-md);
}

.basket-item-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 4px;
  border: 1px solid var(--border-regular);
}

.basket-item-info {
  flex: 1;
  min-width: 0;
}

.basket-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-charcoal);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.basket-item-model {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--text-muted);
}

.basket-item-remove {
  color: var(--text-light);
  padding: 6px;
  font-size: 14px;
}

.basket-item-remove:hover {
  color: var(--error);
}

.basket-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-regular);
  background: var(--bg-subtle);
}

/* ===== CORPORATE FOOTER ===== */
.site-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-regular);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-charcoal);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links-list a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--brand-green);
}

.footer-bottom-bar {
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Floating Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--brand-charcoal);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
}

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

/* Responsive */
@media (max-width: 960px) {
  .showcase-card {
    grid-template-columns: 1fr;
  }
  .showcase-stage {
    border-right: 0;
    border-bottom: 1px solid var(--border-regular);
    padding: 24px;
  }
  .showcase-img-wrap {
    height: 260px;
  }
  .modal-scrollable-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-stats-row {
    gap: 20px;
  }
  .hero-stat-divider {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-search-wrap {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .view-btn span {
    display: none;
  }
  .view-btn {
    padding: 6px 10px;
  }
  .whatsapp-btn span, .basket-trigger-btn span {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .category-showcase-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===== 2026 ULTRA-SMOOTH EDITORIAL FLIP BOOK DESIGN SYSTEM ===== */
.book-view-container {
  padding-bottom: 60px;
  position: relative;
}

/* Book Top Control Bar */
.book-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}

.book-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  color: var(--text-body);
}

.book-status-pill i {
  color: var(--brand-green);
  font-size: 16px;
}

.book-status-pill #bookPageIndicator {
  font-weight: 700;
  color: var(--brand-charcoal);
  background: var(--bg-muted);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-regular);
}

.book-status-divider {
  color: var(--border-strong);
}

.book-status-pill #bookCurrentTitle {
  font-weight: 600;
  color: var(--text-muted);
  max-width: 440px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.book-jump-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.book-jump-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.book-cat-select {
  height: 36px;
  font-size: 12.5px;
  padding-right: 30px;
}

.book-fullscreen-btn {
  height: 36px;
  font-size: 12.5px;
}

/* Book Stage Plinth */
.book-stage {
  position: relative;
  width: 100%;
  padding: 24px 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2600px;
  -webkit-perspective: 2600px;
  user-select: none;
}

.book-stage.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: radial-gradient(circle at center, #1e262c 20%, #0f172a 100%);
  padding: 40px 20px;
  margin: 0;
  overflow-y: auto;
}

/* Floating Navigation Arrows */
.book-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-regular);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  color: var(--brand-charcoal);
  display: grid;
  place-items: center;
  font-size: 18px;
  z-index: 60;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.book-arrow-btn:hover:not(:disabled) {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 14px 32px rgba(53, 122, 32, 0.35);
}

.book-arrow-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
}

.book-arrow-btn.prev {
  left: 8px;
}

.book-arrow-btn.next {
  right: 8px;
}

/* Ambient Book Spine Underglow & Plinth Shadow */
.book-stage::after {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 6%;
  right: 6%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.06) 50%, transparent 75%);
  filter: blur(16px);
  z-index: 1;
  pointer-events: none;
}

/* The Open Book Physical Container */
.book-wrapper {
  position: relative;
  width: min(1240px, 94%);
  aspect-ratio: 1.55 / 1;
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #ffffff;
  border-radius: 14px;
  box-shadow:
    0 1px 3px rgba(15, 23, 42, 0.05),
    0 18px 45px -10px rgba(15, 23, 42, 0.16),
    0 34px 80px -15px rgba(15, 23, 42, 0.14);
  z-index: 5;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  border: 1px solid rgba(197, 155, 63, 0.3);
}

/* Luxury Center Binding Spine Line */
.book-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 48px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.14) 0%,
    rgba(15, 23, 42, 0.05) 25%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(15, 23, 42, 0.05) 75%,
    rgba(15, 23, 42, 0.14) 100%
  );
  z-index: 12;
  pointer-events: none;
}

/* Metallic Champagne-Gold Bookmark Ribbon */
.book-ribbon-bookmark {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 58px;
  background: linear-gradient(180deg, #d4aa48 0%, #a8812c 85%, #85641e 100%);
  border-radius: 3px 3px 0 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  z-index: 30;
  pointer-events: none;
}

.book-ribbon-bookmark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-bottom: 9px solid #ffffff;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
}

/* Individual Pages */
.book-page {
  position: relative;
  height: 100%;
  padding: 34px 42px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  overflow: hidden;
  box-sizing: border-box;
}

.book-page.left {
  border-radius: 14px 0 0 14px;
  border-right: 1px solid var(--border-subtle);
  background: linear-gradient(90deg, #fafbfd 0%, #ffffff 8%);
}

.book-page.right {
  border-radius: 0 14px 14px 0;
  border-left: 1px solid var(--border-subtle);
  background: linear-gradient(270deg, #fafbfd 0%, #ffffff 8%);
}

/* Left Page Interior: Studio Showcase */
.book-page-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.book-cat-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green);
}

.book-model-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-muted);
  border: 1px solid var(--border-regular);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  color: var(--brand-charcoal);
}

.book-photo-stage {
  flex: 1;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(circle at center, #ffffff 45%, #f8fafc 100%);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.03);
}

.book-photo-stage img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(15, 23, 42, 0.14));
  transition: transform var(--transition-smooth);
}

.book-photo-stage:hover img {
  transform: scale(1.08);
}

.book-seal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--brand-gold-border);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-gold-dark);
  box-shadow: var(--shadow-xs);
}

.book-left-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

/* Right Page Interior: Monograph & Specs */
.book-right-header {
  margin-bottom: 10px;
}

.book-product-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 700;
  color: var(--brand-charcoal);
  line-height: 1.25;
  margin-bottom: 6px;
}

.book-gold-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold), transparent);
  margin-bottom: 10px;
}

.book-overview-text {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Book Spec Table */
.book-specs-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
}

.book-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.book-specs-table tr:nth-child(even) {
  background: #ffffff;
}

.book-specs-table td {
  padding: 6px 10px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.book-specs-table td:first-child {
  font-weight: 600;
  color: var(--brand-charcoal);
  width: 44%;
  border-right: 1px solid var(--border-subtle);
}

/* Book Features List */
.book-features-box {
  margin-bottom: 12px;
}

.book-features-list {
  list-style: none;
  display: grid;
  gap: 5px;
}

.book-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.4;
}

.book-features-list li i {
  color: var(--brand-green);
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* Book Variants */
.book-variants-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.book-variant-pill {
  padding: 3px 9px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition-fast);
}

.book-variant-pill:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.book-variant-pill.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #ffffff;
  font-weight: 600;
}

/* Book Action Row */
.book-actions-row {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-regular);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.book-action-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.book-btn-basket {
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
}

.book-btn-whatsapp {
  height: 36px;
  padding: 0 12px;
  background: #25d366;
  color: #ffffff;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.book-btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.book-btn-modal {
  height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

.book-right-footer {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ===== GPU-ACCELERATED HARDWARE 3D TURNING LEAF (ZERO LAG) ===== */
.book-flip-leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 50%;
  transform-origin: left center;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  z-index: 25;
  pointer-events: none;
  visibility: hidden;
  will-change: transform;
}

.book-flip-leaf.flipping-next {
  visibility: visible;
  animation: flipNextAnim 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.book-flip-leaf.flipping-prev {
  visibility: visible;
  animation: flipPrevAnim 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes flipNextAnim {
  0% {
    transform: rotateY(0deg) translateZ(0);
  }
  100% {
    transform: rotateY(-180deg) translateZ(0);
  }
}

@keyframes flipPrevAnim {
  0% {
    transform: rotateY(-180deg) translateZ(0);
  }
  100% {
    transform: rotateY(0deg) translateZ(0);
  }
}

.book-leaf-face {
  position: absolute;
  inset: 0;
  background: #ffffff;
  padding: 34px 42px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  box-sizing: border-box;
}

.book-leaf-face.front {
  border-radius: 0 14px 14px 0;
  border-left: 1px solid var(--border-subtle);
  transform: rotateY(0deg);
}

.book-leaf-face.back {
  border-radius: 14px 0 0 14px;
  border-right: 1px solid var(--border-subtle);
  transform: rotateY(180deg);
}

/* Dynamic Lighting Overlay */
.book-leaf-shadow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0%, transparent 80%);
}

.flipping-next .book-leaf-shadow {
  animation: shadowSweep 0.55s ease forwards;
}

@keyframes shadowSweep {
  0% { opacity: 0; }
  45% { opacity: 0.35; }
  100% { opacity: 0; }
}

/* Book Cover Spread Styling */
.book-cover-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 30px;
  background: radial-gradient(circle at 40% 30%, #ffffff 40%, #f1f5f9 100%);
}

.book-cover-brand-logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.1));
}

.book-cover-left h2 {
  font-family: 'Cinzel', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-charcoal);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.book-cover-left p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.book-cover-cert-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}

.book-cover-cert-badge {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-full);
  color: var(--brand-charcoal);
}

.book-cover-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 30px 40px;
  background: radial-gradient(circle at 70% 30%, #1e262c 0%, #0f172a 100%);
  color: #ffffff;
}

.book-cover-right h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin-bottom: 8px;
}

.book-cover-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 24px;
}

.book-cover-toc-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 12px;
}

.book-cover-toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
}

.book-cover-toc-item {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #e2e8f0;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.book-cover-toc-item:hover {
  background: rgba(53, 122, 32, 0.35);
  border-color: var(--brand-green-light);
  color: #ffffff;
}

.book-cover-start-btn {
  align-self: flex-start;
  height: 42px;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--brand-green), var(--brand-green-hover));
  color: #ffffff;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(53, 122, 32, 0.4);
  transition: var(--transition-fast);
}

.book-cover-start-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(53, 122, 32, 0.5);
}

/* Scrubber Bar */
.book-scrubber-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  padding: 12px 20px;
  background: #ffffff;
  border: 1px solid var(--border-regular);
  border-radius: var(--radius-full);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-xs);
}

.book-scrub-step-btn {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text-body);
  font-size: 12px;
  transition: var(--transition-fast);
}

.book-scrub-step-btn:hover {
  background: var(--brand-green-subtle);
  color: var(--brand-green);
}

.book-page-slider {
  flex: 1;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-regular);
  outline: none;
  cursor: pointer;
  accent-color: var(--brand-green);
}

.book-hint-text {
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Responsive Book Layout */
@media (max-width: 900px) {
  .book-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
    aspect-ratio: auto;
  }
  .book-page.left {
    border-radius: 14px 14px 0 0;
    border-right: none;
    border-bottom: 1px solid var(--border-regular);
    padding: 24px 20px;
  }
  .book-page.right {
    border-radius: 0 0 14px 14px;
    border-left: none;
    padding: 24px 20px;
  }
  .book-wrapper::before,
  .book-ribbon-bookmark,
  .book-flip-leaf {
    display: none;
  }
  .book-arrow-btn {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
  .book-cover-right {
    padding: 30px 20px;
  }
}
