/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --green-dark: #1b4332;
  --green-mid: #2d6a4f;
  --green-light: #40916c;
  --green-pale: #52b788;
  --brown-dark: #3d1a08;
  --brown-mid: #6b3a2a;
  --brown-light: #8b5e3c;
  --cream: #faf7f0;
  --cream-dark: #f0ebe0;
  --gold: #c9a96e;
  --gold-light: #d4b87a;
  --text-dark: #2c2c2c;
  --text-body: #4a4a4a;
  --text-muted: #7a7a7a;
  --white: #ffffff;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --shadow-soft: 0 2px 20px rgba(27, 67, 50, 0.08);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 40px rgba(27, 67, 50, 0.12);
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", "Helvetica Neue", sans-serif;
  background: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
}

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

ul {
  list-style: none;
}

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

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

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5 {
  font-family: "Playfair Display", "Georgia", serif;
  color: var(--green-dark);
  line-height: 1.3;
  font-weight: 700;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

/* Accent text — elegant green/gold gradient */
.accent-text {
  color: var(--gold);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 247, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  padding: 16px 0;
  transition:
    padding var(--transition),
    box-shadow var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  transition: opacity var(--transition);
}

.navbar .logo:hover {
  opacity: 0.85;
}

.logo-img {
  max-height: 65px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-dark);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green-dark);
  transition: width var(--transition);
}

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

/* Cart icon */
.cart-icon {
  position: relative;
  font-size: 1.1rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.65rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-dark);
  transition: all var(--transition);
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-actions {
  display: none;
}

.cart-icon-mobile {
  display: none;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at 50% 30%,
    rgba(27, 67, 50, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-logo {
  width: 200px;
  height: auto;
  margin: 0 auto 32px;
  border-radius: var(--radius-md);
}

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  color: var(--green-dark);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 700;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.price-badge {
  display: inline-block;
  background: var(--green-dark);
  color: var(--cream);
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-bottom: 36px;
}

.price-badge strong {
  color: var(--gold-light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  font-size: 1rem;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(27, 67, 50, 0.15);
}

/* No floating emojis in premium design */
.hero-floating {
  display: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: "Lato", sans-serif;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(27, 67, 50, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
}

.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-cta-large {
  padding: 18px 52px;
  font-size: 0.9rem;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--green-dark);
  padding: 28px 0;
}

.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.trust-bar-icon {
  font-size: 1.3rem;
  opacity: 0.9;
}

.trust-bar-text {
  color: var(--cream);
}

.trust-bar-text strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.trust-bar-text span {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 0;
}

.section-accent {
  background: var(--white);
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 16px;
}

/* ===== PRODUCT CARD ===== */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  border: 1px solid rgba(27, 67, 50, 0.06);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-svg {
  width: 140px;
  height: 140px;
  object-fit: contain;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

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

.category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}

.bestseller-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--green-dark);
  background: var(--gold-light);
}

.product-info {
  padding: 24px;
}

.product-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--green-dark);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown-dark);
}

.btn-add-cart {
  background: var(--green-dark);
  color: var(--cream);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  font-family: "Lato", sans-serif;
}

.btn-add-cart:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.2);
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.feature-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 67, 50, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.section-accent .feature-card {
  background: var(--cream);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(27, 67, 50, 0.06);
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

.feature-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--green-dark);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.testimonial-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 67, 50, 0.06);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  font-family: "Playfair Display", serif;
}

.author-info h4 {
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  text-align: center;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 1.5px solid rgba(27, 67, 50, 0.15);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--cream);
  color: var(--text-dark);
  font-family: "Lato", sans-serif;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--green-dark);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-muted);
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 140px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===== SHOP CONTROLS ===== */
.filter-bar {
  margin-bottom: 32px;
}

