﻿:root {
  --bg: #fffef8;
  --surface: #ffffff;
  --surface-soft: #f7fbe9;
  --text: #243022;
  --text-muted: #5a6957;
  --line: #dce6cd;
  --primary: #3f8f2f;
  --primary-dark: #2f6f23;
  --accent: #f7a928;
  --accent-soft: #ffe3b2;
  --danger: #d64b2e;
  --shadow: 0 12px 30px rgba(40, 66, 20, 0.12);
  --radius-md: 14px;
  --radius-lg: 22px;
  --transition: 0.24s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(247, 169, 40, 0.4);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -100%;
  background: var(--text);
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 999;
}

.skip-link:focus {
  top: 14px;
}

.container {
  width: min(1160px, 100% - 32px);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #2c6421, #4c9d3a 65%, #66b24f);
  color: #f8ffe9;
  font-size: 0.92rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
}

.topbar a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
  background: rgba(255, 254, 248, 0.9);
  border-bottom: 1px solid rgba(220, 230, 205, 0.8);
}

.header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.52rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-text span {
  color: var(--accent);
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary-dark);
  background: #edf7e0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #f08e1a);
  color: #2a220e;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(247, 169, 40, 0.24);
  transition: transform var(--transition), box-shadow var(--transition);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 25px rgba(247, 169, 40, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

.header-tools {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding-bottom: 14px;
}

.search-form {
  display: flex;
  gap: 8px;
}

.search-form input {
  flex: 1;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: #fff;
}

.search-form input::placeholder {
  color: #849281;
}

.search-form button {
  border: 0;
  border-radius: 12px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition);
}

.search-form button:hover {
  background: var(--primary-dark);
}

.cart-widget {
  min-width: 120px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: var(--text-muted);
}

.cart-widget strong {
  color: var(--primary-dark);
}

main section {
  padding: 72px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary-dark);
  background: #ebf8dc;
  border: 1px solid #cde4ab;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  margin-bottom: 16px;
}

.section-head {
  text-align: center;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.25;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  text-align: left;
}

.section-head p {
  color: var(--text-muted);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(247, 169, 40, 0.28), transparent 40%),
    radial-gradient(circle at 88% 82%, rgba(82, 168, 58, 0.25), transparent 42%),
    linear-gradient(180deg, #fffdf4 0%, #f8fee9 100%);
}

.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -80px;
  top: -80px;
  border-radius: 50%;
  background: rgba(247, 169, 40, 0.18);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 34px;
  align-items: center;
}

