:root {
  --kraft-brown: #b4875a;
  --kraft-deep: #7b532f;
  --copper: #b56f3d;
  --gold: #c79a3e;
  --cream: #f7f1e7;
  --white: #ffffff;
  --maroon: #6e0f1f;
  --text-dark: #2f2117;
  --muted: #5d4c3e;
  --border: #e3d6c5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: 17px;
  line-height: 1.68;
  color: var(--text-dark);
  background: linear-gradient(180deg, #fbf7f1 0%, #f4eadb 100%);
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-serif {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  letter-spacing: 0.02em;
}

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

.section-pad {
  padding: 2rem 0;
}

.section-title {
  font-size: clamp(1.7rem, 2.3vw, 2.3rem);
  color: var(--kraft-deep);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.section-subtitle {
  color: #5d4938;
  max-width: 680px;
  font-size: 1.03rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.top-strip {
  background: linear-gradient(90deg, var(--maroon), #8a1f2f);
  color: #fff3e8;
  font-size: 0.92rem;
  padding: 0.45rem 0;
}

.navbar {
  background: rgba(255, 252, 248, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  font-size: 2rem;
  color: var(--kraft-deep);
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
}

.navbar-brand small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--copper);
  text-transform: uppercase;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-link {
  font-size: 1rem;
  color: #2f2218;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--maroon);
}

.nav-placeholder {
  opacity: 0.65;
  font-style: italic;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.62rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #8f0f2a, #701023);
  border-color: #7a1125;
  color: #fff8ef;
  box-shadow: 0 8px 18px rgba(80, 14, 27, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a01332, #7c1127);
  border-color: #86162a;
  color: #fffdf9;
}

.btn-outline-primary {
  color: #9a4552;
  border-color: #9a4552;
  background: #f0e8e8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.btn-outline-primary:hover {
  background: #e7dddd;
  border-color: #853a46;
  color: #853a46;
}

.btn-gold {
  background: linear-gradient(135deg, #d6ae4f, #c39734);
  border: 1px solid #c39734;
  color: #2d1d12;
  box-shadow: 0 8px 18px rgba(113, 80, 24, 0.2);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e2bb60, #cda141);
  border-color: #cda141;
  color: #2d1d12;
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-shell {
  position: relative;
  background: #25140c;
  border: 1px solid #8d6544;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(61, 27, 7, 0.2);
  overflow: hidden;
}

.hero-full-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image-mobile {
  display: none;
}

.hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0.75rem 0 0.75rem 0.75rem;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  width: min(250px, 100%);
  margin-right: -1px;
  pointer-events: auto;
}

.hero .btn,
.hero .btn-outline-primary,
.hero .btn-primary,
.hero .btn-gold {
  width: 100%;
  cursor: pointer;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.hero .btn-outline-primary {
  color: #97434f;
  border-color: #97434f;
  background: #f1e9e7;
  box-shadow: -8px 8px 16px rgba(47, 11, 18, 0.28);
}

.hero .btn-outline-primary:hover {
  color: #833844;
  border-color: #833844;
  background: #e9dddd;
  transform: translateX(-3px) translateY(-1px);
  box-shadow: -10px 10px 20px rgba(47, 11, 18, 0.36);
}

.hero .btn-primary {
  background: linear-gradient(135deg, #910f2c, #6f0f22);
  border-color: #7e1326;
  color: #fffaf2;
  box-shadow: -8px 8px 16px rgba(47, 11, 18, 0.35);
}

.hero .btn-primary:hover {
  background: linear-gradient(135deg, #a51534, #7d1228);
  border-color: #8e172d;
  color: #fffef9;
  transform: translateX(-3px) translateY(-1px);
  box-shadow: -10px 10px 20px rgba(47, 11, 18, 0.45);
}

.hero .btn-gold {
  background: linear-gradient(135deg, #dcb55a, #c29431);
  border-color: #c29431;
  color: #2f1f14;
  box-shadow: -8px 8px 16px rgba(69, 45, 14, 0.28);
}

.hero .btn-gold:hover {
  background: linear-gradient(135deg, #e4bf68, #ce9f3f);
  border-color: #ce9f3f;
  color: #2f1f14;
  transform: translateX(-3px) translateY(-1px);
  box-shadow: -10px 10px 20px rgba(69, 45, 14, 0.34);
}

.hero .btn:focus-visible,
.hero .btn-outline-primary:focus-visible,
.hero .btn-primary:focus-visible,
.hero .btn-gold:focus-visible {
  outline: 2px solid #f8d8a0;
  outline-offset: 2px;
}

.hero-image-wrap {
  height: 100%;
  min-height: 340px;
  background: linear-gradient(160deg, rgba(197, 155, 86, 0.17), rgba(123, 83, 47, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.hero-image,
.product-packshot,
.gallery-img,
.story-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid #d9c4ab;
  background: #fff;
}

.gallery-card {
  margin: 0;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 22px rgba(61, 43, 31, 0.14);
  outline: none;
}

.gallery-caption {
  padding: 0.55rem 0.72rem 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
  border-top: 1px solid #ebdece;
}

.lightbox-shell {
  background: #f5ecdf;
  border: 1px solid #dbc5a7;
  border-radius: 18px;
  overflow: hidden;
}

.lightbox-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #fff;
}

.lightbox-caption {
  padding: 0.95rem 1rem 1.1rem;
  color: var(--text-dark);
  font-size: 0.96rem;
}

.lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.7rem;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  padding: 0.45rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 1px solid #d5c2a8;
  background: rgba(255, 255, 255, 0.95);
  color: var(--kraft-deep);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav:hover {
  background: #fff;
  color: var(--maroon);
}

.lightbox-prev {
  left: 0.8rem;
}

.lightbox-next {
  right: 0.8rem;
}

.knowledge-tabs .nav-link {
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--kraft-deep);
  background: #fff;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
}

.knowledge-tabs .nav-link.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

.info-card {
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 18px;
  background: #fff;
  padding: 1rem;
  height: 100%;
}

.info-card h5 {
  color: var(--kraft-deep);
  margin-bottom: 0.4rem;
  font-size: 1.12rem;
}

.info-card p {
  color: #4b3b2d;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.68;
}

.tick {
  color: var(--gold);
  font-weight: 700;
}

.ingredient-chip {
  background: #fff;
  border: 1px solid #dcc8ad;
  color: var(--kraft-deep);
  border-radius: 999px;
  padding: 0.5rem 0.82rem;
  font-weight: 600;
  font-size: 0.93rem;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

.ingredient-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.price-card {
  border: 1px solid #d9c7b2;
  border-top: 4px solid var(--gold);
  border-radius: 18px;
  background: #fff;
  padding: 0.9rem;
  text-align: center;
}

.price-card h4 {
  margin-bottom: 0.35rem;
  color: var(--maroon);
}

.form-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 20px;
  background: #fffdf9;
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(123, 83, 47, 0.08);
}

.form-label {
  font-weight: 600;
  color: var(--kraft-deep);
  font-size: 0.98rem;
}

p,
li {
  color: #39291d;
}

.form-card p,
.form-card li,
.blog-post-body,
.blog-card-excerpt {
  font-size: 1rem;
  line-height: 1.7;
}

.pack-selector-btn {
  font-size: 0.95rem !important;
}

.pack-selector-btn small {
  font-size: 0.84rem !important;
}

.customize-topfold-panels #detailsPanel {
  background: #fffefb;
  border-color: #d9c8b3;
  padding: 1.2rem;
}

.customize-topfold-panels #detailsPanel #detailsTitle {
  color: #5f3720;
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  line-height: 1.2;
  margin-bottom: 0.8rem !important;
}

.customize-topfold-panels #detailsPanel .detail-card {
  background: #fff;
  border: 1px solid #e7d8c7;
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  height: 100%;
}

.customize-topfold-panels #detailsPanel h6 {
  font-family: "Lora", Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
  color: #5f3720;
  margin-bottom: 0.45rem;
}

.customize-topfold-panels #detailsPanel p,
.customize-topfold-panels #detailsPanel .detail-content {
  font-size: 1.07rem;
  line-height: 1.74;
  color: #2e2117;
}

.customize-topfold-panels #detailsPanel .detail-list {
  margin: 0;
  padding-left: 1.15rem;
}

.customize-topfold-panels #detailsPanel .detail-list li {
  margin-bottom: 0.24rem;
}

.catalog-hero {
  position: relative;
  background:
    radial-gradient(circle at 80% 10%, rgba(199, 154, 62, 0.2), transparent 48%),
    radial-gradient(circle at 10% 20%, rgba(181, 111, 61, 0.13), transparent 40%),
    linear-gradient(160deg, #fbf5ec 0%, #f6ead7 100%);
  overflow: hidden;
}

.catalog-kicker {
  display: inline-block;
  font-family: "Lora", Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7d5637;
  background: #fff7ec;
  border: 1px solid #e7d3be;
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  margin-bottom: 0.7rem;
}

.catalog-hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e3d5c2;
  box-shadow: 0 18px 36px rgba(95, 55, 32, 0.15);
}

.catalog-hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.catalog-toolbar {
  border: 1px solid #ddccb8;
  background: linear-gradient(135deg, #fffdfa, #f9f1e6);
}

.catalog-anchor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.catalog-anchor {
  font-size: 0.9rem;
  color: #6d4326;
  border: 1px solid #e5cfb4;
  background: #fff8ec;
  border-radius: 999px;
  padding: 0.24rem 0.68rem;
  transition: all 0.2s ease;
}

.catalog-anchor:hover {
  color: #4f2b14;
  border-color: #cfa57f;
  background: #ffefdc;
}

.catalog-results {
  display: grid;
  gap: 1rem;
}

.catalog-section {
  scroll-margin-top: 95px;
}

.catalog-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.catalog-section-head h2 {
  color: #60341b;
  margin-bottom: 0;
  font-size: clamp(1.45rem, 1.8vw, 1.8rem);
}

.catalog-section-head p {
  margin-bottom: 0;
  color: #6f4f38;
  font-size: 0.92rem;
}

.catalog-count {
  font-size: 0.97rem;
  color: #624731;
  font-weight: 600;
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.catalog-card {
  border: 1px solid #e0d0bc;
  background:
    linear-gradient(120deg, rgba(255, 251, 245, 0.96), rgba(255, 255, 255, 0.96)),
    linear-gradient(180deg, #fff9f1, #fffefb);
  overflow: hidden;
}

.catalog-card-head h3 {
  color: #5f3720;
  margin-bottom: 0.35rem;
  font-size: clamp(1.55rem, 1.9vw, 2rem);
}

.catalog-card-head p {
  color: #4f3b2b;
  margin-bottom: 0.75rem;
}

.catalog-badge {
  display: inline-block;
  font-size: 0.79rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5334;
  background: #fff3df;
  border: 1px solid #e5caa9;
  border-radius: 999px;
  padding: 0.22rem 0.62rem;
  margin-bottom: 0.7rem;
}

.catalog-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
}

.catalog-chip {
  font-size: 0.88rem;
  color: #5f3c27;
  background: #fffdf8;
  border: 1px dashed #dac4aa;
  border-radius: 999px;
  padding: 0.14rem 0.58rem;
}

.catalog-card-details {
  margin-top: 0.9rem;
  border-top: 1px solid #e8d9c6;
  padding-top: 0.9rem;
}

.catalog-card-details summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #6a3b20;
  font-weight: 700;
}

.catalog-card-details summary::-webkit-details-marker {
  display: none;
}

.catalog-card-details summary i {
  transition: transform 0.2s ease;
}

.catalog-card-details[open] summary i {
  transform: rotate(180deg);
}

.catalog-card .detail-card {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e8dccc;
  padding: 0.72rem 0.88rem;
}

.catalog-card .detail-card h6 {
  color: #5f3720;
  margin-bottom: 0.44rem;
}

.formulation-page .formulation-hero {
  background:
    radial-gradient(circle at top right, rgba(199, 154, 62, 0.16), transparent 36%),
    linear-gradient(135deg, rgba(255, 252, 247, 0.98), rgba(245, 236, 223, 0.96));
}

.formulation-page .formulation-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.formulation-page .catalog-anchor {
  white-space: nowrap;
}

.formulation-page .ingredient-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.formulation-page .ingredient-item {
  border: 1px solid #eadfcc;
  border-radius: 14px;
  background: #fff;
  padding: 0.68rem 0.8rem;
}

.formulation-page .ingredient-item strong {
  display: block;
  color: #5f3720;
  margin-bottom: 0.2rem;
}

.formulation-page .ingredient-item span {
  display: block;
  color: #5c4b3d;
  font-size: 0.94rem;
}

.formulation-page .ingredient-group-label {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0.35rem 0.15rem 0.1rem;
  font-weight: 700;
  color: #7a5334;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

.formulation-page .catalog-section {
  margin-top: 1rem;
}

.formulation-page .catalog-section:first-child {
  margin-top: 0;
}

.formulation-page .category-section .catalog-grid {
  margin-top: 0.9rem;
}

.formulation-page .formulation-sheet {
  padding-top: 1.5rem;
}

.formulation-page .formulation-header {
  border-bottom: 2px solid #d9c3a8;
  padding-bottom: 0.9rem;
  margin-bottom: 1rem;
}

.formulation-page .formulation-note {
  color: #61462f;
  font-size: 0.98rem;
  line-height: 1.65;
}

.formulation-page .formulation-philosophy-statement {
  font-size: 1.06rem;
  line-height: 1.8;
  color: #3a2515;
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  background: rgba(199, 154, 62, 0.06);
  border-radius: 0 12px 12px 0;
}

.formulation-page .formulation-table {
  background: #fff;
  border-color: #d8c6b0;
  margin-bottom: 0;
}

.formulation-page .formulation-table thead th {
  background: #f3eadf;
  color: #5f3720;
  font-weight: 700;
  vertical-align: middle;
}

.formulation-page .formulation-table td,
.formulation-page .formulation-table th {
  padding: 0.7rem 0.8rem;
  line-height: 1.55;
}

.formulation-page .formulation-table tbody tr:nth-child(even) td {
  background: #fcf8f2;
}

.formulation-page .formulation-group {
  break-inside: avoid;
  page-break-inside: avoid;
}

.formulation-page .formulation-group .section-subtitle {
  max-width: none;
}

.formulation-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.45rem 1.1rem;
  background: #fff;
  color: #5f3720;
  border: 1.5px solid #c79a3e;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s;
  flex-shrink: 0;
}

.formulation-export-btn:hover {
  background: #c79a3e;
  color: #fff;
}

@media print {
  .no-print {
    display: none !important;
  }

  .formulation-page {
    background: #fff !important;
    font-size: 10.5pt;
  }

  .formulation-page .formulation-sheet {
    padding-top: 0;
  }

  .formulation-page .formulation-header {
    border-bottom: 1.5pt solid #aaa;
  }

  .formulation-page .section-title,
  .formulation-page .section-subtitle,
  .formulation-page .formulation-note {
    color: #111 !important;
  }

  .formulation-page .formulation-philosophy-statement {
    border-left: 3pt solid #999;
    background: none !important;
    padding: 0.5rem 0.75rem;
  }

  .formulation-page .formulation-table {
    font-size: 9.5pt;
    width: 100% !important;
    table-layout: fixed;
  }

  .formulation-page .formulation-table thead th {
    background: #ececec !important;
    color: #111 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .formulation-page .formulation-table tbody tr:nth-child(even) td {
    background: #f9f6f1 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .formulation-page .formulation-table td,
  .formulation-page .formulation-table th {
    padding: 0.35rem 0.5rem;
    word-break: break-word;
  }

  .formulation-page .formulation-group {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .formulation-page section {
    break-before: avoid;
  }

  @page {
    size: A4;
    margin: 12mm 10mm 18mm 10mm;

    @bottom-center {
      content: "Ahuti Formulation Manual  —  Page " counter(page) " of " counter(pages);
      font-family: 'Lora', Georgia, serif;
      font-size: 8pt;
      color: #555;
    }
  }

  .formulation-page .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .formulation-page .table-responsive {
    overflow: visible !important;
  }
}

@media (min-width: 992px) {
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767.98px) {
  .catalog-hero-media img {
    height: 250px;
  }

  .catalog-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.22rem;
  }
}

@media print {
  .top-strip,
  .navbar,
  .catalog-anchor-row,
  .catalog-filter,
  .catalog-toolbar .form-label,
  #catalogSearch,
  #downloadPdfBtn,
  .whatsapp-float,
  .btn,
  .footer {
    display: none !important;
  }

  body {
    background: #fff !important;
    font-size: 12pt;
    color: #111;
  }

  .catalog-card,
  .catalog-hero,
  .catalog-toolbar,
  .detail-card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    background: #fff !important;
  }

  .catalog-grid {
    grid-template-columns: 1fr !important;
  }
}

.reading-mode .section-title {
  letter-spacing: 0.028em;
  font-weight: 700;
  color: #5d3d23;
}

.reading-mode .section-subtitle {
  max-width: 760px;
  color: #4f3c2c;
  line-height: 1.75;
}

.reading-mode .form-card p,
.reading-mode .form-card li,
.reading-mode .info-card p,
.reading-mode .info-card li,
.reading-mode blockquote,
.reading-mode .blog-card-excerpt {
  font-size: 1.04rem;
  line-height: 1.78;
  color: #34261b;
}

.reading-mode .form-card h3,
.reading-mode .form-card h4,
.reading-mode .form-card h5,
.reading-mode .info-card h3,
.reading-mode .info-card h4,
.reading-mode .info-card h5 {
  color: #5d3d23;
  font-weight: 700;
}

.about-page .form-card p,
.about-page .form-card li,
.knowledge-page .form-card p,
.knowledge-page .form-card li,
.knowledge-page .info-card p,
.knowledge-page .info-card li {
  max-width: 70ch;
}

.blog-page .blog-post-body {
  max-width: 74ch;
  margin-inline: auto;
  font-size: 1.06rem;
  line-height: 1.85;
  color: #312316;
}

.blog-page .blog-post-body p,
.blog-page .blog-post-body li {
  max-width: 72ch;
}

.blog-page .blog-post-view h2 {
  color: #5d3d23;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
}

.form-control,
.form-select,
textarea {
  border-radius: 12px;
  border-color: #d8c9b6;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(199, 154, 62, 0.2);
}

.footer {
  background: #2d1e14;
  color: #f4e6d4;
  padding: 1.6rem 0 0.9rem;
}

.footer h5 {
  color: #ffe6bf;
}

.footer a {
  color: #f8dfbd;
}

.footer a:hover {
  color: #fff;
}

.footer .small {
  color: #ceb699;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
}

.whatsapp-float .btn {
  box-shadow: 0 10px 24px rgba(110, 15, 31, 0.35);
}

.badge-soft {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(247, 205, 128, 0.2);
  border: 1px solid rgba(247, 205, 128, 0.45);
  color: #770505;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.map-box {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

.section-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid #d9c4ab;
  background: #fff;
  min-height: 200px;
}

.blog-hero-card {
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(247, 238, 226, 0.88));
  padding: 1.1rem;
}

.blog-admin-btn {
  width: auto;
}

.blog-list-shell,
.blog-viewer-shell {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.9rem;
  min-height: 360px;
}

.blog-list-item {
  width: 100%;
  text-align: left;
  border: 1px solid #e2d6c7;
  border-radius: 14px;
  background: #fff;
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.blog-list-top {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.blog-list-top.no-thumb {
  grid-template-columns: 1fr;
}

.blog-list-thumb {
  width: 86px;
  height: 68px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dccfbd;
  background: #f8f3eb;
}

.blog-list-item:hover,
.blog-list-item.active {
  border-color: #ba8a55;
  box-shadow: 0 8px 16px rgba(79, 54, 30, 0.12);
  transform: translateY(-1px);
}

.blog-list-item h5 {
  margin-bottom: 0.3rem;
  color: var(--kraft-deep);
}

.blog-card-meta {
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.blog-card-excerpt {
  margin: 0;
  font-size: 0.95rem;
  color: #624a36;
}

.blog-post-view h2 {
  margin-bottom: 0.35rem;
  color: var(--maroon);
}

.blog-meta {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.95rem;
}

.blog-post-body {
  color: #3f2e20;
  line-height: 1.8;
}

.blog-post-featured {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #dbcfbf;
  margin-bottom: 0.95rem;
}

.blog-post-body h2,
.blog-post-body h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.55rem;
  color: var(--kraft-deep);
}

.blog-post-body blockquote {
  border-left: 3px solid #c8a67a;
  padding-left: 0.8rem;
  margin: 0.9rem 0;
  color: #6b4f36;
}

.blog-post-body a {
  color: #7a2332;
  text-decoration: underline;
}

.blog-post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #dbcfbe;
  margin: 0.8rem 0;
}

.blog-empty-list,
.blog-empty-viewer {
  padding: 1.2rem;
  border-radius: 14px;
  background: #fff;
  border: 1px dashed #d6c8b8;
  color: var(--muted);
}

.blog-list-controls .form-control {
  background: #fffefc;
}

.blog-pagination {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.blog-page-btn {
  border: 1px solid #d8cab8;
  border-radius: 999px;
  background: #fff;
  color: var(--kraft-deep);
  padding: 0.38rem 0.82rem;
  font-size: 0.88rem;
  line-height: 1;
}

.blog-page-btn.active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff;
}

.blog-page-btn:disabled {
  opacity: 0.5;
}

.auth-shell {
  max-width: 580px;
}

.auth-message {
  min-height: 1.3rem;
  margin-bottom: 0;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.editor-toolbar .btn {
  width: auto;
  min-width: 42px;
  padding: 0.45rem 0.8rem;
}

.editor-surface {
  border: 1px solid #d8c9b6;
  border-radius: 12px;
  background: #fff;
  min-height: 240px;
  padding: 0.85rem;
  line-height: 1.8;
}

.editor-surface.drop-active {
  border-color: #b7793d;
  box-shadow: 0 0 0 0.2rem rgba(183, 121, 61, 0.2);
  background: #fff8ef;
}

.editor-surface img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #dbcfbe;
  margin: 0.8rem 0;
}

.editor-surface:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(199, 154, 62, 0.15);
}

.admin-post-list {
  display: grid;
  gap: 0.75rem;
}

.admin-post-item {
  border: 1px solid #e2d6c7;
  border-radius: 14px;
  padding: 0.8rem;
  background: #fff;
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.admin-post-meta {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.admin-post-thumb {
  width: 86px;
  height: 64px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #dccfbd;
  background: #f8f3eb;
}

.admin-post-item h5 {
  margin-bottom: 0.35rem;
  color: var(--kraft-deep);
}

.admin-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.admin-post-empty {
  border: 1px dashed #d8c8b7;
  border-radius: 12px;
  background: #fff;
  padding: 0.9rem;
  color: var(--muted);
}

.featured-preview-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.featured-preview-img {
  width: 136px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #d9cbb8;
  background: #fff;
}

@media (max-width: 991.98px) {
  .hero-copy {
    padding: 1rem;
  }

  .section-pad {
    padding: 1.7rem 0;
  }

  .blog-list-shell,
  .blog-viewer-shell {
    min-height: auto;
  }

  .admin-post-item {
    flex-direction: column;
  }
}

@media (min-width: 992px) {
  .navbar .container {
    max-width: 1260px;
  }

  .navbar-nav {
    gap: 0.25rem !important;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
  }

  .hero.hero-compact {
    padding: 2.2rem 0 1.4rem;
  }

  .hero.hero-compact .hero-shell {
    border-top: 4px solid var(--gold);
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(61, 27, 7, 0.18);
  }

  .hero.hero-compact .hero-actions {
    width: min(220px, 100%);
    gap: 0.45rem;
  }

  .hero.hero-compact .btn,
  .hero.hero-compact .btn-outline-primary,
  .hero.hero-compact .btn-primary,
  .hero.hero-compact .btn-gold {
    padding: 0.52rem 1rem;
    font-size: 0.92rem;
  }

  .topfold-section {
    padding-top: 1.6rem !important;
    padding-bottom: 1.6rem !important;
  }

  .product-topfold .section-title {
    font-size: clamp(1.45rem, 1.9vw, 1.95rem);
    margin-bottom: 0.4rem;
  }

  .product-topfold .section-subtitle {
    font-size: 0.92rem;
  }

  .product-topfold ul {
    margin-top: 0.65rem !important;
    margin-bottom: 0.55rem;
    padding-left: 1.05rem;
  }

  .product-topfold li {
    margin-bottom: 0.2rem;
    font-size: 0.92rem;
  }

  .product-topfold .btn {
    padding: 0.52rem 1.05rem;
  }

  .customize-topfold-panels .section-photo {
    max-height: 320px;
  }
}

@media (min-width: 1400px) {
  .customize-topfold-panels .selector-panel {
    max-width: 860px;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .top-strip {
    font-size: 0.82rem;
  }

  .btn {
    width: 100%;
  }

  .hero-copy {
    position: static;
    display: block;
    padding: 0.6rem;
    pointer-events: auto;
  }

  .hero-actions {
    width: 100%;
    gap: 0.4rem;
    margin-right: 0;
  }

  .hero .btn,
  .hero .btn-outline-primary,
  .hero .btn-primary,
  .hero .btn-gold {
    font-size: 0.96rem;
    padding: 0.55rem 0.7rem;
    border-right: 1px solid #f0c879;
    border-radius: 999px;
  }

  .hero-image-desktop {
    display: none;
  }

  .hero-image-mobile {
    display: block;
  }

  .hero .btn:hover,
  .hero .btn-outline-primary:hover,
  .hero .btn-primary:hover,
  .hero .btn-gold:hover {
    transform: none;
  }

  .whatsapp-float {
    left: 12px;
    right: 12px;
    bottom: 10px;
  }

  .whatsapp-float .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero .btn:hover,
  .hero .btn-outline-primary:hover,
  .hero .btn-primary:hover,
  .hero .btn-gold:hover {
    transform: none;
  }
}
