/*
 * Minsook Farm Landing Page - Bold Minimalism Style
 * Focus: High Readability, Punchy Typography, Crisp Outlines, High Energy Accents
 */

@import url('https://fonts.googleapis.com/css2?family=Song+Myung&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');
@import url('https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/pretendard.css');

:root {
  /* Color System - Slate + Neon Green */
  --primary: #15803d;       /* Emerald/Forest Green */
  --primary-hover: #166534;
  --primary-light: #e8f5e9; /* Soft cucumber green tint */
  --primary-dark: #0f172a;  /* Slate-900 */
  --accent: #22c55e;        /* Active Neon Lime Green */
  --accent-light: #dcfce7;
  
  /* Neutral colors */
  --bg-page: #f2faf4;       /* Fresh organic green page background */
  --bg-card: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #4b5563;
  --border-light: #c2e7cf;  /* Clean fresh green-tinted borders */
  --border-focus: #22c55e;
  
  /* Form components paper elements mappings */
  --paper-bg: #f2faf4;
  --paper-border: #a9dfbf;
  --paper-dark: #0f172a;
  --paper-accent: #15803d;

  /* Typography */
  --font-family: 'Outfit', 'Noto Sans KR', sans-serif;
  
  /* Spacing & Layout Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  
  /* Sharp flat-feeling shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 12px 20px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
  
  --transition-smooth: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets & styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body, h1, h2, h3, h4, h5, h6, p, span, li, a, button, input, select, textarea, td, th {
  word-break: keep-all;
  overflow-wrap: break-word;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-dark);
  line-height: 1.6;
  letter-spacing: -0.015em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 900;
  line-height: 1.15;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Header & Floating Navigation */
.mobile-only {
  display: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(254, 254, 254, 0.98);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

header .logo img {
  height: 104px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

nav a:hover, nav a.active {
  color: var(--primary-dark);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-dark);
  transition: var(--transition-smooth);
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

/* Custom CTA Button */
.cta-btn {
  background-color: var(--primary-dark);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.cta-btn:hover {
  background-color: var(--primary);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2.5px;
  background-color: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-page);
}

/* Background image slider */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 88%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

@media (min-width: 769px) {
  .hero-slide {
    background-size: 74%;
  }
}

.hero-slide.active {
  opacity: 1;
}

/* Dark overlay for readability */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.2) 50%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(34, 197, 94, 0.2);
  color: #a7f3d0;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 24px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  backdrop-filter: blur(4px);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #22c55e;
  border-radius: 50%;
  position: relative;
}

.pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulse 1.6s infinite ease-in-out;
  left: 0;
  top: 0;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: #d9f99d;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), -1px -1px 0 rgba(0, 0, 0, 0.8), 1px -1px 0 rgba(0, 0, 0, 0.8), -1px 1px 0 rgba(0, 0, 0, 0.8), 1px 1px 0 rgba(0, 0, 0, 0.8);
}

.hero-sub-desc {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  max-width: 720px;
  line-height: 1.75;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta {
  min-width: 180px;
  justify-content: center;
  padding: 14px 28px !important;
  font-size: 1.05rem !important;
  border-radius: var(--radius-sm) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  transition: var(--transition-smooth);
}

.hero .cta-btn {
  background-color: #facc15; /* 주문하기: 노란색 */
  color: #0f172a !important;
  box-shadow: 0 8px 24px rgba(250, 204, 21, 0.3);
}

.hero .cta-btn:hover {
  background-color: #eab308;
  transform: translateY(-2px);
}

.hero .btn-secondary {
  background-color: #16a34a; /* 네이버스마트스토어: 초록색 */
  color: #ffffff !important;
  border: 1px solid #15803d;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.2);
}

.hero .btn-secondary:hover {
  background-color: #15803d;
  border-color: #166534;
  transform: translateY(-2px);
}

/* Stats Strip Banner styling below hero */
.stats-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  padding: 32px 0;
}

.stats-strip-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 24px;
  gap: 24px;
}

.stat-strip-item {
  text-align: center;
  flex: 1;
  border-right: 1px solid var(--border-light);
}

.stat-strip-item:last-child {
  border-right: none;
}

