﻿:root {
  --green: #1F4D3A;
  --gold: #C9A13B;
  --ivory: #F5F0E6;
  --charcoal: #2B2B2B;
  --accent: #5F8F4E;
  --shadow: rgba(31, 77, 58, 0.2);
}

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

body {
  font-family: 'Manrope', sans-serif;
  color: var(--charcoal);
  background: radial-gradient(140% 90% at 0% 0%, rgba(31, 77, 58, 0.14), transparent 58%),
              radial-gradient(130% 90% at 100% 100%, rgba(201, 161, 59, 0.14), transparent 62%),
              linear-gradient(180deg, #f8f4ea 0%, #f5f0e6 55%, #f1ebdf 100%);
  min-height: 100vh;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.ui-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  flex-shrink: 0;
}

.ui-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bg-leaf-spray {
  position: fixed;
  width: min(44vw, 560px);
  aspect-ratio: 1 / 1;
  pointer-events: none;
  background: center / contain no-repeat url('../img/bg-tea-leaf-spray.svg');
  opacity: 0.52;
  filter: drop-shadow(0 22px 42px rgba(31, 77, 58, 0.14));
  z-index: -2;
}

.leaf-spray-1 {
  top: -175px;
  left: -140px;
  transform: rotate(-10deg);
}

.leaf-spray-2 {
  right: -150px;
  bottom: -190px;
  opacity: 0.46;
  transform: scaleX(-1) rotate(-8deg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 18% 16%, rgba(31, 77, 58, 0.1), transparent 34%),
                    radial-gradient(circle at 84% 84%, rgba(201, 161, 59, 0.1), transparent 30%),
                    url('../img/bg-tea-leaf-pattern.svg');
  background-repeat: no-repeat, no-repeat, repeat;
  background-size: auto, auto, 340px 280px;
  background-position: 0 0, 0 0, center;
  z-index: -3;
  opacity: 0.5;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(245, 240, 230, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 77, 58, 0.1);
  z-index: 20;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
}

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

.brand-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  display: block;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green);
  color: var(--ivory);
  display: grid;
  place-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  box-shadow: 0 10px 20px var(--shadow);
}

.brand-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.brand-text small {
  display: block;
  font-size: 12px;
  color: rgba(43, 43, 43, 0.7);
}

.nav {
  display: flex;
  gap: 18px;
  font-weight: 500;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-bottom: 4px;
}

.nav a + a {
  margin-left: 4px;
  padding-left: 16px;
  border-left: 1px solid rgba(31, 77, 58, 0.2);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 24px;
  bottom: 0;
  height: 2px;
  width: calc(100% - 24px);
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  transition: transform 0.2s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

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

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

.locale-controls select {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(43, 43, 43, 0.2);
  background: white;
  font-size: 12px;
}

.link {
  font-weight: 500;
}

.btn-outline {
  padding: 10px 16px;
  border: 1px solid var(--green);
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background: var(--green);
  color: var(--ivory);
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green);
  color: var(--ivory);
  font-weight: 600;
}

.cart-pill .cart-count {
  background: var(--gold);
  color: var(--charcoal);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.cart-pill .ui-icon {
  width: 17px;
  height: 17px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--charcoal);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 20px;
  background: var(--ivory);
  border-top: 1px solid rgba(31, 77, 58, 0.1);
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid rgba(31, 77, 58, 0.12);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.site-main {
  padding: 40px 0 80px;
}

.site-main > section.container + section.container {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(31, 77, 58, 0.14);
  position: relative;
}

.site-main > section.container + section.container::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 88px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 161, 59, 0));
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 40px 0 60px;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px);
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.hero .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 24px rgba(201, 161, 59, 0.2);
}

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

.btn-secondary {
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--charcoal);
  background: transparent;
  font-weight: 600;
}

.hero-card {
  background: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(31, 77, 58, 0.15);
  display: grid;
  gap: 16px;
}

.hero-card .badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(31, 77, 58, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}

.hero-card img {
  width: 100%;
  border-radius: 16px;
  height: 220px;
  object-fit: cover;
}

.home-slider {
  position: relative;
  padding: 20px 0 36px;
}

.home-slider-track {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(31, 77, 58, 0.22);
  background: rgba(31, 77, 58, 0.12);
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.home-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-slide-bg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.home-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(8, 28, 21, 0.85) 0%, rgba(8, 28, 21, 0.55) 42%, rgba(8, 28, 21, 0.18) 100%);
}

.home-slide-content {
  position: absolute;
  left: clamp(18px, 4vw, 54px);
  top: 50%;
  transform: translateY(-50%);
  width: min(720px, calc(100% - 36px));
  color: #ffffff;
  display: grid;
  gap: 14px;
}

.home-slide-content .badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  letter-spacing: 1.1px;
}

.home-slide-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.8vw, 62px);
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

.home-slide-content p {
  margin: 0;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.62;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.95);
}

.home-slide-content .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-slide-content .btn-secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
}

.home-slider-controls {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.home-slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(31, 77, 58, 0.22);
  background: rgba(255, 255, 255, 0.76);
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.home-slider-arrow:hover {
  background: #ffffff;
}

.home-slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-slider-dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 999px;
  background: rgba(31, 77, 58, 0.28);
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.home-slider-dot.is-active {
  width: 26px;
  background: var(--green);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 24px;
}

.section-title h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
}