.shop-controls {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.search-bar {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 40px;
  border: 1.5px solid rgba(27, 67, 50, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
  font-family: "Lato", sans-serif;
  transition: border-color var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--green-dark);
}

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

.filter-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.filter-select {
  padding: 12px 16px;
  border: 1.5px solid rgba(27, 67, 50, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  background: var(--white);
  color: var(--text-dark);
  font-family: "Lato", sans-serif;
  cursor: pointer;
  transition: border-color var(--transition);
}

.filter-select:focus {
  outline: none;
  border-color: var(--green-dark);
}

.product-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.category-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 8px 20px;
  border: 1.5px solid rgba(27, 67, 50, 0.12);
  border-radius: 30px;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: "Lato", sans-serif;
}

.category-tab:hover {
  border-color: var(--green-dark);
  color: var(--green-dark);
}

.category-tab.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--cream);
}

.no-results {
  text-align: center;
  padding: 60px 20px;
}

.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.no-results h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 8px;
}

.no-results p {
  color: var(--text-muted);
}

/* ===== ABOUT CONTENT ===== */
.about-content {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
}

.about-content p {
  margin-bottom: 24px;
  color: var(--text-body);
}

.about-content strong {
  color: var(--green-dark);
}

.about-content em {
  color: var(--brown-dark);
  font-style: italic;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 1.5px solid rgba(27, 67, 50, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--text-dark);
  font-family: "Lato", sans-serif;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-dark);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 67, 50, 0.06);
}

.contact-info-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 28px;
  color: var(--green-dark);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item .icon {
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 67, 50, 0.06);
  border-radius: 50%;
  flex-shrink: 0;
}

.info-item h4 {
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  color: var(--cream);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: rgba(250, 247, 240, 0.65);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer .logo-img {
  max-height: 55px;
  filter: brightness(1.1);
}

.footer h4 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: rgba(250, 247, 240, 0.6);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer ul a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 240, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(250, 247, 240, 0.4);
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: var(--cream);
  z-index: 2001;
  transition: right var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.cart-header h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--green-dark);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 4px;
}

.cart-close:hover {
  color: var(--green-dark);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.empty-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(27, 67, 50, 0.06);
}

.cart-item-icon {
  font-size: 1.5rem;
}

.cart-item-details {
  flex: 1;
}

.cart-item-details h4 {
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(27, 67, 50, 0.15);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--green-dark);
  transition: all var(--transition);
  font-family: "Lato", sans-serif;
}

.qty-btn:hover {
  background: var(--green-dark);
  color: var(--cream);
  border-color: var(--green-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition);
  padding: 4px;
}

.cart-item-remove:hover {
  color: #c0392b;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(27, 67, 50, 0.08);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.total-price {
  font-family: "Playfair Display", serif;
}

.btn-checkout {
  display: block;
  background: var(--green-dark);
  color: var(--cream);
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  transition: all var(--transition);
  font-family: "Lato", sans-serif;
}

.btn-checkout:hover {
  background: var(--green-mid);
}

/* ===== CART PAGE ===== */
.cart-page-empty {
  text-align: center;
  padding: 80px 20px;
}

.cart-page-empty h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 8px;
}

.cart-page-empty p {
  color: var(--text-muted);
}

.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.cart-page-header-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 2px solid rgba(27, 67, 50, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cart-page-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(27, 67, 50, 0.06);
  align-items: center;
}

.cart-col-product {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-page-item-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-page-item-image img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.cart-page-item-info h4 {
  font-family: "Playfair Display", serif;
  font-size: 0.95rem;
  color: var(--green-dark);
}

.cart-page-item-emoji-label {
  font-size: 0.8rem;
}

.cart-col-price,
.cart-col-total {
  font-size: 0.95rem;
  color: var(--text-body);
}

.cart-col-total {
  font-weight: 700;
  color: var(--green-dark);
}

.cart-page-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-page-remove {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color var(--transition);
}

.cart-page-remove:hover {
  color: #c0392b;
}

/* Order Summary */
.cart-page-summary {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 67, 50, 0.06);
}

.cart-page-summary h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--green-dark);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-body);
}

.summary-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-dark);
}

.summary-total span:last-child {
  font-family: "Playfair Display", serif;
}

