:root {
  --bg: #f7f1e6;
  --surface: #fffaf2;
  --surface-strong: #eee4d2;
  --ink: #101010;
  --muted: #6e6254;
  --gold: #c6a133;
  --gold-dark: #9b7a1d;
  --line: rgba(16, 16, 16, 0.12);
  --shadow: 0 24px 60px rgba(30, 22, 12, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

main {
  overflow: hidden;
}

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

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

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

button:disabled,
.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none !important;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(247, 241, 230, 0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 12px 34px rgba(21, 17, 12, 0.08);
}

.brand img {
  width: 132px;
  height: 48px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: rgba(16, 16, 16, 0.8);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--gold-dark);
}

.site-nav a.is-active {
  color: var(--gold-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta {
  padding: 10px 16px;
  background: var(--ink);
  color: white;
}

.button {
  padding: 12px 20px;
}

.button:hover,
.nav-cta:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

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

.button-light {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 250, 242, 0.92);
  color: var(--ink);
}

.button.is-disabled,
.product-whatsapp.is-disabled {
  pointer-events: none;
  opacity: 0.54;
}

.menu-toggle {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 116px clamp(18px, 5vw, 72px) 64px;
  color: white;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.72;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.34) 52%, rgba(0, 0, 0, 0.1)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 42%);
}

