:root {
  --cream: #faf7f2;
  --sand: #eee5da;
  --rose: #e8c7c5;
  --sage: #9ead9b;
  --ink: #292929;
  --muted: #77736f;
  --line: #ece9e3;
  --white: #ffffff;
  --accent: #73866f;
  --forest: #344237;
  --brand-soft: #9b766e;
}

* { box-sizing: border-box; }

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3, h4, h5, .brand, .display-font {
  font-family: "Manrope", sans-serif;
}

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

.topbar {
  background: var(--forest);
  color: #fff;
  font-size: 12px;
  letter-spacing: .03em;
  padding: 9px 0;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.brand {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1.4px;
}

.brand span { color: var(--brand-soft); }

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f7f6f2;
  border: 1px solid transparent;
  border-radius: 30px;
  padding: 6px 8px 6px 16px;
  max-width: 460px;
  width: 100%;
}

.header-search:focus-within {
  border-color: #d9ddd6;
  background: #fff;
}

.header-search input {
  border: 0;
  background: transparent;
  outline: 0;
  width: 100%;
  font-size: 13px;
  min-width: 0;
}

.header-search-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.header-search-btn:hover { background: #52664f; color: #fff; }

.icon-btn {
  border: 0;
  background: transparent;
  font-size: 19px;
  padding: 8px;
  color: var(--ink);
  position: relative;
}

.icon-btn:focus-visible,
.btn-darksoft:focus-visible,
.btn-outline-soft:focus-visible,
.admin-btn:focus-visible,
.side-link:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.count {
  position: absolute;
  top: 1px;
  right: 0;
  background: var(--brand-soft);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

.navline { border-top: 1px solid #f5f2ed; }

.navline a {
  font-size: 12px;
  color: #555d55;
  padding: 12px 15px;
  display: inline-block;
}

.navline a:hover,
.navline a.active { color: var(--brand-soft); }

.hero-carousel {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}

.hero-track {
  position: relative;
}

.hero {
  background: var(--cream);
  min-height: 450px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  transition: opacity .55s ease, visibility .55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.hero-copy {
  padding: 70px max(30px, calc((100vw - 1160px) / 2));
  padding-right: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-soft);
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -2.5px;
  margin: 18px 0;
}

.hero p {
  color: #74766f;
  max-width: 390px;
  line-height: 1.8;
  font-size: 14px;
}

.hero-image {
  min-height: 450px;
  background: center/cover no-repeat;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--forest);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(41, 41, 41, .12);
  cursor: pointer;
}

.hero-nav:hover { background: #fff; }
.hero-nav-prev { left: 16px; }
.hero-nav-next { right: 16px; }

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(52, 66, 55, .28);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--forest);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

.btn-darksoft {
  background: var(--forest);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 13px 23px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
  display: inline-block;
}

.btn-darksoft:hover { background: #52664f; color: #fff; }

.promo-section { padding-top: 28px; padding-bottom: 10px; }

.promo-carousel {
  position: relative;
  overflow: hidden;
}

.promo-track { position: relative; }

.promo-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  transition: opacity .45s ease, visibility .45s ease;
}

.promo-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  position: relative;
}

.promo-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 240px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.promo-media {
  min-height: 240px;
  background: center/cover no-repeat #f3efe8;
}

.promo-copy {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-copy h2 {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -1px;
  margin: 0 0 10px;
  line-height: 1.2;
}

.promo-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
  max-width: 420px;
}

.promo-carousel .hero-nav { background: #fff; }
.promo-carousel .hero-dots { bottom: 14px; }

@media (prefers-reduced-motion: reduce) {
  .promo-slide { transition: none; }
}

.btn-outline-soft {
  border: 1px solid #c9c9bd;
  background: transparent;
  border-radius: 3px;
  padding: 12px 20px;
  font-size: 12px;
  display: inline-block;
}

.section { padding: 66px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 29px;
  letter-spacing: -1px;
  margin: 6px 0 0;
}

.section-head a {
  font-size: 12px;
  border-bottom: 1px solid #a58a7d;
  padding-bottom: 4px;
}

.category-card {
  position: relative;
  height: 245px;
  overflow: hidden;
  background: var(--cream);
  border-radius: 3px;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .5s;
}

.category-card:hover img { transform: scale(1.04); }

.category-card:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .48));
}

