/* index.css - Premium Catalog Design System & Styling */

:root {
  /* Color Palette - Inspired by Cover and Footer Images */
  --color-primary-olive: #3d4a25;
  /* Dark olive green for branding and cover */
  --color-primary-dark: #222a16;
  /* Deep green-black for headers */
  --color-accent-gold: #c5a059;
  /* Gold/yellow for highlights (from photo 2 title) */
  --color-accent-gold-light: #e6c587;
  /* Light gold hover */
  --color-bg-cream: #faf8f5;
  /* Warm off-white background */
  --color-text-dark: #2b3222;
  /* Deep green-charcoal for text */
  --color-text-muted: #6e7663;
  /* Muted sage for secondary text */
  --color-border: #e3decb;
  /* Soft border color */
  --color-white: #ffffff;

  /* Fonts */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadow & Blur */
  --shadow-sm: 0 2px 8px rgba(34, 42, 22, 0.08);
  --shadow-md: 0 8px 24px rgba(34, 42, 22, 0.12);
  --shadow-lg: 0 16px 40px rgba(34, 42, 22, 0.16);
  --backdrop-blur: blur(12px);
}

/* Reset & General Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.catalog-body {
  font-family: var(--font-sans);
  background-color: #f0ede5;
  /* Neutral surrounding environment */
  color: var(--color-text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
.serif-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary-dark);
}

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

/* Container Configurations */
#catalog-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  background-color: var(--color-bg-cream);
  box-shadow: var(--shadow-lg);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
  min-height: 700px;
}

/* Presentation Mode (Slide-by-Slide) */
#catalog-container.presentation-mode {
  position: relative;
  height: 740px;
  /* A4 Ratio Landscape (~1.47 ratio) at 1000px width is ~680px height */
  max-width: 1000px;
  margin: 15px auto;
}

#catalog-container.presentation-mode .catalog-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: scale(0.98);
  background-color: var(--color-bg-cream);
}

#catalog-container.presentation-mode .catalog-page.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

/* Scroll Grid Mode (Continuous vertical feed) */
#catalog-container.scroll-mode {
  height: auto;
  max-width: 1200px;
}

#catalog-container.scroll-mode .catalog-page {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  border-bottom: 2px solid var(--color-border);
  padding: 80px 40px;
  min-height: auto;
}

#catalog-container.scroll-mode .page-cover {
  height: 600px;
}

#catalog-container.scroll-mode .page-thank-you {
  border-bottom: none;
}

/* Mode Selector Widget */
.mode-selector {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--backdrop-blur);
  padding: 6px;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.mode-selector button,
.mode-selector a {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
}

.mode-selector button:hover,
.mode-selector a:hover {
  color: var(--color-primary-olive);
}

.mode-selector button.active,
.mode-selector a.active {
  background-color: var(--color-primary-olive);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

/* Slide Navigation Bar */
.slide-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.slide-controls button {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  color: var(--color-primary-olive);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slide-controls button:hover:not(:disabled) {
  background-color: var(--color-primary-olive);
  color: var(--color-white);
  border-color: var(--color-primary-olive);
}

.slide-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slide-indicator {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
}


/* ==================== PAGE 1: COVER PAGE ==================== */
.page-cover {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cover-left {
  width: 50%;
  background-color: var(--color-primary-olive);
  color: var(--color-white);
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

/* Diagonal stripe decorations mimicking photo 2 */
.stripe-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(135deg, rgba(34, 42, 22, 0.4) 25%, transparent 25%, transparent 50%, rgba(34, 42, 22, 0.4) 50%, rgba(34, 42, 22, 0.4) 75%, transparent 75%, transparent);
  background-size: 15px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.cover-header {
  margin-left: 20px;
}

.cover-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.cover-title-group {
  margin-left: 20px;
  position: relative;
}

.cover-title-group .subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--color-accent-gold-light);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.title-accent-bar {
  width: 40px;
  height: 1px;
  background-color: var(--color-accent-gold-light);
  margin-bottom: 24px;
}

.main-title {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 0.9;
  font-weight: 400;
  color: var(--color-accent-gold);
  text-shadow: 2px 2px 0px rgba(34, 42, 22, 0.8), 4px 4px 8px rgba(0, 0, 0, 0.3);
}

.cover-footer {
  margin-left: 20px;
}

.company-name {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.company-subtitle {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--color-accent-gold-light);
  text-transform: uppercase;
  margin-top: 4px;
}

.cover-right {
  width: 50%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(197, 160, 89, 0.25) 0%, transparent 60%);
  pointer-events: none;
}


/* ==================== COMMON PAGE HEADER ==================== */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  border-bottom: 1px solid var(--color-border);
  height: 90px;
}

.header-logo-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-logo {
  height: 45px;
  width: auto;
}

.header-logo-group h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-olive);
  letter-spacing: 0.5px;
}

.header-logo-group p {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.page-number {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-accent-gold);
  font-weight: bold;
}


