:root {
  --bg: #f6f3ec;
  --bg-deep: #1c2b24;
  --surface: #ffffff;
  --text: #1a231e;
  --text-muted: #4a5c52;
  --accent: #2d6a4f;
  --accent-light: #40916c;
  --gold: #c9a227;
  --shadow: 0 18px 50px rgba(28, 43, 36, 0.12);
  --radius: 14px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 106, 79, 0.12);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-inner--shop {
  flex-wrap: wrap;
  row-gap: 0.75rem;
}

.header-search-wrap {
  flex: 1 1 220px;
  max-width: 480px;
  min-width: 0;
}

.header-search {
  width: 100%;
  padding: 0.55rem 0.85rem 0.55rem 2.25rem;
  border-radius: 8px;
  border: 1px solid rgba(45, 106, 79, 0.35);
  font: inherit;
  font-size: 0.95rem;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%234a5c52' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242.656a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E") no-repeat 0.65rem center;
  background-size: 16px 16px;
}

.header-search:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.12);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cart-open-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(45, 106, 79, 0.35);
  background: var(--surface);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
}

.cart-open-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cart-badge {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #c45500;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.35rem;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 900px) {
  .header-search-wrap {
    order: 3;
    flex: 1 0 100%;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .header-inner--shop .logo {
    flex: 1;
  }
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent);
  font-weight: 600;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  font-family: inherit;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(45, 106, 79, 0.35);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav ul {
    position: absolute;
    right: 1rem;
    top: calc(100% + 0.5rem);
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    padding: 0.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
    display: none;
  }

  .nav ul.is-open {
    display: flex;
  }

  .nav {
    position: relative;
  }
}

.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  padding: 4rem 1.25rem 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(64, 145, 108, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(201, 162, 39, 0.2), transparent 50%),
    linear-gradient(165deg, #1c2b24 0%, #243d32 45%, #2d6a4f 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  color: #f0ebe3;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(240, 235, 227, 0.75);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.lead {
  font-size: 1.15rem;
  max-width: 36ch;
  color: rgba(240, 235, 227, 0.88);
  margin: 0 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: #1a231e;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  color: #1a231e;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn-outline {
  background: transparent;
  color: #f0ebe3;
  border-color: rgba(240, 235, 227, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.quotes {
  background: var(--surface);
  border-block: 1px solid rgba(45, 106, 79, 0.1);
}

.quotes-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.quotes blockquote {
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 4px solid var(--accent-light);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
}

.gallery-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .gallery-strip {
    grid-template-columns: 1fr;
  }
}

.gallery-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
}

.gallery-img.g1 {
  background-image:
    linear-gradient(135deg, rgba(28, 43, 36, 0.25), rgba(45, 106, 79, 0.35)),
    url("https://images.unsplash.com/photo-1530836369250-ef72a3f5cda8?w=800&q=80");
}

.gallery-img.g2 {
  background-image:
    linear-gradient(135deg, rgba(45, 106, 79, 0.35), rgba(201, 162, 39, 0.2)),
    url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=800&q=80");
}

.gallery-img.g3 {
  background-image:
    linear-gradient(135deg, rgba(28, 43, 36, 0.3), rgba(64, 145, 108, 0.3)),
    url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=800&q=80");
}

.gallery-card p {
  margin: 0;
  padding: 1rem 1.1rem 1.15rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.section {
  padding: 4rem 1.25rem;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 720px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.35rem);
  margin: 0 0 1.25rem;
  color: var(--bg-deep);
}

.about .intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  gap: 0.75rem;
}

.facts li {
  padding: 0.85rem 1rem;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid rgba(45, 106, 79, 0.12);
}

.facts strong {
  color: var(--accent);
  margin-right: 0.35rem;
}

.pillars {
  max-width: var(--max);
  margin: 0 auto 3rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.pillar {
  background: var(--surface);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pillar h3 {
  font-family: var(--font-display);
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  color: var(--bg-deep);
}

.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.callout {
  background: linear-gradient(135deg, #1c2b24, #2d6a4f);
  color: #e8e4dc;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.callout h3 {
  font-family: var(--font-display);
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: #fff;
}

.callout p {
  margin: 0;
  opacity: 0.92;
}

.products {
  background: #ebe6dc;
}

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

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--surface);
  padding: 1.6rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 106, 79, 0.1);
  box-shadow: 0 10px 30px rgba(28, 43, 36, 0.06);
}

.product-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  color: var(--bg-deep);
}

.product-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.product-card p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.product-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-card li {
  margin-bottom: 0.35rem;
}

.quality .table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.9rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}

thead th {
  background: var(--bg-deep);
  color: #f0ebe3;
  font-weight: 600;
}

