@charset "UTF-8";
/* DANUS: base, navegación, catálogo, carrito, pedido y adaptación móvil. */
:root {
  --navy: #583b49;
  --pink: #a73765;
  --soft: #fcecf2;
  --paper: #fff9f8;
  --muted: #715b67;
  --line: #eedce5;
  --green: #176644;
  --radius: 18px;
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--paper);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background-color: #fffaf7;
  background-image: var(--brand-background, none);
  background-size: 620px auto;
  background-repeat: repeat;
  background-position: center top;
}
[hidden] { display: none !important; }
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
button,
input,
select,
textarea {
  min-height: 44px;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
svg {
  flex-shrink: 0;
}
img {
  display: block;
  max-width: 100%;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-header {
  background: white;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  max-width: 1280px;
  margin: auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  color: var(--pink);
  font-family: Georgia, serif;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 30px;
  text-decoration: none;
  line-height: 1;
}
.brand span {
  display: block;
  font-family: Arial, sans-serif;
  letter-spacing: 5px;
  font-size: 12px;
  text-align: center;
  color: var(--navy);
  margin-top: 6px;
}
.header-inner nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}
.header-inner nav a {
  text-decoration: none;
  padding: 8px 0;
}
.header-inner nav a:hover {
  color: var(--pink);
}
.cart-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
}
.cart-button span {
  background: white;
  color: var(--navy);
  min-width: 22px;
  border-radius: 50%;
  padding: 3px;
  font-size: 12px;
  text-align: center;
}
.main {
  max-width: 1280px;
  margin: auto;
  padding: 32px 28px 60px;
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 10px;
}
h1 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -1px;
  line-height: 1.14;
  margin-bottom: 10px;
}
.intro p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.wholesale-note {
  background: var(--navy);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  min-width: 235px;
}
.wholesale-note strong {
  font-size: 17px;
  display: block;
}
.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 22px;
  min-height: 32px;
}
.status button {
  color: var(--navy);
  background: transparent;
  text-decoration: underline;
  min-height: 32px;
  padding: 0 2px;
}
.error-panel,
.empty-state {
  padding: 32px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  text-align: center;
  line-height: 1.6;
}
.error-panel {
  border-color: #e9bccd;
}
.error-panel h2,
.empty-state h2 {
  font-size: 22px;
}
.error-panel p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 18px;
}
.section-heading h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  margin: 0;
}
.section-heading a {
  font-size: 14px;
  color: var(--pink);
  font-weight: 600;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 3px 12px #14294204;
  transition: box-shadow 0.2s;
}
.product-card:hover {
  box-shadow: 0 7px 24px #14294213;
}
.photo-link {
  position: relative;
  display: block;
  aspect-ratio: 1;
  background: #f0f2f5;
  overflow: hidden;
  text-decoration: none;
}
.photo-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}
.photo-link:hover img {
  transform: scale(1.025);
}
.no-photo {
  height: 100%;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  background: #eff2f6;
  padding: 20px;
}
.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--pink);
  color: white;
  border-radius: 5px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 700;
  z-index: 2;
}
.product-body {
  padding: 16px;
}
.product-code {
  font-size: 12px;
  letter-spacing: 0.7px;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.product-body h3 {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 600;
  margin-bottom: 6px;
  min-height: 46px;
}
.fabric {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  text-transform: capitalize;
}
.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 16px;
}
.price {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.price-row small {
  font-size: 12px;
  color: var(--muted);
}
.select-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.select-row label {
  font-size: 14px;
  white-space: nowrap;
}
.select-row select {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 7px 10px;
  width: 100%;
  min-width: 0;
  font-size: 14px;
}
.size-label {
  font-size: 14px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.size-label span {
  font-size: 12px;
  color: var(--muted);
}
.size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.size-button {
  border: 1px solid var(--line);
  background: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  min-width: 38px;
  min-height: 38px;
  color: var(--navy);
}
.size-button[aria-pressed='true'] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}
.size-button:disabled {
  opacity: 0.32;
  text-decoration: line-through;
  background: #e7eaf0;
}
.stock-line {
  color: var(--muted);
  font-size: 13px;
  min-height: 19px;
  margin-bottom: 14px;
}
.stock-line.low {
  color: var(--pink);
  font-weight: 700;
}
.card-actions {
  display: flex;
  gap: 8px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--pink);
  color: white;
  padding: 12px 18px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}