.hero-content {
  width: min(680px, 100%);
  min-width: 0;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h1 {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 10vw, 7.2rem);
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 630px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  padding: clamp(70px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.about-copy h2,
.instagram-content h2,
.final-cta h2 {
  margin-bottom: 16px;
  font-size: clamp(2.15rem, 5vw, 4rem);
}

.section-heading p,
.about-copy p,
.instagram-content p,
.final-cta p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-grid,
.instagram {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.about-copy {
  max-width: 760px;
}

.about-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-panel img {
  width: 100%;
  aspect-ratio: 1 / 0.72;
  object-fit: cover;
}

.about-panel strong {
  display: block;
  padding: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.categories,
.benefits {
  background: var(--surface);
}

.category-grid,
.benefit-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

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

.category-card,
.benefit,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card,
.benefit {
  padding: 24px;
}

.category-card:hover,
.benefit:hover,
.product-card:hover {
  border-color: rgba(198, 161, 51, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.icon {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  margin-bottom: 18px;
  color: var(--gold-dark);
}

.icon::before {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.icon-bag::before {
  content: "B";
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.icon-gem::before {
  content: "A";
  transform: rotate(45deg);
}

.icon-spark::before {
  content: "*";
  border-radius: 50%;
  font-size: 1rem;
}

.icon-gift::before {
  content: "+";
}

.icon-chat::before {
  content: "W";
  border-radius: 50%;
}

.icon-check::before {
  content: "OK";
  font-size: 0.62rem;
}

.icon-heart::before {
  content: "<3";
  border-radius: 50%;
  font-size: 0.62rem;
}

.icon-phone::before {
  content: "TEL";
  font-size: 0.52rem;
}

.category-card h3,
.benefit h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.category-card p,
.benefit p,
.product-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.showcase {
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.78), rgba(247, 241, 230, 0.98)),
    var(--bg);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 30px;
}

.search-field {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.search-field input,
.admin-form input,
.admin-form textarea,
.admin-toolbar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.admin-form textarea {
  resize: vertical;
}

.filter-button {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
}

.product-card-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.product-image {
  position: relative;
  overflow: hidden;
  background: var(--surface-strong);
}

.product-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 300ms ease;
}

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

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(16, 16, 16, 0.78);
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
}

.offer-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-meta {
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-body h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.product-price {
  margin: 18px 0;
  color: var(--gold-dark);
  font-weight: 900;
}

.product-body .button {
  width: 100%;
  margin-top: auto;
}

.product-whatsapp {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
}

.product-link {
  margin: 0 20px 12px;
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-skeleton {
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent),
    linear-gradient(180deg, var(--surface-strong) 0 70%, rgba(255, 255, 255, 0.7) 70% 100%);
  background-size: 220px 100%, 100% 100%;
  animation: shimmer 1100ms linear infinite;
}

@keyframes shimmer {
  from {
    background-position: -220px 0, 0 0;
  }

  to {
    background-position: calc(100% + 220px) 0, 0 0;
  }
}

.empty-state {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 700;
}

.ecommerce-demo {
  background: var(--surface);
}

.store-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.88), rgba(16, 16, 16, 0.62)),
    url("assets/bolsa-elegance.jpg") center / cover;
  color: white;
  box-shadow: var(--shadow);
}

.store-preview strong {
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.store-preview p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.store-experience {
  background: var(--surface);
}

.store-experience .section-heading {
  display: grid;
  max-width: 860px;
  gap: 10px;
}

.store-experience .section-heading .button {
  width: max-content;
  margin-top: 8px;
}

.store-mosaic {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-auto-rows: 190px;
  gap: 14px;
  margin-top: 34px;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(198, 161, 51, 0.24);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: 0 16px 40px rgba(30, 22, 12, 0.08);
  cursor: zoom-in;
}

.mosaic-item.large {
  grid-row: span 2;
}

.mosaic-item.tall {
  grid-row: span 2;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.mosaic-item:hover img {
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.045);
}

.space-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  margin-top: clamp(42px, 6vw, 74px);
  padding-top: clamp(32px, 5vw, 54px);
  border-top: 1px solid var(--line);
}

.space-band h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.space-band p {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.trust-strip strong,
.trust-strip span {
  min-height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.trust-strip strong {
  grid-column: 1 / -1;
  color: var(--gold-dark);
  font-size: 1.35rem;
}

.gallery-dialog {
  position: relative;
  width: min(980px, 100%);
  margin: 0;
}

.gallery-dialog img {
  width: 100%;
  max-height: 88vh;
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.instagram {
  background: var(--ink);
  color: white;
}

.instagram-content p {
  color: rgba(255, 255, 255, 0.72);
}

.instagram-photo {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.instagram-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.final-cta {
  padding: clamp(78px, 10vw, 130px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.88), rgba(16, 16, 16, 0.66)),
    url("assets/bolsa-tote.jpg") center / cover;
  color: white;
}

.final-cta div {
  max-width: 790px;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 30px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer img {
  width: 116px;
  height: 44px;
  border-radius: var(--radius);
  object-fit: cover;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--ink);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: white;
  box-shadow: 0 16px 44px rgba(37, 211, 102, 0.36);
  transition: transform 180ms ease;
}

.whatsapp-float span {
  position: relative;
  width: 25px;
  height: 25px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.whatsapp-float span::after {
  position: absolute;
  right: 1px;
  bottom: -5px;
  width: 8px;
  height: 8px;
  border-bottom: 3px solid currentColor;
  border-left: 3px solid currentColor;
  transform: rotate(-24deg);
  content: "";
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float,
.whatsapp-float:visited,
.whatsapp-float:hover,
.whatsapp-float:focus,
.whatsapp-float:focus-visible,
.whatsapp-float:active {
  background: #25d366;
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  mix-blend-mode: normal;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  box-shadow: 0 18px 48px rgba(37, 211, 102, 0.42);
}

.whatsapp-float:active {
  transform: translateY(-1px) scale(0.99);
}

.whatsapp-float.is-disabled,
.whatsapp-float:disabled,
.whatsapp-float[aria-disabled="true"] {
  background: #25d366;
  color: #ffffff;
  opacity: 0.58;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 580ms ease, transform 580ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.modal-open {
  overflow: hidden;
}

.modal-overlay,
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 16, 16, 0.58);
}

.modal-overlay[hidden],
.drawer-backdrop[hidden] {
  display: none;
}

.product-modal {
  position: relative;
  width: min(1080px, 100%);
  max-height: min(860px, 92vh);
  overflow: auto;
  border: 1px solid rgba(198, 161, 51, 0.34);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.product-modal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.94);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.modal-gallery {
  padding: 18px;
  background: var(--surface-strong);
}

.modal-gallery > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
}

.modal-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 5vw, 56px);
}

.modal-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-labels .product-badge,
.offer-chip,
.availability {
  position: static;
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-chip {
  background: var(--gold);
  color: var(--ink);
}

.availability {
  background: rgba(16, 16, 16, 0.08);
  color: var(--muted);
}

.availability.is-available {
  background: rgba(37, 211, 102, 0.14);
  color: #12642f;
}

.availability.is-unavailable {
  background: rgba(150, 55, 40, 0.12);
  color: #8b2d20;
}

.modal-info h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.modal-price {
  display: block;
  margin: 18px 0;
  color: var(--gold-dark);
  font-size: 1.7rem;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

noscript {
  display: block;
  padding: 14px 18px;
  background: var(--ink);
  color: white;
  text-align: center;
}

.admin-page {
  background: #f3eee6;
}

.admin-saas-page {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(238, 228, 210, 0.72)),
    #f3eee6;
}

.admin-app {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 280px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: rgba(16, 16, 16, 0.94);
  color: white;
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.admin-sidebar-brand img {
  width: 108px;
  height: 42px;
  border-radius: var(--radius);
  object-fit: cover;
}

.admin-menu {
  display: grid;
  gap: 8px;
}

.admin-menu button {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 10px 12px;
  text-align: left;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.admin-menu button:hover,
.admin-menu button.is-active {
  border-color: rgba(198, 161, 51, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.admin-menu span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 6px;
  background: rgba(198, 161, 51, 0.18);
  color: var(--gold);
}

.admin-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.admin-workspace {
  width: min(1480px, 100%);
  padding: clamp(18px, 3vw, 38px);
}

.admin-workspace-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.admin-workspace-header h1 {
  margin: 8px 0 10px;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

.admin-workspace-header p {
  margin: 0;
  color: var(--muted);
}

.admin-global-message {
  position: sticky;
  top: 12px;
  z-index: 9;
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
}

.admin-card {
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.84);
  box-shadow: 0 18px 44px rgba(30, 22, 12, 0.08);
}

.admin-card-kicker {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(30, 22, 12, 0.07);
}

.metric-card span {
  color: var(--muted);
  font-weight: 850;
}

.metric-card strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.panel-heading h2 {
  margin: 4px 0 0;
}

.form-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.52);
}

.form-section legend {
  padding: 0 6px;
  color: var(--ink);
  font-weight: 900;
}

.inline-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.inline-control select,
.admin-form select,
.settings-form input,
.settings-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.upload-box {
  position: relative;
  overflow: hidden;
  border: 1px dashed rgba(198, 161, 51, 0.56);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 12px;
}

.upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.upload-box span {
  display: block;
  margin-top: 10px;
  color: var(--gold-dark);
  font-weight: 900;
  text-align: center;
}

.compact-upload .image-preview {
  aspect-ratio: 16 / 9;
}

.wide-preview {
  aspect-ratio: 16 / 7;
}

.settings-form {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.category-admin-list,
.gallery-admin-grid {
  display: grid;
  gap: 12px;
}

.category-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  font-weight: 900;
}

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

.gallery-admin-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.gallery-admin-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-admin-card strong {
  display: block;
  padding: 12px 12px 0;
}

.gallery-admin-card .admin-actions {
  justify-content: flex-start;
  padding: 12px;
}

.admin-dialog {
  position: relative;
  width: min(460px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(198, 161, 51, 0.28);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-dialog h2 {
  margin: 0;
}

/* Admin layout repair: keep this after the legacy admin rules so deploy CSS order stays stable. */
.admin-page {
  min-height: 100vh;
  display: flex;
  width: 100%;
  overflow-x: hidden;
}

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

.admin-page img {
  max-width: 100%;
  height: auto;
}

.admin-page .admin-app {
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: stretch;
}

.admin-page .admin-sidebar {
  position: sticky;
  top: 0;
  flex: 0 0 260px;
  width: 260px;
  min-width: 240px;
  max-width: 280px;
  height: 100vh;
  overflow-y: auto;
  padding: 24px 18px;
}

.admin-page .admin-sidebar-brand {
  width: 100%;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.admin-page .admin-sidebar-brand img,
.admin-page .brand img {
  display: block;
  width: auto;
  max-width: 160px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.admin-page .admin-sidebar-brand span {
  font-size: 0.86rem;
  letter-spacing: 0;
}

.admin-page .admin-main,
.admin-page .admin-workspace {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 28px;
}

.admin-page .admin-workspace-header {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 24px;
}

.admin-page .admin-section {
  width: 100%;
}

.admin-page .admin-section.is-active {
  display: block;
}

.admin-page .admin-layout {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-page .admin-card,
.admin-page .admin-form,
.admin-page .admin-products-panel,
.admin-page .settings-form {
  width: 100%;
  min-width: 0;
  max-width: none;
}

.admin-page .admin-form {
  position: sticky;
  top: 24px;
  padding: 22px;
  gap: 16px;
}

.admin-page .admin-products-panel {
  padding: 20px;
}

.admin-page .admin-toolbar {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(150px, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.admin-page .admin-toolbar input,
.admin-page .admin-toolbar select,
.admin-page .admin-form input,
.admin-page .admin-form select,
.admin-page .admin-form textarea,
.admin-page .settings-form input,
.admin-page .settings-form textarea,
.admin-page .settings-form select {
  width: 100%;
  min-width: 0;
  font-size: 0.95rem;
}

.admin-page .admin-product {
  grid-template-columns: 96px minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 16px;
}

.admin-page .admin-product img {
  width: 96px;
  height: 112px;
  max-width: 96px;
  object-fit: cover;
}

.admin-page .dashboard-grid,
.admin-page [data-admin-section="categorias"] > .admin-card,
.admin-page [data-admin-section="ofertas"] > .admin-card,
.admin-page [data-admin-section="galeria"] > .admin-card,
.admin-page [data-admin-section="banner"] > .admin-card,
.admin-page [data-admin-section="configuracoes"] > .admin-card {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.94);
  backdrop-filter: blur(16px);
}

.admin-topbar div {
  display: grid;
  gap: 2px;
}

.admin-topbar-actions {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 10px !important;
}

.admin-topbar span,
.admin-heading p,
.admin-note {
  color: var(--muted);
}

.admin-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px) 0;
}

.admin-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.admin-heading h1,
.login-panel h1 {
  margin: 10px 0;
  color: var(--ink);
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.login-panel {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(30, 22, 12, 0.08);
}

.login-panel p {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 14px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-form,
.admin-products-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(30, 22, 12, 0.08);
}

.admin-form {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 20px;
}

.form-heading,
.admin-toolbar,
.admin-product-title,
.status-row,
.admin-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.form-heading,
.admin-toolbar,
.admin-product-title {
  justify-content: space-between;
}

.form-heading h2 {
  margin: 0;
  font-size: 1.45rem;
}

.admin-form label,
.field-group,
.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.login-form input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.image-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  object-fit: cover;
}

.form-message,
.upload-message {
  min-height: 22px;
  margin: 0;
  color: #12642f;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-message.is-error,
.upload-message.is-error {
  color: #8b2d20;
}

.upload-progress {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.1);
}

.upload-progress span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 180ms ease;
}

.button.is-loading {
  position: relative;
  color: transparent;
}

.button.is-loading::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: white;
  border-radius: 50%;
  content: "";
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.toggle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-grid.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.choice-chip {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.choice-chip:hover {
  border-color: rgba(198, 161, 51, 0.55);
  color: var(--ink);
  transform: translateY(-1px);
}

.choice-chip.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.choice-chip.success.is-selected {
  border-color: rgba(18, 100, 47, 0.28);
  background: rgba(37, 211, 102, 0.16);
  color: #12642f;
}

.choice-chip.danger.is-selected {
  border-color: rgba(139, 45, 32, 0.22);
  background: rgba(150, 55, 40, 0.12);
  color: #8b2d20;
}

.custom-category {
  margin-top: 4px;
}

.check-line {
  display: flex !important;
  min-height: 46px;
  align-items: center;
  gap: 9px !important;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink) !important;
}

.check-line input {
  width: auto;
  min-height: auto;
}

.admin-products-panel {
  padding: 18px;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1.35fr) repeat(4, minmax(128px, 1fr)) auto;
  align-items: end;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.admin-toolbar .search-field {
  flex: 1;
}

.admin-toolbar select {
  max-width: none;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-form input,
.admin-form textarea {
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.admin-toolbar input:focus,
.admin-toolbar select:focus,
.admin-form input:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: rgba(198, 161, 51, 0.7);
  box-shadow: 0 0 0 3px rgba(198, 161, 51, 0.15);
}

.clear-filters {
  white-space: nowrap;
}

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

.admin-product {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) minmax(240px, 0.64fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.admin-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-actions .button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.72rem;
}

.admin-product img {
  width: 86px;
  height: 104px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--surface-strong);
}

.admin-product h3,
.admin-product p {
  margin: 0;
}

.admin-product p {
  color: var(--muted);
}

.status-row {
  flex-wrap: wrap;
  margin-top: 10px;
}

.status-ok,
.status-muted,
.status-offer,
.status-category,
.status-soft {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-ok {
  background: rgba(37, 211, 102, 0.14);
  color: #12642f;
}

.status-muted {
  background: rgba(16, 16, 16, 0.08);
  color: var(--muted);
}

.status-offer {
  background: var(--gold);
  color: var(--ink);
}

.status-category {
  background: rgba(16, 16, 16, 0.08);
  color: var(--ink);
}

.status-soft {
  background: rgba(198, 161, 51, 0.12);
  color: var(--gold-dark);
}

.product-page {
  background: var(--bg);
}

.product-topbar {
  position: sticky;
}

.product-detail-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 62px) 0 80px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}

.product-detail-media {
  overflow: hidden;
  border: 1px solid rgba(198, 161, 51, 0.26);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.product-gallery {
  width: 100%;
}

.product-gallery-frame {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  background: var(--surface-strong);
}

.product-gallery-frame > img,
.product-detail-media > img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: translateX(0) scale(1);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
  will-change: opacity, transform;
}

.product-gallery.is-switching .product-gallery-frame > img {
  opacity: 0.25;
  filter: saturate(0.94);
}

.product-gallery.is-switching.is-moving-next .product-gallery-frame > img {
  transform: translateX(-12px) scale(1.01);
}

.product-gallery.is-switching.is-moving-prev .product-gallery-frame > img {
  transform: translateX(12px) scale(1.01);
}

.product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  color: var(--ink);
  cursor: pointer;
  line-height: 1;
  opacity: 0.92;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.product-gallery-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  pointer-events: none;
}

.product-gallery-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
  opacity: 1;
  transform: translateY(-50%) scale(1.06);
}

.product-gallery-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.product-gallery-arrow.prev {
  left: 14px;
}

.product-gallery-arrow.next {
  right: 14px;
}

.product-gallery-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  min-width: 44px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.product-detail-thumbs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px;
  scrollbar-width: thin;
}

.product-detail-thumbs button {
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(16, 16, 16, 0.1);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  opacity: 0.64;
  transition: border-color 180ms ease, box-shadow 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.product-detail-thumbs button.is-active {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 2px rgba(198, 161, 51, 0.22);
  opacity: 1;
}

.product-detail-thumbs button:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.product-detail-thumbs img {
  display: block;
  width: 58px;
  height: 70px;
  border-radius: 6px;
  object-fit: cover;
}

@media (max-width: 640px) {
  .product-detail-thumbs {
    padding: 10px;
  }

  .product-gallery-arrow {
    width: 30px;
    height: 30px;
  }

  .product-gallery-arrow svg {
    width: 16px;
    height: 16px;
  }

  .product-gallery-counter {
    right: 10px;
    bottom: 10px;
    font-size: 0.68rem;
  }

  .product-detail-thumbs img {
    width: 52px;
    height: 64px;
  }
}

.product-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.product-colors > span {
  width: 100%;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-colors button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 6px 12px 6px 6px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-colors button:hover {
  border-color: rgba(198, 161, 51, 0.62);
  box-shadow: 0 10px 24px rgba(30, 22, 12, 0.1);
  transform: translateY(-1px);
}

.product-colors img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.product-detail-info {
  display: grid;
  gap: 14px;
}

.product-detail-info h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.product-detail-info p {
  color: var(--muted);
}

.product-detail-info .button {
  width: max-content;
}

.product-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-products {
  padding-right: 0;
  padding-left: 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: grid;
  gap: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  padding-bottom: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.related-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.related-card span,
.related-card strong,
.related-card em {
  margin: 0 14px;
}

.related-card span {
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.related-card strong {
  line-height: 1.25;
}

.related-card em {
  color: var(--muted);
  font-style: normal;
  font-weight: 900;
}

.danger-button {
  border-color: rgba(145, 35, 25, 0.22);
  background: rgba(145, 35, 25, 0.08);
  color: #8b2d20;
}

.admin-note {
  margin: 18px 0 0;
  font-size: 0.9rem;
}

@media (max-width: 1399px) {
  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.nav-cta) {
    padding: 8px 2px;
  }

  .about-grid,
  .instagram,
  .space-band,
  .product-detail {
    grid-template-columns: 1fr;
  }

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

  .product-modal,
  .admin-layout,
  .catalog-tools {
    grid-template-columns: 1fr;
  }

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

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

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

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

  .admin-form {
    position: static;
  }

  .product-modal {
    max-height: 94vh;
  }

  .modal-info {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    max-width: 100vw;
    padding: 12px 16px;
  }

  .menu-toggle {
    position: absolute;
    top: 12px;
    right: 16px;
  }

  .brand img {
    width: 118px;
    height: 44px;
  }

  .hero {
    min-height: 88vh;
    padding: 104px 18px 44px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.76)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.1));
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.1rem);
  }

  .hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

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

  .section {
    padding: 64px 18px;
  }

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

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .filter-button {
    flex: 0 0 auto;
  }

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

  .store-preview,
  .modal-actions {
    grid-template-columns: 1fr;
  }

  .store-mosaic {
    grid-auto-rows: 160px;
    grid-template-columns: 1fr;
  }

  .mosaic-item.large,
  .mosaic-item.tall {
    grid-row: span 1;
  }

  .trust-strip,
  .choice-grid.two-columns {
    grid-template-columns: 1fr;
  }

  .store-experience .section-heading .button,
  .product-detail-info .button {
    width: 100%;
  }

  .store-preview {
    display: grid;
  }

  .product-modal {
    width: 100%;
    max-height: 94vh;
  }

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

  .admin-toolbar,
  .admin-product,
  .admin-actions,
  .toggle-grid,
  .settings-grid,
  .inline-control,
  .dashboard-grid,
  .gallery-admin-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .admin-workspace {
    padding: 16px;
  }

  .admin-workspace-header,
  .panel-heading {
    display: grid;
  }

  .admin-toolbar select {
    max-width: none;
  }

  .admin-product img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* Final admin layout lock. Must remain at the end to beat earlier responsive rules. */
.admin-page {
  display: flex;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

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

.admin-page img {
  max-width: 100%;
  height: auto;
}

.admin-page .admin-app {
  display: flex;
  width: 100%;
  min-height: 100vh;
  align-items: stretch;
}

.admin-page .admin-sidebar {
  position: sticky;
  top: 0;
  flex: 0 0 260px;
  width: 260px;
  min-width: 240px;
  max-width: 280px;
  height: 100vh;
  overflow-y: auto;
  padding: 24px 18px;
}

.admin-page .admin-sidebar-brand img,
.admin-page .brand img {
  width: auto;
  max-width: 160px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
}

.admin-page .admin-main,
.admin-page .admin-workspace {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 28px;
}

.admin-page .admin-workspace-header,
.admin-page .admin-layout,
.admin-page .dashboard-grid,
.admin-page [data-admin-section="categorias"] > .admin-card,
.admin-page [data-admin-section="ofertas"] > .admin-card,
.admin-page [data-admin-section="galeria"] > .admin-card,
.admin-page [data-admin-section="banner"] > .admin-card,
.admin-page [data-admin-section="configuracoes"] > .admin-card {
  width: 100%;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

.admin-page .admin-layout {
  display: grid;
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.admin-page .admin-form {
  position: sticky;
  top: 24px;
  width: 100%;
  min-width: 0;
  padding: 22px;
}

.admin-page .admin-products-panel {
  width: 100%;
  min-width: 0;
  padding: 20px;
}

.admin-page .admin-toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  width: 100%;
}

.admin-page .admin-toolbar input,
.admin-page .admin-toolbar select,
.admin-page .admin-form input,
.admin-page .admin-form select,
.admin-page .admin-form textarea,
.admin-page .settings-form input,
.admin-page .settings-form textarea,
.admin-page .settings-form select {
  width: 100%;
  min-width: 0;
  font-size: 0.95rem;
}

.admin-page .clear-filters {
  width: 100%;
}

.admin-page .admin-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) minmax(280px, 0.75fr);
  gap: 16px;
  align-items: center;
}

.admin-page .admin-product img {
  width: 96px;
  max-width: 96px;
  height: 112px;
  aspect-ratio: auto;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .admin-page .admin-app {
    display: block;
  }

  .admin-page .admin-sidebar {
    position: static;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    padding: 18px;
  }

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

  .admin-page .admin-main,
  .admin-page .admin-workspace {
    width: 100%;
    padding: 24px;
  }

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

  .admin-page .admin-form {
    position: static;
  }

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

@media (max-width: 720px) {
  .admin-page .admin-sidebar {
    padding: 14px;
  }

  .admin-page .admin-sidebar-brand img {
    max-width: 132px;
  }

  .admin-page .admin-menu,
  .admin-page .admin-toolbar,
  .admin-page .admin-product,
  .admin-page .settings-grid,
  .admin-page .inline-control,
  .admin-page .dashboard-grid,
  .admin-page .gallery-admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-page .admin-main,
  .admin-page .admin-workspace {
    padding: 16px;
  }

  .admin-page .admin-workspace-header,
  .admin-page .panel-heading {
    display: grid;
  }

  .admin-page .admin-product img {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

.icon-button {
  gap: 10px;
}

.button-primary:hover {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(198, 161, 51, 0.25);
}

.premium-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.premium-card-grid article,
.testimonial-card,
.instagram-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(30, 22, 12, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.premium-card-grid article {
  padding: 22px;
}

.premium-card-grid article:hover,
.testimonial-card:hover,
.instagram-tile:hover,
.category-card:hover {
  border-color: rgba(198, 161, 51, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.mosaic-item span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border-radius: 8px;
  padding: 9px 11px;
  background: rgba(16, 16, 16, 0.62);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mosaic-item:hover span {
  opacity: 1;
  transform: translateY(0);
}

.category-card {
  overflow: hidden;
  padding: 0;
}

.category-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 260ms ease;
}

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

.category-card > div,
.category-card > p,
.category-card > a {
  margin-right: 20px;
  margin-left: 20px;
}

.category-card > div {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.category-card > a {
  width: calc(100% - 40px);
  margin-bottom: 20px;
}

.product-card {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 34px rgba(30, 22, 12, 0.06);
}

.product-price,
.modal-price {
  color: var(--ink);
  font-size: 1.28rem;
}

.instagram {
  grid-template-columns: minmax(280px, 0.48fr) minmax(0, 1fr);
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.instagram-tile {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  background: #1d1b18;
}

.instagram-tile img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 280ms ease, opacity 280ms ease;
}

.instagram-tile span {
  position: absolute;
  inset: auto 10px 10px;
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(16, 16, 16, 0.66);
  color: white;
  font-size: 0.76rem;
  font-weight: 900;
}

.instagram-tile:hover img {
  opacity: 0.82;
  transform: scale(1.05);
}

.testimonials {
  background: var(--surface);
}

.testimonial-carousel {
  position: relative;
  min-height: 260px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 16px;
  padding: clamp(24px, 5vw, 46px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.testimonial-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-person img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-person span,
.stars {
  color: var(--gold-dark);
  font-weight: 900;
}

.testimonial-carousel {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial-card {
  position: relative;
  inset: auto;
  min-height: 0;
  align-content: start;
  gap: 12px;
  padding: 20px;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.testimonial-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.testimonial-person img,
.testimonial-avatar {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.testimonial-person img {
  object-fit: cover;
}

.testimonial-avatar {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(198, 161, 51, 0.22), rgba(16, 16, 16, 0.08));
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.testimonial-person strong {
  display: block;
  color: var(--ink);
  line-height: 1.2;
}

.testimonial-person span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.stars {
  color: var(--gold);
  font-size: 0.94rem;
  letter-spacing: 0;
}

.testimonial-empty {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  text-align: center;
}

.testimonial-empty p {
  margin: 6px 0 0;
}

.testimonial-skeleton {
  min-height: 168px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.42));
  background-size: 220% 100%, 100% 100%;
  box-shadow: 0 18px 46px rgba(30, 22, 12, 0.06);
  animation: shimmer 1.25s ease-in-out infinite;
}

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

.gallery-dialog {
  display: grid;
  gap: 12px;
}

.gallery-dialog figcaption {
  display: grid;
  gap: 3px;
  color: white;
  text-align: center;
}

.gallery-dialog figcaption span {
  color: rgba(255, 255, 255, 0.74);
}

.gallery-dialog img {
  cursor: zoom-in;
  transition: transform 220ms ease;
}

.gallery-dialog img.is-zoomed {
  cursor: zoom-out;
  transform: scale(1.35);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.58);
  color: white;
  cursor: pointer;
  font-size: 2rem;
  transform: translateY(-50%);
}

.gallery-nav.prev {
  left: 12px;
}

.gallery-nav.next {
  right: 12px;
}

.site-footer {
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr) minmax(220px, 1fr) auto;
  align-items: start;
  background: #101010;
  color: rgba(255, 255, 255, 0.68);
}

.footer-links,
.footer-info {
  display: grid;
  gap: 8px;
}

.footer-links {
  color: white;
}

.footer-info p {
  margin: 0;
}

.whatsapp-float {
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 58px;
  height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  isolation: isolate;
  mix-blend-mode: normal;
}

.whatsapp-float::before {
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(37, 211, 102, 0.48);
  border-radius: inherit;
  content: "";
  animation: pulseSoft 2.3s ease-out infinite;
}

.whatsapp-float strong {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 0.8rem;
  line-height: 1;
  opacity: 1;
  visibility: visible;
  white-space: nowrap;
}

.category-admin-item {
  grid-template-columns: 74px minmax(0, 1fr) auto;
  align-items: center;
}

.category-admin-item img {
  width: 74px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.gallery-admin-card p {
  margin: 8px 12px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

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

.product-extra-image {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.product-extra-image img {
  width: 82px;
  height: 94px;
  border-radius: 8px;
  object-fit: cover;
}

.product-extra-image .admin-actions {
  justify-content: flex-start;
}

@keyframes pulseSoft {
  from {
    opacity: 0.8;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.28);
  }
}

@media (max-width: 980px) {
  .instagram,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .premium-card-grid,
  .instagram-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    position: relative;
    display: none;
  }

  .testimonial-card.is-active {
    display: grid;
  }

  .testimonial-carousel {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    margin-right: -18px;
    margin-left: -18px;
    padding: 0 18px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .testimonial-card,
  .testimonial-card.is-active {
    display: grid;
    flex: 0 0 min(82vw, 320px);
    scroll-snap-align: start;
  }

  .testimonial-skeleton {
    flex: 0 0 min(82vw, 320px);
  }

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

/* Premium navigation polish */
.site-header {
  isolation: isolate;
  border-bottom-color: rgba(198, 161, 51, 0.14);
  background: rgba(255, 250, 242, 0.72);
  box-shadow: 0 10px 30px rgba(16, 16, 16, 0.04);
}

.site-header.is-scrolled {
  background: rgba(255, 250, 242, 0.88);
  -webkit-backdrop-filter: blur(22px) saturate(1.08);
  backdrop-filter: blur(22px) saturate(1.08);
  box-shadow: 0 18px 42px rgba(16, 16, 16, 0.09);
}

.site-nav {
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(16, 16, 16, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  color: rgba(16, 16, 16, 0.72);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  left: 12px;
  height: 1px;
  background: var(--gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(198, 161, 51, 0.1);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  min-height: 38px;
  padding: 8px 16px;
  border-color: rgba(198, 161, 51, 0.24);
  background: var(--ink);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 16, 16, 0.13);
}

.site-nav .nav-cta,
.site-nav .nav-cta:visited,
.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus,
.site-nav .nav-cta:focus-visible,
.site-nav .nav-cta:active {
  background: var(--ink);
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  mix-blend-mode: normal;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  border-color: rgba(198, 161, 51, 0.44);
  box-shadow: 0 14px 34px rgba(16, 16, 16, 0.17);
  transform: translateY(-2px);
}

.site-nav .nav-cta:active {
  transform: translateY(0);
}

.site-nav .nav-cta.is-disabled,
.site-nav .nav-cta:disabled,
.site-nav .nav-cta[aria-disabled="true"] {
  background: var(--ink);
  color: #ffffff;
  opacity: 0.58;
  pointer-events: none;
}

.menu-toggle {
  position: relative;
  overflow: hidden;
  border-color: rgba(198, 161, 51, 0.24);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 12px 28px rgba(16, 16, 16, 0.08);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.menu-toggle:hover {
  border-color: rgba(198, 161, 51, 0.48);
  transform: translateY(-1px);
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  transition: top 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span {
  transform: rotate(45deg);
}

.menu-toggle.is-active span::before {
  top: 0;
  opacity: 0;
}

.menu-toggle.is-active span::after {
  top: 0;
  transform: rotate(-90deg);
}

@media (max-width: 1399px) {
  .site-header {
    gap: 12px;
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: clamp(14px, 4vw, 34px);
    left: auto;
    width: min(360px, calc(100vw - 28px));
    max-height: calc(100vh - 98px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    overflow: auto;
    padding: 12px;
    border: 1px solid rgba(198, 161, 51, 0.24);
    border-radius: 8px;
    background: rgba(255, 250, 242, 0.88);
    -webkit-backdrop-filter: blur(22px) saturate(1.08);
    backdrop-filter: blur(22px) saturate(1.08);
    box-shadow: 0 26px 70px rgba(16, 16, 16, 0.18);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    visibility: hidden;
  }

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

  .site-nav a,
  .site-nav a:not(.nav-cta) {
    min-height: 44px;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .site-nav a:not(.nav-cta)::after {
    right: auto;
    bottom: 12px;
    left: 12px;
    width: 28px;
  }

  .nav-cta {
    margin-top: 4px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 14px;
  }

  .menu-toggle {
    position: static;
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }

  .site-nav {
    top: 70px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: min(72vh, 520px);
  }
}

/* Premium visual refinement - UI only */
:root {
  --shadow: 0 18px 48px rgba(30, 22, 12, 0.11);
  --shadow-soft: 0 10px 30px rgba(30, 22, 12, 0.075);
  --shadow-hover: 0 22px 54px rgba(30, 22, 12, 0.14);
  --line-soft: rgba(16, 16, 16, 0.095);
  --transition-premium: 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

body:not(.admin-page) :where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid rgba(198, 161, 51, 0.72);
  outline-offset: 3px;
}

body:not(.admin-page) .button,
body:not(.admin-page) .nav-cta,
body:not(.admin-page) .filter-button,
body:not(.admin-page) .menu-toggle,
body:not(.admin-page) .product-gallery-arrow,
body:not(.admin-page) .product-detail-thumbs button,
body:not(.admin-page) .product-colors button {
  transition:
    transform var(--transition-premium),
    box-shadow var(--transition-premium),
    background var(--transition-premium),
    border-color var(--transition-premium),
    color var(--transition-premium),
    opacity var(--transition-premium);
}

body:not(.admin-page) .button,
body:not(.admin-page) .nav-cta {
  min-height: 46px;
  padding: 12px 22px;
  border-color: rgba(16, 16, 16, 0.08);
  box-shadow: 0 8px 20px rgba(16, 16, 16, 0.055);
}

body:not(.admin-page) .button:hover,
body:not(.admin-page) .nav-cta:hover,
body:not(.admin-page) .button:focus-visible,
body:not(.admin-page) .nav-cta:focus-visible {
  box-shadow: 0 14px 34px rgba(16, 16, 16, 0.12);
  transform: translateY(-2px);
}

body:not(.admin-page) .button:active,
body:not(.admin-page) .nav-cta:active {
  box-shadow: 0 7px 18px rgba(16, 16, 16, 0.08);
  transform: translateY(0);
}

body:not(.admin-page) .button-light {
  border-color: rgba(16, 16, 16, 0.1);
  background: rgba(255, 250, 242, 0.9);
  box-shadow: 0 10px 28px rgba(30, 22, 12, 0.08);
}

body:not(.admin-page) .button-light:hover,
body:not(.admin-page) .button-light:focus-visible {
  border-color: rgba(198, 161, 51, 0.38);
  background: rgba(255, 255, 255, 0.96);
}

.hero {
  min-height: min(92vh, 860px);
  align-items: center;
  padding-top: clamp(120px, 14vh, 164px);
  padding-bottom: clamp(56px, 9vh, 92px);
}

.hero::after {
  background:
    radial-gradient(circle at 18% 52%, rgba(198, 161, 51, 0.13), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.36) 54%, rgba(0, 0, 0, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.54), transparent 46%);
}

.hero-media img {
  opacity: 0.76;
  filter: saturate(0.98) contrast(1.03);
  transform: scale(1.015);
  animation: heroImageBreath 18s ease-out both;
}

.hero-content {
  width: min(700px, 100%);
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content p,
.hero-content .hero-actions,
.hero-content small {
  animation: heroTextIn 760ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content h1 {
  max-width: 670px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8.6vw, 6.25rem);
  text-wrap: balance;
}

.hero-slogan {
  margin-bottom: 12px !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-weight: 700;
}

.hero-content p:not(.hero-slogan) {
  margin-bottom: 26px;
}

.hero-content .eyebrow {
  animation-delay: 60ms;
}

.hero-content h1 {
  animation-delay: 130ms;
}

.hero-content p {
  animation-delay: 210ms;
}

.hero-content .hero-actions,
.hero-content small {
  animation-delay: 290ms;
}

.section {
  padding-top: clamp(62px, 7vw, 104px);
  padding-bottom: clamp(62px, 7vw, 104px);
}

.section-heading {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.section-heading h2,
.about-copy h2,
.instagram-content h2,
.final-cta h2,
.product-detail-info h1 {
  text-wrap: balance;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.category-grid:has(> .category-card:only-child) {
  grid-template-columns: minmax(0, min(360px, 100%));
  justify-content: center;
}

.category-card,
.product-card,
.related-card,
.premium-card-grid article,
.testimonial-card,
.instagram-tile,
.benefit {
  border-color: var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition:
    transform var(--transition-premium),
    box-shadow var(--transition-premium),
    border-color var(--transition-premium),
    background var(--transition-premium);
}

.category-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.76);
}

.category-card > img {
  aspect-ratio: 4 / 2.9;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter var(--transition-premium);
}

.category-card > div {
  margin-top: 16px;
}

.category-card > p {
  margin-top: 8px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.category-card > a {
  margin-top: auto;
}

.category-card:hover,
.category-card:focus-within,
.product-card:hover,
.product-card:focus-within,
.related-card:hover,
.related-card:focus-within,
.benefit:hover,
.premium-card-grid article:hover,
.testimonial-card:hover,
.instagram-tile:hover {
  border-color: rgba(198, 161, 51, 0.38);
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.category-card:hover > img {
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.035);
}

.product-grid {
  gap: clamp(16px, 2vw, 24px);
}

.product-card {
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
}

.product-card-main {
  border-radius: inherit;
}

.product-image img {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter var(--transition-premium);
}

.product-card:hover .product-image img,
.product-card:focus-within .product-image img {
  filter: saturate(1.03) contrast(1.02);
  transform: scale(1.035);
}

.product-body {
  gap: 8px;
  padding: 22px 22px 18px;
}

.product-body h3 {
  margin-bottom: 0;
  line-height: 1.24;
}

.product-body p {
  line-height: 1.55;
}

.product-price {
  margin: 12px 0 2px;
}

.product-link {
  margin: 0 22px 12px;
  transition: color var(--transition-premium), transform var(--transition-premium);
}

.product-link:hover,
.product-link:focus-visible {
  color: var(--ink);
}

.product-whatsapp {
  width: calc(100% - 44px);
  margin: 0 22px 22px;
}

.catalog-tools {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.search-field input {
  transition: border-color var(--transition-premium), box-shadow var(--transition-premium), background var(--transition-premium);
}

.search-field input:focus {
  outline: none;
  border-color: rgba(198, 161, 51, 0.66);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0 0 3px rgba(198, 161, 51, 0.14);
}

.filter-button {
  background: rgba(255, 250, 242, 0.78);
}

.filter-button:hover,
.filter-button:focus-visible {
  border-color: rgba(198, 161, 51, 0.42);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(30, 22, 12, 0.08);
}

.filter-button.is-active {
  box-shadow: 0 12px 28px rgba(16, 16, 16, 0.12);
}

.filter-button.is-active,
.filter-button.is-active:hover,
.filter-button.is-active:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.product-detail-shell {
  padding-top: clamp(30px, 4vw, 56px);
}

.product-detail {
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
}

.product-detail-media {
  border-color: rgba(198, 161, 51, 0.22);
  box-shadow: 0 18px 48px rgba(30, 22, 12, 0.13);
}

.product-gallery-frame {
  background: #eee4d2;
}

.product-gallery-frame > img,
.product-detail-media > img {
  transition:
    opacity 280ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 280ms ease;
}

.product-gallery-arrow {
  width: 32px;
  height: 32px;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 250, 242, 0.58);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
  opacity: 0.78;
}

.product-gallery-arrow svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.9;
}

.product-gallery-arrow:hover,
.product-gallery-arrow:focus-visible {
  background: rgba(255, 250, 242, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  opacity: 1;
  transform: translateY(-50%) scale(1.04);
}

.product-gallery-arrow.prev {
  left: 12px;
}

.product-gallery-arrow.next {
  right: 12px;
}

.product-gallery-counter {
  right: 12px;
  bottom: 12px;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 250, 242, 0.62);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.product-detail-thumbs {
  gap: 10px;
  padding: 12px;
  background: rgba(255, 250, 242, 0.54);
}

.product-detail-thumbs button {
  overflow: hidden;
  border-color: rgba(16, 16, 16, 0.09);
  background: rgba(255, 255, 255, 0.58);
}

.product-detail-thumbs button.is-active {
  border-color: rgba(198, 161, 51, 0.76);
  box-shadow: 0 0 0 2px rgba(198, 161, 51, 0.18), 0 10px 22px rgba(30, 22, 12, 0.1);
  opacity: 1;
  transform: translateY(-1px);
}

.product-detail-thumbs button:hover,
.product-detail-thumbs button:focus-visible {
  border-color: rgba(198, 161, 51, 0.5);
  box-shadow: 0 8px 18px rgba(30, 22, 12, 0.09);
}

.product-detail-thumbs img {
  width: 60px;
  height: 72px;
  border-radius: 6px;
}

.product-detail-info {
  gap: 16px;
}

.product-detail-info h1 {
  line-height: 1;
}

.product-detail-info p {
  line-height: 1.7;
}

.related-grid {
  gap: clamp(14px, 2vw, 20px);
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageBreath {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.035);
  }
}

@media (max-width: 1399px) {
  body:not(.admin-page) .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .product-detail {
    align-items: start;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 86vh;
    padding-top: 104px;
    padding-bottom: 42px;
  }

  .site-header .menu-toggle {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    display: grid !important;
  }

  .hero-content {
    width: 100%;
    max-width: calc(100vw - 36px);
  }

  .hero-content h1 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(2.35rem, 10.8vw, 3.15rem);
    text-wrap: wrap;
  }

  .hero-content p:not(.hero-slogan) {
    margin-bottom: 22px;
  }

  .hero-content,
  .hero p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-content small {
    display: block;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-slogan {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .category-card > div,
  .category-card > p,
  .category-card > a {
    margin-right: 18px;
    margin-left: 18px;
  }

  .category-card > a {
    width: calc(100% - 36px);
  }

  .product-body {
    padding: 20px 20px 16px;
  }

  .product-link {
    margin-right: 20px;
    margin-left: 20px;
  }

  .product-whatsapp {
    width: calc(100% - 40px);
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 20px;
  }

  .product-gallery-arrow {
    width: 28px;
    height: 28px;
  }

  .product-gallery-arrow.prev {
    left: 9px;
  }

  .product-gallery-arrow.next {
    right: 9px;
  }

  .product-detail-thumbs img {
    width: 52px;
    height: 64px;
  }
}

@media (max-width: 640px) {
  .whatsapp-float {
    display: none !important;
  }
}

.admin-mobile-toggle,
.admin-sidebar-backdrop {
  display: none;
}

body.admin-sidebar-lock {
  overflow: hidden;
}

@media (max-width: 720px) {
  .admin-page .admin-app {
    display: block;
    min-height: 100vh;
  }

  .admin-mobile-toggle {
    position: fixed;
    top: 14px;
    left: 14px;
    z-index: 42;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(198, 161, 51, 0.34);
    border-radius: var(--radius);
    background: rgba(16, 16, 16, 0.94);
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(30, 22, 12, 0.18);
    font: inherit;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0;
    padding: 10px 14px;
  }

  .admin-mobile-toggle span:first-child {
    position: relative;
    width: 18px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
  }

  .admin-mobile-toggle span:first-child::before,
  .admin-mobile-toggle span:first-child::after {
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: inherit;
    background: currentColor;
    content: "";
  }

  .admin-mobile-toggle span:first-child::before {
    top: -6px;
  }

  .admin-mobile-toggle span:first-child::after {
    top: 6px;
  }

  .admin-page .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 41;
    width: min(86vw, 320px);
    max-width: 320px;
    min-width: 0;
    height: 100dvh;
    overflow-y: auto;
    padding: 78px 18px 22px;
    transform: translateX(-104%);
    transition: transform 220ms ease;
  }

  .admin-page .admin-app.is-sidebar-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    border: 0;
    background: rgba(16, 16, 16, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .admin-page .admin-app.is-sidebar-open .admin-sidebar-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-page .admin-workspace,
  .admin-page .admin-main {
    width: 100%;
    padding: 76px 16px 24px;
  }
}

.admin-login-page {
  display: block;
  overflow-x: hidden;
}

.admin-login-page .admin-topbar {
  width: 100%;
}

.admin-login-page .admin-shell {
  width: min(560px, calc(100% - 32px));
  padding: clamp(24px, 7vw, 56px) 0;
}

.admin-login-page .login-panel {
  width: 100%;
}

@media (max-width: 640px) {
  .admin-login-page .admin-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
  }

  .admin-login-page .brand img {
    max-width: 86px;
    max-height: 42px;
  }

  .admin-login-page .admin-topbar div {
    min-width: 0;
  }

  .admin-login-page .admin-topbar strong,
  .admin-login-page .admin-topbar span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-login-page .admin-topbar .button {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .admin-login-page .admin-shell {
    width: min(100% - 24px, 440px);
    padding: 22px 0 34px;
  }

  .admin-login-page .login-panel {
    padding: 22px;
  }

  .admin-login-page .login-panel h1 {
    font-size: clamp(2.15rem, 13vw, 3.15rem);
    line-height: 0.96;
  }
}

/* Production polish */
.site-header {
  min-height: 76px;
  box-shadow: 0 10px 30px rgba(16, 16, 16, 0.055);
  transition:
    min-height 220ms ease,
    padding 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.site-header.is-scrolled {
  min-height: 62px;
  padding-top: 8px;
  padding-bottom: 8px;
  box-shadow: 0 16px 42px rgba(16, 16, 16, 0.11);
}

.site-header.is-scrolled .brand img {
  max-height: 40px;
}

.brand img {
  transition: max-height 220ms ease, transform 220ms ease;
}

.site-nav a:not(.nav-cta) {
  position: relative;
  border-radius: 999px;
  padding: 8px 2px;
}

.site-nav a:not(.nav-cta):hover,
.site-nav a:not(.nav-cta).is-active {
  color: var(--ink);
}

.site-nav a:not(.nav-cta).is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  padding-left: clamp(30px, 7vw, 104px);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.36) 54%, rgba(0, 0, 0, 0.16)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.16) 42%, rgba(0, 0, 0, 0.52));
}

.hero-content {
  margin-left: clamp(0px, 2.2vw, 34px);
}

.hero-content h1 {
  font-size: clamp(2.55rem, 7.3vw, 5.3rem);
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, 0.08);
  box-shadow: 0 16px 38px rgba(30, 22, 12, 0.085);
}

.product-card:hover,
.product-card:focus-within {
  box-shadow: 0 24px 58px rgba(30, 22, 12, 0.16);
  transform: translateY(-6px);
}

.product-image img,
.store-mosaic img,
.instagram-tile img,
.category-card > img {
  object-fit: cover;
}

.product-whatsapp,
.button[data-whatsapp-general],
.nav-cta {
  cursor: pointer;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.product-whatsapp:hover,
.product-whatsapp:focus-visible,
.button[data-whatsapp-general]:hover,
.button[data-whatsapp-general]:focus-visible {
  box-shadow: 0 18px 42px rgba(16, 16, 16, 0.18);
  transform: translateY(-2px) scale(1.01);
}

.product-whatsapp:active,
.button[data-whatsapp-general]:active {
  transform: translateY(0) scale(0.99);
}

.empty-state {
  border: 1px solid rgba(198, 161, 51, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.74);
  padding: 18px 20px;
  color: var(--muted);
}

.site-footer {
  position: relative;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(22px, 4vw, 44px);
  padding-top: clamp(38px, 5vw, 62px);
  padding-bottom: 28px;
}

.site-footer::before {
  position: absolute;
  top: 0;
  right: clamp(18px, 5vw, 72px);
  left: clamp(18px, 5vw, 72px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198, 161, 51, 0.46), transparent);
  content: "";
}

.site-footer strong {
  color: #ffffff;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.site-footer a {
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
  transform: translateX(2px);
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 8px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.52);
}

.footer-credit {
  color: rgba(255, 255, 255, 0.58);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  transition: color 240ms ease, transform 240ms ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--gold);
  transform: translateY(-1px);
}

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

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .site-header.is-scrolled {
    min-height: 58px;
  }

  .hero {
    padding-left: 18px;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9.2vw, 2.75rem);
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content p,
  .hero-content .hero-actions,
  .hero-content small {
    animation: none !important;
  }
}
