:root {
  --ivory: #f4efe5;
  --paper: #fffdf8;
  --charcoal: #1f211f;
  --muted: #66675f;
  --copper: #b7653b;
  --orange: #d65f25;
  --sage: #77806b;
  --line: #ded6c8;
  --dark: #252c27;
  --serif: Georgia, "Times New Roman", serif;
  --sans: var(--font-geist-sans), Arial, sans-serif;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
}

body,
button,
input,
textarea,
select {
  font-family: var(--sans);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

::selection {
  background: #e5b49b;
  color: var(--charcoal);
}

:focus-visible {
  outline: 3px solid #dd7545;
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding: 16px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid rgba(222, 214, 200, 0.8);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-transform: uppercase;
}

.brand strong {
  font-size: clamp(0.9rem, 1.35vw, 1.18rem);
  letter-spacing: 0.14em;
}

.brand span {
  color: var(--copper);
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.32em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  font-size: 0.93rem;
}

.main-nav a {
  position: relative;
  padding: 12px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1.5px;
  margin: 5px 0;
  background: var(--charcoal);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  min-height: calc(100vh - 92px);
  overflow: hidden;
  background: var(--ivory);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 3vw 150px clamp(24px, 5vw, 76px);
  background: linear-gradient(90deg, var(--paper) 0%, #fffaf0 84%, rgba(255, 250, 240, 0.3) 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 25px;
  color: var(--sage);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::after {
  width: 54px;
  height: 2px;
  background: var(--orange);
  content: "";
}

.hero h1,
.section h2,
.process-intro h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero h1 {
  max-width: 670px;
  font-size: clamp(4.2rem, 7.1vw, 7.7rem);
  line-height: 0.84;
}

.hero-lead {
  max-width: 620px;
  margin: 32px 0 0;
  color: #42433e;
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 650;
  transition: background 180ms ease, color 180ms ease, border 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--orange);
  color: white;
}

.button-primary:hover {
  background: #b94818;
}

.button-secondary {
  border-color: var(--orange);
  background: rgba(255, 253, 248, 0.76);
  color: var(--orange);
}

.button-secondary span {
  margin-right: 9px;
}

.button-secondary:hover {
  background: var(--orange);
  color: white;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 650;
}

.hero-signals span:not(:last-child)::after {
  margin-left: 22px;
  color: var(--copper);
  content: "•";
}

.hero-media {
  position: relative;
  min-height: 700px;
  background: #d9c6aa;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 250, 240, 0.18), transparent 35%), linear-gradient(0deg, rgba(31, 33, 31, 0.18), transparent 40%);
  content: "";
  pointer-events: none;
}

.hero-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 56px;
  z-index: 2;
  width: min(250px, 45%);
  padding: 18px 20px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 253, 248, 0.9);
  backdrop-filter: blur(12px);
}

.hero-note span,
.hero-note strong {
  display: block;
}

.hero-note span {
  margin-bottom: 4px;
  color: var(--copper);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(92%, 1340px);
  margin: -86px auto 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 22px 70px rgba(61, 45, 32, 0.11);
  backdrop-filter: blur(18px);
}

.category-strip button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 112px;
  border: 0;
  background: transparent;
  color: var(--charcoal);
  font-size: 1.05rem;
  cursor: pointer;
}

.category-strip button:not(:last-child) {
  border-right: 1px solid var(--line);
}

.category-strip button:hover .category-icon {
  background: var(--orange);
  color: white;
  transform: rotate(-4deg);
}

.category-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #faf1e7;
  color: var(--orange);
  font-family: var(--serif);
  font-size: 1.6rem;
  transition: 180ms ease;
}

.section {
  padding: 130px clamp(24px, 6vw, 92px);
}

.section-heading {
  max-width: 1320px;
  margin: 0 auto 58px;
}