.primary:hover {
  background: #a92860;
}
.primary:disabled {
  opacity: 0.4;
}
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  border-radius: 7px;
  padding: 10px 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.secondary:hover {
  background: var(--paper);
}
.card-actions .primary {
  flex: 1;
  padding: 10px 12px;
}
.card-actions .secondary {
  padding: 10px;
}
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.category-links a {
  border: 1px solid var(--line);
  background: white;
  padding: 10px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
}
.category-links a:hover {
  border-color: var(--pink);
  color: var(--pink);
}
.genre-section {
  margin-top: 42px;
}
.genre-section .catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.genre-section .product-body {
  padding: 13px;
}
.genre-section .price-row small {
  display: none;
}
.genre-section .product-body h3 {
  font-size: 15px;
}
.genre-section .size-button {
  padding: 6px;
  min-width: 32px;
}
.filter-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 24px;
}
.filters {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  height: max-content;
  position: sticky;
  top: 100px;
}
.filters h2 {
  font-size: 18px;
  margin-bottom: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 10px;
  width: 100%;
  color: var(--navy);
}
.field textarea {
  resize: vertical;
}
.price-filters {
  display: flex;
  gap: 8px;
}
.price-filters input {
  min-width: 0;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 20px;
}
.check-field input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--pink);
}
.filters .secondary {
  width: 100%;
}
.results-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}
.filter-layout .catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dialog {
  border: 0;
  border-radius: 14px;
  width: calc(100% - 28px);
  max-width: 660px;
  padding: 0;
  color: var(--navy);
  background: white;
  max-height: 88dvh;
  box-shadow: 0 20px 80px #14294255;
}
.dialog::backdrop {
  background: #13233688;
}
.dialog-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 2;
  background: white;
}
.dialog-head h2 {
  font-size: 22px;
  margin: 0;
}
.icon-button {
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  min-width: 44px;
  border-radius: 8px;
}
.dialog-body {
  padding: 22px 24px;
}
.cart-empty {
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
}
.cart-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 8px;
}
.cart-line .line-name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 5px;
}
.cart-line p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}
.cart-line .line-total {
  font-size: 16px;
  font-weight: 700;
}
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.quantity button {
  background: var(--paper);
  color: var(--navy);
  min-width: 38px;
  min-height: 36px;
  font-size: 20px;
}
.quantity button:disabled {
  opacity: 0.3;
}
.quantity span {
  min-width: 34px;
  text-align: center;
  font-size: 14px;
}
.remove {
  font-size: 13px;
  background: white;
  color: var(--pink);
  text-decoration: underline;
  margin-left: 8px;
  padding: 6px;
  min-height: 32px;
}
.cart-options {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.cart-options select {
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px;
  min-height: 34px;
  max-width: 120px;
}
.pricing-callout {
  background: var(--soft);
  border: 1px solid #f1c6d8;
  color: #8c2552;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin: 18px 0;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 22px 0;
  font-size: 18px;
}
.cart-total strong {
  font-size: 28px;
}
.full-width {
  width: 100%;
}
.tiny-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 12px 0 0;
}
.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.whatsapp {
  background: var(--green);
  color: white;
}
.whatsapp:hover {
  background: #115136;
}
.order-text {
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.65;
  background: var(--paper);
  padding: 18px;
  border-radius: 8px;
  max-height: 260px;
  overflow: auto;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: white;
  padding: 14px 22px;
  border-radius: 9px;
  z-index: 90;
  font-size: 14px;
  max-width: calc(100% - 32px);
  box-shadow: 0 6px 24px #14294244;
  pointer-events: none;
}
.footer {
  border-top: 1px solid var(--line);
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  background: white;
}
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}
.detail-photo {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}
.detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.thumbnail {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
  width: 76px;
  height: 76px;
  background: white;
}
.thumbnail[aria-pressed='true'] {
  border-color: var(--pink);
}
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-body {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.detail-body h1 {
  font-size: 28px;
  line-height: 1.35;
}
.detail-body .price {
  font-size: 32px;
}
.detail-body .size-button {
  min-height: 44px;
  min-width: 44px;
}
.detail-body .size-list {
  gap: 9px;
}
.detail-body .stock-line {
  font-size: 15px;
  margin: 20px 0;
}
.detail-body .card-actions .primary {
  min-height: 48px;
}
.order-summary {
  max-width: 780px;
  margin: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.order-summary h1 {
  font-size: 30px;
}
.order-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.order-table th,
.order-table td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 14px 8px;
  vertical-align: top;
}
.order-table th {
  color: var(--muted);
  font-size: 12px;
}
.order-table td:last-child {
  text-align: right;
}
.order-table td p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 0;
}
.order-scroll {
  overflow: auto;
}
.loading {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}
.loading::before {
  content: '';
  display: block;
  width: 26px;
  height: 26px;
  border: 3px solid var(--line);
  border-top-color: var(--pink);
  border-radius: 50%;
  margin: 0 auto 16px;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .genre-section .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .filter-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .header-inner {
    padding: 14px 18px;
    gap: 12px;
  }
  .brand {
    font-size: 25px;
  }
  .brand span {
    font-size: 11px;
    letter-spacing: 4px;
  }
  .header-inner nav {
    gap: 15px;
    font-size: 14px;
  }
  .header-inner nav a:last-child {
    display: none;
  }
  .cart-button {
    padding: 9px 11px;
    font-size: 14px;
  }
  .cart-button svg {
    display: none;
  }
  .main {
    padding: 24px 18px 40px;
  }
  .intro {
    display: block;
  }
  .wholesale-note {
    margin-top: 20px;
    display: inline-block;
    min-width: 0;
  }
  .status {
    align-items: flex-start;
  }
  .catalog-grid,
  .genre-section .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .filter-layout {
    display: block;
  }
  .filters {
    position: static;
    margin-bottom: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    padding: 18px;
  }
  .filters h2 {
    grid-column: 1/-1;
  }
  .filters .field {
    margin-bottom: 14px;
  }
  .filters .search-field {
    grid-column: 1/-1;
  }
  .check-field {
    margin-bottom: 10px;
  }
  .filter-layout .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-body {
    padding: 13px;
  }
  .product-body h3 {
    font-size: 15px;
  }
  .price-row {
    display: block;
    margin-bottom: 14px;
  }
  .price-row small {
    display: block;
    margin-top: 5px;
  }
  .price {
    font-size: 22px;
  }
  .card-actions {
    flex-wrap: wrap;
  }
  .card-actions .primary {
    width: 100%;
    flex: auto;
  }
  .card-actions .secondary {
    width: 100%;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .detail-body {
    padding: 22px;
  }
  .detail-body .card-actions {
    flex-wrap: nowrap;
  }
  .detail-body .card-actions .primary {
    width: auto;
  }
  .dialog-head,
  .dialog-body {
    padding-left: 18px;
    padding-right: 18px;
  }
  .cart-line {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
  }
  .cart-line img {
    width: 60px;
    height: 60px;
  }
  .cart-line .line-total {
    grid-column: 2;
  }
  .cart-options {
    flex-wrap: wrap;
  }
  .order-summary {
    padding: 20px;
  }
  .order-table {
    min-width: 440px;
  }
  .intro h1 {
    font-size: 31px;
  }
  .size-button {
    padding: 6px 8px;
  }
  .genre-section .price-row small {
    display: block;
  }
}
@media (max-width: 390px) {
  .header-inner nav {
    gap: 10px;
    font-size: 13px;
  }
  .cart-button {
    font-size: 13px;
    padding: 9px;
  }
  .main {
    padding-left: 12px;
    padding-right: 12px;
  }
  .catalog-grid {
    gap: 10px;
  }
  .product-body {
    padding: 11px;
  }
  .size-label span {
    display: none;
  }
  .brand {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .footer,
  .order-actions,
  .status {
    display: none;
  }
  .main {
    padding: 0;
  }
  .order-summary {
    border: 0;
  }
  .order-scroll {
    overflow: visible;
  }
}

/* Lupa: acceso desde tarjetas y detalle, visor con zoom y gestos. */
.photo-area {
  position: relative;
}
.zoom-trigger {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--navy);
  box-shadow: 0 2px 10px #14294222;
  font-size: 14px;
}
.zoom-trigger:hover {
  color: var(--pink);
  border-color: var(--pink);
}
.zoom-dialog {
  width: min(1100px, calc(100% - 24px));
  max-width: none;
  height: min(920px, 94dvh);
  max-height: 94dvh;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--navy);
  overflow: hidden;
}
.zoom-dialog[open] {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.zoom-dialog::backdrop {
  background: #091423d9;
}
.zoom-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.zoom-toolbar h2 {
  font-size: 18px;
  margin: 0;
  overflow-wrap: anywhere;
}
.zoom-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.zoom-controls button,
.zoom-footer button {
  min-width: 44px;
  min-height: 44px;
  background: var(--paper);
  color: var(--navy);
  border-radius: 6px;
  padding: 8px 12px;
}
.zoom-controls button:disabled,
.zoom-footer button:disabled {
  opacity: 0.4;
}
.zoom-controls output {
  font-size: 14px;
  min-width: 46px;
  text-align: center;
}
.zoom-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--paper);
  border-radius: 8px;
  touch-action: none;
  user-select: none;
}
.zoom-stage.is-zoomed {
  cursor: grab;
}
.zoom-stage.is-zoomed:active {
  cursor: grabbing;
}
.zoom-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
  object-fit: contain;
  transform-origin: center;
  will-change: transform;
  pointer-events: none;
}
.zoom-stage img[hidden] {
  display: none;
}
.zoom-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}
.zoom-help {
  margin: 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.order-product {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 220px;
}
.order-product img,
.order-product .no-photo {
  width: 64px;
  height: 72px;
  flex-shrink: 0;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.order-product .no-photo {
  font-size: 12px;
}
.order-actions {
  margin-top: 24px;
}
@media (max-width: 760px) {
  .zoom-trigger {
    right: 7px;
    bottom: 7px;
    padding: 8px;
  }
  .zoom-trigger span {
    display: none;
  }
  .zoom-dialog {
    padding: 12px;
    height: 94dvh;
  }
  .zoom-toolbar {
    gap: 8px;
  }
  .zoom-toolbar h2 {
    width: 100%;
    font-size: 16px;
  }
  .zoom-help {
    font-size: 13px;
  }
}
@media print {
  .zoom-trigger,
  .zoom-dialog {
    display: none !important;
  }
}

/* Comparación de precios dentro de cada línea del carrito. */
.cart-prices {
  display: grid;
  gap: 5px;
  margin: 8px 0 14px;
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--paper);
  font-size: 14px;
  line-height: 1.45;
}
.cart-prices > span {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
}
.cart-prices strong {
  white-space: nowrap;
}
.cart-prices .applied-price {
  color: var(--navy);
}
.cart-prices .line-saving {
  color: #8c2552;
  font-weight: 600;
  justify-content: flex-start;
}
.order-text {
  overflow-wrap: anywhere;
}

/* Carrusel manual: controles, desplazamiento táctil y puntos de ajuste. */
.catalog-carousel {
  margin-bottom: 42px;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
}
.carousel-controls > div {
  display: flex;
  gap: 8px;
}
.carousel-controls button {
  font-size: 14px;
}
.carousel-controls button:disabled {
  opacity: 0.4;
}
.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--navy) var(--line);
}
.carousel-track .product-card {
  scroll-snap-align: start;
  min-width: 0;
}
@media (max-width: 1100px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 48px) / 3);
  }
}
@media (max-width: 760px) {
  .carousel-track {
    grid-auto-columns: calc((100% - 14px) / 2);
    gap: 14px;
  }
  .cart-prices {
    padding: 9px;
  }
}

