/* 
   Фермерские Истории - Основные стили
*/
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-400.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/cormorant-garamond-600.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/cormorant-garamond-700.ttf') format('truetype'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/cormorant-garamond-400-italic.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-400.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/manrope-500.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/manrope-600.ttf') format('truetype'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-700.ttf') format('truetype'); }
@font-face { font-family: 'Yeseva One'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/yeseva-one-400.ttf') format('truetype'); }

:root {
  --bg-color: #F9F7F1;
  --text-color: #28241D;
  --footer-bg: #28241D;
  --primary-color: #C09C48;
  --primary-hover: #b08d38;
  --secondary-color: #6E3F2E;
  --border-color: #e5dfd1;
  --card-bg: #FFFFFF;
  --error-color: #d32f2f;

  --font-display: 'Yeseva One', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Manrope', sans-serif;
}

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

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.has-floating-cart { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); }

main { flex: 1; }

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }

.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-display { font-family: var(--font-display); }
.text-primary { color: var(--primary-color) !important; }
.text-error { color: var(--error-color); }
.italic { font-style: italic; }
.text-sm { font-size: 0.875rem; }
.opacity-70 { opacity: 0.7; }
.is-hidden,
[hidden] { display: none !important; }

.grain-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background-color: rgba(249, 247, 241, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--text-color); }
.logo-icon { width: 2rem; height: 2rem; color: var(--primary-color); }
.logo-img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.footer-logo-wrap { display: flex; justify-content: center; width: min(100%, 800px); margin: 0 auto 3rem; background: var(--footer-bg); position: relative; overflow: hidden; }
.footer-logo-wrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--footer-bg) 0%, transparent 24%, transparent 76%, var(--footer-bg) 100%),
    linear-gradient(180deg, var(--footer-bg) 0%, transparent 28%, transparent 72%, var(--footer-bg) 100%);
}
.footer-logo { display: block; width: min(100%, 800px); height: auto; object-fit: contain; }
@media(min-width: 768px) { .footer-logo { height: 8rem; } }
.logo-text { font-family: var(--font-display); font-size: 1.5rem; }
.header-nav { display: flex; gap: 2rem; align-items: center; }
.nav-link {
  text-decoration: none; color: var(--text-color); font-weight: 600;
  text-transform: uppercase; font-size: 0.875rem; letter-spacing: 0.05em; transition: color 0.2s;
}
.nav-link:hover { color: var(--primary-color); }
.cart-btn { background: none; border: none; cursor: pointer; position: relative; color: var(--text-color); display: flex; align-items: center; }
.cart-badge {
  position: absolute; top: -8px; right: -12px; background-color: var(--primary-color);
  color: #fff; font-size: 0.75rem; font-weight: bold; padding: 2px 6px; border-radius: 99px; min-width: 20px; text-align: center;
}
.cart-btn svg { width: 24px; height: 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background-color: var(--text-color); color: #fff;
  font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 1rem 2rem; text-decoration: none; border: none; cursor: pointer; transition: background-color 0.2s, transform 0.2s;
}
.btn:hover:not(:disabled) { background-color: var(--primary-color); }
.btn-primary { background-color: var(--primary-color); }
.btn-primary:hover:not(:disabled) { background-color: var(--primary-hover); }
.btn-outline { background-color: transparent; color: var(--text-color); border: 1px solid var(--border-color); }
.btn-outline:hover:not(:disabled) { border-color: var(--primary-color); color: var(--primary-color); background-color: transparent; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.btn-icon { width: 2.5rem; height: 2.5rem; padding: 0; background: transparent; border: none; cursor: pointer; color: inherit; display: inline-flex; align-items: center; justify-content: center; }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(40, 36, 29, 0.6); margin-bottom: 0.5rem; font-weight: 600; cursor: pointer;
}
.form-control {
  width: 100%; padding: 0.75rem 1rem; font-family: var(--font-sans); font-size: 1rem;
  background-color: transparent; border: 1px solid var(--border-color); color: var(--text-color);
  transition: border-color 0.2s; outline: none; border-radius: 0;
}
.form-control:focus { border-color: var(--primary-color); }
textarea.form-control { resize: vertical; min-height: 100px; }
.checkbox-group { display: flex; align-items: flex-start; gap: 0.75rem; }
.checkbox-group input[type="checkbox"] { margin-top: 0.25rem; accent-color: var(--primary-color); width: 1.25rem; height: 1.25rem; cursor: pointer; }
.checkbox-group .form-label { margin-bottom: 0; font-size: 0.875rem; color: var(--text-color); text-transform: none; letter-spacing: normal; font-weight: normal; }
.checkbox-group a { color: var(--primary-color); text-decoration: underline; }

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }
.w-full { width: 100%; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media(min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.img-placeholder { display: flex; align-items: center; justify-content: center; background-color: var(--border-color); color: rgba(40, 36, 29, 0.4); }
.img-placeholder svg { width: 48px; height: 48px; }
.image-placeholder-full { width: 100%; height: 100%; }
.spinner { width: 24px; height: 24px; border: 3px solid rgba(192, 156, 72, 0.3); border-radius: 50%; border-top-color: var(--primary-color); animation: spin 1s ease-in-out infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.loading-state { text-align: center; padding: 3rem; }
.loading-state--grid { grid-column: 1 / -1; padding-block: 4rem; }
.state-error-title { color: var(--error-color); }
.state-copy { margin-bottom: 2rem; }
.back-link { display: inline-block; margin-bottom: 2rem; color: var(--text-color); text-decoration: none; opacity: 0.68; }
.back-link:hover { opacity: 1; }

.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000;
  max-width: min(360px, calc(100vw - 40px)); padding: 1rem 1.5rem;
  border-radius: 4px; background: var(--text-color); color: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.16);
  font-family: var(--font-sans); font-weight: 600;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast--error { background: var(--error-color); }
.toast--visible { opacity: 1; transform: translateY(0); }

/* Footer */
.site-footer { background-color: var(--footer-bg); color: #fff; padding: 4rem 0; margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; } }
.footer-heading { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; color: var(--primary-color); }
.footer-link { color: rgba(255,255,255,0.7); text-decoration: none; display: block; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-link:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-copy { color: rgba(255,255,255,0.7); max-width: 300px; }
.footer-contact { color: rgba(255,255,255,0.7); margin-bottom: 0.5rem; }
.footer-contact:last-child { margin-bottom: 0; }
.footer-bottom--compact { margin-top: 0; padding-top: 0; border-top: 0; }

/* --- Specific Page Styles --- */

/* Home / Index */
.hero { position: relative; height: 100vh; min-height: 800px; display: flex; align-items: center; justify-content: center; overflow: hidden; background-color: var(--text-color); color: #fff; text-align: center; }
.hero-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
/* Затемняющая подложка поверх фото — текст читаем, овощи остаются цветными */
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(25, 18, 10, 0.45); z-index: 1; }
.hero-content {
  position: relative;
  z-index: 10;
  padding: 0 1rem;
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-title { font-size: clamp(4rem, 10vw, 9rem); line-height: 0.9; margin-bottom: 2rem; }
.hero-desc { font-family: var(--font-serif); font-size: clamp(1.25rem, 3vw, 1.875rem); max-width: 800px; margin: 0 auto 3rem; opacity: 0.9; }
.hero-kicker,
.section-kicker { font-family: var(--font-serif); color: var(--primary-color); font-size: 1.5rem; font-style: italic; }
/* «Традиции вкуса» — ярче и выразительнее */
.hero-kicker {
  margin-bottom: 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #E8B95C;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.hero-cta { padding: 1.5rem 3rem; font-size: 1.25rem; }

.ticker { background: var(--text-color); color: var(--primary-color); padding: 1.5rem 0; border-top: 1px solid rgba(192, 156, 72, 0.2); border-bottom: 1px solid rgba(192, 156, 72, 0.2); overflow: hidden; display: flex; white-space: nowrap; }
.ticker-inner { display: flex; animation: ticker-scroll 30s linear infinite; }
.ticker-item { display: flex; align-items: center; margin: 0 1.5rem; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.1em; }
.ticker-item svg { width: 1rem; height: 1rem; margin-left: 3rem; opacity: 0.5; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.founder-section { padding: 8rem 0; background: var(--bg-color); }
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media(min-width: 992px) { .founder-grid { grid-template-columns: 1fr 1fr; } }
.founder-images { position: relative; }
.img-slavic { border: 1px solid rgba(192, 156, 72, 0.3); background: #fff; padding: 0.5rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1); }
.founder-img-main {
  width: 100%;
  transform: rotate(-2deg);
  margin: 0 auto;
  display: block;
  filter: grayscale(0.2) contrast(1.1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s;
}
.founder-img-main:hover {
  transform: rotate(0deg) scale(1.02);
  filter: grayscale(0) contrast(1);
}
.founder-text h2 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 2rem; }
.founder-text p { font-size: 1.125rem; margin-bottom: 1.5rem; opacity: 0.8; }
.founder-text .quote { font-family: var(--font-serif); font-size: 1.25rem; font-style: italic; border-left: 2px solid var(--primary-color); padding-left: 1.5rem; opacity: 1; }
.story-brand { color: var(--text-color); }

.values-section { padding: 6rem 0; background: var(--bg-color); text-align: center; }
.values-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-top: 4rem; }
@media(min-width: 768px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card .icon-wrap { width: 6rem; height: 6rem; margin: 0 auto 2rem; border: 1px solid rgba(192, 156, 72, 0.2); display: flex; align-items: center; justify-content: center; background: #fff; transform: rotate(45deg); }
.value-card .icon-wrap svg { transform: rotate(-45deg); width: 2.5rem; height: 2.5rem; color: var(--primary-color); }
.value-card .icon-wrap--secondary { border-color: var(--secondary-color); }
.value-card .icon-wrap--secondary svg { color: var(--secondary-color); }
.value-card h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.value-card p { opacity: 0.7; }
.section-title-large { font-size: clamp(2.5rem, 5vw, 4rem); }
.section-subtitle { margin-top: 1rem; font-family: var(--font-serif); color: var(--primary-color); font-size: 1.25rem; font-style: italic; }

.flagship-section { padding: 7rem 0; background: #efe7d8; }
.flagship-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.flagship-image { width: 100%; min-height: 360px; object-fit: cover; border: 8px solid #fff; box-shadow: 0 18px 45px rgba(40, 36, 29, 0.16); }
.flagship-copy h2 { margin: 1rem 0 1.5rem; font-size: clamp(2.5rem, 5vw, 4rem); }
.flagship-copy p { margin-bottom: 1rem; font-size: 1.075rem; }
.flagship-address { padding-left: 1rem; border-left: 3px solid var(--primary-color); font-weight: 600; }
@media(min-width: 900px) {
  .flagship-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.steps-section { padding: 6rem 0; background: var(--text-color); color: #fff; border-top: 1px solid rgba(192, 156, 72, 0.2); }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; text-align: center; }
.steps-title { margin-bottom: 4rem; text-align: center; font-size: clamp(2.5rem, 5vw, 4rem); }
@media(min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-number { width: 5rem; height: 5rem; margin: 0 auto 1.5rem; border-radius: 50%; border: 2px solid var(--primary-color); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.75rem; color: var(--primary-color); }
.step-card h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.step-card p { opacity: 0.7; font-size: 0.875rem; }

.catalog-section { padding: 8rem 0; background-color: #F4F1EA; border-top: 1px solid var(--border-color); }
.box-card { background: var(--card-bg); border: 1px solid rgba(40, 36, 29, 0.1); display: flex; flex-direction: column; transition: box-shadow 0.3s, transform 0.3s; }
.box-card:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); transform: translateY(-5px); }
.box-img-wrap { height: 320px; background: #FAFAFA; border-bottom: 1px solid rgba(40, 36, 29, 0.1); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.box-img { width: 100%; height: 100%; object-fit: contain; padding: 2rem; transition: transform 0.5s; }
.box-card:hover .box-img { transform: scale(1.05); }
.box-weight { position: absolute; top: 1rem; right: 1rem; background: var(--primary-color); color: #fff; padding: 0.25rem 0.75rem; font-weight: bold; font-size: 0.875rem; text-transform: uppercase; }
.box-body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.box-title { font-size: 2rem; margin-bottom: 0.5rem; }
.box-subtitle { font-family: var(--font-serif); color: var(--primary-color); font-size: 1.25rem; font-style: italic; margin-bottom: 1.5rem; }
.box-desc { color: rgba(40, 36, 29, 0.7); margin-bottom: 2rem; flex: 1; }
.box-composition { background: #F9F7F1; padding: 1.25rem; border: 1px solid rgba(40, 36, 29, 0.1); margin-bottom: 2rem; }
.box-composition h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.box-composition ul { list-style: none; font-size: 0.875rem; color: rgba(40, 36, 29, 0.8); }
.box-composition li { margin-bottom: 0.25rem; display: flex; }
.box-composition li::before { content: "•"; color: var(--primary-color); margin-right: 0.5rem; }
.box-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(40, 36, 29, 0.1); padding-top: 1.5rem; }
.box-price { font-family: var(--font-display); font-size: 2.5rem; }
.fallback-notice { background-color: var(--secondary-color); color: #fff; padding: 1rem; text-align: center; margin-bottom: 2rem; }
.catalog-title { margin-top: 1rem; font-size: clamp(3rem, 6vw, 4.5rem); }
.catalog-intro { max-width: 600px; margin: 1rem auto 0; font-size: 1.25rem; opacity: 0.7; }
.catalog-empty { grid-column: 1 / -1; padding: 3rem; text-align: center; }

/* Checkout */
.checkout-wrap { padding: 4rem 0 8rem; }
.checkout-title { font-size: 3rem; margin-bottom: 3rem; }
.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media(min-width: 992px) { .checkout-grid { grid-template-columns: 7fr 5fr; } }
.checkout-section { background: var(--card-bg); border: 1px solid var(--border-color); padding: 2rem; margin-bottom: 2rem; position: relative; }
.checkout-section::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--primary-color); }
.checkout-section h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.radio-option { border: 1px solid var(--border-color); padding: 1.25rem; margin-bottom: 1rem; cursor: pointer; display: flex; align-items: flex-start; gap: 1rem; transition: all 0.2s; }
.radio-option.selected { border-color: var(--primary-color); background-color: rgba(192, 156, 72, 0.05); }
.radio-option input[type="radio"] { margin-top: 0.25rem; accent-color: var(--primary-color); width: 1.25rem; height: 1.25rem; cursor: pointer; }
.radio-option-content { flex: 1; }
.radio-option-title { font-weight: 600; font-size: 1.125rem; margin-bottom: 0.25rem; }
.delivery-meta { font-size: 0.875rem; opacity: 0.7; }
.delivery-fields { margin-top: 1rem; margin-bottom: 0; }
.radio-option:not(.selected) .delivery-fields { display: none; }
.pickup-discount { margin-left: 0.5rem; color: var(--primary-color); font-size: 0.875rem; font-weight: 400; }
.pickup-address { margin-top: 0.5rem; padding: 0.5rem; border: 1px solid var(--border-color); background: #fff; font-size: 0.875rem; opacity: 0.78; }
.availability-error { color: var(--error-color); }
.slots-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media(min-width: 576px) { .slots-grid { grid-template-columns: repeat(3, 1fr); } }
.slot-btn { border: 1px solid var(--border-color); background: var(--card-bg); padding: 1rem; text-align: center; cursor: pointer; color: var(--text-color); transition: all 0.2s; }
.slot-btn:hover:not(:disabled) { border-color: rgba(192, 156, 72, 0.5); }
.slot-btn.selected { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.slot-btn:disabled { background: #F9F7F1; color: rgba(40, 36, 29, 0.3); cursor: not-allowed; }
.slot-date { font-family: var(--font-display); font-size: 1.25rem; }
.slot-day { font-size: 0.75rem; opacity: 0.8; margin-top: 0.25rem; text-transform: capitalize; }
.slot-remain { font-size: 0.65rem; background: rgba(0,0,0,0.1); padding: 2px 4px; display: inline-block; margin-top: 0.5rem; }
.delivery-schedule-note { margin-top: 1rem; color: rgba(40, 36, 29, 0.65); font-size: 0.875rem; font-family: var(--font-serif); }
.summary-column { align-self: stretch; }
.summary-card { background: var(--text-color); color: #fff; padding: 2rem; position: sticky; top: 96px; }
@media(max-width: 991.98px) { .summary-card { position: static; } }
.summary-title { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 1rem; margin-bottom: 1.5rem; font-size: 2rem; }
.summary-item { display: flex; justify-content: space-between; margin-bottom: 1rem; font-size: 0.875rem; flex-direction: column; }
.summary-items { margin-bottom: 2rem; }
.summary-item-head { display: flex; justify-content: space-between; gap: 1rem; }
.summary-item-name,
.summary-value { font-weight: 600; }
.summary-item-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.qty-btn { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 24px; height: 24px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.summary-totals { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; margin-top: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.summary-row--discount { color: var(--primary-color); }
.summary-total { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1.5rem; margin-top: 1.5rem; }
.summary-total-label { margin-bottom: 0.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.6; }
.summary-total-val { font-family: var(--font-display); font-size: 2.5rem; color: #fff; line-height: 1; }
.checkout-submit { width: 100%; margin-top: 2rem; padding: 1.5rem; }
.empty-cart { text-align: center; padding: 5rem 0; }

/* Order */
.order-wrap { padding: 6rem 1rem; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.order-icon-wrapper { width: 6rem; height: 6rem; border: 1px solid rgba(192, 156, 72, 0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; transform: rotate(45deg); color: var(--primary-color); }
.order-icon-wrapper svg { width: 2.5rem; height: 2.5rem; transform: rotate(-45deg); }
.order-title { font-size: 3rem; text-align: center; margin-bottom: 0.5rem; }
.order-error-title { margin-bottom: 2rem; color: var(--error-color); }
.order-num { font-size: 1.25rem; opacity: 0.7; margin-bottom: 3rem; }
.test-payment { width: 100%; margin-bottom: 3rem; text-align: center; }
.test-payment-button { width: 100%; padding: 1.5rem; font-size: 1.125rem; }
.test-payment-note { margin-top: 1rem; font-family: var(--font-sans); font-size: 0.875rem; opacity: 0.65; }
.payment-error { margin-top: 1rem; color: var(--error-color); font-weight: 700; }
.order-card { background: var(--card-bg); border: 1px solid var(--border-color); width: 100%; padding: 2rem; position: relative; margin-bottom: 3rem; }
.order-card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: var(--primary-color); }
@media(min-width: 768px) { .order-card { padding: 3rem; } }
.status-badge { display: inline-block; padding: 0.25rem 0.75rem; background: rgba(192, 156, 72, 0.1); color: var(--primary-color); border: 1px solid rgba(192, 156, 72, 0.2); font-weight: bold; font-size: 0.75rem; text-transform: uppercase; }
.section-title { font-size: 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.section-title svg { color: var(--primary-color); width: 1.25rem; height: 1.25rem; }
.detail-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; margin-bottom: 0.5rem; font-size: 0.875rem; }
.detail-label { opacity: 0.6; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.detail-label--plain { text-transform: none; }
.detail-row--total { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-color); border-bottom: 0; }
.detail-total-label { margin-top: 0.5rem; }
.detail-total-value { font-family: var(--font-display); font-size: 1.75rem; }
.price-discount { color: var(--primary-color); }
.bg-block { background: #F9F7F1; border: 1px solid var(--border-color); padding: 1.5rem; }
.info-item { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color); }
.info-item:last-child { border: none; margin-bottom: 0; padding-bottom: 0; }
.info-item svg { width: 1.25rem; height: 1.25rem; opacity: 0.5; margin-top: 0.125rem; }
.info-value { font-weight: 700; }
.info-caption { margin-top: 0.25rem; }
.info-address { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.4; opacity: 0.8; }
.items-list { margin-top: 2rem; border-top: 1px solid var(--border-color); padding-top: 2rem; }
.item-row { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border-color); padding: 1.25rem; margin-bottom: 1rem; position: relative; }
.item-row::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: rgba(40,36,29,0.1); }
.item-title { font-family: var(--font-display); font-size: 1.125rem; }
.item-meta { font-size: 0.875rem; opacity: 0.6; margin-top: 0.25rem; }
.item-price { font-weight: bold; font-size: 1.125rem; }
.back-to-catalog { padding: 1rem 2rem; text-decoration: none; }

/* Legal */
.legal-content { padding: 4rem 1rem; max-width: 800px; margin: 4rem auto; background: var(--card-bg); border: 1px solid var(--border-color); }
.legal-title { font-size: 2.5rem; margin-bottom: 0.5rem; }
.legal-date { font-family: var(--font-serif); opacity: 0.6; margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.5rem; margin: 2rem 0 1rem; }
.legal-content p { margin-bottom: 1rem; opacity: 0.8; }

/* Delivery Section */
.delivery-section {
  padding: 8rem 0;
  background: #FFFFFF;
}
.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .delivery-grid { grid-template-columns: repeat(3, 1fr); }
}
.delivery-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  display: flex;
  flex-direction: column;
}
.delivery-card--featured {
  background: var(--text-color);
  color: #fff;
  border-color: var(--text-color);
}
.delivery-card--featured .delivery-icon { background: transparent; border-color: rgba(255,255,255,0.25); }
.delivery-card--featured .delivery-note,
.delivery-card--featured .delivery-address { color: rgba(255,255,255,0.76); }
.delivery-price { margin-bottom: 1.25rem; font-size: 1.5rem; color: var(--primary-color); }
.delivery-address { margin-top: 1rem; font-size: 0.875rem; }
.delivery-note--gift { color: var(--primary-color) !important; font-size: 1.05rem; font-weight: 700; }
.delivery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(40, 36, 29, 0.08);
}
.delivery-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
  transition: transform 0.4s;
}
.delivery-card:hover .delivery-icon {
  transform: scale(1.1) rotate(5deg);
}
.delivery-icon svg { width: 2rem; height: 2rem; }
.delivery-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  line-height: 1.2;
}
.delivery-list {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}
.delivery-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(40, 36, 29, 0.15);
  font-size: 0.9375rem;
}
.delivery-list li:last-child { border-bottom: none; }
.delivery-list span { color: rgba(40, 36, 29, 0.7); }
.delivery-note {
  font-size: 0.875rem;
  color: rgba(40, 36, 29, 0.5);
  font-style: italic;
  font-family: var(--font-serif);
  border-top: 1px solid rgba(40, 36, 29, 0.1);
  padding-top: 1rem;
  margin-top: auto;
}
.delivery-schedule {
  background: #F9F7F1;
  border: 1px solid var(--border-color);
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 920px;
  margin: 4rem auto 0;
}
.delivery-schedule > div {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.delivery-schedule-label {
  color: var(--primary-color);
  font-family: var(--font-display);
  font-size: 1.25rem;
}
@media (min-width: 720px) {
  .delivery-schedule { grid-template-columns: repeat(2, 1fr); }
  .delivery-schedule > div + div { border-left: 1px solid var(--border-color); padding-left: 2rem; }
}

/* Floating Cart Pill */
.cart-floating-pill {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: var(--text-color);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 99px;
  box-shadow: 0 10px 40px rgba(40, 36, 29, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.cart-floating-pill:hover {
  background: var(--primary-color);
  box-shadow: 0 15px 50px rgba(192, 156, 72, 0.4);
  transform: translateX(-50%) translateY(-4px);
}
.cart-floating-pill .cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.cart-floating-pill svg { width: 1.5rem; height: 1.5rem; }
.cart-floating-pill .cart-badge {
  position: absolute;
  top: -10px;
  right: -15px;
  background: var(--primary-color);
  border: 2px solid var(--text-color);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 99px;
  min-width: 20px;
  text-align: center;
  font-family: var(--font-sans);
  transition: background-color 0.3s, border-color 0.3s;
}
.cart-floating-pill:hover .cart-badge {
  background: var(--text-color);
  border-color: var(--primary-color);
}
@media (max-width: 767px) {
  .cart-floating-pill {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    width: calc(100% - 3rem);
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html, body { scroll-behavior: auto; }
  .hero-content { animation: none; }
  .ticker-inner { animation: none; }
  .box-card,
  .box-img,
  .delivery-card,
  .delivery-icon,
  .founder-img-main,
  .cart-floating-pill { transition: none; }
}