.stat-strip-item h4 {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.stat-strip-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* General Section Formatting */
section {
  padding: 80px 24px;
  border-bottom: 1px solid var(--border-light);
}

.section-title-wrapper {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Farm Intro Section (Gallery & Details) */
#intro {
  background-color: var(--bg-card);
}

.product-features-detail {
  max-width: 1200px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.detail-img:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.detail-img.large {
  grid-column: span 2;
  height: 260px;
}

.detail-info h3 {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.25;
}

.detail-info ul {
  list-style: none;
  margin-top: 20px;
}

.detail-info li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.detail-info li strong {
  color: var(--primary-dark);
  font-weight: 800;
}

.detail-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Cucumber Product Grid Cards */
.products {
  background-color: var(--bg-page);
}

.product-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 25px -5px rgba(21, 128, 61, 0.12), 0 10px 10px -5px rgba(21, 128, 61, 0.04);
  transform: translateY(-8px) scale(1.02);
}

.product-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.badge-special { background-color: #fef3c7; color: #b45309; }
.badge-good { background-color: #d1fae5; color: #065f46; }
.badge-value { background-color: #fee2e2; color: #991b1b; }
.badge-signature { background-color: #e0f2fe; color: #075985; }

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.55;
}

.product-card .price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  margin-top: auto;
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

/* Farm USP / Strengths */
.strengths {
  background-color: var(--bg-card);
}

.strengths-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strength-card {
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.strength-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Service strengths styled cleanly */
.strength-card.service {
  border-color: var(--border-light);
}

/* Eco strengths highlights */
.strength-card.eco {
  background-color: var(--primary-light);
  border-color: rgba(22, 163, 74, 0.15);
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background-color: var(--primary-dark);
  color: #ffffff;
}

.strength-card.eco .icon-box {
  background-color: var(--primary);
}

.strength-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.strength-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.strength-card.eco p {
  color: var(--text-dark);
  opacity: 0.95;
}

.strength-card ul {
  list-style: none;
}

.strength-card li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

.strength-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.1rem;
  top: -1px;
}

/* Calculator & SMS Order System */
.order-section {
  background-color: var(--bg-page);
}

.order-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.calc-panel {
  padding: 44px;
  background-color: var(--bg-card);
}

.calc-panel h3 {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

/* Clean text radio buttons */
.segmented-control {
  position: relative;
  display: flex;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 4px;
  z-index: 1;
  overflow: hidden;
}

.segment-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background-color: var(--bg-card);
  border-radius: calc(var(--radius-md) - 2px);
  box-shadow: var(--shadow-sm);
  z-index: -1;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.segmented-control.cafe-active .segment-slider {
  transform: translateX(100%);
}

.segment-item {
  flex: 1;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.segment-item input[type="radio"] {
  display: none;
}

.segment-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 72px;
  transition: color 0.3s ease;
}

.segment-label .sub-label {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
  transition: color 0.3s ease;
}

.segment-item input[type="radio"]:checked + .segment-label {
  color: var(--primary);
}

.segment-item input[type="radio"]:checked + .segment-label .sub-label {
  color: var(--primary-hover);
  font-weight: 600;
}

/* Minimal Input Boxes */
.select-box, .sms-input {
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-family: var(--font-family);
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--bg-card);
  outline: none;
  transition: var(--transition-smooth);
}

.select-box {
  font-size: 0.85rem;
}

.sms-input {
  font-size: 0.95rem;
}

.select-box:focus, .sms-input:focus {
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.1);
}

/* Quantity Control Blocks */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  border-color: var(--primary-dark);
  background-color: var(--bg-page);
}

.qty-input {
  width: 60px;
  height: 42px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  background-color: var(--bg-card);
}

.qty-unit {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
}

/* High Contrast Calculation Display */
.calc-summary {
  background-color: var(--bg-page);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 28px;
  border: 1px solid var(--border-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  color: var(--primary-dark);
}

.summary-total {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
}

/* SMS Sheet styling */
.sms-panel {
  padding: 44px;
  background-color: var(--bg-page);
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

/* SMS Order Guide Steps Styles */
.sms-guide {
  display: flex;
  justify-content: space-between;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  gap: 8px;
}

.sms-guide-step {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.sms-guide-step:not(:last-child)::after {
  content: '→';
  margin-left: auto;
  color: var(--primary);
  font-weight: 900;
  font-size: 0.85rem;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
}

.sms-panel h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.sms-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.sms-input {
  margin-bottom: 12px;
}

/* SMS Template box styling */
.sms-preview-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-dark);
  white-space: pre-wrap;
  margin-bottom: 20px;
  min-height: 130px;
  position: relative;
  line-height: 1.5;
}

.sms-preview-box::before {
  content: '문자 템플릿 미리보기';
  position: absolute;
  top: -10px;
  left: 12px;
  background-color: var(--primary-dark);
  color: #ffffff;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-family);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Bank Box Overwrite */
.bank-account-box {
  background-color: var(--bg-card) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: none !important;
}

.bank-account-box strong {
  color: var(--primary-dark);
}

/* Action button for sending order */
.btn-sms-send {
  background-color: var(--primary-dark);
  color: #ffffff;
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

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

/* Reviews Testimonial Slider */
.testimonials {
  background-color: var(--bg-card);
}

.slider-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 24px 40px;
  text-align: center;
}

.rating-stars {
  color: #f59e0b; /* Bright amber gold */
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.quote-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.6;
  margin-bottom: 20px;
}

.client-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.client-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  background-color: var(--bg-page);
}

/* FAQ Accordion Line List */
.faq {
  background-color: var(--bg-page);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--text-dark);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.faq-question svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-smooth);
  fill: var(--text-muted);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.6;
  transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1), padding 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
  border-color: var(--primary-dark);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  fill: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 180px;
  padding-bottom: 18px;
}

