* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f7f1e8;
  --card: #fffdf8;
  --ink: #0f1f2e;
  --muted: #405163;
  --accent: #b86d43;
  --accent-dark: #8f4f2f;
  --border: #e6d9ca;
  --shadow: 0 18px 45px rgba(38, 26, 15, 0.10);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* HEADER / NAV */
.site-header {
  background: rgba(247, 241, 232, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-logo {
  width: 155px;
  height: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-list a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 13px;
  border-radius: 999px;
}

.nav-list a:hover,
.nav-list a.active {
  background: #eee2d5;
  color: var(--accent-dark);
}

.nav-cta {
  background: #f1dfcf;
  color: #8b4a24 !important;
}

.menu-toggle {
  display: none;
}

/* TYPOGRAPHY */
.eyebrow,
.card-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 900;
  margin-bottom: 12px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  max-width: 680px;
}

/* BUTTONS */
.button,
button,
.btn {
  border: none;
  cursor: pointer;
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: 0.2s ease;
}

.button:hover,
button:hover,
.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.button-secondary,
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.button-secondary:hover,
.btn-secondary:hover {
  background: #eee2d5;
  color: var(--ink);
}

/* HERO / SECTIONS */
.hero,
.page-hero {
  padding: 80px 0;
  background: radial-gradient(circle at 85% 20%, rgba(184, 109, 67, 0.13), transparent 30%), var(--bg);
}

.page-hero {
  min-height: 345px;
  display: flex;
  align-items: center;
}

.hero-grid,
.split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-copy p {
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.section {
  padding: 82px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-accent {
  background: #efe3d4;
}

/* MEDIA */
.hero-media {
  background: var(--card);
  padding: 18px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hero-banner,
.media-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 18px;
  background: #ddd;
}

.hero-media-content {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 20px;
}

.stamp-mark,
.footer-stamp {
  width: 64px;
}

.profile-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
}

/* LISTS / HIGHLIGHTS */
.hero-highlights {
  list-style: none;
  margin-top: 24px;
}

.hero-highlights li {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-highlights li::before {
  content: "•";
  color: var(--accent);
  font-weight: 900;
  margin-right: 12px;
}

/* CARDS / GRIDS */
.card {
  background: var(--card);
  border: 1px solid rgba(230, 217, 202, 0.7);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.feature-grid,
.card-grid,
.dashboard-grid,
.category-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.category-grid,
.product-grid {
  margin-top: 2rem;
}

.page-card,
.feature-card {
  min-height: 250px;
}

.page-card-icon,
.feature-icon,
.category-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 18px;
}

.card img.page-card-icon {
  max-height: 90px;
  object-fit: contain;
}

.category-card,
.product-card {
  background: #fffaf3;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(120, 80, 45, 0.15);
  box-shadow: var(--shadow);
}

.category-card {
  padding: 2rem;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #eee8df;
}

.product-card-content {
  padding: 1.5rem;
}

.product-card-content h3,
.product-card h2,
.category-card h2 {
  margin-bottom: 0.75rem;
}

.product-card-content p,
.product-card p,
.category-card p {
  margin-bottom: 1rem;
}

.product-card strong {
  display: block;
  margin-bottom: 1rem;
}

.text-link,
.back-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 900;
}

.back-link {
  margin-bottom: 1.5rem;
}

.text-link:hover,
.back-link:hover {
  text-decoration: underline;
}

/* PRODUCT DETAIL */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: center;
}

.product-detail-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: #eee8df;
  border-radius: 24px;
}

.product-detail-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.product-detail-content h2 {
  margin: 1.5rem 0;
}

/* FILTERS */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-btn {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.filter-btn.active {
  background: var(--accent);
  color: #fff;
}

/* FORMS */
.enquiry-form {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.form-group {
  display: grid;
  gap: 8px;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(184, 109, 67, 0.2);
}

.success-message {
  color: green;
  font-weight: 800;
}

.error-message {
  color: #b42318;
  font-weight: 800;
}

/* AUTH PAGES */
.auth-hero {
  text-align: center;
}

.auth-hero p {
  margin: 0 auto;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-card {
  width: min(520px, 100%);
  background: #fffaf3;
  border: 1px solid rgba(120, 80, 45, 0.15);
  border-radius: 28px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.auth-card h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-form label {
  font-weight: 800;
  color: var(--ink);
}

.auth-form input,
.auth-form select {
  padding: 0.9rem 1rem;
  border-radius: 12px;
}

.auth-form .button,
.auth-form .btn,
.auth-form button {
  margin-top: 0.5rem;
  width: 100%;
}

.form-message {
  background: #f3eadf;
  border-left: 4px solid var(--accent);
  padding: 0.9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.form-message.error {
  border-left-color: #d94b4b;
}

.auth-switch {
  margin-top: 1.5rem;
  text-align: center;
}

.auth-switch a {
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* TABLES / DASHBOARD */
.table-card {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--muted);
}

th {
  color: var(--ink);
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eee2d5;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 0.8rem;
}

.stat-stack {
  display: grid;
  gap: 18px;
}

.stat-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.2rem;
  color: var(--accent);
  font-weight: 900;
}

/* CALLOUTS */
.callout-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: center;
}

/* FOOTER */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 42px 0;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .hero-grid,
  .split-layout,
  .feature-grid,
  .card-grid,
  .dashboard-grid,
  .category-grid,
  .product-grid,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .navbar {
    align-items: flex-start;
  }

  .nav-list {
    justify-content: flex-start;
  }

  .product-detail-image img {
    height: 300px;
  }
}

@media (max-width: 600px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }

  .auth-card h2 {
    font-size: 1.6rem;
  }

  .page-hero {
    min-height: auto;
    padding: 60px 0;
  }
}