.section h2,
.contact-copy h2 {
  font-size: clamp(3.1rem, 5.2vw, 6.2rem);
  line-height: 0.96;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.split-heading > p {
  max-width: 500px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1320px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.category-card {
  position: relative;
  display: flex;
  min-height: 410px;
  padding: 28px;
  flex-direction: column;
  align-items: flex-start;
  border: 0;
  background: var(--paper);
  color: var(--charcoal);
  text-align: left;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.category-card:not(:last-child) {
  border-right: 1px solid var(--line);
}

.category-card:hover {
  z-index: 2;
  background: #faf4ea;
  box-shadow: 0 24px 52px rgba(55, 38, 28, 0.12);
  transform: translateY(-8px);
}

.category-number {
  color: #a9a194;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.category-symbol {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 42px 0 36px;
  place-items: center;
  border: 1px solid #e3c9b9;
  border-radius: 50%;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 2rem;
}

.category-kicker {
  margin-bottom: 10px;
  color: var(--copper);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-card strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.category-text {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

.category-link {
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 25px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 650;
}

.products-section {
  background: #f1ebdf;
}

.products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filter-row button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #cfc6b8;
  border-radius: 999px;
  background: transparent;
  color: #5c5b56;
  font-size: 0.76rem;
  cursor: pointer;
}

.filter-row button:hover,
.filter-row button.active {
  border-color: var(--copper);
  background: var(--copper);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  max-width: 1320px;
  margin: 0 auto;
}

.product-card {
  overflow: hidden;
  border: 1px solid #ddd2c4;
  background: var(--paper);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.product-card:hover {
  box-shadow: 0 24px 55px rgba(73, 52, 36, 0.12);
  transform: translateY(-6px);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1.15;
  overflow: hidden;
  background: #e9dfd1;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 11px;
  background: var(--paper);
  color: var(--copper);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-info {
  padding: 25px;
}

.product-info > span {
  color: var(--copper);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 9px 0 10px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 400;
}

.product-info p {
  min-height: 46px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.product-info > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.product-info strong {
  font-size: 0.78rem;
}

.product-info a {
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
}

.empty-state {
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px;
  border: 1px dashed #c8bcae;
  color: var(--muted);
  text-align: center;
}

.process-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 9vw, 150px);
  padding: 130px clamp(24px, 8vw, 130px);
  background: var(--dark);
  color: #f8f1e7;
}

.eyebrow-light {
  color: #b6baa9;
}

.process-intro h2 {
  font-size: clamp(3.5rem, 6vw, 7rem);
  line-height: 0.88;
}

.process-intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 30px 0;
  color: #cbd0c8;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-weight: 650;
}

.light-link {
  color: #efb391;
}

.process-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  padding: 34px 0;
  border-top: 1px solid #4f5851;
}

.process-steps li:last-child {
  border-bottom: 1px solid #4f5851;
}

.process-steps > li > span {
  color: #c98763;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.process-steps strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.process-steps p {
  margin: 8px 0 0;
  color: #b6beb7;
  line-height: 1.7;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(50px, 8vw, 130px);
  max-width: 1500px;
  margin: 0 auto;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 28px 0 42px;
  color: var(--muted);
  line-height: 1.8;
}

.contact-facts {
  display: grid;
  gap: 16px;
}

.contact-facts div {
  display: flex;
  max-width: 520px;
  padding-bottom: 16px;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-facts span {
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-facts strong {
  font-size: 0.82rem;
}

.contact-form {
  align-self: start;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--line);
  background: #f6f0e6;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label,
.admin-form label,
.edit-fields label {
  display: grid;
  gap: 9px;
  margin-bottom: 20px;
  color: #4e504c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.admin-form select,
.edit-fields input,
.edit-fields textarea,
.edit-fields select {
  width: 100%;
  border: 1px solid #cfc4b5;
  border-radius: 3px;
  background: var(--paper);
  color: var(--charcoal);
  outline: none;
  transition: border 160ms ease, box-shadow 160ms ease;
}

.contact-form input,
.admin-form input,
.admin-form select,
.edit-fields input,
.edit-fields select {
  height: 50px;
  padding: 0 15px;
}

.contact-form textarea,
.admin-form textarea,
.edit-fields textarea {
  padding: 14px 15px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.edit-fields input:focus,
.edit-fields textarea:focus,
.edit-fields select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(183, 101, 59, 0.12);
}

.contact-form .button {
  min-width: 190px;
  border: 0;
  cursor: pointer;
}

.button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-message {
  margin: 20px 0 0;
  padding: 13px 15px;
  border-left: 3px solid var(--sage);
  background: #eef1ea;
  color: #465043;
  font-size: 0.85rem;
}

.form-message.error {
  border-color: #a84331;
  background: #f8e9e5;
  color: #8e3426;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 45px;
  padding: 58px clamp(24px, 6vw, 92px);
  border-top: 1px solid var(--line);
  background: var(--ivory);
  color: #555850;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--charcoal);
  text-transform: uppercase;
}

.footer-brand strong {
  letter-spacing: 0.12em;
}

.footer-brand span {
  color: var(--copper);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.23em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-content: start;
}

.footer-links a {
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: var(--copper);
}

.site-footer > p {
  max-width: 320px;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 80;
  display: inline-flex;
  min-height: 58px;
  padding: 0 20px 0 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 35px rgba(15, 77, 39, .28);
  font-size: .8rem;
  font-weight: 750;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.whatsapp-float::before {
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(37, 211, 102, .38);
  border-radius: inherit;
  content: "";
  animation: whatsapp-pulse 2.4s ease-out infinite;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.whatsapp-float:hover {
  background: #1ebc59;
  box-shadow: 0 18px 42px rgba(15, 77, 39, .34);
  transform: translateY(-3px);
}

@keyframes whatsapp-pulse {
  0% { opacity: .75; transform: scale(.94); }
  75%, 100% { opacity: 0; transform: scale(1.18); }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 0.94fr 1.06fr;
  }

  .hero-copy {
    padding-bottom: 125px;
  }

  .hero h1 {
    font-size: clamp(4rem, 8vw, 6rem);
  }

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

  .category-card:nth-child(2) {
    border-right: 0;
  }

  .category-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 820px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    min-height: 78px;
    padding: 13px 20px;
  }

  .brand strong {
    font-size: 0.78rem;
  }

  .brand span {
    font-size: 0.5rem;
    letter-spacing: 0.21em;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    gap: 0;
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 20px 30px rgba(30, 25, 20, 0.1);
    opacity: 0;
    transition: max-height 240ms ease, opacity 180ms ease;
  }

  .main-nav.is-open {
    max-height: 420px;
    padding: 10px 20px 22px;
    opacity: 1;
  }

  .main-nav a {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
  }

  .hero-copy {
    padding: 65px 24px 52px;
    background: var(--paper);
  }

  .hero h1 {
    font-size: clamp(4rem, 17vw, 6rem);
  }

  .hero-media {
    min-height: 520px;
  }

  .hero-media > img {
    position: absolute;
    inset: 0;
  }

  .category-strip {
    grid-template-columns: 1fr;
    width: calc(100% - 40px);
    margin-top: -34px;
  }

  .category-strip button {
    min-height: 80px;
    justify-content: flex-start;
    padding: 0 24px;
  }

  .category-strip button:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-icon {
    width: 46px;
    height: 46px;
  }

  .section {
    padding: 92px 22px;
  }

  .split-heading,
  .contact-section,
  .process-section {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 28px;
  }

  .products-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .process-section {
    gap: 70px;
    padding: 95px 24px;
  }

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

@media (max-width: 560px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-signals span::after {
    display: none;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-note {
    right: 18px;
    bottom: 22px;
    width: calc(100% - 36px);
  }

  .section h2,
  .contact-copy h2 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

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

  .category-card {
    min-height: 360px;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .category-card:last-child {
    border-bottom: 0;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-facts div,
  .product-info > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .whatsapp-float::before {
    display: none;
  }
}

/* Internal content manager */
.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  min-height: 100vh;
  background: #f3eee5;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  padding: 28px 18px 20px;
  flex-direction: column;
  background: #202722;
  color: #f7f1e8;
}

.admin-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 8px 28px;
  border-bottom: 1px solid #3e4841;
}

.admin-brand > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #cb8661;
  border-radius: 50%;
  color: #e5a17d;
  font-family: var(--serif);
  font-size: 0.88rem;
}

.admin-brand div,
.admin-user div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.admin-brand strong {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 400;
}

.admin-brand small,
.admin-user small {
  overflow: hidden;
  color: #9ca59e;
  font-size: 0.63rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-nav {
  display: grid;
  gap: 7px;
  margin-top: 30px;
}

.admin-nav button {
  display: flex;
  min-height: 48px;
  padding: 0 14px;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #b7c0b9;
  text-align: left;
  cursor: pointer;
}

.admin-nav button > span {
  color: #d28a66;
  font-size: 1.15rem;
}

.admin-nav button b {
  display: grid;
  min-width: 23px;
  height: 23px;
  margin-left: auto;
  padding: 0 6px;
  place-items: center;
  border-radius: 999px;
  background: #c86337;
  color: white;
  font-size: 0.66rem;
}

.admin-nav button:hover,
.admin-nav button.active {
  background: #313a34;
  color: white;
}

.admin-user {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  padding: 18px 8px 0;
  border-top: 1px solid #3e4841;
}

.admin-user > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #c8754e;
  color: white;
  font-size: 0.67rem;
  font-weight: 800;
}

.admin-user strong {
  overflow: hidden;
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-user > a {
  color: #9ca59e;
}

.admin-main {
  min-width: 0;
  padding: 38px clamp(26px, 4vw, 64px) 80px;
}

.admin-topbar {
  display: flex;
  max-width: 1380px;
  margin: 0 auto 28px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.admin-topbar p {
  margin: 0 0 6px;
  color: var(--copper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.admin-topbar h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -0.04em;
}

.admin-view-site {
  display: inline-flex;
  height: 43px;
  padding: 0 17px;
  align-items: center;
  gap: 11px;
  border: 1px solid #cfc6b9;
  border-radius: 3px;
  background: #fffdf9;
  font-size: 0.76rem;
  font-weight: 700;
}

.admin-view-site span {
  color: var(--copper);
}

.admin-notice {
  max-width: 1380px;
  margin: 0 auto 20px;
  padding: 13px 16px;
  border-left: 3px solid #72806e;
  background: #e7eee6;
  color: #445242;
  font-size: 0.8rem;
}

.admin-notice.error {
  border-color: #a84331;
  background: #f7e6e1;
  color: #8d3224;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1380px;
  margin: 0 auto 20px;
}

.admin-stats article {
  position: relative;
  display: grid;
  min-height: 130px;
  padding: 22px;
  grid-template-columns: 1fr auto;
  align-content: center;
  border: 1px solid #dbd3c7;
  background: #fffdf9;
}

.admin-stats article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--copper);
  content: "";
  transform: scaleX(0.12);
  transform-origin: left;
}

.admin-stats span {
  align-self: end;
  color: #77786f;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-stats strong {
  grid-row: 1 / 3;
  grid-column: 2;
  align-self: center;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 400;
}

.admin-stats small {
  color: #99988e;
  font-size: 0.68rem;
}

.admin-card {
  max-width: 1380px;
  margin: 0 auto 20px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid #dbd3c7;
  background: #fffdf9;
}

.admin-card-heading {
  display: flex;
  margin-bottom: 28px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.admin-card-heading h2 {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.admin-card-heading > p {
  max-width: 480px;
  margin: 0;
  color: #77786f;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: right;
}

.step-chip {
  color: var(--copper);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.admin-form {
  display: grid;
  grid-template-columns: minmax(230px, 0.58fr) minmax(320px, 1.42fr);
  gap: clamp(26px, 4vw, 58px);
}

.image-drop {
  position: relative;
  display: grid !important;
  min-height: 330px;
  margin: 0 !important;
  padding: 28px;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  border: 1px dashed #bba895;
  background: #f7f1e8;
  color: #67665f !important;
  text-align: center;
  cursor: pointer;
}

.image-drop:hover {
  border-color: var(--copper);
  background: #f3e9dc;
}

.image-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.image-drop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: #e8d7c8;
  color: var(--copper);
  font-size: 1.65rem;
  font-weight: 300;
}

.image-drop strong {
  margin-bottom: 7px;
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.image-drop small {
  font-size: 0.68rem;
}

.form-fields {
  min-width: 0;
}

.compact-fields {
  align-items: end;
}

.check-label {
  display: flex !important;
  min-height: 50px;
  margin-bottom: 20px !important;
  padding: 8px 12px;
  align-items: center;
  gap: 11px !important;
  border: 1px solid #cfc4b5;
  background: var(--paper);
  cursor: pointer;
}

.check-label input {
  width: 17px;
  height: 17px;
  accent-color: var(--copper);
}

.check-label span {
  display: grid;
  gap: 2px;
}

.check-label strong {
  color: var(--charcoal);
  font-size: 0.72rem;
}

.check-label small {
  color: #8b8a82;
  font-size: 0.6rem;
  font-weight: 400;
}

.admin-form .button {
  border: 0;
  cursor: pointer;
}

.admin-product-list {
  display: grid;
  gap: 10px;
}

.admin-product {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(180px, 1fr) auto auto 28px;
  gap: 18px;
  align-items: center;
  min-height: 104px;
  padding: 11px 14px 11px 11px;
  border: 1px solid #e2dacf;
  background: #fffefa;
}

.admin-product.is-hidden {
  opacity: 0.58;
}

.admin-product > img {
  width: 82px;
  height: 78px;
  object-fit: cover;
  background: #eee5d9;
}

.admin-product-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.admin-product-copy > span {
  color: var(--copper);
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-product-copy > strong {
  overflow: hidden;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-product-copy > small {
  color: #88877f;
  font-size: 0.67rem;
}

.product-switches {
  display: flex;
  gap: 16px;
}

.product-switches label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #62645e;
  font-size: 0.67rem;
  font-weight: 650;
  cursor: pointer;
}

.product-switches input {
  position: absolute;
  opacity: 0;
}

.product-switches label > span {
  position: relative;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #c8c6be;
  transition: 150ms ease;
}

.product-switches label > span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  content: "";
  transition: 150ms ease;
}

.product-switches input:checked + span {
  background: #71816e;
}

.product-switches input:checked + span::after {
  transform: translateX(14px);
}

.edit-product {
  position: relative;
}

.edit-product summary {
  padding: 9px 13px;
  border: 1px solid #cec5b8;
  border-radius: 3px;
  color: #5a5d56;
  font-size: 0.68rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.edit-product summary::-webkit-details-marker {
  display: none;
}

.edit-fields {
  position: absolute;
  top: 45px;
  right: 0;
  z-index: 20;
  width: min(420px, 80vw);
  padding: 22px;
  border: 1px solid #cbc0b2;
  background: #fffdf9;
  box-shadow: 0 20px 60px rgba(44, 34, 25, 0.18);
}

.edit-fields label {
  margin-bottom: 13px;
}

.edit-fields button {
  width: 100%;
  min-height: 43px;
  border: 0;
  border-radius: 3px;
  background: var(--copper);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.delete-button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #a66f5e;
  font-size: 1.1rem;
  cursor: pointer;
}

.delete-button:hover {
  background: #f1ddd6;
  color: #8d3928;
}

.admin-empty {
  display: grid;
  min-height: 180px;
  place-content: center;
  gap: 8px;
  color: #87877f;
  text-align: center;
}

.admin-empty strong {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
}

.inquiry-list {
  display: grid;
  gap: 12px;
}

.inquiry-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 140px;
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid #e0d7ca;
  background: #fffefa;
}

.inquiry-avatar {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: #e8d5c5;
  color: var(--copper);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.inquiry-copy {
  display: grid;
  gap: 5px;
}

.inquiry-copy > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 15px;
}

.inquiry-copy strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.inquiry-copy time,
.inquiry-copy a {
  color: #8a8981;
  font-size: 0.67rem;
}

.inquiry-copy a {
  color: var(--copper);
}

.inquiry-copy p {
  margin: 8px 0 0;
  color: #5f615b;
  font-size: 0.78rem;
  line-height: 1.6;
}

.inquiry-item select {
  height: 39px;
  padding: 0 10px;
  border: 1px solid #cec5b8;
  border-radius: 3px;
  background: #f7f2e9;
  color: #5d5f59;
  font-size: 0.7rem;
}

@media (max-width: 1060px) {
  .admin-shell {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .admin-sidebar {
    padding-right: 12px;
    padding-left: 12px;
  }

  .admin-brand {
    justify-content: center;
    padding-right: 0;
    padding-left: 0;
  }

  .admin-brand div,
  .admin-user div,
  .admin-user > a,
  .admin-nav button:not(.active) b,
  .admin-nav button {
    font-size: 0;
  }

  .admin-nav button {
    justify-content: center;
  }

  .admin-nav button > span {
    font-size: 1.2rem;
  }

  .admin-nav button b {
    position: absolute;
    margin: -28px 0 0 34px;
    font-size: 0.58rem;
  }

  .admin-user {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .admin-product {
    grid-template-columns: 72px minmax(160px, 1fr) auto 28px;
  }

  .admin-product > img {
    width: 72px;
    height: 72px;
  }

  .product-switches {
    grid-column: 2 / -1;
    grid-row: 2;
  }
}

@media (max-width: 760px) {
  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    padding: 14px 18px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .admin-brand {
    padding: 0 14px 0 0;
    border-right: 1px solid #3e4841;
    border-bottom: 0;
  }

  .admin-brand > span {
    width: 36px;
    height: 36px;
  }

  .admin-nav {
    display: flex;
    margin: 0;
  }

  .admin-nav button {
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .admin-user {
    display: none;
  }

  .admin-main {
    padding: 26px 16px 60px;
  }

  .admin-topbar {
    align-items: flex-start;
  }

  .admin-view-site {
    padding: 0 12px;
    font-size: 0;
  }

  .admin-view-site span {
    font-size: 1rem;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .admin-stats article {
    min-height: 100px;
  }

  .admin-card-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .admin-card-heading > p {
    text-align: left;
  }

  .admin-form {
    grid-template-columns: 1fr;
  }

  .image-drop {
    min-height: 280px;
  }

  .admin-product {
    grid-template-columns: 66px minmax(0, 1fr) 28px;
  }

  .admin-product > img {
    width: 66px;
    height: 66px;
  }

  .product-switches {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .edit-product {
    grid-column: 1 / 3;
  }

  .edit-fields {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }

  .inquiry-item {
    grid-template-columns: 42px 1fr;
  }

  .inquiry-item select {
    grid-column: 2;
  }
}

/* Portada 1.1: categorías administrables y productos destacados */
.featured-section {
  padding-top: 118px;
  padding-bottom: 118px;
  background: #252c27;
  color: #f7f1e8;
}

.featured-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.featured-heading .eyebrow {
  color: #dda27f;
}

.featured-heading h2 {
  max-width: 700px;
}

.featured-heading > p {
  max-width: 440px;
  margin: 0 0 10px;
  color: #bcc4be;
  font-size: 1rem;
  line-height: 1.7;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}

.featured-card {
  min-width: 0;
  border: 1px solid #485149;
  background: #2c342e;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.featured-card:hover {
  border-color: #b86b47;
  box-shadow: 0 22px 45px rgba(0, 0, 0, .22);
  transform: translateY(-6px);
}

.featured-image-wrap {
  position: relative;
  aspect-ratio: 1 / .88;
  overflow: hidden;
  background: #ddd0bd;
}

.featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.featured-card:hover .featured-image-wrap img {
  transform: scale(1.035);
}

.featured-image-wrap span {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 7px 10px;
  border-radius: 2px;
  background: #d65f25;
  color: #fff;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-card-copy {
  position: relative;
  display: grid;
  min-height: 190px;
  padding: 23px;
  align-content: start;
}

.featured-card-copy small {
  color: #d99a78;
  font-size: .63rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.featured-card-copy h3 {
  margin: 9px 0 8px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.12;
}

.featured-card-copy p {
  margin: 0 0 22px;
  color: #adb6af;
  font-size: .75rem;
}

.featured-card-copy a {
  display: inline-flex;
  margin-top: auto;
  align-items: center;
  gap: 8px;
  color: #f0b08c;
  font-size: .76rem;
  font-weight: 750;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1px;
  border: 0;
  background: var(--line);
}

.category-card,
.category-card:not(:last-child) {
  border: 0;
}

@media (max-width: 1100px) {
  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .featured-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .featured-heading > p {
    margin: 0;
  }
}

@media (max-width: 560px) {
  .featured-section {
    padding-top: 86px;
    padding-bottom: 86px;
  }

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

  .featured-card-copy {
    min-height: 170px;
  }
}

/* Galería pública de producto 1.2 */
.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 4px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: rgba(31, 33, 31, .76);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 160ms ease, background 160ms ease;
}

.gallery-previous {
  left: 13px;
}

.gallery-next {
  right: 13px;
}

.product-image-wrap:hover .gallery-arrow,
.gallery-arrow:focus-visible {
  opacity: 1;
}

.gallery-arrow:hover {
  background: var(--orange);
}

.gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 13px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(31, 33, 31, .78);
  color: #fff;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .05em;
}

.product-badge {
  z-index: 4;
}

@media (max-width: 820px), (hover: none) {
  .gallery-arrow {
    width: 38px;
    height: 38px;
    opacity: 1;
  }
}

/* Ficha de producto táctil 1.3 */
.product-card,
.featured-card {
  cursor: pointer;
}

.product-card-actions {
  flex-wrap: wrap;
}

.product-card-actions button,
.featured-details {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--copper);
  font-size: .75rem;
  font-weight: 750;
  cursor: pointer;
}

.product-card-actions button:hover,
.featured-details:hover {
  text-decoration: underline;
}

.featured-details {
  justify-self: start;
  margin-top: auto;
  color: #f0b08c;
}

.featured-card-copy > a {
  margin-top: 8px;
}

body.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  padding: clamp(14px, 4vw, 54px);
  place-items: center;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(22, 25, 22, .82);
  cursor: default;
  backdrop-filter: blur(8px);
}

.product-modal-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  width: min(1180px, 100%);
  max-height: calc(100vh - 70px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .22);
  background: var(--paper);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .36);
}

.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 8;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  place-items: center;
  border: 1px solid #d9cfc1;
  border-radius: 50%;
  background: rgba(255, 253, 248, .94);
  color: var(--charcoal);
  font-size: 1.45rem;
  cursor: pointer;
}

.product-modal-gallery.product-image-wrap {
  min-height: min(720px, calc(100vh - 70px));
  aspect-ratio: auto;
  background: #e6dac9;
}

.product-modal-gallery .gallery-arrow {
  opacity: 1;
}

.product-modal-copy {
  display: flex;
  min-width: 0;
  padding: clamp(46px, 6vw, 82px);
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.product-modal-copy > span {
  color: var(--copper);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.product-modal-copy h2 {
  margin: 15px 0 23px;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .94;
}

.product-modal-copy > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.8;
}

.product-modal-copy > strong {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

.product-modal-copy > div {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.product-modal-secondary {
  border-color: #cfc4b5;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
}

@media (max-width: 880px) {
  .product-modal {
    padding: 10px;
  }

  .product-modal-panel {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
  }

  .product-modal-gallery.product-image-wrap {
    min-height: 42vh;
    max-height: 48vh;
  }

  .product-modal-copy {
    padding: 34px 24px 40px;
    overflow: visible;
  }

  .product-modal-copy h2 {
    padding-right: 35px;
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .product-modal-close {
    position: fixed;
    top: 22px;
    right: 22px;
  }
}

@media (max-width: 480px) {
  .product-card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-modal-copy > div .button {
    width: 100%;
  }
}