tbody tr:nth-child(even) {
  background: rgba(246, 243, 236, 0.6);
}

tbody td:first-child {
  font-weight: 600;
  color: var(--bg-deep);
  white-space: nowrap;
}

.trust {
  background: var(--surface);
}

.trust-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 640px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

.trust-grid article {
  padding: 1.35rem;
  border-radius: 12px;
  border: 1px solid rgba(45, 106, 79, 0.12);
  background: var(--bg);
}

.trust-grid h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--accent);
}

.trust-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.cocopeat-info {
  border-top: 1px solid rgba(45, 106, 79, 0.1);
}

.cocopeat-info p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.booking {
  background: linear-gradient(180deg, #ebe6dc 0%, var(--bg) 100%);
  border-top: 1px solid rgba(45, 106, 79, 0.1);
}

.booking-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }
}

.booking-intro h2 {
  margin-top: 0;
}

.booking-lead {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.booking-points {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
}

.booking-points li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.booking-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent-light);
}

.booking-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(45, 106, 79, 0.1);
}

.form-grid {
  display: grid;
  gap: 1rem 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field-span {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bg-deep);
  margin-bottom: 0.4rem;
}

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

.field .req {
  color: #b45309;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  border: 1px solid rgba(45, 106, 79, 0.22);
  border-radius: 10px;
  background: #fafaf8;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
  background: var(--surface);
}

.field textarea {
  resize: vertical;
  min-height: 5rem;
}

.form-hint {
  margin: 1rem 0 1.1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  padding: 0.95rem 1.25rem;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
}

.btn-submit:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  color: #fff;
  transform: translateY(-1px);
}

.btn-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.btn-text {
  margin-top: 1rem;
  width: auto;
  padding: 0.5rem 0;
  background: none;
  border: none;
  color: var(--accent);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 4px;
}

.btn-text:hover {
  color: var(--accent-light);
}

.form-error {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #b91c1c;
}

.booking-success {
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
}

.booking-success .success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.booking-success p:last-of-type {
  margin: 0;
  color: var(--text-muted);
  max-width: 36ch;
  margin-inline: auto;
}

.site-footer {
  background: var(--bg-deep);
  color: #c5d4cc;
  padding: 3rem 1.25rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr;
}

@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-heading {
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links ul,
.footer-products ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a,
.footer-products a {
  color: #a8bfb4;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-products a:hover {
  color: #fff;
}

.footer-links li,
.footer-products li {
  margin-bottom: 0.4rem;
}

.copyright {
  text-align: center;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #8a9e94;
  max-width: var(--max);
  margin-inline: auto;
}

.checkout-form-hidden {
  display: none !important;
}

.orders-admin {
  background: #ebe6dc;
  border-top: 1px solid rgba(45, 106, 79, 0.12);
}

.orders-admin h2 {
  font-family: var(--font-display);
  color: var(--bg-deep);
  margin: 0 0 0.75rem;
}

.orders-admin-lead {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 70ch;
}

.orders-admin-lead code {
  font-size: 0.88em;
  background: rgba(45, 106, 79, 0.1);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.orders-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.btn-admin {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-admin:hover {
  background: var(--accent-light);
  color: #fff;
}

.btn-admin-secondary {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid rgba(45, 106, 79, 0.35);
}

.btn-admin-secondary:hover {
  border-color: var(--accent);
}

.orders-admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 106, 79, 0.15);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.orders-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.orders-admin-table th,
.orders-admin-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(45, 106, 79, 0.1);
}

.orders-admin-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(246, 243, 236, 0.9);
}

.orders-admin-table code {
  font-size: 0.82rem;
  color: var(--accent);
}

.orders-admin-table small {
  color: var(--text-muted);
}

