/* 
  ร้านทวีทรัพย์ค้าข้าว - Premium Style Sheet
  Designed with Rich Aesthetics (Warm Cream, Deep Green, Royal Gold)
*/

:root {
  /* Color Palette */
  --primary-gold: #D8A623;
  --primary-gold-rgb: 216, 166, 35;
  --dark-gold: #B68515;
  --light-gold: #F7E7C4;
  
  --primary-green: #1E3E2A;
  --primary-green-rgb: 30, 62, 42;
  --light-green: #E8EFEA;
  --accent-green: #2E6A47;
  
  --bg-cream: #FCFAF2;
  --bg-white: #FFFFFF;
  --bg-card: #F4F1E6;
  --border-color: #E6E1D3;
  
  --text-dark: #1F2821;
  --text-muted: #5D6860;
  --text-light: #FFFFFF;
  
  /* Typography */
  --font-title: 'Kanit', sans-serif;
  --font-body: 'Sarabun', sans-serif;
  
  /* Sizing */
  --header-height: 80px;
  --header-height-scrolled: 70px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(30, 62, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 62, 42, 0.12);
  --shadow-gold: 0 8px 24px rgba(216, 166, 35, 0.2);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-green);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Utility Elements */
.text-center { text-align: center; }
.highlight-gold { color: var(--primary-gold); }

.section-header {
  margin-bottom: 56px;
  max-width: 700px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-gold);
  background-color: var(--light-green);
  padding: 6px 16px;
  border-radius: var(--border-radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 36px;
  margin-bottom: 16px;
  position: relative;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  user-select: none;
}

.btn-primary {
  background-color: var(--primary-green);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--primary-gold);
  color: var(--primary-green);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--dark-gold);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 18px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: var(--border-radius-sm);
}

.btn-block {
  display: flex;
  width: 100%;
}

.icon {
  width: 20px;
  height: 20px;
}

/* Main Header & Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(252, 250, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.main-header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-md);
  background-color: rgba(252, 250, 242, 0.95);
}

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

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

.logo-icon {
  font-size: 28px;
}

.logo-text {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-green);
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-gold);
  transition: width var(--transition-fast);
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-phone {
  padding: 8px 18px;
  font-size: 14px;
  border-radius: var(--border-radius-sm);
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle-btn .bar {
  width: 100%;
  height: 2px;
  background-color: var(--primary-green);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: calc(var(--header-height) + 64px) 0 80px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--light-green) 100%);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(216, 166, 35, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tagline {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-green);
  background-color: var(--bg-white);
  padding: 6px 16px;
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  line-height: 1.25;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-features-badge {
  display: flex;
  gap: 24px;
}

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

.badge-icon {
  font-size: 20px;
}

.badge-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  padding: 12px;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform var(--transition-normal);
}

.hero-image-wrapper:hover {
  transform: rotate(0) scale(1.02);
}

.hero-img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--border-radius-md);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero-img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--primary-green);
  color: var(--text-light);
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--primary-gold);
}

.hero-img-badge .number {
  font-size: 24px;
}

.hero-img-badge .text {
  font-family: var(--font-title);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 500;
}

/* Best Seller Section */
.best-seller-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.best-seller-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.product-image-card {
  position: relative;
  background-color: var(--bg-cream);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-featured-image {
  max-height: 480px;
  object-fit: contain;
  border-radius: var(--border-radius-md);
  transition: transform var(--transition-normal);
}

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

.product-badge-yellow {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: var(--primary-gold);
  color: var(--primary-green);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-sm);
}

.product-info-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge-brand {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
  margin-bottom: 16px;
}

.product-detail-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.product-detail-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 16px;
}

.testimonial-box {
  background-color: var(--light-green);
  border-left: 4px solid var(--accent-green);
  padding: 16px 20px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-box p {
  color: var(--primary-green);
  font-weight: 500;
  margin-bottom: 8px;
}

.testimonial-box cite {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--text-muted);
  font-style: normal;
  display: block;
}

.sizes-title {
  font-size: 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-sizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  margin-bottom: 40px;
}

.size-card {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 16px;
  text-align: center;
  transition: all var(--transition-normal);
}