/* Footer Section */
footer {
  background-color: #0e262c;
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 28px 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-text {
  font-size: 0.8rem;
  line-height: 1.85;
  max-width: 40ch;
}

.footer-biz {
  margin-top: 14px;
  font-size: 0.74rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.38);
}

.footer-biz span {
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}

.footer-link-head {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.footer-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 44px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--primary-dark);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  
  .hero-ctas, .hero-stats {
    justify-content: center;
  }
  
  .hero-img {
    max-width: 380px;
  }
  
  .product-features-detail {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .strengths-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .order-container {
    grid-template-columns: 1fr;
  }
  
  .sms-panel {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }

  .sms-guide {
    flex-direction: column;
    gap: 10px;
  }

  .sms-guide-step:not(:last-child)::after {
    content: '↓';
    margin-left: auto;
    color: var(--primary);
    font-weight: 900;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .mobile-only {
    display: inline;
  }

  .nav-container {
    padding: 10px 20px;
    position: relative;
    height: 70px;
  }

  .logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  header .logo img {
    height: 48px;
  }

  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-card);
    padding: 32px 20px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .hero {
    padding-top: 90px;
  }

  .select-box {
    font-size: 0.72rem;
    padding: 12px 6px;
  }
  
  nav.open {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }
  
  .menu-toggle {
    display: flex;
    margin-left: auto;
    z-index: 11;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* Compact order workspace: keep selection and payment total in one viewport. */
.order-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.order-section > .section-title-wrapper {
  margin-bottom: 24px;
}

.order-container {
  max-width: 1240px;
}

.calc-panel,
.sms-panel {
  padding: 24px;
}

.calc-panel h3,
.sms-panel h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.calculator-notice-box {
  padding: 9px 12px;
  margin-bottom: 12px;
  gap: 5px;
}

.notice-item {
  gap: 7px;
  font-size: 0.76rem;
  line-height: 1.3;
}

.notice-icon {
  font-size: 0.9rem;
}

.order-type-tabs,
.payment-tabs {
  margin-bottom: 10px;
}

.order-tab,
.payment-tab {
  padding: 8px 12px;
  font-size: 0.82rem;
}

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

.form-label {
  margin-bottom: 4px;
  font-size: 0.82rem;
}

.dropdown-add-group {
  gap: 8px;
  margin-top: 2px;
}

.dropdown-add-group .select-box,
.dropdown-add-group .cta-btn {
  height: 40px;
}

.dropdown-add-group .select-box {
  padding: 8px 10px;
  font-size: 0.78rem;
}

.dropdown-add-group .cta-btn {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.selected-products-list {
  min-height: 54px;
  max-height: 124px;
  margin: 10px 0;
  padding: 8px;
  gap: 6px;
}

.empty-basket-msg {
  padding: 8px 0;
  font-size: 0.78rem;
}

.selected-product-item {
  padding: 7px 9px;
  gap: 7px;
}

.selected-product-item .item-info h4 {
  font-size: 0.82rem;
}

.selected-product-item .item-info .item-price-desc,
.qty-unit-mini {
  font-size: 0.72rem;
}

.qty-btn-mini,
.qty-input-mini,
.selected-product-item .btn-remove-item {
  height: 26px;
}

.limit-section {
  margin-top: 8px;
}

.limit-info,
.limit-alert-box {
  font-size: 0.75rem;
}

.calc-summary {
  margin-top: 10px;
  padding: 10px 12px;
}

.summary-row {
  margin-bottom: 4px;
  font-size: 0.78rem;
  line-height: 1.25;
}

.summary-row:last-child {
  padding-top: 7px;
}

.summary-total {
  font-size: 1.1rem;
}

.sms-guide {
  padding: 8px 10px;
  margin-bottom: 10px;
}

.sms-desc {
  margin-bottom: 10px;
  font-size: 0.78rem;
}

.sms-input {
  padding: 9px 10px;
  margin-bottom: 8px;
  font-size: 0.84rem;
}

@media (max-width: 992px) and (min-width: 769px) {
  .order-container {
    grid-template-columns: 1fr 1fr;
  }

  .sms-panel {
    border-top: 0;
    border-left: 1px solid var(--border-light);
  }

  .sms-guide {
    flex-direction: row;
    gap: 6px;
  }

  .sms-guide-step:not(:last-child)::after {
    content: '→';
  }
}

@media (max-width: 768px) {
  .order-section {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .order-section > .section-title-wrapper {
    margin-bottom: 16px;
  }

  .order-section .section-desc {
    margin-top: 6px;
    font-size: 0.8rem;
  }

  .calc-panel,
  .sms-panel {
    padding: 16px 14px;
  }

  .calc-panel h3,
  .sms-panel h3 {
    font-size: 1.05rem;
    margin-bottom: 9px;
  }

  .calculator-notice-box {
    padding: 7px 9px;
    margin-bottom: 8px;
  }

  .notice-item {
    font-size: 0.66rem;
    line-height: 1.22;
  }

  .order-type-tabs {
    margin-bottom: 7px;
  }

  .order-tab {
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .dropdown-add-group {
    flex-direction: row;
    align-items: center;
  }

  .dropdown-add-group .select-box {
    min-width: 0;
  }

  .dropdown-add-group .cta-btn {
    width: auto;
    flex: 0 0 auto;
    padding-inline: 12px;
  }

  .selected-products-list {
    min-height: 44px;
    max-height: 92px;
    margin: 7px 0;
    padding: 6px;
  }

  .empty-basket-msg {
    padding: 5px 0;
    font-size: 0.7rem;
  }

  .selected-product-item {
    flex-direction: row;
    align-items: center;
    padding: 5px 7px;
    gap: 5px;
  }

  .selected-product-item .item-controls {
    justify-content: flex-end;
  }

  .selected-product-item .item-info .item-price-desc {
    display: none;
  }

  .calc-summary {
    margin-top: 7px;
    padding: 8px 10px;
  }

  .summary-row {
    margin-bottom: 3px;
    font-size: 0.72rem;
  }

  .summary-total {
    font-size: 1rem;
  }
}

/* Bold Minimalist Helper & Utility Classes */
.btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.hero-cta {
  padding: 14px 32px !important;
  font-size: 1rem !important;
}

.intro-p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
}

.price-unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}

.summary-row span:last-child {
  font-weight: 700;
  color: var(--primary-dark);
}

.sms-grid-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  margin-bottom: 12px;
}

.sms-grid-row .sms-input {
  margin-bottom: 0 !important;
}

/* Bank Box Details */
.bank-account-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.bank-title {
  font-weight: 850;
  display: block;
  font-size: 0.72rem;
  color: var(--primary);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.bank-number {
  font-size: 0.95rem;
  color: var(--primary-dark);
}

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

.bank-copy-btn {
  padding: 6px 12px !important;
  font-size: 0.8rem !important;
  border-radius: 4px !important;
  cursor: pointer;
  font-weight: 700;
}

.sms-store-link {
  text-align: center;
  margin-top: 16px;
}

.sms-store-link a {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
}

.sms-store-link a:hover {
  color: var(--primary-hover);
}

.footer-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Premium Micro-Animations & Page Load Transitions --- */
.load-animate {
  opacity: 0;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up {
  animation-name: slideUpFade;
}

.scale-in {
  animation-name: scaleIn;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Sequencing Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }
.delay-5 { animation-delay: 0.65s; }
.delay-6 { animation-delay: 0.8s; }

/* Interactive element spring bounce */
@keyframes springBounce {
  0%, 100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.15);
  }
  70% {
    transform: scale(0.95);
  }
}

.bounce-active {
  animation: springBounce 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Helper notes and labels for grade selections */
.form-helper-note {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  margin-top: 8px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.price-unit-inline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 2px;
}

.price-unit-exclusive {
  font-size: 0.72rem;
  color: #ef4444; /* Alert red */
  font-weight: 700;
  display: block;
  margin-top: 4px;
}

/* --- Cucumber Multi-Grade Calculator & KakaoTalk Integration Styles --- */
.grades-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.grade-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-smooth);
}

.grade-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.grade-card-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.grade-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.grade-title-row h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.grade-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.grade-prices .divider {
  color: var(--border-light);
}

.grade-prices .lock-icon {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 800;
  color: #c2410c;
  background-color: #ffedd5;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.grade-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed var(--border-light);
  padding-top: 12px;
}

.unit-toggle-group {
  display: flex;
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.unit-toggle-group.disabled {
  background-color: #f1f5f9;
  border-color: #e2e8f0;
}

.unit-btn {
  border: none;
  background: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: calc(var(--radius-sm) - 2px);
  transition: var(--transition-smooth);
}

.unit-btn.active {
  background-color: var(--primary);
  color: #ffffff;
}

.qty-control-mini {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn-mini {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.qty-btn-mini:hover {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.qty-input-mini {
  width: 55px;
  height: 28px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  outline: none;
  background-color: #ffffff;
}

.qty-unit-mini {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-dark);
  min-width: 16px;
}

/* Limit Section & Indicators */
.limit-section {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.limit-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.limit-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.limit-info strong {
  font-weight: 800;
}

.progress-bar-container {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  background-color: var(--primary);
}

.limit-alert-box {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* KakaoTalk Guide Modal Popup */
.kakao-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.kakao-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.kakao-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
}

.kakao-modal-content {
  position: relative;
  background: #ffffff;
  width: 90%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 2001;
  animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.kakao-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.kakao-modal-close:hover {
  color: var(--text-dark);
}

.kakao-modal-header {
  background-color: #fee500;
  color: #191919;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.kakao-modal-icon {
  width: 28px;
  height: 28px;
  fill: #191919;
}

.kakao-modal-header h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: #191919;
  margin: 0;
}

.kakao-modal-body {
  padding: 24px;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-alert-box {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.modal-info-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  font-weight: 600;
}

.step-guide-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.step-guide-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-guide-num {
  background-color: #f1f5f9;
  color: var(--text-dark);
  font-weight: 900;
  font-size: 0.85rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.step-guide-desc strong {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 2px;
}

.step-guide-desc p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

.modal-copy-status {
  background-color: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.copy-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 800;
}

.status-badge.success {
  background-color: #d1fae5;
  color: #065f46;
}

.kakao-modal-footer {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-modal-action {
  width: 100%;
  padding: 12px;
  border: none;
  background-color: #fee500;
  color: #191919;
  font-size: 0.95rem;
  font-weight: 900;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(254, 229, 0, 0.2);
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-modal-action:hover {
  background-color: #e5cf00;
  transform: translateY(-1px);
}

.btn-modal-close-large {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-modal-close-large:hover {
  background-color: var(--bg-page);
  border-color: var(--primary-dark);
}

/* --- New Dropdown Cucumber Calculator Styles --- */
.dropdown-add-group {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-top: 6px;
}

.dropdown-add-group .select-box {
  flex: 1;
}

.dropdown-add-group .cta-btn {
  white-space: nowrap;
  padding: 12px 24px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Calculator Notice Box */
.calculator-notice-box {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #166534;
}

.notice-icon {
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.notice-text {
  margin: 0;
  font-weight: 500;
}

.notice-text strong {
  color: #14532d;
  font-weight: 800;
}

.selected-products-list {
  margin: 20px 0;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  background-color: var(--primary-light);
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 320px;
  overflow-y: auto;
}

.empty-basket-msg {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 20px 0;
  font-weight: 500;
}

.selected-product-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  animation: fadeInItem 0.25s ease-out;
  gap: 12px;
}

@keyframes fadeInItem {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.selected-product-item .item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.selected-product-item .item-info .item-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.selected-product-item .item-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
}

.selected-product-item .item-info .item-price-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 600;
}

.selected-product-item .item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-control-mini {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-card);
  padding: 2px;
}

.qty-btn-mini {
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  border-radius: 4px;
}

.qty-btn-mini:hover {
  background-color: var(--primary-light);
}

.qty-input-mini {
  width: 44px;
  height: 28px;
  text-align: center;
  border: none;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-dark);
  outline: none;
  background: none;
  -moz-appearance: textfield;
}

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

.qty-unit-mini {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-right: 6px;
}

.selected-product-item .btn-remove-item {
  background: none;
  border: none;
  font-size: 1.35rem;
  color: #ef4444;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.selected-product-item .btn-remove-item:hover {
  background-color: #fee2e2;
}

@media (max-width: 576px) {
  .dropdown-add-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .dropdown-add-group .cta-btn {
    width: 100%;
  }

  .selected-product-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .selected-product-item .item-controls {
    justify-content: space-between;
  }
}

/* Custom Styles for modified Hero text layout */
.hero-main-desc {
  margin-bottom: 16px !important;
}

.hero-sub-title {
  font-weight: 800;
  color: var(--primary) !important;
  font-size: 1.15rem !important;
  margin-bottom: 8px !important;
}

.hero-sub-desc {
  font-size: 0.95rem !important;
  margin-bottom: 36px !important;
  line-height: 1.6 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.8) !important;
  font-weight: 500 !important;
}

/* Product Card Image Slider Styles */
.product-card-img-slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-light);
}

.product-card-img-slider .slider-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
}

.product-card-img-slider .product-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.product-card-img-slider .product-slide.active {
  opacity: 1;
  z-index: 2;
}

.product-card-img-slider .slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 8px;
  border-radius: 10px;
}

.product-card-img-slider .slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background-color 0.3s ease, width 0.3s ease;
}

.product-card-img-slider .slider-dots .dot.active {
  background-color: #fff;
  width: 12px;
  border-radius: 3px;
}

.slider-arrow-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
}

.slider-arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(20, 41, 27, 0.72);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateX(0) scale(0.9);
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
  background: rgba(21, 128, 61, 0.94);
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.product-card-img-slider:hover .slider-arrow,
.product-card-img-slider:focus-within .slider-arrow {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (hover: none) {
  .slider-arrow {
    width: 34px;
    height: 34px;
    opacity: 0.92;
    transform: none;
    font-size: 1.15rem;
  }
}

/* Order Type & Payment Method Tabs Styling */
.order-type-tabs, .payment-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background-color: rgba(194, 231, 207, 0.2);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.order-tab, .payment-tab {
  flex: 1;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: calc(var(--radius-sm) - 2px);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.order-tab.active, .payment-tab.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.order-tab:hover:not(.active), .payment-tab:hover:not(.active) {
  background-color: rgba(194, 231, 207, 0.4);
  color: var(--primary-dark);
}

/* Pickup inputs container styling */
.pickup-datetime-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.pickup-datetime-container label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Footer Styles - Inspired by Shingi Haewon */
.footer {
  background: #0e262c;
  color: rgba(255, 255, 255, 0.55);
  padding: 64px 28px 40px;
  font-family: 'Outfit', 'Noto Sans KR', sans-serif;
}

.footer-inner {
  max-width: 1180px;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
  display: flex;
}

.footer-logo {
  font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
  color: #ffffff;
  margin-bottom: 12px;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.footer-text {
  max-width: 40ch;
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.85;
}

.footer-biz {
  color: rgba(255, 255, 255, 0.38);
  margin: 14px 0 0;
  font-size: 0.74rem;
  line-height: 1.9;
}

.footer-biz span {
  display: block;
}

.footer-links {
  flex-direction: column;
  gap: 9px;
  display: flex;
}

.footer-link-head {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3px;
  font-size: 0.66rem;
  font-weight: 600;
}

.footer-link {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1180px;
  color: rgba(255, 255, 255, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin: 44px auto 0;
  padding-top: 22px;
  font-size: 0.74rem;
  display: flex;
}

/* Footer Logo Image Adjustments */
.footer-logo-container {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1); /* 어두운 푸터 배경에 맞춰 흰색으로 반전 */
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
  vertical-align: middle;
}

.footer-logo-img:hover {
  opacity: 1;
  transform: scale(1.02);
}

/* Order Lookup Modal Styles */
.lookup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lookup-modal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lookup-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 38, 44, 0.6);
  backdrop-filter: blur(4px);
}

.lookup-modal-content {
  position: relative;
  background: #ffffff;
  width: 90%;
  max-width: 580px;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(14, 38, 44, 0.15);
  overflow-y: auto;
  z-index: 2001;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-light);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lookup-modal:not(.hidden) .lookup-modal-content {
  transform: translateY(0);
}

.lookup-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: 300;
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.lookup-modal-close:hover {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.lookup-modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 16px;
}

.lookup-modal-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.lookup-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0;
}

.lookup-modal-body {
  flex: 1;
}

.modal-info-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}