.hero h1 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.hero-description {
  color: var(--text-muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.btn {
  border: 0;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

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

.btn-primary {
  background: linear-gradient(125deg, var(--primary), #53a842);
  color: #fff;
  box-shadow: 0 12px 22px rgba(63, 143, 47, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(125deg, var(--primary-dark), #4d9b3e);
}

.btn-secondary {
  background: #fff;
  border: 1px solid #d8e9bf;
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: #f4fbe6;
}

.btn-small {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.btn-text {
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
}

.btn-text:hover {
  color: var(--primary-dark);
}

.btn.full {
  width: 100%;
}

.hero-trust {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-trust strong {
  color: var(--text);
}

.hero-visual {
  display: grid;
  gap: 16px;
  animation: floatUp 0.85s ease both;
}

.highlight-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid #e7efdb;
  overflow: hidden;
}

.highlight-card img {
  width: 100%;
  object-fit: cover;
}

.card-large img {
  max-height: 270px;
}

.card-small {
  display: grid;
  grid-template-columns: 150px 1fr;
}

.card-small img {
  height: 100%;
}

.highlight-card div {
  padding: 16px;
}

.highlight-card h3 {
  margin: 6px 0;
}

.highlight-card p {
  color: var(--text-muted);
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #8a4b00;
  padding: 5px 10px;
  font-weight: 600;
}

.brand-intro {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 42px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.intro-grid h2 {
  font-family: "Fraunces", "Georgia", serif;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.3;
}

.intro-grid p {
  color: var(--text-muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--surface);
  border: 1px solid #e7efdb;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(29, 52, 10, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(29, 52, 10, 0.15);
}

.category-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.category-card div {
  padding: 16px;
}

.category-card h3 {
  margin-bottom: 6px;
}

.category-card p {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.94rem;
}

.category-filter-link {
  color: var(--primary-dark);
  font-weight: 600;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.tab-btn {
  border: 1px solid #d5e4bd;
  background: #fff;
  color: var(--text-muted);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
  background: #edf8df;
  color: var(--primary-dark);
  border-color: #bfda9a;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  background: #fff;
  border: 1px solid #e4edd6;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(34, 54, 15, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(34, 54, 15, 0.16);
}

.product-card.hidden {
  display: none;
}

.product-media {
  position: relative;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 6px 10px;
  background: #2e7330;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}

.badge-new {
  background: #f39b16;
  color: #3b2201;
}

.badge-sale {
  background: #d64b2e;
}

.product-content {
  padding: 14px;
}

.product-content h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 6px;
}

.product-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 44px;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 14px;
}

.price-old {
  color: #85937f;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.price-current {
  color: #dc5d1d;
  font-size: 1.15rem;
  font-weight: 700;
}

.product-actions {
  display: flex;
  gap: 6px;
}

.product-actions .btn-small {
  flex: 1;
}

.empty-state {
  margin-top: 16px;
  padding: 14px;
  background: #fff8ea;
  border: 1px solid #ffdb9a;
  border-radius: 12px;
  color: #7a571b;
}

.commitment {
  background:
    linear-gradient(180deg, #f6fce9 0%, #edf8db 100%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5) 12px, transparent 12px, transparent 24px);
  border-top: 1px solid #daebbf;
  border-bottom: 1px solid #daebbf;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.commitment-grid article {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d8e8bf;
  border-radius: 14px;
  padding: 18px;
}

.commitment-grid h3 {
  margin-bottom: 8px;
}

.commitment-grid p {
  color: #4f6348;
  font-size: 0.94rem;
}

.gift-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.gift-content,
.gift-aside {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e4edd5;
  padding: 24px;
  box-shadow: 0 10px 22px rgba(40, 66, 20, 0.08);
}

.gift-content h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.15rem);
  line-height: 1.25;
}

.gift-content p {
  color: var(--text-muted);
}

.gift-content ul {
  margin: 14px 0 20px;
  display: grid;
  gap: 8px;
}

.gift-content li {
  position: relative;
  padding-left: 22px;
}

.gift-content li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 0;
  top: 8px;
}

.gift-aside {
  display: grid;
  gap: 12px;
}

.gift-aside article {
  border-radius: 12px;
  background: #f8fce9;
  border: 1px solid #dce9c2;
  padding: 14px;
}

.gift-aside h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.gift-aside p,
.gift-aside a {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.order-process {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-grid article {
  border: 1px solid #e6eed8;
  border-radius: 14px;
  padding: 18px;
  background: #fffef9;
}

.process-grid span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ebf8dc;
  border: 1px solid #cfe4af;
  font-weight: 700;
  margin-bottom: 10px;
}

.process-grid p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonial-grid article {
  background: #fff;
  border: 1px solid #e4edd6;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(34, 54, 15, 0.07);
}

.testimonial-grid p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.testimonial-grid h3 {
  font-size: 1rem;
}

.testimonial-grid span {
  color: #7a886f;
  font-size: 0.88rem;
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #fff;
  border: 1px solid #e2ebd3;
  border-radius: 12px;
  padding: 14px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
  padding-right: 26px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #637c54;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  color: var(--text-muted);
  margin-top: 8px;
}

.contact {
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 169, 40, 0.18), transparent 35%),
    linear-gradient(180deg, #f9fdec 0%, #f3fae1 100%);
  border-top: 1px solid #dbe9c2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-info p,
.contact-info li {
  color: var(--text-muted);
}

.contact-info ul {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.contact-form {
  background: #fff;
  border: 1px solid #dce9c3;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.field {
  margin-bottom: 14px;
}

.field.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #d4e3bc;
  border-radius: 12px;
  padding: 11px 12px;
  background: #fff;
}

.field textarea {
  resize: vertical;
}

.field input.error,
.field select.error,
.field textarea.error {
  border-color: #f0a095;
  background: #fff9f8;
}

.error-message {
  color: var(--danger);
  min-height: 1em;
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
}

.form-note {
  color: #6a7863;
  font-size: 0.85rem;
  margin-top: 10px;
}

.form-status {
  margin-top: 10px;
  font-weight: 600;
}

.form-status.success {
  color: #2f6f23;
}

.form-status.error {
  color: var(--danger);
}

.site-footer {
  background: #1f3f16;
  color: #e8f6d6;
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 18px;
  padding-bottom: 30px;
}

.footer-brand {
  margin-bottom: 10px;
}

.site-footer h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #fff6dd;
}

.site-footer ul {
  display: grid;
  gap: 8px;
}

.site-footer p,
.site-footer a,
.small-text {
  color: #cfe8bb;
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: #ffe4a8;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid #44693a;
  background: #2a4f20;
  color: #f0ffe4;
  padding: 0 12px;
}

.newsletter-form input::placeholder {
  color: #98b08f;
}

.newsletter-form button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #2f2207;
  font-weight: 700;
  padding: 0 14px;
  cursor: pointer;
}

.footer-bottom {
  border-top: 1px solid #3b6131;
  padding: 16px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #b6d9a2;
  font-size: 0.86rem;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #2f6f23;
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 24px rgba(28, 52, 14, 0.35);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 60;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

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

@media (max-width: 1100px) {
  .hero-grid,
  .intro-grid,
  .gift-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .category-grid,
  .commitment-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .header-main {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fffef7;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px;
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    align-items: stretch;
  }

  .header-cta {
    display: none;
  }

  .header-tools {
    grid-template-columns: 1fr;
  }

  .section-head.split {
    flex-direction: column;
    align-items: start;
  }

  .filter-tabs {
    justify-content: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1160px, 100% - 24px);
  }

  main section {
    padding: 56px 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .card-small {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .commitment-grid,
  .process-grid,
  .footer-grid,
  .field.two-col {
    grid-template-columns: 1fr;
  }

  .product-actions {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }
}
