/* Contacto y presentación de la marca. */
.contact-footer-link { border:0; padding:0; background:transparent; font-family:inherit; cursor:pointer; }
.contact-dialog { width:min(480px,calc(100% - 32px)); max-height:calc(100dvh - 32px); margin:auto; padding:clamp(24px,5vw,40px); border:1px solid #e8e1d8; border-radius:24px; background:#fffdfa; color:#211d1a; box-shadow:0 24px 80px #211d1a33; }
.contact-dialog::backdrop { background:rgba(33,29,26,.55); backdrop-filter:blur(4px); }
.contact-dialog__close { display:block; margin:-8px -8px 8px auto; width:44px; height:44px; padding:0; border:1px solid #e8e1d8; border-radius:50%; background:transparent; color:#7b4935; font-size:1.7rem; cursor:pointer; }
.contact-dialog h2 { margin:12px 0; font:400 2.4rem Georgia,serif; }
.contact-dialog p { color:#5f564f; line-height:1.6; }
.contact-dialog__options { display:grid; gap:12px; margin-top:24px; }
.contact-dialog__options a { display:grid; gap:6px; padding:18px; border:1px solid #e8e1d8; border-radius:14px; background:#f5f1eb; color:#7b4935; text-decoration:none; }
.contact-dialog__options a:hover { border-color:#a76e55; background:#efe5dc; }
.contact-dialog__options span { color:#5f564f; font-size:.9rem; overflow-wrap:anywhere; }
.contact-dialog :focus-visible,.contact-footer-link:focus-visible { outline:2px solid #7b4935; outline-offset:4px; }
body:has(.contact-dialog[open]) { overflow:hidden; }
.about-page { max-width:1060px; margin:0 auto; line-height:1.8; color:#5f564f; }
.about-intro { max-width:820px; margin:0 auto; padding:clamp(24px,5vw,64px) 0; text-align:center; }
.about-intro h1 { margin:12px 0 28px; color:#211d1a; font:400 clamp(2.4rem,5vw,4rem)/1.12 Georgia,serif; letter-spacing:-.04em; }
.about-intro .about-lead { color:#7b4935; font:400 clamp(1.3rem,2.5vw,1.7rem)/1.5 Georgia,serif; }
.about-materials > h2 { margin:16px 0 28px; text-align:center; color:#211d1a; font:400 clamp(1.7rem,3vw,2.3rem)/1.3 Georgia,serif; }
.about-material-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.about-material { padding:clamp(24px,3vw,40px); border:1px solid #e8e1d8; border-radius:22px; background:linear-gradient(145deg,#f5f1eb,#fffdfa); }
.about-material h3 { margin:0 0 24px; color:#7b4935; font:400 1.6rem/1.4 Georgia,serif; }
.about-material ul { list-style:none; padding:0; margin:0; }
.about-material li + li { margin-top:20px; padding-top:20px; border-top:1px solid #e8e1d8; }
.about-material strong { color:#211d1a; }
.about-closing { max-width:780px; margin:48px auto 0; padding:24px 0; text-align:center; }
.about-signature { display:block; margin-top:24px; color:#7b4935; font:italic 2rem Georgia,serif; }
@media (max-width:760px) {
  .about-material-grid { grid-template-columns:1fr; gap:16px; }
  .site-header .primary-nav { flex-wrap:wrap; gap:.6rem 1rem; }
}
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #fafafa;
  --surface-muted: #f6f6f6;
  --border: #e5e5e5;
  --text: #3a3a3a;
  --text-soft: #6f6f6f;
  --heading: #111111;
  --gold: #c6a15b;
  --gold-soft: #ead6ac;
  --danger: #d84f4f;
  --success: #3f8a55;
  --shadow: 0 10px 35px rgba(17, 17, 17, 0.06);
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.page-width {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

@media (min-width: 1200px) {
  .page-width {
    padding-left: 55px;
    padding-right: 55px;
  }
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.header-shell {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
}

.header-search-wrap {
  display: flex;
  justify-content: center;
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(100%, 560px);
  gap: 10px;
}

.search-bar input,
.auth-card input,
.auth-card textarea,
.account-address-form input,
.account-address-form select,
.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.saved-addresses select,
.admin-form input,
.admin-form textarea,
.admin-form select,
.status-form select,
.cart-row input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 4px;
  outline: none;
}

.search-bar input:focus,
.auth-card input:focus,
.auth-card textarea:focus,
.account-address-form input:focus,
.account-address-form select:focus,
.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus,
.saved-addresses select:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.cart-row input:focus {
  border-color: #bdbdbd;
}

.search-bar button,
.button-gold,
.product-card__footer button,
.auth-card button,
.checkout-form button,
.admin-form button {
  padding: 0.875rem 1.4rem;
  border: 1px solid #111;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.button-gold {
  background: #111;
  border-color: #111;
}

.button-ghost,
.link-button {
  padding: 0.72rem 1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text-soft);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}

.header-actions a {
  color: var(--text-soft);
}

.header-actions .is-active,
.header-actions a:hover {
  color: var(--heading);
}

.count-pill {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  min-height: 18px;
  padding: 0 4px;
  margin-left: 6px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
}

.brand-logo {
  width: 260px;
  max-width: 100%;
}

.page-shell {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.flash-wrap {
  margin-top: 1rem;
}

.flash {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
}

.flash-success { background: #f4fbf5; color: var(--success); }
.flash-error { background: #fff6f6; color: var(--danger); }
.flash:empty { display: none !important; }

.hero-carousel {
  margin-bottom: 3rem;
}

.carousel-track {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: #fff;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
  background: #fff;
  position: relative;
  z-index: 1;
}

.eyebrow,
.slide-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--text-soft);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
}

.slide-copy h1,
.section-heading h1,
.section-heading h2,
.auth-card h1,
.checkout-form h1,
.admin-panel h1,
.product-detail__copy h1 {
  margin: 0;
  color: var(--heading);
  font-size: 2.1rem;
  line-height: 1.15;
  font-weight: 600;
}

.slide-copy p,
.product-card p,
.product-description,
.info-card p,
.summary-note {
  color: var(--text-soft);
  line-height: 1.6;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #999;
  background: transparent;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #111;
  border-color: #111;
}

.section-block { margin-top: 2rem; }
.section-block.narrow { max-width: 980px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading.compact {
  align-items: center;
  margin-bottom: 18px;
}

.section-heading p,
.section-heading a {
  color: var(--text-soft);
}

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

.product-card,
.info-card,
.checkout-summary,
.checkout-form,
.auth-card,
.admin-panel,
.empty-state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.product-card__body {
  padding: 20px;
}

.product-card__category {
  color: var(--text-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-card h3 {
  margin: 10px 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
}

.product-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.product-detail__media img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.price-lg {
  display: block;
  margin: 18px 0 12px;
  font-size: 1.4rem;
  color: var(--heading);
}

.detail-buy {
  display: grid;
  gap: 14px;
  max-width: 280px;
  margin-top: 1rem;
}

.detail-meta {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  color: var(--text-soft);
  display: grid;
  gap: 8px;
}

.cart-table,
.order-list,
.admin-stats,
.account-grid,
.checkout-grid,
.account-stack,
.address-book {
  display: grid;
  gap: 18px;
}

.cart-row {
  display: grid;
  grid-template-columns: 110px 1fr 120px 90px 120px auto;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.cart-row img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.cart-actions,
.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.cart-summary {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.auth-shell {
  display: grid;
  place-items: center;
  min-height: 70vh;
}

.auth-card,
.checkout-form,
.empty-state,
.info-card,
.admin-panel {
  padding: 28px;
}

.auth-card { width: min(100%, 480px); display: grid; gap: 14px; }
.auth-card p { color: var(--text-soft); }

.account-grid,
.checkout-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.checkout-grid {
  align-items: start;
}

.checkout-summary {
  position: relative;
  border-left: 1px solid var(--border);
  background: var(--surface-soft);
  min-height: 100%;
}

.saved-addresses {
  margin: 18px 0 24px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--surface-soft);
  border-radius: 4px;
}

.address-card {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
}

.address-card__head,
.address-card__actions,
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.address-card__actions form {
  margin: 0;
}

.badge-default {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  margin-left: 8px;
  border-radius: 999px;
  background: #f0f0f0;
  color: var(--text-soft);
  font-size: 11px;
  text-transform: uppercase;
}

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

.span-2 {
  grid-column: span 2;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--text-soft);
}

.checkbox-row input {
  width: auto;
}

.button-danger {
  color: var(--danger);
}

.order-row,
.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.summary-total {
  border-bottom: 0;
  margin-top: 8px;
  font-size: 1rem;
}

.success-card {
  width: min(100%, 560px);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-soft);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
}

.admin-body {
  background:
    radial-gradient(circle at top left, rgba(58, 110, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
  color: #111827;
}

.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 276px;
  flex: 0 0 276px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 20px 24px;
  border-right: 1px solid #e6ebf2;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
  box-shadow: 12px 0 40px rgba(15, 23, 42, 0.04);
}

.admin-sidebar__brand,
.admin-auth-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-sidebar__brand strong,
.admin-auth-brand strong {
  display: block;
  font-size: 0.98rem;
  color: #0f172a;
}

.admin-sidebar__brand span,
.admin-auth-brand span {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.82rem;
}

.admin-logo {
  width: 66px;
  margin-bottom: 0;
}

.admin-nav {
  display: grid;
  gap: 6px;
  margin-top: 36px;
}

.admin-nav__label {
  margin-bottom: 10px;
  color: #94a3b8;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-sidebar a,
.admin-sidebar .link-button {
  color: #475569;
}

.admin-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 500;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.admin-nav a:hover {
  background: #f8fafc;
  color: #0f172a;
}

.admin-nav a.is-active {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border-color: #d6e4ff;
  color: #1d4ed8;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.10);
}

.admin-sidebar__footer {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-user-card {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.admin-user-card span,
.admin-user-card small {
  display: block;
  color: #64748b;
}

.admin-user-card strong {
  display: block;
  margin: 6px 0 2px;
  color: #0f172a;
}

.admin-logout-form {
  margin: 0;
}

.admin-logout-button {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
}

.admin-sidebar__meta {
  display: grid;
  gap: 4px;
  color: #94a3b8;
  font-size: 0.78rem;
  line-height: 1.45;
}

.admin-content {
  flex: 1;
  padding: 34px 36px 48px;
}

.admin-content-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.admin-auth-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 28px;
}

.admin-auth-card {
  width: min(100%, 560px);
  padding: 28px;
  border: 1px solid #dfe6ef;
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
}

.admin-login-form,
.admin-page,
.admin-product-form,
.payment-form {
  display: grid;
  gap: 22px;
}

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

.admin-heading--compact {
  align-items: flex-start;
}

.admin-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #64748b;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-heading h1,
.admin-heading h2 {
  margin: 0;
  color: #0f172a;
  line-height: 1.12;
}

.admin-heading h1 {
  font-size: clamp(2rem, 2.5vw, 2.65rem);
}

.admin-heading h2 {
  font-size: 1.4rem;
}

.admin-heading p {
  max-width: 760px;
  margin: 10px 0 0;
  color: #64748b;
}

.admin-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.22);
  cursor: pointer;
}

.admin-form-card,
.admin-panel,
.admin-table-wrap,
.payment-card,
.admin-stats article {
  background: rgba(255,255,255,0.92);
  border: 1px solid #dfe6ef;
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

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

.admin-stats article {
  padding: 24px 26px;
}

.admin-stats span {
  display: block;
  color: #64748b;
  margin-bottom: 10px;
}

.admin-stats strong {
  font-size: 2rem;
  color: #0f172a;
}

.admin-panel {
  padding: 28px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #e8edf4;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-table td {
  color: #0f172a;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-actions,
.status-form,
.inline-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.payment-method-list {
  display: grid;
  gap: 16px;
}

.payment-card {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.payment-card h2 {
  margin: 0 0 6px;
  color: #0f172a;
}

.payment-card p {
  margin: 0;
  color: #64748b;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-status-pill.is-live {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
}

.admin-status-pill.is-muted {
  background: #eef2f7;
  color: #64748b;
}

.admin-status-pill.is-neutral {
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8;
}

.admin-inline-link {
  color: #1d4ed8;
  font-weight: 600;
}

.product-image-preview {
  display: grid;
  gap: 12px;
  margin-bottom: 8px;
}

.product-image-preview span {
  color: #64748b;
  font-size: 0.82rem;
}

.product-image-preview img {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid #dfe6ef;
}

.admin-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #dfe6ef;
}

.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-login-form input {
  min-height: 48px;
  padding: 0.82rem 0.95rem;
  border: 1px solid #d6deea;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.admin-form textarea {
  min-height: 180px;
  padding-top: 0.95rem;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus,
.admin-login-form input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.admin-form label,
.admin-login-form label {
  color: #475569;
  font-weight: 500;
}

.admin-checkbox-row {
  flex-wrap: wrap;
  gap: 20px;
  color: #475569;
}

.admin-checkbox-row label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.admin-checkbox-row input {
  width: 16px;
  height: 16px;
  min-height: auto;
}

.admin-form-actions {
  display: flex;
  justify-content: flex-start;
}

.danger-link {
  color: #dc2626;
}

.button-ghost {
  min-height: 42px;
  border-radius: 12px;
  border-color: #d6deea;
}

.link-button {
  border-radius: 12px;
}

.admin-product-form {
  width: min(100%, 1160px);
  margin: 0 auto;
}

.admin-login-form .admin-form-card {
  display: grid;
  gap: 16px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

@media (max-width: 1024px) {
  .carousel-slide,
  .product-detail,
  .account-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .carousel-track { min-height: auto; }
  .carousel-slide { position: relative; }
  .carousel-slide img { height: 420px; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-row { grid-template-columns: 90px 1fr; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-summary {
    border-left: 0;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid #e6ebf2;
  }

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

@media (max-width: 780px) {
  .header-top {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .cart-actions,
  .cart-summary,
  .section-heading,
  .footer-shell,
  .admin-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-content {
    padding: 24px 18px 36px;
  }

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

@media (max-width: 680px) {
  .product-grid { grid-template-columns: 1fr; }
  .brand-logo { width: 210px; }
  .slide-copy { padding: 28px; }
  .product-card img { height: 320px; }
  .form-grid,
  .address-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: auto;
  }

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

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

/* Colecciones y microinteracciones de la experiencia de compra. */
.site-header { position: sticky; top: 0; z-index: 20; box-shadow: 0 8px 24px rgba(17,17,17,.035); }
.product-card { transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.collection-nav { display:flex; gap:10px; flex-wrap:wrap; margin:0 0 24px; }
.collection-nav a { padding:8px 15px; border:1px solid var(--border); border-radius:999px; color:var(--text-soft); transition:.2s ease; }
.collection-nav a:hover, .collection-nav a.is-active { background:#111; border-color:#111; color:#fff; }
.stock-available { color:var(--success); }
.stock-unavailable { color:var(--danger); }
button:disabled { cursor:not-allowed; opacity:.55; }
.brand-promise { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin:0 0 3.5rem; background:var(--border); border:1px solid var(--border); }
.brand-promise div { padding:22px 26px; background:#fff; }
.brand-promise strong,.brand-promise span { display:block; }
.brand-promise strong { color:var(--heading); margin-bottom:5px; }
.brand-promise span { color:var(--text-soft); font-size:.92rem; }
.editorial-banner { display:flex; align-items:center; justify-content:space-between; gap:30px; margin:4rem 0 1rem; padding:3.5rem; background:#15130f; color:#fff; }
.editorial-banner h2 { margin:0; font-size:clamp(2rem,4vw,3.5rem); line-height:1.05; font-weight:500; }
.editorial-banner p { max-width:560px; color:#d7d0c4; }
.editorial-banner .eyebrow { color:var(--gold-soft); }
.editorial-banner .button-gold { background:#fff; border-color:#fff; color:#111; white-space:nowrap; }
@media (max-width:780px) { .brand-promise { grid-template-columns:1fr; } .editorial-banner { display:grid; padding:2rem; } }

/* Storefront refresh: editorial, clear and responsive. */
:root { --ink:#211d1a; --sand:#f5f1eb; --clay:#a76e55; --clay-dark:#7b4935; --line:#e8e1d8; --card-shadow:0 18px 45px rgba(45,33,25,.10); }
html { scroll-behavior:smooth; }
body.site-body { min-width:320px; background:#fffdfa; color:var(--ink); font-family:"Segoe UI","Helvetica Neue",Arial,sans-serif; font-size:15px; }
.page-width { max-width:1320px; }
.announcement-bar { padding:.62rem 0; background:var(--ink); color:#fff; font-size:.72rem; font-weight:650; letter-spacing:.08em; text-align:center; text-transform:uppercase; }
.site-header { position:sticky; top:0; z-index:50; border:0; background:rgba(255,253,250,.94); box-shadow:0 8px 30px rgba(40,27,19,.08); backdrop-filter:blur(16px); }
.header-shell { padding-top:1rem; padding-bottom:.9rem; }
.header-main { display:grid; grid-template-columns:minmax(185px,1fr) auto minmax(185px,1fr); align-items:center; gap:1.5rem; }
.brand-link { display:inline-flex; align-items:center; width:max-content; }
.brand-logo { width:148px; height:118px; max-height:none; object-fit:contain; transform:scale(1.7); transform-origin:left center; }
.primary-nav,.header-actions { display:flex; align-items:center; gap:1.4rem; }
.primary-nav { justify-content:center; }
.header-actions { justify-content:flex-end; font-size:.85rem; }
.pwa-install { padding:.48rem .76rem; border:1px solid var(--clay); border-radius:999px; background:#fffdfa; color:var(--clay-dark); font:700 .78rem "Segoe UI",Arial,sans-serif; white-space:nowrap; cursor:pointer; }
.pwa-install:hover { background:var(--clay); color:#fff; }
.pwa-install-footer { display:none; }
.primary-nav a,.header-actions a { position:relative; padding:.45rem 0; color:#5f564f; font-weight:600; white-space:nowrap; transition:color .2s ease; }
.primary-nav a::after { position:absolute; right:0; bottom:0; left:0; height:2px; background:var(--clay); content:""; transform:scaleX(0); transition:transform .2s ease; }
.primary-nav a:hover,.primary-nav a.is-active,.header-actions a:hover { color:var(--ink); }
.primary-nav a:hover::after,.primary-nav a.is-active::after { transform:scaleX(1); }
.cart-link { display:inline-flex; align-items:center; gap:.15rem; }
.count-pill { min-width:21px; min-height:21px; margin-left:3px; background:var(--clay); font-weight:700; }
.search-bar { width:min(100%,490px); margin:1rem auto 0; gap:0; border:1px solid var(--line); border-radius:999px; overflow:hidden; background:#fff; transition:box-shadow .2s ease,border-color .2s ease; }
.search-bar:focus-within { border-color:#d1a896; box-shadow:0 0 0 4px rgba(167,110,85,.12); }
.search-bar input { min-height:44px; border:0; padding:.7rem 1.15rem; background:transparent; }
.search-bar input:focus { border:0; }
.search-bar button,.button-gold,.product-card__footer button,.auth-card button,.checkout-form button { min-height:44px; padding:.7rem 1.1rem; border:1px solid var(--clay); border-radius:999px; background:var(--clay); color:#fff; font-weight:700; letter-spacing:.01em; transition:transform .2s ease,background .2s ease,box-shadow .2s ease; }
.search-bar button { border-radius:999px; margin:3px; }
.search-bar button:hover,.button-gold:hover,.product-card__footer button:hover,.auth-card button:hover,.checkout-form button:hover { background:var(--clay-dark); box-shadow:0 9px 20px rgba(123,73,53,.22); transform:translateY(-1px); }
.button-ghost,.link-button { border-radius:999px; border-color:var(--line); background:#fffdfa; font-weight:650; }
.page-shell { padding-top:2.75rem; padding-bottom:5rem; }
.hero-carousel { margin-bottom:4.5rem; }
.carousel-track { min-height:min(67vw,610px); border-radius:28px; background:var(--sand); box-shadow:var(--card-shadow); }
.carousel-slide { grid-template-columns:1.04fr .96fr; background:var(--sand); }
.carousel-slide img { height:min(67vw,610px); order:2; }
.slide-copy { padding:clamp(2rem,5vw,5.5rem); background:var(--sand); }
.slide-copy h1,.section-heading h1,.section-heading h2,.product-detail__copy h1 { font-family:Georgia,"Times New Roman",serif; color:var(--ink); font-size:clamp(2.1rem,4vw,4.5rem); font-weight:500; letter-spacing:-.045em; }
.slide-copy p { max-width:38ch; font-size:1rem; color:#665c54; }
.slide-kicker,.eyebrow { color:var(--clay-dark); font-weight:750; }
.slide-actions { flex-wrap:wrap; gap:1rem; margin-top:1.8rem; }
.carousel-dots { margin-top:1.2rem; }
.carousel-dot { width:26px; height:4px; border:0; border-radius:20px; background:#d9ccc2; }
.carousel-dot.is-active { width:42px; background:var(--clay); }
.hero-carousel [data-slide] { position:absolute; }
.brand-promise { gap:0; margin:0 0 5rem; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:var(--line); }
.brand-promise div { padding:1.5rem 1.75rem; background:#fffdfa; }
.brand-promise strong { font-family:Georgia,"Times New Roman",serif; font-size:1.2rem; color:var(--ink); }
.section-block { margin-top:3.5rem; }
.section-heading { align-items:center; margin-bottom:1.8rem; }
.section-heading h1,.section-heading h2 { font-size:clamp(2rem,3.2vw,3.15rem); }
.section-heading > a { color:var(--clay-dark); font-weight:750; }
.section-heading > a::after { content:" →"; }
.product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(1rem,2vw,1.75rem); }
.product-card { border:0; border-radius:16px; background:#fff; box-shadow:none; }
.product-card:hover { transform:translateY(-6px); box-shadow:var(--card-shadow); }
.product-card > a { display:block; overflow:hidden; border-radius:16px; background:var(--sand); }
.product-card img { height:auto; aspect-ratio:4 / 5; object-fit:cover; transition:transform .45s ease; }
.product-card:hover img { transform:scale(1.035); }
.product-card__body { padding:1.15rem .25rem .4rem; }
.product-card__category { color:var(--clay-dark); font-weight:700; }
.product-card h3 { margin:.42rem 0; font-family:Georgia,"Times New Roman",serif; font-size:1.25rem; color:var(--ink); }
.product-card p { min-height:2.8em; margin:0; color:#746961; font-size:.9rem; }
.product-card__footer { margin-top:1rem; }
.product-card__footer strong { color:var(--ink); font-size:1.05rem; }
.product-card__footer button { min-height:38px; padding:.45rem .85rem; font-size:.82rem; }
.editorial-banner { margin:5rem 0 .75rem; padding:clamp(2rem,5vw,5rem); border-radius:24px; background:linear-gradient(120deg,#2f241e,#5b3a2c); box-shadow:var(--card-shadow); }
.editorial-banner h2 { font-family:Georgia,"Times New Roman",serif; font-weight:500; }
.editorial-banner .button-gold { background:#fffdfa; border-color:#fffdfa; color:var(--ink); }
.product-detail { gap:clamp(2rem,5vw,5.5rem); }
.product-detail__media { position:sticky; top:150px; }
.product-detail__media img { border:0; border-radius:18px; aspect-ratio:4 / 5; object-fit:cover; }
.price-lg { color:var(--clay-dark); font-size:1.55rem; }
.detail-buy { max-width:360px; padding:1.25rem; border:1px solid var(--line); border-radius:16px; background:var(--sand); }
.detail-buy input { border-radius:10px; border-color:#d8c9bd; }
.cart-row { padding:1.3rem 0; grid-template-columns:96px 1fr 110px 88px 110px auto; }
.cart-row img { width:96px; height:116px; border-radius:12px; }
.cart-row h3 { margin:0 0 .25rem; color:var(--ink); font-family:Georgia,"Times New Roman",serif; font-size:1.2rem; }
.cart-summary { padding:1.5rem 0; font-size:1.15rem; }
.checkout-form,.checkout-summary,.auth-card,.empty-state,.info-card { border-color:var(--line); border-radius:18px; box-shadow:0 12px 34px rgba(47,36,30,.05); }
.checkout-summary { border-left:1px solid var(--line); background:var(--sand); }
.site-footer { border-color:var(--line); background:var(--sand); padding:2rem 0; }
.footer-shell strong { color:var(--ink); }
.contact-footer-link { display:inline-flex; align-items:center; gap:.55rem; margin:0 auto; color:var(--clay-dark); font-size:.9rem; text-decoration:none; }
.contact-footer-link span { color:#766c64; }
.contact-footer-link strong { display:inline-flex; align-items:center; min-height:38px; padding:0 .9rem; border:1px solid var(--clay); border-radius:999px; color:var(--clay-dark); transition:.2s; }
.contact-footer-link:hover strong { background:var(--clay); color:#fff; }
@media (max-width:1024px) { .header-main { grid-template-columns:1fr auto; } .primary-nav { grid-column:1 / -1; grid-row:2; justify-content:flex-start; } .header-actions { justify-content:flex-end; } .search-bar { width:100%; max-width:none; } .product-detail__media { position:static; } }
@media (max-width:760px) { .page-width { padding-right:16px; padding-left:16px; } .announcement-bar { font-size:.62rem; letter-spacing:.05em; } .header-shell { padding-top:.75rem; } .header-main { gap:.8rem; } .brand-logo { width:105px; height:84px; transform:scale(1.35); } .primary-nav { gap:1rem; overflow-x:auto; padding-bottom:.2rem; } .header-actions { gap:.8rem; font-size:.79rem; } .header-actions a:first-child { max-width:78px; overflow:hidden; text-overflow:ellipsis; } .search-bar { margin-top:.75rem; } .page-shell { padding-top:1.5rem; padding-bottom:3rem; } .hero-carousel { margin-bottom:2.5rem; } .carousel-track { min-height:0; border-radius:18px; } .carousel-slide { grid-template-columns:1fr; } .carousel-slide img { order:0; height:min(112vw,460px); } .slide-copy { order:1; padding:1.7rem; } .slide-copy h1 { font-size:clamp(2.25rem,11vw,3.3rem); } .brand-promise { margin-bottom:3rem; border-radius:14px; } .section-block { margin-top:2.7rem; } .section-heading { align-items:flex-start; } .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:.9rem; } .product-card__body { padding-top:.85rem; } .product-card h3 { font-size:1.08rem; } .product-card p { display:none; } .product-card__footer { align-items:flex-start; flex-direction:column; gap:.6rem; } .product-card__footer button { width:100%; } .editorial-banner { margin-top:3rem; border-radius:18px; } .cart-row { grid-template-columns:78px 1fr; gap:.8rem; } .cart-row img { width:78px; height:94px; } .cart-row > strong,.cart-row > input,.cart-row > button { grid-column:2; width:100%; } .cart-actions { width:100%; } .cart-actions > * { width:100%; text-align:center; } .site-footer .footer-shell { display:grid; gap:1rem; text-align:center; } .contact-footer-link { justify-content:center; flex-wrap:wrap; } }
@media (max-width:420px) { .header-actions a:not(.cart-link) { display:none; } .header-main { grid-template-columns:1fr auto; } .product-grid { gap:.7rem; } .product-card h3 { font-size:1rem; } .product-card__footer strong { font-size:.95rem; } .product-card__footer button { padding-right:.6rem; padding-left:.6rem; font-size:.76rem; } .slide-actions .button-gold { width:100%; text-align:center; } }

/* Administración: estructura consistente para tablas y mensajes. */
.orders { max-width: 1340px; margin: 0 auto; }
.orders .orders-head { padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.orders .tablewrap { margin-top: 1.25rem; border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.orders .table { min-width: 1120px; table-layout: fixed; }
.orders .table th,
.orders .table td { padding: 1.15rem .9rem !important; border-bottom-color: var(--line) !important; }
.orders .table th { background: #fcfaf8; color: var(--clay-dark) !important; white-space: nowrap; }
.orders .table th:nth-child(1), .orders .table td:nth-child(1) { width: 20%; }
.orders .table th:nth-child(2), .orders .table td:nth-child(2) { width: 21%; }
.orders .table th:nth-child(3), .orders .table td:nth-child(3) { width: 17%; }
.orders .table th:nth-child(4), .orders .table td:nth-child(4) { width: 13%; }
.orders .table th:nth-child(5), .orders .table td:nth-child(5) { width: 11%; }
.orders .table th:nth-child(6), .orders .table td:nth-child(6) { width: 18%; }
.orders .table th:last-child::before { content: "Acciones"; }
.orders .table td strong { display: inline-block; overflow-wrap: anywhere; }
.orders .table td .muted { display: inline-block; margin-top: .3rem; line-height: 1.55; overflow-wrap: anywhere; }
.orders .badge { margin-top: .35rem; white-space: nowrap; }
.orders .small { min-height: 38px; margin: 0 0 .45rem; }
.orders .table form:last-child .small { margin-bottom: 0; }
.orders .table td:last-child:empty::before { content: "Sin acciones pendientes"; color: #8d8178; font-size: .8rem; font-style: italic; }
@media (max-width: 760px) { .orders { padding: 1rem !important; } .orders .orders-head { align-items: flex-start; flex-direction: column; } .orders .orders-head .button-gold { width: 100%; text-align: center; } .orders .tablewrap { border-radius: 10px; } }

/* Escala de marca consistente: el logo siempre conserva presencia frente a los botones. */
.site-header .brand-logo { width: 165px; height: 124px; transform: scale(1.55); }
.auth-card > a:first-child { display: inline-flex; align-items: center; min-height: 116px; }
.auth-card .brand-logo { width: 180px; height: 112px; max-width: none; object-fit: contain; transform: scale(1.35); transform-origin: left center; }
body .account-brand { min-height: 96px; }
body .account-brand img { width: 180px !important; height: 112px !important; max-width: none; object-fit: contain; transform: scale(1.35); transform-origin: left center; }
body .account-brand span { display: none; }
@media (max-width:760px) { .site-header .brand-logo { width: 132px; height: 96px; transform: scale(1.32); } .auth-card .brand-logo { width: 160px; height: 100px; transform: scale(1.25); } body .account-brand { min-height: 82px; } body .account-brand img { width: 150px !important; height: 92px !important; transform: scale(1.22); } }

/* Mobile hardening: avoid horizontal overflow and keep the key buying actions visible. */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header .header-shell {
    padding-top: .7rem;
    padding-bottom: .8rem;
  }

  .site-header .header-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .7rem 1rem;
  }

  .site-header .brand-link {
    flex: 0 1 auto;
    min-width: 0;
  }

  .site-header .brand-logo {
    width: 142px;
    height: 58px;
    max-width: 100%;
    transform: none;
    transform-origin: center;
  }

  .site-header .header-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: end;
    flex: 0 0 auto;
    margin-left: auto;
    min-width: 0;
    max-width: calc(100vw - 170px);
    gap: .3rem;
    white-space: nowrap;
  }

  .site-header .header-actions > a:first-child {
    grid-row: 1;
  }

  .site-header .header-actions .cart-link {
    grid-row: 2;
  }

  /* En móvil, priorizar siempre el acceso a la cuenta sobre la instalación PWA. */
  .site-header .pwa-install {
    display: none !important;
  }

  .pwa-install-footer {
    display:grid;
    justify-items:center;
    gap:.65rem;
    margin:1.4rem 0 1.15rem;
    padding:1.1rem 0;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    color:var(--clay-dark);
    font-size:.82rem;
    font-weight:650;
    text-align:center;
  }

  .pwa-install-footer .pwa-install {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding-right:1.15rem;
    padding-left:1.15rem;
  }

  .site-header .primary-nav {
    order: 3;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    gap: 1.25rem;
    padding: .35rem 0 0;
    overflow: visible;
  }

  .site-header .search-bar {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    margin-top: .8rem;
  }

  .site-header .search-bar input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .site-header .search-bar button {
    flex: 0 0 auto;
    margin: 3px;
    padding-right: .95rem;
    padding-left: .95rem;
  }

  .hero-carousel [data-slide] {
    position: absolute;
    inset: 0;
  }

  .hero-carousel [data-slide].is-active {
    position: relative;
  }

  .hero-carousel .carousel-slide img {
    width: 100%;
    height: min(112vw, 460px);
  }

  .slide-copy,
  .product-card__body,
  .auth-card,
  .checkout-form,
  .empty-state,
  .info-card {
    min-width: 0;
  }

  .cart-row > form {
    grid-column: 2;
    display: flex;
    gap: .55rem;
    min-width: 0;
  }

  .cart-row > form input {
    flex: 1 1 auto;
    min-width: 0;
  }

  .cart-row > form button {
    flex: 0 0 auto;
    min-height: 40px;
  }

  .cart-total {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
  }

  .cart-total .button-gold,
  .detail-buy .button-gold,
  .auth-card > form > .button-gold,
  .auth-card > form > button {
    width: 100%;
    text-align: center;
  }

  .admin-sidebar {
    padding: 18px 16px;
  }

  .admin-sidebar__footer {
    display: none;
  }

  .admin-content {
    padding: 20px 14px 32px;
  }

  .admin-heading,
  .payment-card,
  .table-actions,
  .status-form,
  .inline-form {
    align-items: stretch;
  }

  .payment-card,
  .table-actions,
  .status-form,
  .inline-form {
    flex-direction: column;
  }

  .admin-primary-button,
  .admin-heading .button-gold,
  .table-actions > *,
  .status-form > *,
  .inline-form > * {
    width: 100%;
  }

  .admin-table-wrap,
  .orders .tablewrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 420px) {
  .site-header .brand-logo {
    width: 126px;
    height: 52px;
  }

  .site-header .header-actions {
    max-width: calc(100vw - 150px);
    gap: .45rem;
  }

  /* Mantener el acceso a la cuenta disponible en pantallas angostas. */
  .site-header .header-actions a:not(.cart-link) {
    display: inline-flex;
  }

  .site-header .cart-link {
    font-size: .78rem;
  }

  .site-header .search-bar button {
    padding-right: .75rem;
    padding-left: .75rem;
    font-size: .8rem;
  }
}

.product-gallery-thumbs { display:flex; gap:.65rem; margin-top:.8rem; overflow-x:auto; padding-bottom:.2rem; }
.product-gallery-thumbs button { flex:0 0 74px; padding:0; border:2px solid transparent; border-radius:10px; background:transparent; cursor:pointer; overflow:hidden; }
.product-gallery-thumbs button.is-active { border-color:var(--clay); }
.product-gallery-thumbs img { width:70px; height:84px; object-fit:cover; }
.shipping-notice { margin-top:18px; padding:16px 18px; border:1px solid var(--line); border-left:4px solid var(--clay); border-radius:10px; background:#fffdfa; color:var(--ink); }.shipping-notice strong { display:block; margin-bottom:5px; font-size:.92rem; }.shipping-notice p { margin:0; color:var(--muted); font-size:.9rem; line-height:1.55; }

/* Secuencia de carga y transiciones editoriales (TEST/LOCAL). */
.site-loader { position:fixed; z-index:9999; inset:0; display:grid; place-items:center; overflow:hidden; background:#b79b78 url('/assets/images/local-editorial-loader.png') center center / cover no-repeat; color:#fff; transition:clip-path 1.15s cubic-bezier(.76,0,.24,1),visibility 0s linear 1.15s; }
.site-loader::before { position:absolute; inset:0; background:linear-gradient(90deg,rgba(21,29,24,.74) 0%,rgba(21,29,24,.46) 32%,rgba(21,29,24,.04) 64%,rgba(21,29,24,.1)); content:""; }
.site-loader::after { position:absolute; top:21%; right:39%; width:15px; height:15px; border:2px solid #e8c889; border-radius:50%; box-shadow:40px 72px 0 -2px #e8c889,-42px 128px 0 -3px #e8c889,80px 182px 0 -4px #e8c889; content:""; animation:loader-jewels 3.2s ease-in-out infinite; }
.site-loader__content { position:relative; z-index:1; display:grid; justify-items:start; width:min(90vw,520px); margin-right:auto; margin-left:clamp(1.5rem,9vw,11rem); gap:1.2rem; text-align:left; }
.site-loader__mark { width:185px; height:88px; object-fit:contain; filter:brightness(0) invert(1); opacity:0; transform:translateY(24px); animation:loader-rise .9s .22s cubic-bezier(.22,1,.36,1) forwards; }
.site-loader__line { width:0; height:1px; background:#e8c889; animation:loader-line 1.1s .7s cubic-bezier(.76,0,.24,1) forwards; }
.site-loader__label { margin:0; color:#fff; font:600 .67rem "Segoe UI",Arial,sans-serif; letter-spacing:.24em; opacity:0; text-shadow:0 1px 12px rgba(0,0,0,.25); text-transform:uppercase; animation:loader-rise .8s .92s cubic-bezier(.22,1,.36,1) forwards; }
.site-loader.is-leaving { clip-path:inset(0 0 100% 0); visibility:hidden; }
body.page-is-loading { overflow:hidden; }
body.page-is-loading .site-header,body.page-is-loading .page-shell,body.page-is-loading .site-footer { opacity:0; transform:translateY(14px); }
body.page-is-ready .site-header,body.page-is-ready .page-shell,body.page-is-ready .site-footer { opacity:1; transform:translateY(0); transition:opacity .7s ease,transform .9s cubic-bezier(.22,1,.36,1); }
@keyframes loader-orbit { to { transform:rotate(360deg); } }
@keyframes loader-jewels { 0%,100% { transform:translate3d(0,0,0) rotate(0); } 50% { transform:translate3d(-7px,18px,0) rotate(18deg); } }
@keyframes loader-rise { to { opacity:1; transform:translateY(0); } }
@keyframes loader-line { to { width:74px; } }
@media (prefers-reduced-motion:reduce) { .site-loader { display:none; } body.page-is-loading { overflow:auto; } }
@media (max-width:760px) { .site-loader { background-position:63% center; } .site-loader::before { background:linear-gradient(90deg,rgba(21,29,24,.72),rgba(21,29,24,.16)); } .site-loader::after { right:22%; } .site-loader__content { align-self:end; margin:0 1.5rem 15vh; } }

/* El carrusel móvil renderiza una única diapositiva visible para evitar colapsos por posicionamiento. */
@media (max-width:760px) {
  .hero-carousel .carousel-track { min-height:min(135vw,560px); }
  .hero-carousel [data-slide] { display:none; position:relative; inset:auto; opacity:1; pointer-events:none; }
  .hero-carousel [data-slide].is-active { display:grid; pointer-events:auto; }
  .hero-carousel .carousel-slide img { width:100%; height:min(112vw,460px); }
}

/* Logo oficial provisto por la marca: PNG transparente, sin alterar los fondos de cada contenedor. */
.site-header .brand-link { width:210px; height:108px; background:transparent url('/assets/images/logo-las-bidart-by-zr-transparent.png') center / contain no-repeat; }
.site-header .brand-link .brand-logo { visibility:hidden; width:100%; height:100%; transform:none; }
.auth-card > a:first-child { width:230px; min-height:128px; background:transparent url('/assets/images/logo-las-bidart-by-zr-transparent.png') center / contain no-repeat; }
.auth-card > a:first-child .brand-logo { visibility:hidden; width:100%; height:100%; transform:none; }
body .account-brand { width:190px; min-height:102px; background:transparent url('/assets/images/logo-las-bidart-by-zr-transparent.png') center / contain no-repeat; }
body .account-brand img { visibility:hidden; width:100% !important; height:100% !important; transform:none !important; }
.site-loader__content { padding:1rem 1.3rem; background:transparent; }
.site-loader__mark { filter:none; }
.site-loader__label { color:#fff; text-shadow:0 1px 12px rgba(0,0,0,.25); }
@media (max-width:760px) { .site-header .brand-link { width:155px; height:78px; } .auth-card > a:first-child { width:205px; min-height:114px; } body .account-brand { width:155px; min-height:82px; } }

/* Sistema de movimiento TEST: solo opacidad y transform para una animación fluida. */
@media (prefers-reduced-motion:no-preference) {
  .hero-carousel .carousel-slide { overflow:hidden; transform:translateZ(0); }
  .hero-carousel .carousel-slide img { backface-visibility:hidden; transform:translateZ(0) scale(1.025); will-change:transform; }
  .hero-carousel .carousel-slide.is-active img { animation:hero-image-settle .62s cubic-bezier(.16,1,.3,1) both; }
  .hero-carousel .carousel-slide .slide-copy { will-change:opacity,transform; }
  .hero-carousel .carousel-slide.is-active .slide-copy { animation:hero-copy-settle .46s .06s cubic-bezier(.16,1,.3,1) both; }
  .hero-carousel .carousel-dot { transition:transform .2s ease,background-color .2s ease; }
  .hero-carousel .carousel-dot.is-active { transform:scale(1.2); }
  .product-card { overflow:hidden; transform:translateZ(0); transition:transform .16s ease,box-shadow .16s ease; }
  .product-card img { backface-visibility:hidden; transition:transform .2s ease; }
  .button-gold,.slide-actions .button-gold { transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease; }
}
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  .product-card:hover { box-shadow:0 8px 18px rgba(41,29,20,.1); transform:translate3d(0,-2px,0); }
  .product-card:hover img { transform:scale(1.015); }
  .button-gold:hover,.slide-actions .button-gold:hover { box-shadow:0 7px 16px rgba(123,76,48,.18); transform:translate3d(0,-2px,0); }
}
@keyframes hero-image-settle { from { transform:translate3d(0,0,0) scale(1.065); } to { transform:translate3d(0,0,0) scale(1); } }
@keyframes hero-copy-settle { from { opacity:0; transform:translate3d(0,12px,0); } to { opacity:1; transform:translate3d(0,0,0); } }
.collection-nav { gap:.55rem; padding:0 0 .25rem; }
.collection-nav a { padding:.58rem 1rem; border-color:rgba(36,29,25,.13); background:rgba(255,255,255,.46); font-size:.76rem; letter-spacing:.07em; text-transform:uppercase; }
.collection-nav a:hover,.collection-nav a.is-active { background:var(--ink); border-color:var(--ink); }
.product-grid { gap:clamp(1.1rem,1.8vw,1.7rem); }
.product-card { border-radius:0; background:transparent; }
.product-card > a { border-radius:12px; background:#f0ede8; }
.product-card__body { padding:1rem .1rem .35rem; }
.product-card__category { font-size:.65rem; letter-spacing:.15em; }
.product-card h3 { margin:.38rem 0 .3rem; font-size:1.12rem; letter-spacing:-.025em; }
.product-card p { min-height:0; margin:0; font-size:.82rem; }
.product-card__footer { align-items:flex-end; margin-top:.8rem; }
.product-card__footer strong { font-size:1rem; letter-spacing:.01em; }
.product-card__footer button { min-height:34px; padding:.38rem .7rem; border-color:transparent; background:var(--ink); font-size:.72rem; }
.product-card__footer button:hover { background:var(--clay-dark); }
.product-detail__media { border-radius:16px; overflow:hidden; background:#f0ede8; }
.product-gallery-thumbs { gap:.5rem; margin-top:.65rem; }
.product-gallery-thumbs button { border-radius:7px; transition:border-color .16s ease,transform .16s ease; }
.product-gallery-thumbs button:hover { transform:translateY(-2px); }
@media (min-width:1180px) { .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
.product-detail__media > img { transition:opacity .18s ease,transform .18s ease; }
.product-detail__media > img.is-changing { opacity:.35; transform:scale(.992); }