.lookup-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.lookup-input-group input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s;
}

.lookup-input-group input:focus {
  border-color: var(--primary);
}

.btn-lookup-action {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

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

.btn-lookup-action:active {
  transform: scale(0.98);
}

/* Spinner Styles */
.lookup-spinner-container.hidden {
  display: none;
}

.lookup-spinner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  gap: 12px;
  color: var(--text-muted);
}

.lookup-spinner-container p {
  margin: 0;
  font-size: 0.9rem;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(21, 128, 61, 0.1);
  border-radius: 50%;
  border-top-color: var(--primary);
  animation: lookup-spin 0.8s linear infinite;
}

@keyframes lookup-spin {
  to { transform: rotate(360deg); }
}

/* Results Section */
.lookup-results-container {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lookup-empty-message {
  text-align: center;
  padding: 30px 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.lookup-error-message {
  text-align: center;
  padding: 20px;
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 12px;
  color: #b91c1c;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

/* Order Item Card */
.order-lookup-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(14, 38, 44, 0.02);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 12px;
}

.order-card-id {
  font-weight: 800;
  color: var(--text-dark);
  font-size: 1rem;
}

.order-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.order-card-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.order-detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

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

.order-detail-value.items-list {
  max-width: 60%;
  word-break: keep-all;
}

.order-detail-value.price {
  color: var(--primary-dark);
  font-size: 1.05rem;
  font-weight: 800;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--border-light);
  padding-top: 12px;
  margin-top: 4px;
}

.order-status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Status variants */
.status-pending {
  background-color: #fef3c7;
  color: #d97706;
}

.status-completed {
  background-color: #dcfce7;
  color: #16a34a;
}

.status-shipping {
  background-color: #e0f2fe;
  color: #0284c7;
}

.status-cancelled {
  background-color: #f3f4f6;
  color: #4b5563;
}

.btn-delivery-tracking {
  background: #ffffff;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-delivery-tracking:hover {
  background: var(--bg-light);
  border-color: var(--text-muted);
}





/* Hero split layout: left copy area and right image slider */
.hero {
  --hero-tone: #e4e5ba;
  justify-content: flex-start;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.25) 42%, rgba(15, 23, 42, 0) 68%), var(--hero-tone);
}