.category-card span {
  position: absolute;
  z-index: 2;
  bottom: 19px;
  left: 20px;
  color: white;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.product-photo {
  height: 255px;
  background: #f6f3ee;
  position: relative;
  overflow: hidden;
}

.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.product-card:hover .product-photo img { transform: scale(1.03); }

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  padding: 6px 9px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.wish {
  position: absolute;
  right: 11px;
  top: 9px;
  border: 0;
  background: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.product-info { padding: 13px 2px; }

.product-info small {
  color: #92958e;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info h3 {
  font: 600 13px "DM Sans", sans-serif;
  margin: 6px 0;
}

.price { font-weight: 700; font-size: 13px; }

.old-price {
  color: #a4a49e;
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 7px;
}

.trust { background: var(--cream); padding: 27px 0; }

.trust-item {
  display: flex;
  gap: 13px;
  align-items: center;
}

.trust-item i { font-size: 22px; color: #8d9b87; }
.trust-item strong { display: block; font-size: 12px; }
.trust-item small { font-size: 10px; color: var(--muted); }

.newsletter {
  background: #e9e1d7;
  padding: 54px 20px;
  text-align: center;
}

.newsletter h2 { font-size: 28px; }
.newsletter p { font-size: 13px; color: #70736d; }

.newsletter input {
  border: 0;
  padding: 13px 15px;
  width: min(330px, 60vw);
  font-size: 12px;
}

.footer {
  background: var(--forest);
  color: #fff;
  padding: 50px 0 22px;
}

.footer p,
.footer a {
  color: #d3d9d0;
  font-size: 12px;
  line-height: 2;
}

.footer h6 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-bottom {
  border-top: 1px solid #566356;
  margin-top: 30px;
  padding-top: 18px;
  color: #bfc8bd;
  font-size: 10px;
}

.page-wrap { min-height: 65vh; }

.page-title {
  background: var(--cream);
  padding: 38px 0;
  margin-bottom: 35px;
}

.page-title h1 {
  font-size: 34px;
  letter-spacing: -1.5px;
}

.muted { color: var(--muted); }

.form-control,
.form-select {
  border-radius: 3px;
  border-color: #e4e1da;
  padding: 12px;
  font-size: 13px;
}

.form-label { font-size: 12px; font-weight: 600; }

.panel {
  border: 1px solid var(--line);
  padding: 22px;
  background: #fff;
}

.alert-soft {
  border-radius: 3px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 1rem;
}

.alert-soft.success { background: #edf3eb; color: #3f5f3d; }
.alert-soft.error { background: #fbe9e7; color: #8a4a42; }
.alert-soft.info { background: #f7f6f2; color: #555; }

.empty-state { text-align: center; padding: 65px 20px; }
.empty-state i { font-size: 38px; color: #a6b2a2; }
.empty-state h3 { font-size: 19px; margin: 15px 0 8px; }

/* Admin */
.admin-shell { display: flex; min-height: 100vh; background: #f6f7f5; }

.admin-side {
  width: 245px;
  background: #27352c;
  color: #e9eee8;
  padding: 24px 16px;
  flex-shrink: 0;
}

.admin-side .brand {
  color: #fff;
  font-size: 22px;
  padding: 0 12px 30px;
  display: block;
}

.side-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #9aa89b;
  padding: 18px 12px 8px;
}

.side-link {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 4px;
  color: #d2d9d1;
  font-size: 12px;
  margin: 2px 0;
}

.side-link:hover,
.side-link.active {
  background: #405344;
  color: #fff;
}

.admin-main { flex: 1; min-width: 0; }

.admin-top {
  height: 68px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
}

.admin-content { padding: 28px 30px; }
.admin-content h1 { font-size: 25px; letter-spacing: -.7px; }

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 5px;
  height: 100%;
}

.stat-card small { color: #858a83; font-size: 11px; }
.stat-card strong { font: 700 26px Manrope, sans-serif; display: block; margin: 10px 0 4px; }

.admin-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.admin-table .table { font-size: 12px; margin: 0; }

.admin-table .table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #858a83;
  background: #fafaf8;
  font-weight: 700;
  padding: 14px;
}

.admin-table .table td { padding: 13px; vertical-align: middle; }

.status {
  display: inline-block;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 9px;
  font-weight: 700;
  background: #edf3eb;
  color: #5e805b;
}

.status.pending { background: #fff3df; color: #a8792d; }

.admin-btn {
  border: 0;
  background: var(--forest);
  color: #fff;
  padding: 10px 15px;
  border-radius: 3px;
  font-size: 11px;
}

.admin-btn:hover { background: #52664f; color: #fff; }

.admin-login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--cream), #e9eee7 45%, #fff);
  padding: 24px;
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--ink);
}

.password-field.mb-3,
.password-field.mb-4 {
  margin-bottom: 1rem !important;
}

.password-field.mb-4 {
  margin-bottom: 1.5rem !important;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
  z-index: 40;
  box-shadow: 0 8px 20px rgba(37, 211, 102, .35);
}

.whatsapp-float:hover { color: #fff; background: #1ebe57; }

.mobile-menu { display: none; }

@media (max-width: 767px) {
  .topbar { text-align: center; }
  .site-header .container > .d-flex:first-of-type {
    flex-wrap: wrap;
  }
  .header-search {
    display: flex;
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-top: 4px;
  }
  .navline { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 45px 25px; }
  .hero-image { min-height: 280px; grid-row: 1; }
  .hero-nav { width: 36px; height: 36px; }
  .hero-nav-prev { left: 10px; }
  .hero-nav-next { right: 10px; }
  .hero-dots { bottom: 12px; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-media { min-height: 180px; grid-row: 1; }
  .promo-copy { padding: 24px 20px; }
  .section { padding: 45px 0; }
  .category-card { height: 180px; }
  .product-photo { height: 190px; }
  .section-head h2 { font-size: 23px; }
  .admin-side {
    position: fixed;
    z-index: 60;
    left: -260px;
    top: 0;
    bottom: 0;
    transition: .25s;
  }
  .admin-side.open { left: 0; }
  .admin-content { padding: 20px 14px; }
  .admin-top { padding: 0 15px; }
  .mobile-menu { display: inline-block; }
}