/* Identidad DANUS: rosa, crema y flores; el contenido conserva contraste. */
.site-header { background: #fffdfdf5; border-bottom: 1px solid #efd5df; }
.header-inner { padding-top: 9px; padding-bottom: 9px; }
.brand { display: flex; align-items: center; gap: 8px; font-family: Georgia, serif; letter-spacing: 0; }
.brand img { width: 96px; height: 96px; object-fit: contain; }
.brand small { color: var(--muted); font: 12px Arial, sans-serif; letter-spacing: .7px; max-width: 50px; line-height: 1.5; }
.brand #brand-text { font: 700 28px Georgia, serif; letter-spacing: 1px; color: var(--pink); }
.header-social-strip { background: #fcecf2; border-top: 1px solid #f3e2e9; padding: 3px 24px; }
.social-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.header-social-strip .social-links { max-width: 1224px; margin: auto; justify-content: flex-end; gap: 24px; }
.social-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy); background: #fff; text-decoration: none; font-size: 13px; font-weight: 600; }
.social-button:hover { border-color: var(--pink); color: var(--pink); }
.header-social-strip .social-button { border: 0; padding: 4px 0; min-height: 34px; background: transparent; font-size: 12px; }
.main { background: transparent; border-inline: 0; }
.intro { align-items: center; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.intro h1 { font-family: Georgia, serif; font-weight: 500; color: var(--navy); font-size: clamp(29px, 3.4vw, 43px); line-height: 1.15; }
.intro .eyebrow { color: var(--pink); }
.wholesale-note { background: #fce9f0; color: var(--pink); border: 1px solid #f0cad9; border-radius: 16px; }
.cart-button { background: var(--pink); border-radius: 999px; }
.primary, .secondary { border-radius: 999px; }
.primary:hover { background: #8e2854; }
.category-links a { background: #fff; }
.photo-link { background: #fff7fa; }
.product-card { box-shadow: 0 3px 14px #6b3d5009; }
.section-heading h2, .about-card h2, .contact-section h2, .store-card h3 { font-family: Georgia, serif; font-weight: 500; }
.catalog-downloads { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; margin: 0 0 24px; }
.catalog-downloads h2 { font: 500 22px Georgia, serif; margin: 0 0 6px; }
.catalog-downloads p { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }
.catalog-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.banner-carousel { margin-bottom: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; border-radius: 20px; }
.banner-stage { touch-action: pan-y; background: #fff; }
.banner-slide { margin: 0; }
.banner-slide img { width: 100%; height: auto; max-height: 500px; object-fit: contain; background: #fff; }
.banner-error { text-align: center; padding: 60px 20px; color: var(--muted); }
.banner-controls { display: flex; align-items: center; justify-content: center; gap: 14px; border-top: 1px solid var(--line); padding: 4px; }
.banner-arrow { min-width: 44px; background: transparent; color: var(--pink); font-size: 28px; border-radius: 50%; }
.banner-arrow:hover { background: var(--soft); }
.banner-dots { display: flex; }
.banner-dots button { min-width: 44px; display: grid; place-items: center; background: transparent; }
.banner-dots span { width: 8px; height: 8px; background: #d7b3c2; border-radius: 50%; }
.banner-dots [aria-pressed='true'] span { background: var(--pink); width: 24px; border-radius: 9px; }
.store-reference, .store-address { white-space: pre-line; }
.about-grid, .store-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.about-card, .store-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.about-card h2 { font-size: 28px; margin-bottom: 16px; }
.about-text, .store-reference { white-space: pre-line; line-height: 1.8; color: var(--muted); margin-bottom: 0; overflow-wrap: anywhere; }
.store-card h3 { font-size: 27px; margin-bottom: 16px; }
.store-icon { display: grid; place-items: center; background: #fce9f0; color: var(--pink); width: 46px; height: 46px; border-radius: 50%; font-size: 28px; margin-bottom: 18px; }
.store-address { font-weight: 600; line-height: 1.7; }
.store-reference { font-size: 14px; }
.store-hours { background: var(--soft); padding: 12px 15px; border-radius: 12px; margin-top: 20px; font-size: 14px; }
.store-hours strong { margin-right: 10px; }
.store-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.contact-section { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; margin-top: 26px; }
.contact-section .catalog-buttons { margin-top: 18px; }
.footer { background: #fffafbf5; border-top: 1px solid var(--line); padding: 30px 24px; text-align: center; color: var(--muted); line-height: 1.7; }
.footer strong { font: 500 22px Georgia, serif; color: var(--navy); }
.footer p { font-size: 13px; margin: 6px 0 15px; }
.footer .social-links { justify-content: center; margin-bottom: 20px; }
.footer > a { font-size: 13px; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .header-inner { gap: 12px; padding-inline: 20px; }
  .header-inner nav { gap: 15px; font-size: 14px; }
  .brand small { display: none; }
  .catalog-downloads { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto; padding: 5px 16px 10px; }
  .brand img { width: 78px; height: 78px; }
  .header-inner nav { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; width: 100%; gap: 10px; }
  .header-inner nav a { padding: 8px 0; }
  .header-inner .cart-button { grid-column: 2; grid-row: 1; }
  .header-social-strip { padding-inline: 12px; }
  .header-social-strip .social-links { justify-content: center; gap: 3px 14px; }
  .header-social-strip .social-button { font-size: 11px; }
  .header-social-strip .social-button svg { width: 15px; }
  .header-social-strip .social-button > span { display: none; }
  .main { padding: 20px 16px 42px; }
  .intro { padding: 22px 18px; }
  .wholesale-note { width: 100%; min-width: 0; }
  .catalog-downloads { padding: 20px 18px; }
  .catalog-buttons { width: 100%; }
  .catalog-buttons a { flex: 1 1 150px; font-size: 13px; padding: 11px 12px; }
  .banner-carousel { border-radius: 14px; }
  .banner-slide img { min-height: 120px; }
  .about-grid, .store-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-card, .store-card, .contact-section { padding: 23px; }
  .filters { top: 180px; }
}

/* Avisos de configuración visibles para revisar la versión privada. */
.source-warning { border: 1px solid #e4c6a3; background: #fff6e9; color: #744d1b; padding: 16px 20px; border-radius: 14px; line-height: 1.65; font-size: 14px; }

/* Historial reservado a la cuenta administradora. */
.history-access, .history-search, .history-heading, .history-state { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.history-access { margin: 24px 0; padding: 20px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.history-access p { margin: 0; flex: 1; min-width: 180px; }
.history-message { line-height: 1.6; overflow-wrap: anywhere; }
.history-search { align-items: end; margin-bottom: 16px; }
.history-search .field { flex: 1; min-width: 220px; margin: 0; }
.history-card { padding: 24px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.history-heading { justify-content: space-between; margin-bottom: 14px; }
.history-heading h2 { font-size: 19px; overflow-wrap: anywhere; }
.history-heading > strong { color: var(--pink); font-size: 22px; }
.history-state { margin-bottom: 14px; }
.history-state label { display: flex; align-items: center; gap: 8px; }
.history-state select { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.history-card summary { cursor: pointer; padding: 12px 0; }
.history-card td img { width: 72px; height: 90px; object-fit: contain; float: left; margin-right: 12px; }
.history-note { white-space: pre-line; line-height: 1.6; }
.history-page #history-more { margin-top: 8px; }
@media (max-width: 600px) {
  .history-card { padding: 18px; }
  .history-state { align-items: stretch; }
  .history-search button { flex: 1; }
}