.hero-slider {
  left: auto;
  right: 0;
  width: 58%;
  overflow: hidden;
}

.hero-slide {
  background-size: cover;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 6%;
  text-align: left;
  align-items: flex-start;
}

.hero-content {
  width: min(100%, 500px);
}

.hero-sub-desc {
  margin-left: 0;
  margin-right: 0;
}

.hero-ctas {
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    height: auto;
    min-height: auto;
    padding: 100px 0 0 0; /* 헤더 공간 확보 */
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-light);
  }

  .hero-container {
    position: relative;
    padding: 28px 24px 20px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    z-index: 3;
    width: 100%;
    order: 1; /* 글자를 상단으로 배치 */
  }

  .hero-content {
    width: 100%;
    max-width: 620px;
  }

  .hero h1 {
    color: var(--text-dark);
    text-shadow: none;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 16px;
  }

  .hero h1 span {
    color: var(--primary);
    text-shadow: none;
  }

  .hero-sub-desc {
    color: var(--text-muted);
    text-shadow: none;
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-sub-title {
    color: var(--primary);
    margin-bottom: 6px;
  }

  .hero-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
  }

  .hero-ctas {
    justify-content: center;
    gap: 12px;
  }

  .hero-cta {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px !important;
    font-size: 0.95rem !important;
  }

  .hero-slider {
    position: relative;
    width: 100%;
    height: 380px; /* 모바일 사진 크기 */
    left: 0;
    right: 0;
    margin-top: 16px;
    z-index: 1;
    order: 2; /* 사진을 하단으로 배치 */
  }

  .hero-slide {
    background-size: cover; /* 가득 차게 */
    background-position: center;
  }

  .hero-overlay {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0) 100%);
  }
}
/* Keep hero copy fully inside the left background area. */
.hero-container {
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: 24px;
}