/* ==================== PAGE 2: INTRODUCTION ==================== */
.page-intro {
  display: flex;
  flex-direction: column;
}

.intro-content {
  display: flex;
  flex: 1;
  height: calc(100% - 90px);
}

.intro-text {
  width: 55%;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.serif-title {
  font-size: 36px;
  line-height: 1.1;
  color: var(--color-primary-olive);
}

.intro-text p {
  font-size: 14px;
  color: var(--color-text-dark);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.stat-card {
  background-color: var(--color-white);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card h4 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-primary-olive);
  margin-bottom: 4px;
}

.stat-card p {
  font-size: 11px;
  color: var(--color-text-muted);
}

.intro-image {
  width: 45%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.image-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(34, 42, 22, 0.85);
  backdrop-filter: var(--backdrop-blur);
  padding: 10px 15px;
  border-radius: 6px;
  color: var(--color-white);
  font-size: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
}


/* ==================== PRODUCT PAGES (GRID OF 6) ==================== */
.page-products {
  display: flex;
  flex-direction: column;
}

.products-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  padding: 15px 30px;
  flex: 1;
  height: calc(100% - 90px);
}

/* Product Card Styling */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-gold);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 145px;
  overflow: hidden;
  background-color: #eae7db;
}

.product-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(61, 74, 37, 0.9);
  color: var(--color-white);
  font-size: 10px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.5px;
}

.product-number-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--color-border);
  color: var(--color-accent-gold);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product-meta-group {
  margin-bottom: 6px;
}

.product-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary-olive);
  line-height: 1.2;
  margin-bottom: 2px;
}

.product-species {
  font-size: 11px;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 2px;
  display: block;
}

.product-details-table {
  width: 100%;
  border-top: 1px solid #f0ede5;
  padding-top: 6px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: 1px;
}

.detail-row .label {
  color: var(--color-text-muted);
}

.detail-row .value {
  font-weight: 600;
  color: var(--color-text-dark);
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.btn-add-cart {
  flex: 1;
  background-color: var(--color-bg-cream);
  border: 1px solid var(--color-primary-olive);
  color: var(--color-primary-olive);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  background-color: var(--color-primary-olive);
  color: var(--color-white);
}

.btn-add-cart.added {
  background-color: #2e8b57;
  border-color: #2e8b57;
  color: var(--color-white);
}


/* ==================== PAGE LAST: THANK YOU & FOOTER ==================== */
.page-thank-you {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thank-you-header {
  border-bottom: none;
  /* remove for cleaner aesthetic */
}

.thank-you-body {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 0px 80px 20px 80px;
}

.thank-you-left {
  width: 50%;
}

.thank-you-title {
  font-family: var(--font-serif);
  font-size: 84px;
  line-height: 0.9;
  font-weight: 400;
  color: var(--color-primary-olive);
}

.thank-you-right {
  width: 50%;
  display: flex;
  justify-content: flex-end;
}

/* Tablet mockup from Photo 3 */
.tablet-mockup {
  width: 320px;
  height: 220px;
  background-color: #1a1a1a;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: perspective(600px) rotateY(-15deg) rotateX(10deg);
  transition: transform 0.5s ease;
}

.tablet-mockup:hover {
  transform: perspective(600px) rotateY(-5deg) rotateX(5deg);
}

.tablet-screen {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.tablet-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(34, 42, 22, 0.45);
}

.tablet-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  text-align: center;
  padding: 20px;
}

.tablet-content h2 {
  font-family: var(--font-serif);
  color: var(--color-white);
  font-size: 24px;
  margin-bottom: 8px;
}

.tablet-content p {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Footer contacts styling mimicking Photo 3 */
.thank-you-footer {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 25px 40px;
}

.footer-title {
  font-size: 12px;
  font-weight: bold;
  color: var(--color-text-muted);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  background-color: #faf9f6;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background-color: var(--color-primary-olive);
  border-color: var(--color-primary-olive);
}

.contact-item:hover .contact-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}

.contact-item:hover .label {
  color: rgba(255, 255, 255, 0.7);
}

.contact-item:hover .value {
  color: var(--color-white);
}

.contact-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(61, 74, 37, 0.1);
  color: var(--color-primary-olive);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-details .label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}

.contact-details .value {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-dark);
  word-break: break-all;
}


/* ==================== CART / INQUIRY SYSTEM ==================== */
.floating-cart {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-primary-olive);
  border: none;
  color: var(--color-white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart:hover {
  transform: scale(1.1);
  background-color: var(--color-primary-dark);
}

.floating-cart .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--color-accent-gold);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* Inquiry Drawer */
.inquiry-drawer {
  position: fixed;
  top: 0;
  right: -360px;
  width: 350px;
  height: 100vh;
  z-index: 101;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: var(--backdrop-blur);
  box-shadow: var(--shadow-lg);
  border-left: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.inquiry-drawer.open {
  right: 0;
}

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

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

.drawer-header .btn-close {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--color-text-muted);
}

.drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.drawer-body .empty-msg {
  text-align: center;
  color: var(--color-text-muted);
  margin-top: 40px;
  font-size: 13px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0ede5;
}

.cart-item-details h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--color-primary-olive);
}

.cart-item-details p {
  font-size: 11px;
  color: var(--color-text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-actions input {
  width: 50px;
  padding: 4px;
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 12px;
}

.btn-remove {
  background: transparent;
  border: none;
  color: #cd5c5c;
  cursor: pointer;
  padding: 4px;
}

.drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--color-border);
}

.btn-primary {
  width: 100%;
  background-color: var(--color-primary-olive);
  border: none;
  color: var(--color-white);
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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


/* ==================== PRINT & PDF OPTIMIZATION ==================== */
@media print {

  /* Hide interactive screens/widgets */
  .no-print,
  .mode-selector,
  .slide-controls,
  .floating-cart,
  .inquiry-drawer,
  .btn-add-cart {
    display: none !important;
  }

  body.catalog-body {
    background-color: #ffffff !important;
    font-size: 12pt;
    color: #000000;
  }

  /* Reset Main Container box styling for print */
  #catalog-container,
  #catalog-container.presentation-mode,
  #catalog-container.scroll-mode {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    max-width: 100% !important;
    background-color: #ffffff !important;
    overflow: visible !important;
    height: auto !important;
    position: relative !important;
  }

  /* Force landscape print orientation */
  @page {
    size: A4 landscape;
    margin: 0;
    /* Full bleed layout, custom margins on pages */
  }

  .catalog-page {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 297mm !important;
    /* A4 Landscape width */
    height: 209mm !important;
    /* A4 Landscape height with 1mm safety margin */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    page-break-inside: avoid !important;
    page-break-after: always !important;
    break-after: page !important;
    display: flex !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
  }

  #dynamic-product-pages {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
  }

  /* Specific adjustments for print pages */
  .page-cover {
    display: flex !important;
    height: 209mm !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .cover-left {
    padding: 25mm !important;
    background-color: #3d4a25 !important;
    /* Force print background color */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .cover-right {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .stripe-decoration {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .page-intro {
    height: 209mm !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .intro-content {
    height: 120mm !important;
  }

  .page-products {
    height: 209mm !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .products-grid-layout {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(2, 1fr) !important;
    gap: 6mm !important;
    padding: 10mm 15mm !important;
    height: 120mm !important;
  }

  .product-card {
    border: 1px solid #c5a059 !important;
    background-color: #ffffff !important;
    break-inside: avoid !important;
    box-shadow: none !important;
    transform: none !important;
    height: 55mm !important;
  }

  .product-image-container {
    padding-top: 0 !important;
    height: 24mm !important;
  }

  .product-info {
    padding: 2mm !important;
  }

  .product-title {
    font-size: 11pt !important;
  }

  .product-badge {
    background: #3d4a25 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .product-number-badge {
    background: #ffffff !important;
    border: 1px solid #c5a059 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .page-thank-you {
    height: 209mm !important;
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .thank-you-body {
    padding: 10mm 20mm 10mm 20mm !important;
  }

  .thank-you-title {
    font-size: 64pt !important;
  }

  .tablet-mockup {
    transform: none !important;
    /* Flat for print accuracy */
    box-shadow: none !important;
    border: 1px solid #c5a059 !important;
  }

  .thank-you-footer {
    padding: 8mm 15mm !important;
    background-color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .contacts-grid {
    gap: 5mm !important;
  }

  .contact-item {
    padding: 2mm !important;
    background-color: #faf9f6 !important;
    border: 1px solid #e3decb !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .contact-icon {
    background-color: rgba(61, 74, 37, 0.1) !important;
    color: #3d4a25 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* ==================== RESPONSIVE WEB STYLING ==================== */
@media (max-width: 768px) {
  #catalog-container.presentation-mode {
    height: auto;
    position: relative;
  }

  #catalog-container.presentation-mode .catalog-page {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    height: auto;
    border-bottom: 2px solid var(--color-border);
    padding: 40px 20px;
  }

  .page-cover {
    flex-direction: column;
    height: auto !important;
  }

  .cover-left,
  .cover-right {
    width: 100%;
  }

  .cover-left {
    padding: 40px 20px;
    min-height: 400px;
  }

  .cover-right {
    height: 300px;
  }

  .main-title {
    font-size: 48px;
  }

  .intro-content {
    flex-direction: column;
  }

  .intro-text,
  .intro-image {
    width: 100%;
  }

  .intro-image {
    height: 300px;
  }

  .products-grid-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    padding: 20px;
    height: auto !important;
  }

  .thank-you-body {
    flex-direction: column;
    padding: 40px 20px;
    gap: 30px;
  }

  .thank-you-left,
  .thank-you-right {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .thank-you-title {
    font-size: 54px;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .slide-controls {
    display: none !important;
  }
}