.size-card:hover {
  border-color: var(--primary-gold);
  background-color: var(--bg-white);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.size-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.size-label {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.size-weight {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 8px;
}

.size-desc {
  font-size: 11px;
  line-height: 1.4;
  color: var(--text-muted);
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

/* All Products Section */
.all-products-section {
  padding: 100px 0;
  background-color: var(--bg-cream);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-gold);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.card-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.product-card:hover .card-img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
  color: var(--text-light);
}

.tag-best {
  background-color: var(--primary-gold);
  color: var(--primary-green);
}

.tag-premium {
  background-color: var(--accent-green);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-product-title {
  font-size: 20px;
  margin-bottom: 12px;
}

.card-product-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-specs {
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--primary-green);
  background-color: var(--light-green);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}

/* Service Card variant inside product grid */
.service-card {
  background: linear-gradient(135deg, var(--primary-green) 0%, #112519 100%);
  color: var(--text-light);
  padding: 32px;
  justify-content: center;
  align-items: flex-start;
  border: none;
}

.service-card:hover {
  border-color: transparent;
}

.service-card h3 {
  color: var(--primary-gold);
}

.service-icon-box {
  font-size: 40px;
  margin-bottom: 16px;
  background-color: rgba(216, 166, 35, 0.1);
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-md);
  border: 1px dashed var(--primary-gold);
}

.service-card .card-body {
  padding: 0;
  width: 100%;
}

.service-card .card-product-desc {
  color: rgba(255, 255, 255, 0.7);
}

.service-features {
  list-style: none;
  margin-bottom: 28px;
}

.service-features li {
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

/* Interactive Rice Calculator Section */
.calculator-section {
  padding: 100px 0;
  background-color: var(--bg-white);
}

.calculator-box {
  background: linear-gradient(135deg, #1e3e2a07 0%, #d8a62309 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.calculator-header {
  margin-bottom: 40px;
}

.calc-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-gold);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.calc-title {
  font-size: 32px;
  margin-bottom: 12px;
}

.calc-subtitle {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 800px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.calc-inputs-pane {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 500;
  color: var(--primary-green);
  margin-bottom: 8px;
}

/* Radio buttons styled as segmented control */
.radio-toggle-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--light-green);
  padding: 4px;
  border-radius: var(--border-radius-sm);
  gap: 4px;
}

.radio-toggle-group input[type="radio"] {
  display: none;
}

.radio-toggle-group .radio-label {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 500;
  padding: 10px;
  border-radius: calc(var(--border-radius-sm) - 2px);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-muted);
}

.radio-toggle-group input[type="radio"]:checked + .radio-label {
  background-color: var(--primary-green);
  color: var(--text-light);
  box-shadow: var(--shadow-sm);
}

/* Range Sliders styling */
.range-slider-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.range-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: var(--border-radius-full);
  background: var(--light-green);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-gold);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.range-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: var(--primary-gold);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.range-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.range-val {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  color: var(--primary-green);
  min-width: 70px;
  text-align: right;
}

.form-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background-color: var(--bg-white);
  color: var(--text-dark);
  outline: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(216, 166, 35, 0.15);
}

/* Calc Results Panel */
.calc-results-pane {
  background-color: var(--primary-green);
  color: var(--text-light);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.results-heading {
  color: var(--primary-gold);
  font-size: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.result-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  padding: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

.stat-value {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-gold);
}

.recommendation-box {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.recommendation-title {
  color: var(--primary-gold);
  font-size: 16px;
  margin-bottom: 12px;
}

.recommendation-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}

.packaging-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.15);
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-title);
  font-size: 13px;
}

.breakdown-item span:first-child {
  color: rgba(255, 255, 255, 0.9);
}

.breakdown-item span:last-child {
  color: var(--primary-gold);
  font-weight: 700;
}

