:root {
  --forest: #2D5016;
  --cream: #F7F3E8;
  --terracotta: #C37A67;
}

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

.free-shipping-banner {
  width: 100%;
  background-color: var(--terracotta);
  color: var(--cream);
  text-align: center;
  padding: 8px 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: bold;
}

body {
  font-family: Georgia, serif;
  background-color: var(--cream);
  color: var(--forest);
}

.hero {
  text-align: center;
  padding: 80px 20px;
  background-color: var(--forest);
  color: var(--cream);
}

.hero h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}

.tagline {
  font-style: italic;
  margin: 10px 0 30px;
}

.btn {
  display: inline-block;
  background-color: var(--terracotta);
  color: var(--cream);
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.story {
  max-width: 600px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
  line-height: 1.6;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.product-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-card h3 {
  margin: 15px 0 5px;
}

.product-card .price {
  color: var(--terracotta);
  font-weight: bold;
  margin-bottom: 15px;
}
/* Hero slideshow */

.hero-side-left,
.hero-side-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  transition: opacity 0.8s ease-in-out;
}

.hero-side-left {
  left: 0;
}

.hero-side-right {
  right: 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--forest);
  text-decoration: none;
  font-family: Georgia, serif;
}

.logo-tagline {
  display: block;
  font-size: 0.7rem;
  font-style: italic;
  font-weight: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  color: var(--forest);
  text-decoration: none;
  font-weight: bold;
}

.search-bar {
  padding: 8px 14px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 20px;
  width: 220px;
  font-family: Georgia, serif;
}

.cart-icon {
  position: relative;
  color: var(--forest);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--terracotta);
  color: white;
  font-size: 0.7rem;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero banner */
.hero-banner {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: white;
}

.hero-content {
  position: relative;
  z-index: 1; 
  background: rgba(247, 243, 232, 0.85);
  width: 20%;
  min-width: 280px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hero-eyebrow {
  letter-spacing: 3px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color:  var(--forest);
}

.hero-headline {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--forest);
}

.hero-subtext {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--forest);
}

.cart-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--forest); color: var(--cream); padding: 10px 20px; border-radius: 6px; opacity: 0; transition: all 0.3s ease; pointer-events: none; }
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.search-dropdown { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white; border: 1px solid rgba(0,0,0,0.15); border-radius: 8px; z-index: 10; max-height: 300px; overflow-y: auto; }
.search-dropdown.show { display: block; }
.search-result { display: flex; align-items: center; gap: 10px; padding: 8px 12px; text-decoration: none; color: #333; }
.search-result img { width: 36px; height: 36px; object-fit: cover; border-radius: 4px; }
.search-result-empty { padding: 12px; color: #888; }

.cart-page { max-width: 800px; margin: 40px auto; padding: 0 20px; }
.cart-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; }
.cart-item-details { flex: 1; }
.qty-controls { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.remove-btn { background: none; border: none; color: var(--terracotta); cursor: pointer; }
.cart-summary { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; }

.logo-img { height: 275px; width: auto; display: block; }

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

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.about-brand {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--cream);
  color: var(--forest);
  padding: 60px 40px;
}

.about-eyebrow {
  letter-spacing: 3px;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--forest);
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--forest);
}

.about-text p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: var(--forest);
}

.about-signoff, .about-founder {
  margin-bottom: 8px;
  color: var(--forest);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  max-width: 400px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 20px;
  font-family: Georgia, serif;
}

.newsletter-message {
  margin-top: 10px;
  font-size: 0.9rem;
}

social-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 20px;
  text-align: center;
}

.social-intro {
  color: var(--forest);
  margin-bottom: 40px;
}

.platform-block {
  margin-bottom: 50px;
}

.platform-block h2 {
  color: var(--forest);
  margin-bottom: 20px;
}

.platform-link {
  font-size: 0.9rem;
  color: var(--terracotta);
  margin-left: 10px;
}

.video-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tiktok-embed,
.instagram-media {
  max-width: 325px !important;
}

.about-photo img {
    max-width: 100%;
    width: 280px;

    height: auto;
    border-radius: 8px
  }

@media (max-width: 768px) {
  .site-header {
    flex-wrap: wrap;
    padding: 10px 16px;
  }

  .header-right {
    flex-wrap: wrap;
    gap: 10px;
  }

  .logo-img {
    height: 60px;
  }

  .hero-banner {
    height: auto;
    min-height: 500px;
  }

  .hero-side-left,
  .hero-side-right {
    position: relative;
    width: 100%;
    height: 250px;
    opacity: 1;
  }

  .hero-content {
    width: 90%;
    max-width: none;
    position: static;
    margin: 20px auto;
  }

  .about-brand {
    flex-direction: column;
    padding: 40px 20px;
  }

  .about-photo img {
   width: 180px;
  }

  .video-row {
    flex-direction: column;
    align-items: center;
  }
}

.hero-banner {
  overflow: hidden;
}

.vine-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.vine-path,
.vine-branch {
  fill: none;
  stroke: var(--forest);
  stroke-width: 3;
  stroke-linecap: round;
  opacity: 0.25;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: growVine 8s ease-in-out infinite;
}

.vine-branch {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation-name: growBranch;
}

