/* ==========================================================
   ASADO CALCULATOR & CUT ENCYCLOPEDIA STYLES
   Inspired by DoughGuy aesthetic: Clean, editorial, responsive
   ========================================================== */

:root {
  --bg-main: #12100e;
  --bg-surface: #1c1917;
  --bg-surface-elevated: #262220;
  --bg-surface-hover: #332d2a;
  --border-color: #38322e;
  --border-focus: #f59e0b;
  
  --text-primary: #fbf8ef;
  --text-secondary: #a8a29e;
  --text-muted: #78716c;

  --accent-fire: #e03a2f;
  --accent-ember: #f97316;
  --accent-gold: #f59e0b;
  --accent-wood: #b45309;
  --accent-gas: #38bdf8;
  --accent-success: #22c55e;

  --font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.6);
  --shadow-ember: 0 0 20px rgba(249, 115, 22, 0.2);
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  padding-bottom: 5rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.mono {
  font-family: var(--font-mono);
}

/* Header */
.site-header {
  background: linear-gradient(180deg, #1f1b19 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background-color: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.site-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 40%, #fdba74 80%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.site-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Layout Container */
.main-container {
  max-width: 1240px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

/* Grid Layout for Calculator */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .calc-grid {
    grid-template-columns: 1.2fr 0.95fr;
  }
}

/* Cards */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

.card-title {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.section-group {
  margin-bottom: 1.75rem;
}

.section-group:last-child {
  margin-bottom: 0;
}

.group-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Sliders with Synchronized Numeric Inputs */
.slider-row {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.slider-row:hover, .slider-row:focus-within {
  border-color: rgba(245, 158, 11, 0.4);
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.slider-label {
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Dual Input: Number Input Box */
.number-input-wrap {
  display: flex;
  align-items: center;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  gap: 0.35rem;
}

.number-input-wrap:focus-within {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

.editable-number-input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  width: 3.5rem;
  text-align: right;
  outline: none;
  -moz-appearance: textfield;
}

.editable-number-input::-webkit-outer-spin-button,
.editable-number-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.number-unit {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Custom Range Slider */
.custom-range {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: #3a3430;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  margin: 0.5rem 0;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-ember);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
  transition: transform 0.15s, background-color 0.15s;
}

.custom-range::-webkit-slider-thumb:hover,
.custom-range::-webkit-slider-thumb:active {
  transform: scale(1.2);
  background: var(--accent-fire);
}

.custom-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-ember);
  border: 2px solid #fff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.6);
}

/* Fuel Selector Buttons */
.fuel-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
}

@media (min-width: 540px) {
  .fuel-selector {
    grid-template-columns: repeat(4, 1fr);
  }
}

.fuel-btn {
  background-color: var(--bg-surface-elevated);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.6rem;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.fuel-btn .fuel-icon {
  font-size: 1.4rem;
}

.fuel-btn:hover {
  background-color: var(--bg-surface-hover);
  border-color: #524a44;
  color: var(--text-primary);
}

.fuel-btn.active {
  background-color: rgba(249, 115, 22, 0.12);
  border-color: var(--accent-ember);
  color: #fff;
  box-shadow: var(--shadow-ember);
}

.fuel-btn.active[data-fuel="gas"] {
  background-color: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-gas);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

/* Appetite Pill Selector */
.appetite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.pill-btn {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
}

.pill-btn .pill-weight {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.pill-btn.active {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #12100e;
  font-weight: 700;
}

.pill-btn.active .pill-weight {
  color: #3b2c00;
}

/* Toggle Chips */
.toggles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.65rem;
}

.toggle-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s;
  font-size: 0.85rem;
  font-weight: 500;
}

.toggle-chip:hover {
  background-color: var(--bg-surface-hover);
  border-color: #554d47;
}

.toggle-chip input[type="checkbox"] {
  accent-color: var(--accent-ember);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.toggle-chip.checked {
  border-color: rgba(249, 115, 22, 0.5);
  background-color: rgba(249, 115, 22, 0.08);
}

/* Output Shopping List & Summary Card */
.output-card {
  position: sticky;
  top: 1.5rem;
  background: linear-gradient(160deg, #221e1c 0%, #1a1715 100%);
  border: 1px solid #443c36;
}

.summary-banner {
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-title {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-meat-total {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-ember);
  line-height: 1;
  margin-top: 0.25rem;
}

.fuel-indicator {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.fuel-indicator.fuel-gas {
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.06);
}

.fuel-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.fuel-bags-badge {
  font-family: var(--font-mono);
  background-color: var(--accent-ember);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.fuel-bags-badge.badge-gas {
  background-color: var(--accent-gas);
  color: #0c4a6e;
}

.fuel-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Itemized Shopping List */
.shopping-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 0.3rem;
}

.shopping-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.75rem;
  background-color: var(--bg-main);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.item-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.item-qty {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-gold);
}

/* Action Buttons */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-fire) 0%, var(--accent-ember) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 15px rgba(224, 58, 47, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224, 58, 47, 0.6);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  width: 100%;
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg-surface-hover);
  border-color: #574e47;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--accent-success);
  color: #052e16;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================
   CUT ENCYCLOPEDIA SECTION
   ========================================================== */
.encyclopedia-section {
  margin-top: 4rem;
  border-top: 1px solid var(--border-color);
  padding-top: 3rem;
}

.encyclopedia-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.encyclopedia-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.encyclopedia-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Cow Illustration Container & Custom Picture Area */
.cow-visual-container {
  background: radial-gradient(circle at center, #26211e 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cow-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.85rem;
}

.cow-view-modes {
  display: flex;
  gap: 0.5rem;
}

.mode-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.mode-btn.active {
  background: var(--accent-ember);
  border-color: var(--accent-ember);
  color: #fff;
}

.zoom-hint-badge {
  font-size: 0.82rem;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  background: rgba(245, 158, 11, 0.08);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.cow-stage-view {
  max-width: 1000px;
  margin: 0 auto;
  transition: opacity 0.25s ease-in-out;
}

/* Image Zoom Card with Lightbox Trigger */
.image-zoom-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  cursor: zoom-in;
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  text-align: center;
}

.image-zoom-card:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.25);
}

.zoom-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(18, 16, 14, 0.85);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-mono);
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 10;
}

.cow-featured-img {
  width: 100%;
  max-height: 600px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

/* Crop wrapper for Vintage Poster to hide Facebook header and bottom bar */
.poster-crop-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  height: 650px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: #0c0a09;
}

.poster-cropped-img {
  position: absolute;
  top: -65px; /* Crops the Facebook app header */
  left: 0;
  width: 100%;
  height: auto;
  display: block;
}



/* Fullscreen Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 8, 7, 0.95);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  cursor: zoom-out;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10000;
}

.lightbox-close:hover {
  background: var(--accent-fire);
  transform: scale(1.1);
}

.lightbox-content {
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

/* Encyclopedia Filters & Search */
.encyclopedia-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 450px;
}