.orders-admin-empty {
  margin: 0;
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

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

.products-shop-hint {
  margin: -0.25rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-card-media {
  height: 140px;
  border-radius: 10px;
  margin: 0 0 1rem;
  background-size: cover;
  background-position: center;
}

.product-card-media--5kg {
  background-image: linear-gradient(145deg, rgba(28, 43, 36, 0.2), rgba(45, 106, 79, 0.35)),
    url("https://images.unsplash.com/photo-1464226184884-fa280b87c399?w=600&q=80");
}

.product-card-media--650g {
  background-image: linear-gradient(145deg, rgba(45, 106, 79, 0.35), rgba(201, 162, 39, 0.15)),
    url("https://images.unsplash.com/photo-1416879595882-3373a0480b5b?w=600&q=80");
}

.product-card-media--growbags {
  background-image: linear-gradient(145deg, rgba(28, 43, 36, 0.25), rgba(64, 145, 108, 0.3)),
    url("https://images.unsplash.com/photo-1530836369250-ef72a3f5cda8?w=600&q=80");
}

.product-card-media--husk {
  background-image: linear-gradient(145deg, rgba(90, 70, 40, 0.25), rgba(45, 106, 79, 0.3)),
    url("https://images.unsplash.com/photo-1591857151694-75b8c085ca63?w=600&q=80");
}

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

.product-buy {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(45, 106, 79, 0.12);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--bg-deep);
}

.product-price .currency {
  font-size: 0.95rem;
  font-weight: 600;
  margin-right: 0.1rem;
}

.product-price .per {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 0.2rem;
}

.product-stock {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #067d17;
  background: rgba(6, 125, 23, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.product-buy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.qty-stepper {
  width: 4.5rem;
  padding: 0.5rem 0.4rem;
  border: 1px solid rgba(45, 106, 79, 0.25);
  border-radius: 8px;
  font: inherit;
  text-align: center;
}

.btn-add-cart {
  flex: 1;
  min-width: 140px;
  padding: 0.55rem 1rem;
  border: 1px solid #f0c14b;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7dfa5 0%, #f0c14b 100%);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  color: #111;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-add-cart:hover {
  background: linear-gradient(180deg, #f5d78e 0%, #e7b00d 100%);
}

.btn-add-cart:active {
  transform: translateY(1px);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cart-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: var(--surface);
  z-index: 210;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.cart-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.25s ease, visibility 0s linear 0s;
}

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #232f3e;
  color: #fff;
}

.cart-drawer-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.cart-drawer-close {
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 6px;
}

.cart-drawer-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-line {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-line-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}

.cart-line-info {
  min-width: 0;
}

.cart-line-title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
}

.cart-line-meta {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.cart-line-actions input {
  width: 3.25rem;
  padding: 0.25rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #ccc;
  font: inherit;
}

.cart-line-remove {
  background: none;
  border: none;
  color: #0066c0;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-family: inherit;
}

.cart-line-remove:hover {
  color: #c45500;
}

.cart-drawer-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem 0.5rem;
  font-size: 0.95rem;
}

.cart-drawer-foot {
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
}

.cart-drawer-subtotal {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--text);
}

.cart-continue-link {
  display: block;
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.checkout-empty {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
}

.checkout-empty-btn {
  display: inline-block;
  width: auto;
  margin-top: 1rem;
  text-decoration: none;
  text-align: center;
  padding: 0.75rem 1.5rem;
}

.checkout-summary {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(45, 106, 79, 0.12);
}

.checkout-summary-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--bg-deep);
}

.checkout-summary-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout-summary-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  border-bottom: 1px dashed rgba(45, 106, 79, 0.12);
}

.checkout-summary-lines li strong {
  color: var(--text);
  font-weight: 600;
}

.checkout-summary-total {
  margin: 0.85rem 0 0;
  font-size: 1.05rem;
  text-align: right;
}

.checkout-subtotal-amount {
  font-weight: 800;
  color: var(--accent);
  margin-left: 0.35rem;
}

.btn-place-order:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.order-number-line {
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

/* Checkout Express Google Login section */
.checkout-auth-section {
  background: rgba(45, 106, 79, 0.05);
  border: 1px solid rgba(45, 106, 79, 0.15);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.checkout-auth-section.checkout-auth-hidden {
  display: none !important;
}

.checkout-auth-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.checkout-auth-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.45;
}

/* Premium Google Sign-In Button */
.btn-google-login {
  background: #ffffff;
  color: #3c4043;
  border: 1px solid #dadce0;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 0.92rem;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  transition: background-color 0.21s, border-color 0.21s, box-shadow 0.21s, transform 0.15s ease;
}

.btn-google-login:hover {
  background-color: #f8f9fa;
  border-color: #d2d4d7;
  box-shadow: 0 1px 3px rgba(60,64,67,0.15), 0 1px 2px rgba(60,64,67,0.1);
  transform: translateY(-1px);
}

.btn-google-login:active {
  background-color: #f1f3f4;
  transform: translateY(0);
}

.btn-google-login svg {
  flex-shrink: 0;
}

/* Signed in badge / profile summary */
.checkout-signed-in-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.checkout-signed-in-text {
  font-size: 0.92rem;
  color: var(--text);
  margin: 0;
}

.checkout-signed-in-text strong {
  color: var(--accent);
  font-weight: 700;
}

.btn-signout-link {
  background: none;
  border: none;
  color: #b91c1c;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: 0.85rem;
}

.btn-signout-link:hover {
  color: #991b1b;
}