@keyframes growVine {
  0% { stroke-dashoffset: 600; opacity: 0; }
  30% { opacity: 0.5; }
  55% { stroke-dashoffset: 0; opacity: 0.5; }
  80% { opacity: 0; }
  100% { stroke-dashoffset: 600; opacity: 0; }
}

@keyframes growBranch {
  0%, 20% { stroke-dashoffset: 200; opacity: 0; }
  40% { opacity: 0.4; }
  60% { stroke-dashoffset: 0; opacity: 0.4; }
  85% { opacity: 0; }
  100% { stroke-dashoffset: 200; opacity: 0; }
}

  .hero-side-left,
.hero-side-right {
z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.vine-path {
  stroke-width: 4;
}

.vine-branch {
  stroke-width: 2.5;
}

.vine-branch.small {
  stroke-width: 2;
}

.vine-leaf {
  fill: var(--forest);
  opacity: 0;
  animation: leafFade 8s ease-in-out infinite;
}

@keyframes leafFade {
  0%, 45% { opacity: 0; }
  55% { opacity: 0.3; }
  80% { opacity: 0.3; }
  100% { opacity: 0; }
}

.vine-path-2 {
  animation-delay: 4s;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 16px;
  background: var(--cream);
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.trust-badge {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
  white-space: nowrap;
}

.site-footer {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: 32px 16px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}

.footer-social a {
  display: flex;
  transition: transform 0.2s;
}

.footer-social a:hover {
  transform: scale(1.15);
}

.footer-social a[aria-label="TikTok"] { color: #000000; }
.footer-social a[aria-label="Instagram"] { color: #F58529; }
.footer-social a[aria-label="YouTube"] { color: #FF0000; }

.footer-copy {
  font-size: 0.85rem;
  opacity: 0.8;
}

.product-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.product-modal.open {
  display: flex;
}

.modal-content {
  background: var(--cream);
  border-radius: 8px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
  padding: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--forest);
}

.modal-gallery {
  flex: 1;
  min-width: 280px;
}

.modal-gallery img#modalMainImage {
  width: 100%;
  border-radius: 6px;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.modal-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
}

.modal-thumb:hover {
  border-color: var(--terracotta);
}

.modal-details {
  flex: 1;
  min-width: 280px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-price {
  font-weight: bold;
  color: var(--terracotta);
  font-size: 1.2rem;
}

.modal-details select,
.modal-details input {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.review-form-section {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 20px;
}

.review-form-section h1 {
  margin-bottom: 8px;
}

.review-form-subtext {
  margin-bottom: 32px;
  color: var(--forest);
  opacity: 0.8;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-form label {
  font-weight: 600;
  margin-top: 12px;
}

.review-form input[type="text"],
.review-form textarea,
.review-form input[type="file"] {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: inherit;
}

.star-picker {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
}

.star-picker .star {
  transition: color 0.15s;
}

.star-picker .star.selected {
  color: var(--terracotta);
}

.review-form button {
  margin-top: 20px;
}

#reviewMessage {
  color: var(--terracotta);
  font-weight: 600;
}

.footer-review-link {
  display: block;
  color: var(--cream);
  text-decoration: underline;
  font-size: 0.85rem;
  margin-bottom: 12px;
  opacity: 0.85;
}

.footer-review-link:hover {
  opacity: 1;
}

.reviews-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.reviews-section h2 {
  margin-bottom: 32px;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.review-card {
  perspective: 1000px;
  height: 360px;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  cursor: pointer;
}

.review-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.review-card.flipped .review-card-inner {
  transform: rotateY(180deg);
}

.review-card-front,
.review-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 6px;
  border: 4px solid;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.review-card-front {
  background: var(--cream);
}

.review-card-tier-bar {
  padding: 4px 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1a1a1a;
}

.review-card-media {
  height: 58%;
  width: 100%;
  object-fit: cover;
  background: var(--terracotta);
}

.review-card-avatar {
  height: 58%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terracotta);
  color: var(--cream);
  font-size: 3rem;
  font-weight: bold;
}

.review-card-info {
  padding: 10px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-card-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.review-card-stars {
  color: var(--terracotta);
}

.review-card-back {
  background: var(--forest);
  color: var(--cream);
  transform: rotateY(180deg);
  padding: 20px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.95rem;
  overflow-y: auto;
}

.reviews-section .footer-review-link {
  color: var(--terracotta);
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
}

.tier-platinum { border-color: #E5E4E2; box-shadow: 0 0 16px rgba(229,228,226,0.7); }
.tier-platinum .review-card-tier-bar { background: #E5E4E2; }

.tier-gold { border-color: #D4AF37; box-shadow: 0 0 16px rgba(212,175,55,0.6); }
.tier-gold .review-card-tier-bar { background: #D4AF37; }

.tier-silver { border-color: #C0C0C0; box-shadow: 0 0 12px rgba(192,192,192,0.5); }
.tier-silver .review-card-tier-bar { background: #C0C0C0; }

.tier-bronze { border-color: #CD7F32; box-shadow: 0 0 12px rgba(205,127,50,0.5); }
.tier-bronze .review-card-tier-bar { background: #CD7F32; }

.tier-wood { border-color: #8B5E3C; }
.tier-wood .review-card-tier-bar { background: #8B5E3C; color: var(--cream); }