.hero-content {
  width: min(100%, 470px);
}

.hero h1 span {
  color: var(--primary);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.28);
}

/* Mobile hero duplicate container styles removed */
/* Farm story gallery and sustainability section */
.detail-gallery .detail-img {
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 0;
}

.sustainability-section {
  background: #edf6ea;
}

.sustainability-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.sustainability-copy h2 {
  margin: 8px 0 22px;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  color: var(--primary-dark);
}

.sustainability-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.sustainability-video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #0f172a;
}

.sustainability-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .sustainability-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.video-fallback-link {
  display: block;
  margin-top: 10px;
  color: #ffffff;
  font-size: 0.82rem;
  text-align: right;
}

.video-fallback-link:hover {
  text-decoration: underline;
}

.video-local-file::before {
  content: '로컬 파일에서는 영상 재생이 제한될 수 있습니다. 아래 링크로 영상을 열어주세요.';
  display: block;
  padding: 12px 14px 0;
  color: #ffffff;
  font-size: 0.82rem;
  line-height: 1.5;
}

/* 추가된 상단 문구 및 로고 배지 스타일 */
.hero-sub-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.logo-sub-text {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-light);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .logo-sub-text {
    display: none; /* 모바일 아주 좁은 화면에서는 레이아웃 깨짐을 방지하기 위해 숨김 */
  }
}