/* Thai Rice Info Section */
.thai-rice-section {
  padding: 100px 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.rice-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.rice-card-icon-wrapper {
  background-color: var(--light-green);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.rice-large-icon {
  font-size: 64px;
  transition: transform var(--transition-normal);
}

.product-card:hover .rice-large-icon {
  transform: scale(1.15);
}

.rice-card-specs-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  flex-grow: 1;
}

.spec-section strong {
  display: block;
  font-family: var(--font-title);
  font-size: 14px;
  color: var(--primary-green);
  margin-bottom: 6px;
}

.spec-section ul {
  list-style: none;
  padding-left: 0;
}

.spec-section ul li {
  font-size: 13px;
  color: var(--text-muted);
  position: relative;
  padding-left: 14px;
  margin-bottom: 4px;
}

.spec-section ul li::before {
  content: '•';
  color: var(--primary-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.spec-section p {
  font-size: 13px;
  color: var(--text-muted);
}

/* Contact & Info Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--bg-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: flex-start;
}

.contact-info-pane {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-methods-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  margin-top: 16px;
}

.method-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.method-icon {
  font-size: 24px;
  background-color: var(--light-green);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  flex-shrink: 0;
}

.method-details h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.method-details p {
  font-size: 14px;
  color: var(--text-muted);
}

.phone-link {
  font-weight: 600;
  color: var(--primary-green);
  border-bottom: 1.5px dashed var(--primary-green);
}

.phone-link:hover {
  color: var(--primary-gold);
  border-color: var(--primary-gold);
}

.link-action {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-title);
  font-size: 13px;
  color: var(--primary-gold);
  font-weight: 600;
}

.link-action:hover {
  color: var(--primary-green);
}

.hashtags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.hashtag {
  font-size: 12px;
  font-weight: 500;
  background-color: var(--light-green);
  color: var(--accent-green);
  padding: 4px 12px;
  border-radius: var(--border-radius-full);
}

.contact-map-iframe {
  width: 100%;
  height: 280px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  margin-top: 28px;
  box-shadow: var(--shadow-sm);
  display: block;
}

/* Quick Inquiry Form Panel */
.contact-form-pane {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.inquiry-form {
  position: relative;
}

.form-row {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  outline: none;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-green);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(46, 106, 71, 0.12);
}

.form-input.text-area {
  resize: vertical;
}

.required {
  color: #c93b3b;
}

/* Feedback Box */
.form-feedback {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--border-radius-lg);
  animation: fadeIn 0.4s ease forwards;
}

.feedback-content {
  text-align: center;
  padding: 32px;
  max-width: 400px;
}

.feedback-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 16px;
}

.feedback-text strong {
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--primary-green);
  display: block;
  margin-bottom: 8px;
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Footer Section */
.main-footer {
  background-color: var(--primary-green);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 12px;
}

.footer-copy {
  font-size: 13px;
}

/* Scroll Reveal effects classes */
.reveal-el {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-el.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 40px;
  }
  
  .best-seller-grid,
  .calc-grid,
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 992px) {
  /* Header mobile toggle styling */
  .mobile-toggle-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-cream);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  
  .main-header.scrolled .nav-menu {
    top: var(--header-height-scrolled);
    height: calc(100vh - var(--header-height-scrolled));
  }
  
  .nav-menu.open {
    transform: translateX(0);
  }
  
  .mobile-toggle-btn.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .mobile-toggle-btn.open .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle-btn.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  /* Hero section grid adjustments */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions-group {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1; /* Place image on top on mobile/tablet */
  }
  
  /* Best Seller section grid */
  .best-seller-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .product-image-card {
    max-width: 420px;
    margin: 0 auto;
  }
  
  .product-info-details {
    align-items: center;
    text-align: center;
  }
  
  .sizes-title {
    justify-content: center;
  }
  
  .cta-actions {
    justify-content: center;
  }
  
  /* Calculator section */
  .calc-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  
  .contact-info-pane {
    align-items: center;
    text-align: center;
  }
  
  .method-item {
    text-align: left;
  }
  
  .hashtags-container {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .product-sizes-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .calculator-box {
    padding: 32px 24px;
  }
  
  .calc-results-pane {
    padding: 24px;
  }
  
  .contact-form-pane {
    padding: 32px 24px;
  }
  
  .btn-nav-phone {
    display: none; /* Hide telephone icon button in header, keep toggle */
  }
}

@media (max-width: 480px) {
  .hero-actions-group .btn {
    width: 100%;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
}
