:root {
  --bg: #fbf8f1;
  --surface: #ffffff;
  --surface-alt: #f4efe3;
  --sage: #7d9b78;
  --sage-dark: #5f775c;
  --honey: #d9a441;
  --honey-soft: #f3d79b;
  --text: #2c2a27;
  --muted: #6f685f;
  --border: rgba(44, 42, 39, 0.12);
  --shadow: 0 18px 40px rgba(66, 58, 33, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(125, 155, 120, 0.16), transparent 26%),
    var(--bg);
  overflow-x: hidden;
}

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

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

p {
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.08;
  margin: 0 0 0.6rem;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(251, 248, 241, 0.88);
  border-bottom: 1px solid rgba(44, 42, 39, 0.08);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--sage), var(--honey));
  box-shadow: var(--shadow);
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  margin-inline: auto;
  border-radius: 99px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav {
  position: absolute;
  inset: 74px 1rem auto;
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-nav.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-nav a {
  padding: 0.9rem 1rem;
  border-radius: 999px;
  background: var(--surface-alt);
  font-weight: 700;
}

.site-nav .nav-pill {
  background: linear-gradient(135deg, var(--sage), var(--honey));
  color: #fff;
}

.site-main {
  padding: 1.25rem 0 5rem;
}

.hero,
.section,
.page-header {
  margin-top: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(125, 155, 120, 0.12), rgba(255, 255, 255, 0.75)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-actions,
.cta-row,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn,
.cta-button,
.inline-btn,
.filter-chip,
.menu-toggle,
.status-chip,
.badge {
  -webkit-tap-highlight-color: transparent;
}

.btn,
.cta-button,
.inline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.btn:hover,
.cta-button:hover,
.inline-btn:hover {
  transform: translateY(-1px);
}

.btn-primary,
.cta-button:not(.secondary),
.inline-btn.primary {
  background: linear-gradient(135deg, var(--sage), var(--honey));
  color: #fff;
  box-shadow: 0 16px 30px rgba(125, 155, 120, 0.28);
}

.btn-secondary,
.cta-button.secondary,
.inline-btn.secondary {
  background: var(--surface);
  border: 1px solid rgba(44, 42, 39, 0.12);
}

.trust-row,
.feature-grid,
.product-grid,
.card-grid,
.stats-grid,
.admin-card-grid,
.form-grid,
.footer-grid {
  display: grid;
  gap: 1rem;
}

.trust-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.trust-badge,
.feature-card,
.panel,
.product-card,
.admin-card,
.summary-card,
.info-card,
.testimonial,
.faq-item,
.support-card,
.enquiry-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(44, 42, 39, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(80, 62, 33, 0.08);
}

.trust-badge,
.feature-card,
.info-card,
.support-card {
  padding: 1rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--sage-dark);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  display: grid;
  gap: 0.8rem;
}

.hero-art {
  min-height: 280px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    url("../images/demo/hero-preview.svg") center/cover no-repeat,
    linear-gradient(135deg, #f5ead0, #dde8d6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-mini {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.hero-mini strong,
.summary-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.section {
  padding: 0 0.2rem;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-header p,
.muted,
.support-card p,
.feature-card p,
.info-card p,
.testimonial p,
.faq-item p,
.admin-card p {
  color: var(--muted);
}

.feature-card,
.summary-card,
.admin-card,
.support-card {
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.summary-card::after,
.support-card::after {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.12);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(125, 155, 120, 0.18), rgba(217, 164, 65, 0.18));
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
}

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

.product-card {
  overflow: hidden;
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e7efe3, #f8efe0);
}

.product-image img,
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-chip {
  position: absolute;
  left: 0.8rem;
  top: 0.8rem;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 800;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.08);
}

.status-available,
.status-new {
  color: #2e6a3c;
}

.status-order,
.status-progress {
  color: #8d6321;
}

.status-out,
.status-archived,
.status-complete {
  color: #6d5c4b;
}

.product-card-body,
.card-body,
.panel,
.summary-card,
.admin-card {
  padding: 1rem;
}

.product-card h3 {
  font-size: 1.08rem;
}

.price {
  margin: 0.2rem 0 0.75rem;
  font-weight: 900;
  color: var(--sage-dark);
}

.badge-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.badge,
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(125, 155, 120, 0.12);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.filter-bar,
.toolbar,
.admin-toolbar {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.field,
.form-group,
.control {
  display: grid;
  gap: 0.45rem;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(44, 42, 39, 0.14);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(125, 155, 120, 0.28);
  border-color: var(--sage);
}

.product-layout,
.split-layout,
.contact-layout,
.admin-layout {
  display: grid;
  gap: 1rem;
}

.gallery {
  display: grid;
  gap: 0.75rem;
}

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(44, 42, 39, 0.08);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.gallery-thumb {
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.gallery-thumb.is-active {
  outline: 3px solid rgba(125, 155, 120, 0.32);
}

.detail-meta,
.meta-list,
.feature-list {
  display: grid;
  gap: 0.6rem;
}

.meta-item,
.mini-stat,
.list-item {
  display: flex;
  align-items: start;
  gap: 0.75rem;
}

.meta-item strong,
.mini-stat strong {
  display: block;
}

.panel h2,
.panel h3 {
  margin-top: 0;
}

.faq-item {
  padding: 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
}

.testimonial cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--sage-dark);
  font-style: normal;
  font-weight: 800;
}

.admin-layout {
  align-items: start;
}

.admin-sidenav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-sidenav a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(44, 42, 39, 0.08);
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(44, 42, 39, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th,
td {
  padding: 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(44, 42, 39, 0.08);
  vertical-align: top;
}

th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inline-link,
.danger-link {
  font-weight: 800;
}

.danger-link {
  color: #8a4c3b;
}

.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(251, 248, 241, 0), rgba(251, 248, 241, 0.94) 30%, rgba(251, 248, 241, 0.98));
  z-index: 45;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 6.5rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.toast-stack {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.5rem;
  z-index: 60;
}

.toast {
  min-width: min(320px, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: #fff;
  box-shadow: var(--shadow);
}

.toast.success {
  background: #54765b;
}

.toast.error {
  background: #8b4e3e;
}

.empty-state,
.notice {
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px dashed rgba(44, 42, 39, 0.14);
}

.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;
}

@media (min-width: 720px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    background: transparent;
    padding: 0.55rem 0.8rem;
  }

  .hero {
    padding: 1.8rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

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

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

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

  .card-grid,
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .filter-bar,
  .toolbar,
  .admin-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
  }

  .contact-layout,
  .split-layout {
    grid-template-columns: 1fr 0.9fr;
  }

  .admin-layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .sticky-cta {
    display: none;
  }

  .page-grid {
    display: grid;
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding: 2rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
  }

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

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

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

  .page-grid,
  .product-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Brand refresh: softer cream + honey palette, less visual clutter */
:root {
  --bg: #fbf1df;
  --surface: #fffaf2;
  --surface-alt: #f5e4c6;
  --sage: #7d8c66;
  --sage-dark: #5f6d4e;
  --honey: #de8a10;
  --honey-soft: #f0b75a;
  --text: #2f261f;
  --muted: #726255;
  --border: rgba(47, 38, 31, 0.1);
  --shadow: 0 12px 28px rgba(79, 55, 21, 0.08);
}

body {
  background:
    radial-gradient(circle at top left, rgba(222, 138, 16, 0.1), transparent 22%),
    radial-gradient(circle at top right, rgba(125, 140, 102, 0.12), transparent 26%),
    linear-gradient(180deg, #fdf7ec 0%, #fbf1df 40%, #f8edd8 100%);
}

.site-header {
  background: rgba(253, 247, 236, 0.92);
  border-bottom-color: rgba(47, 38, 31, 0.08);
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(47, 38, 31, 0.1);
  box-shadow: var(--shadow);
}

.brand-mark {
  display: none;
}

.site-nav a {
  background: rgba(255, 255, 255, 0.72);
}

.hero.hero-compact {
  padding: 1.5rem;
  border-radius: 32px;
}

.hero.hero-compact .hero-copy h1 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
}

.hero.hero-compact .hero-mini {
  margin-top: 0.9rem;
}

.hero-art {
  min-height: 320px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    url("../images/demo/hero-preview.svg") center/cover no-repeat,
    linear-gradient(135deg, #fae7c6, #f2d79b);
}

.trust-row,
.feature-grid,
.card-grid,
.stats-grid,
.admin-card-grid {
  gap: 0.9rem;
}

.info-strip {
  display: grid;
  gap: 0.9rem;
}

.info-card {
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 250, 242, 0.84);
  border: 1px solid rgba(47, 38, 31, 0.08);
  box-shadow: var(--shadow);
}

.info-card strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.panel,
.product-card,
.feature-card,
.summary-card,
.admin-card,
.support-card,
.testimonial,
.faq-item,
.trust-badge,
.enquiry-card,
.info-card {
  box-shadow: var(--shadow);
  border-color: rgba(47, 38, 31, 0.08);
}

.feature-icon {
  background: linear-gradient(135deg, rgba(125, 140, 102, 0.16), rgba(222, 138, 16, 0.2));
}

.product-image {
  background: linear-gradient(135deg, #f4e4c2, #e9ebd7);
}

.badge,
.filter-chip {
  background: rgba(125, 140, 102, 0.12);
}

.sticky-cta {
  background: linear-gradient(180deg, rgba(251, 241, 223, 0), rgba(251, 241, 223, 0.94) 30%, rgba(251, 241, 223, 0.98));
}

.toast.success {
  background: #6d7f5a;
}

.toast.error {
  background: #8e5638;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.footer-brand .brand-logo {
  width: 52px;
  height: 52px;
}

@media (min-width: 720px) {
  .info-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