/* Mobile header and requested copy refinements */
.hero h1,
.hero-sub-desc {
  text-align: left;
}

.hero h1 .hero-title-line {
  color: inherit;
  text-shadow: inherit;
}

.hero h1 .hero-title-accent {
  color: var(--primary);
}

@media (min-width: 769px) {
  .nav-container {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .hero {
    height: auto;
    min-height: 660px;
    padding-top: 112px;
    padding-bottom: 48px;
  }

  .hero-content {
    width: min(100%, 560px);
  }

  .hero h1 .hero-title-accent {
    text-shadow: none;
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: 64px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  header .logo img {
    height: 60px;
  }

  nav {
    top: 64px;
    height: calc(100vh - 64px);
  }

  .hero {
    padding-top: 64px;
  }

  .hero-sub-desc {
    color: #111111 !important;
    text-shadow: none !important;
    text-align: center;
    width: calc(100vw - 48px);
    max-width: none;
    margin-left: calc(50% - 50vw + 24px);
    margin-right: calc(50% - 50vw + 24px);
    font-size: clamp(0.7rem, 3.2vw, 0.95rem) !important;
    letter-spacing: -0.045em;
  }

  .hero h1 {
    width: calc(100vw - 48px);
    max-width: none;
    margin-left: calc(50% - 50vw + 24px);
    margin-right: calc(50% - 50vw + 24px);
    text-align: center;
  }

  .hero-title-line {
    white-space: nowrap;
  }

  .hero h1 .hero-title-accent {
    color: var(--primary);
  }

  .mobile-copy-line {
    white-space: nowrap;
  }

  .product-selection-desc {
    width: calc(100vw - 24px);
    max-width: none;
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
    font-size: clamp(0.78rem, 3.35vw, 0.95rem);
    line-height: 1.75;
    letter-spacing: -0.065em;
  }
}

/* Terms Modal Styling */
.terms-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.terms-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.terms-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.terms-modal-overlay.active .terms-modal-card {
  transform: translateY(0);
}

.terms-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fcfcfc;
}

.terms-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #191919;
}

