/*
 * LoongGate (www.loonggate.com) — Final Definitive v3 (Sprue-Gate) Blocksy Production Layer
 * Enqueued at wp_head priority 95 via zz-lg-sprue-gate-v3.php (delete PHP file = 100% instant rollback)
 * Retires Dragon Gold & Poppins; enforces Warm Basalt #171615 + Kiln Vermilion #B32D1B + Cast Stone #F6F4EF,
 * 2px precision radius, 1:1 #FFFFFF contain product frames, empty Qty stepper hide, and CF7 #6755/#614 styling.
 */

:root {
  --lg-stone-50:   #F6F4EF;
  --lg-stone-100:  #EEEBE4;
  --lg-stone-200:  #E4E0D8;
  --lg-stone-300:  #D6D1C7;
  --lg-paper:      #FFFFFF;
  --lg-basalt-900: #171615;
  --lg-basalt-800: #211F1D;
  --lg-basalt-700: #2E2B27;
  --lg-ink-muted:  #5E5A53;
  --lg-ash:        #A8A29A;
  --lg-kiln-600:   #B32D1B;
  --lg-kiln-700:   #962414;
  --lg-ember-400:  #FF7A5C;

  /* Blocksy Core Palette Override (beats Blocksy priority 8) */
  --theme-palette-color-1: #B32D1B;
  --theme-palette-color-2: #962414;
  --theme-palette-color-3: #5E5A53;
  --theme-palette-color-4: #171615;
  --theme-palette-color-5: #E4E0D8;
  --theme-palette-color-6: #EEEBE4;
  --theme-palette-color-7: #F6F4EF;
  --theme-palette-color-8: #FFFFFF;
  --theme-link-initial-color: #171615;
  --theme-link-hover-color: #B32D1B;
  --theme-button-background-initial-color: #171615;
  --theme-button-background-hover-color: #B32D1B;
  --theme-button-text-initial-color: #F6F4EF;
  --theme-button-text-hover-color: #FFFFFF;
  --theme-button-border-radius: 2px;
}

body {
  background-color: var(--lg-stone-50);
  color: var(--lg-basalt-900);
}

/* 1. Strict 1:1 Pure White Contain Product Cards (zero zoom crop on hover, zero shadow) */
.products .product {
  background: var(--lg-paper) !important;
  border: 1px solid var(--lg-stone-200) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
.products .product .ct-media-container {
  aspect-ratio: 1 / 1 !important;
  background: var(--lg-paper) !important;
  padding: 6%;
  overflow: hidden;
}
.products .product .ct-media-container img {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  transform: none !important;
}

/* 2. Reference Price Typography (Inter 600 tabular-nums, Basalt ink — not loud red) */
.price,
.woocommerce-Price-amount {
  color: var(--lg-basalt-900) !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums slashed-zero;
}

/* 3. Single-Product Empty Qty Stepper Hide (10/27 Fleet Rule) */
.single-product .quantity[data-type="type-2"] .ct-increase,
.single-product .quantity[data-type="type-2"] .ct-decrease {
  display: none !important;
}

/* 4. Embedded CF7 #6755 Description-Tab Panel & #614 Enquiry List Form */
#tab-description [data-wpcf7-id="6755"],
[data-wpcf7-id="614"] {
  background: var(--lg-paper);
  border: 1px solid var(--lg-stone-200);
  border-top: 2px solid var(--lg-basalt-900);
  border-radius: 2px;
  padding: 28px;
}
[data-wpcf7-id="6755"] input:not([type="submit"]),
[data-wpcf7-id="6755"] textarea,
[data-wpcf7-id="6755"] select,
[data-wpcf7-id="614"] input:not([type="submit"]),
[data-wpcf7-id="614"] textarea {
  min-height: 52px;
  font-size: 16px;
  border: 1px solid var(--lg-stone-300);
  border-radius: 2px;
}
[data-wpcf7-id="6755"] input:focus,
[data-wpcf7-id="6755"] textarea:focus,
[data-wpcf7-id="614"] input:focus,
[data-wpcf7-id="614"] textarea:focus {
  border-color: var(--lg-basalt-900) !important;
  box-shadow: 0 0 0 3px rgba(179, 45, 27, 0.18) !important;
  outline: none !important;
}
[data-wpcf7-id="6755"] .wpcf7-submit,
[data-wpcf7-id="614"] .wpcf7-submit {
  background: var(--lg-kiln-600) !important;
  color: #FFFFFF !important;
  border-radius: 2px !important;
  min-height: 52px;
  padding: 0 28px;
  font-weight: 600;
}
[data-wpcf7-id="6755"] .wpcf7-submit:hover,
[data-wpcf7-id="614"] .wpcf7-submit:hover {
  background: var(--lg-kiln-700) !important;
}

/* 5. Hide any internal annotation attributes on frontend */
[data-lg-note]::before {
  display: none !important;
}