.search-input {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--accent-gold);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.filter-pills {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #12100e;
}

/* Cuts Grid */
.cuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.cut-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.cut-card:hover {
  border-color: rgba(249, 115, 22, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cut-card.card-highlighted {
  border-color: var(--accent-ember) !important;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3) !important;
  background: linear-gradient(180deg, #2a221f 0%, var(--bg-surface) 100%);
}

.cut-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.cut-card-title {
  font-size: 1.2rem;
  color: #fff;
}

.cut-card-english {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-family: var(--font-mono);
  margin-top: 0.15rem;
}

.cut-category-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.cut-category-badge.cat-vacuno {
  background: rgba(224, 58, 47, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(224, 58, 47, 0.3);
}

.cut-category-badge.cat-cerdo {
  background: rgba(249, 115, 22, 0.15);
  color: #fdba74;
  border: 1px solid rgba(249, 115, 22, 0.3);
}

.cut-category-badge.cat-achuras {
  background: rgba(245, 158, 11, 0.15);
  color: #fde047;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.cut-detail-section {
  margin-bottom: 0.85rem;
}

.detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.2rem;
}

.detail-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.cut-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  margin: 1rem 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-key {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.metric-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cut-tip-box {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.65rem 0.75rem;
  margin-top: auto;
}

.cut-tip-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cut-tip-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-style: italic;
}

/* Footer */
.site-footer {
  margin-top: 5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
}

.site-footer a {
  color: var(--accent-gold);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}