.summary-divider {
  height: 1px;
  background: rgba(27, 67, 50, 0.08);
  margin: 12px 0;
}

.free-shipping {
  color: var(--green-mid);
  font-weight: 700;
}

.shipping-note {
  font-size: 0.8rem;
  color: var(--gold);
  margin-top: 4px;
}

/* ===== CHECKOUT ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

.checkout-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(27, 67, 50, 0.06);
  margin-bottom: 24px;
}

.checkout-card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.checkout-field {
  margin-bottom: 16px;
}

.checkout-field:last-child {
  margin-bottom: 0;
}

.checkout-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.field-optional {
  font-weight: 400;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(27, 67, 50, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--cream);
  color: var(--text-dark);
  font-family: "Lato", sans-serif;
  transition: border-color var(--transition);
}

.checkout-field input:focus,
.checkout-field select:focus {
  outline: none;
  border-color: var(--green-dark);
}

.checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.checkout-row-3 {
  grid-template-columns: 2fr 1fr 1fr;
}

.checkout-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(27, 67, 50, 0.04);
  border-radius: var(--radius-sm);
}

.checkout-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 0.85rem;
  margin-top: 8px;
}

.checkout-summary {
  position: sticky;
  top: 100px;
}

.checkout-summary-items {
  margin-bottom: 16px;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.checkout-summary-item-image {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.checkout-summary-item-image img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.checkout-summary-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--green-dark);
  color: var(--cream);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.checkout-summary-item-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-summary-item-name {
  font-size: 0.85rem;
  color: var(--text-body);
}

.checkout-summary-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
}

.checkout-back-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.checkout-back-link:hover {
  color: var(--green-dark);
}

.checkout-success {
  text-align: center;
  padding: 80px 20px;
}

.checkout-success-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.checkout-success h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 12px;
}

.checkout-success p {
  color: var(--text-muted);
  font-size: 1rem;
}

.checkout-success-detail {
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: var(--cream);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  z-index: 3000;
  transition: bottom 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.toast.show {
  bottom: 32px;
}

.toast-icon {
  font-size: 1rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--cream);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(27, 67, 50, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--green-mid);
  transform: translateY(-2px);
}

/* ===== NAV OVERLAY (mobile) ===== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* ===== SCROLL FADE-IN ===== */
.fade-in-observer {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

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

  .cart-page-layout {
    grid-template-columns: 1fr;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-logo {
    width: 160px;
  }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  section {
    padding: 60px 0;
  }

  .page-header {
    padding: 120px 20px 40px;
  }

  .page-header h1 {
    font-size: 2.4rem;
  }

  /* Mobile nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    align-items: flex-start;
    z-index: 999;
    transition: right var(--transition);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1rem;
    color: var(--text-body);
  }

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

  .cart-icon-mobile {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links .cart-icon {
    display: none;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .logo-img {
    max-height: 50px;
  }

  .footer .logo-img {
    max-height: 45px;
  }

  /* Cart page mobile */
  .cart-page-header-row {
    display: none;
  }

  .cart-page-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cart-col-product {
    gap: 12px;
  }

  .cart-col-price,
  .cart-col-total,
  .cart-col-qty,
  .cart-col-remove {
    padding-left: 80px;
  }

  /* Checkout mobile */
  .checkout-row,
  .checkout-row-3 {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

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

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

  .trust-bar-grid {
    grid-template-columns: 1fr;
  }

  .shop-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-trust {
    flex-direction: column;
    gap: 12px;
  }

  .trust-divider {
    display: none;
  }
}

/* ===== UTILITY CLASSES ===== */

/* Display utilities */
.display-none {
  display: none;
}
.display-block {
  display: block;
}

/* Text utilities */
.text-center {
  text-align: center;
}
.full-width {
  width: 100%;
}

/* Spacing utilities */
.no-margin-bottom {
  margin-bottom: 0;
}
.margin-top-40 {
  margin-top: 40px;
}
.margin-top-48 {
  margin-top: 48px;
}
.section-padding-top {
  padding-top: 20px;
}

/* Layout utilities */
.grid-3-col {
  grid-template-columns: repeat(3, 1fr);
}

/* Button utilities */
.btn-full-width {
  display: block;
  text-align: center;
  width: 100%;
}

.btn-small {
  font-size: 0.85rem;
  padding: 16px 45px;
}

/* Cart utilities */
.cart-count-hidden {
  display: none;
}

/* ===== 404 ERROR PAGE ===== */
.error-page {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
}

.error-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.error-number {
  font-family: "Playfair Display", serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(45deg, #ff6fd8, #cd44ff, #3813c2, #00d4ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow 3s linear infinite;
  margin-bottom: 20px;
}

.error-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.1;
}

.error-subtitle {
  font-size: 1.25rem;
  color: #cccccc;
  margin-bottom: 20px;
  line-height: 1.5;
}

.error-description {
  color: #999999;
  margin-bottom: 40px;
  font-size: 1rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.error-links h3 {
  color: #cccccc;
  font-size: 1.125rem;
  margin-bottom: 30px;
  font-weight: 500;
}

.error-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.error-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
  text-decoration: none;
  color: white;
}

.error-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 111, 216, 0.5);
  transform: translateY(-2px);
}