.section-title a {
  font-weight: 600;
  color: var(--green);
}

.page-intro {
  margin: -8px 0 18px;
  color: rgba(43, 43, 43, 0.86);
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  background: white;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 16px 32px rgba(31, 77, 58, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(31, 77, 58, 0.16);
}

.card img {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--ivory);
}

.card h3 {
  font-size: 18px;
}

.card .price {
  font-weight: 700;
}

.card .price del {
  color: rgba(43, 43, 43, 0.5);
  font-weight: 400;
  margin-left: 6px;
}

.card .actions {
  display: flex;
  gap: 10px;
}

.card .actions button,
.card .actions a {
  flex: 1;
  text-align: center;
}

.badge {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green);
}

.alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin: 16px 0;
}

.alert-success {
  background: rgba(31, 77, 58, 0.12);
}

.alert-error {
  background: rgba(153, 0, 0, 0.1);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input, select, textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(43, 43, 43, 0.15);
  font-family: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.section-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(31, 77, 58, 0.1);
}

.content-prose {
  display: grid;
  gap: 14px;
  line-height: 1.72;
}

.content-prose h3 {
  font-size: 22px;
  margin-top: 8px;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--green);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-bottom: 1px solid rgba(31, 77, 58, 0.14);
  padding-bottom: 14px;
}

.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-item h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-map-wrap {
  overflow: hidden;
}

.contact-map-section {
  margin-top: 24px;
}

.contact-map-title {
  margin: 0 0 14px;
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(31, 77, 58, 0.16);
}

.contact-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th, .table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
}

.table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(43, 43, 43, 0.6);
}

.order-summary {
  display: grid;
  gap: 10px;
}

.order-summary .row {
  display: flex;
  justify-content: space-between;
}

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(8, 25, 18, 0.14) 0%, rgba(8, 25, 18, 0.02) 100%), var(--green);
  color: var(--ivory);
  padding: 40px 0 20px;
}

.site-footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  background: url('../img/bg-footer-mountains.svg') center bottom / cover no-repeat;
  opacity: 0.34;
  pointer-events: none;
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-copy {
  display: grid;
  gap: 4px;
}

.footer-heading {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.82;
  margin: 0;
}

.footer-brand-copy strong {
  font-size: 24px;
  line-height: 1;
  margin-top: 4px;
}

.footer-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-links, .footer-meta {
  display: grid;
  gap: 8px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.18);
}

.footer-links a:last-of-type {
  border-bottom: none;
}

.footer-meta-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(245, 240, 230, 0.18);
}

.footer-meta-item:last-child {
  border-bottom: none;
}

.footer-meta-item .ui-icon {
  margin-top: 3px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.8;
}

.product-page {
  display: grid;
  gap: 30px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.product-image {
  width: 100%;
  height: 380px;
  border-radius: 24px;
  object-fit: cover;
  background: var(--ivory);
}

.badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 161, 59, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--charcoal);
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

[data-animate].reveal {
  opacity: 1;
  transform: translateY(0);
}

.pill-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .home-slider {
    padding-top: 14px;
  }
  .home-slider-track {
    min-height: 440px;
    border-radius: 20px;
  }
  .home-slide-overlay {
    background: linear-gradient(130deg, rgba(8, 28, 21, 0.84) 0%, rgba(8, 28, 21, 0.6) 62%, rgba(8, 28, 21, 0.32) 100%);
  }
  .home-slide-content {
    width: min(720px, calc(100% - 32px));
    left: 16px;
  }
  .home-slide-content h1 {
    font-size: clamp(30px, 6vw, 48px);
  }
  .product-page {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .bg-leaf-spray {
    width: min(54vw, 420px);
    opacity: 0.42;
  }
  .leaf-spray-1 {
    top: -130px;
    left: -120px;
  }
  .leaf-spray-2 {
    right: -120px;
    bottom: -150px;
  }
  .bg-grid {
    background-size: auto, auto, 280px 230px;
    opacity: 0.44;
  }
  .site-footer::before {
    height: 170px;
  }
  .site-main > section.container + section.container {
    margin-top: 22px;
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .grid-4, .grid-3 {
    grid-template-columns: 1fr;
  }
  .home-slider-track {
    min-height: 420px;
  }
  .home-slide-content {
    top: auto;
    bottom: 16px;
    transform: none;
    gap: 10px;
  }
  .home-slide-content p {
    font-size: 15px;
    line-height: 1.5;
  }
  .home-slide-content .cta-row {
    width: 100%;
  }
  .home-slide-content .cta-row a {
    width: 100%;
    text-align: center;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .site-header .container {
    flex-wrap: wrap;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
  .site-footer .container {
    grid-template-columns: 1fr;
  }
  .footer-heading {
    margin-top: 8px;
  }
  .bg-leaf-spray {
    width: 290px;
    opacity: 0.34;
    filter: none;
  }
  .leaf-spray-1 {
    top: -110px;
    left: -140px;
  }
  .leaf-spray-2 {
    right: -160px;
    bottom: -120px;
  }
  .bg-grid {
    background-size: auto, auto, 220px 180px;
    opacity: 0.36;
  }
  .site-footer::before {
    height: 130px;
    opacity: 0.3;
  }
  .contact-map iframe {
    height: 300px;
  }
}