.terms-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
}

.terms-close-btn:hover {
  color: #111;
}

.terms-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #333;
}

.terms-modal-body h3 {
  font-size: 1.1rem;
  color: #2e7d32;
  margin-top: 0;
  margin-bottom: 16px;
  font-weight: 700;
}

.terms-modal-body h4 {
  font-size: 1rem;
  color: #111;
  margin-top: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  border-left: 3px solid #2e7d32;
  padding-left: 8px;
}

.terms-modal-body p {
  margin: 0 0 10px 0;
  color: #444;
}

.terms-modal-body ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.terms-modal-body li {
  margin-bottom: 4px;
}

.terms-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid #eee;
  background-color: #fcfcfc;
  display: flex;
  justify-content: center;
}

.btn-terms-back {
  background-color: #2e7d32;
  color: #ffffff;
  border: none;
  padding: 12px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.25);
}

.btn-terms-back:hover {
  background-color: #1b5e20;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(46, 125, 50, 0.35);
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-dark, #166534);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--primary, #16a34a);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.35);
}

.scroll-top-btn:active {
  transform: translateY(-1px);
}

.scroll-top-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.scroll-top-btn:hover .scroll-top-icon {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .scroll-top-btn {
    bottom: 90px;
    right: 18px;
    width: 44px;
    height: 44px;
  }
}

/* Final cascade for compact calculator controls. */
.dropdown-add-group {
  gap: 8px;
  margin-top: 2px;
}

.dropdown-add-group .select-box,
.dropdown-add-group .cta-btn {
  height: 40px;
}

.dropdown-add-group .select-box {
  padding: 8px 10px;
  font-size: 0.78rem;
}

.dropdown-add-group .cta-btn {
  padding: 8px 16px;
  font-size: 0.82rem;
}

.calculator-notice-box {
  padding: 9px 12px;
  margin-bottom: 12px;
  gap: 5px;
}

.notice-item {
  gap: 7px;
  font-size: 0.76rem;
  line-height: 1.3;
}

.selected-products-list {
  min-height: 54px;
  max-height: 124px;
  margin: 10px 0;
  padding: 8px;
  gap: 6px;
}

.empty-basket-msg {
  padding: 8px 0;
  font-size: 0.78rem;
}

.selected-product-item {
  padding: 7px 9px;
  gap: 7px;
}

.order-type-tabs,
.payment-tabs {
  margin-bottom: 10px;
}

.order-tab,
.payment-tab {
  padding: 8px 12px;
  font-size: 0.82rem;
}

@media (max-width: 768px) {
  .calculator-notice-box {
    padding: 7px 9px;
    margin-bottom: 8px;
  }

  .notice-item {
    font-size: 0.66rem;
    line-height: 1.22;
  }

  .dropdown-add-group {
    flex-direction: row;
    align-items: center;
  }

  .dropdown-add-group .select-box {
    min-width: 0;
  }

  .dropdown-add-group .cta-btn {
    width: auto;
    flex: 0 0 auto;
    padding-inline: 12px;
  }

  .selected-products-list {
    min-height: 44px;
    max-height: 92px;
    margin: 7px 0;
    padding: 6px;
  }

  .empty-basket-msg {
    padding: 5px 0;
    font-size: 0.7rem;
  }

  .selected-product-item {
    flex-direction: row;
    align-items: center;
    padding: 5px 7px;
    gap: 5px;
  }

  .selected-product-item .item-controls {
    justify-content: flex-end;
  }

  .selected-product-item .item-info .item-price-desc {
    display: none;
  }
}