.error-link-emoji {
  font-size: 2rem;
  margin-bottom: 8px;
}

.error-link span:last-child {
  font-size: 0.9rem;
  color: #cccccc;
  text-align: center;
}

.error-link:hover span:last-child {
  color: white;
}

/* Responsive 404 page */
@media (max-width: 768px) {
  .error-number {
    font-size: 5rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .error-actions {
    flex-direction: column;
    align-items: center;
  }

  .error-actions .btn {
    width: 100%;
    max-width: 280px;
  }

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

/* ===== LOADING SKELETONS ===== */
.product-skeleton {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(27, 67, 50, 0.06);
  animation: pulse 1.5s ease-in-out infinite alternate;
}

.skeleton-image {
  width: 160px;
  height: 160px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  animation: shimmer 1.5s infinite;
}

.skeleton-text {
  height: 20px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  margin-bottom: 12px;
  animation: shimmer 1.5s infinite;
}

.skeleton-text.short {
  width: 60%;
}

.skeleton-text.medium {
  width: 80%;
}

.skeleton-button {
  height: 44px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  margin-top: 16px;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.7;
  }
}

/* Product loading improvements */
.product-grid {
  min-height: 600px;
}

.product-card img {
  transition: opacity 0.3s ease;
}

.product-card img[src=""] {
  opacity: 0;
}

.product-card img:not([src=""]) {
  opacity: 1;
}

/* Cart animation improvements */
.cart-sidebar {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-overlay {
  transition: opacity 0.3s ease;
}

.cart-item {
  animation: slideInCart 0.3s ease-out;
}

@keyframes slideInCart {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== STRIPE PAYMENT INTEGRATION ===== */
#card-element {
  background: white;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: var(--radius-md);
  font-size: 16px;
  transition: border-color 0.3s ease;
}

#card-element:focus {
  border-color: var(--green-mid);
  outline: none;
}

#card-element.StripeElement--focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

#card-element.StripeElement--invalid {
  border-color: #dc3545;
}

#card-errors {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 8px;
  min-height: 20px;
}

.demo-notice {
  background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
  border: 2px solid #1976d2;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
}

.demo-notice p {
  margin: 0;
  color: #1976d2;
  font-size: 0.875rem;
  line-height: 1.4;
}

.payment-processing {
  position: relative;
  overflow: hidden;
}

.payment-processing::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: processing 1.5s infinite;
}

@keyframes processing {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Checkout Success Enhancements */
.checkout-success-info {
  background: rgba(45, 106, 79, 0.1);
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
  text-align: left;
}

.checkout-success-info p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: var(--text-body);
}

.checkout-success-info strong {
  color: var(--green-mid);
}
