/* La portada mantiene el mismo lenguaje visual en escritorio y teléfono. */
:root {
  --ink: #143b2b;
  --forest: #143b2b;
  --deep: #0a2e21;
  --accent: #9dce78;
  --accent-soft: #e2efd9;
}

.announcement { background: #0a3022; }
.site-header { background: #f6faf3; }
.hero::after {
  background: linear-gradient(90deg, rgba(4, 35, 22, .82), rgba(5, 46, 28, .58) 43%, rgba(5, 40, 27, .16) 100%);
}
.hero-copy > p.hero-kicker { color: #bfe1ab; }
.hero-copy h1 span { color: #b7dc96; white-space: nowrap; font-size: clamp(38px, 3.8vw, 60px); }
.hero-actions .button-light { background: #a5d17d; color: #103722; }
.hero-actions .button-light:hover { background: #c0e4a0; }
.hero-project-link { border-color: #b9d9bd; }

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(28px, 4vw, 66px);
  min-height: 0;
  padding-top: 76px;
  padding-bottom: 76px;
}
.hero-content.shell { max-width: 1540px; }

.hero-copy { max-width: 540px; }
.hero-copy h1 { max-width: 540px; }
.hero-promos {
  width: 100%;
  border-color: #639575;
  background: rgba(8, 48, 32, .95);
  box-shadow: 0 26px 70px #0325168a;
}
.hero-promos-heading span { color: #b4dcac; }
.hero-promos-heading strong { color: #f4fff0; }
.promo-controls button { border-color: #92bd98; background: #12412e; color: #f3fff0; }
.promo-controls button:hover:not(:disabled) { background: #a5d17d; color: #103722; }
.promo-rail {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(4, 150px);
  grid-auto-columns: 100%;
  gap: 12px;
  scroll-padding-inline: 0;
}
.promo-card {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  min-width: 0;
  order: initial;
  border-color: #47785a;
  background: #174d36;
  color: #f4fff0;
}
.promo-card-image span { background: #a4d279; color: #123925; }
.promo-card-image { height: 150px; }
.promo-card-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  grid-template-areas: "category category" "title title" "prices button";
  align-content: center;
  column-gap: 14px;
  padding: 18px;
}
.promo-card-info > small { color: #b4d7b3; }
.promo-card-info > small { grid-area: category; }
.promo-card-info h2 { grid-area: title; min-height: 0; margin: 3px 0 12px; font-size: 20px; }
.promo-prices { grid-area: prices; min-height: 0; }
.promo-prices del { color: #a8c0ac; }
.promo-prices strong { color: #fff; font-size: 23px; }
.promo-prices span { color: #c0d8c2; }
.promo-card-info button { grid-area: button; align-self: end; width: 170px; min-height: 46px; margin-top: 0; background: #9dce78; color: #103722; font-size: 12px; }
.promo-card-info button:hover, .promo-card-info button.added-flash { background: #b9e29a; color: #103722; }
.promo-disclaimer { color: #c3d9c5; }
.payment-instructions{display:grid;gap:7px;padding:13px;border:1px solid #d6e3d9;border-radius:10px;background:#f7faf5;color:#24503e;font-size:12px}
.payment-instructions>span{display:flex;justify-content:space-between;gap:10px;overflow-wrap:anywhere}
.payment-instructions small{color:#6a8074}
.payment-instructions p{margin:6px 0 0;line-height:1.45}
.checkout-form label[hidden]{display:none!important}
.checkout-preview-footer .button:not(:disabled){cursor:pointer;opacity:1}
#order-result:not(:empty){padding:12px;border-radius:9px;background:#e6f5dc;color:#245b26;font-size:12px;line-height:1.5}
.promo-controls button:disabled { cursor: default; opacity: .4; }
.promo-rail:focus-visible { outline: 3px solid #b7d878; outline-offset: 4px; }
.promo-card, .product-card { position: relative; }
.promo-detail-link, .product-detail-link { position: absolute; inset: 0; z-index: 1; }
.promo-detail-link:focus-visible, .product-detail-link:focus-visible { outline: 3px solid #b7e589; outline-offset: -4px; border-radius: inherit; }
.promo-card-info button, .product-card .add-product { position: relative; z-index: 2; }
.promo-card:hover { border-color: #a9d68d; }
.promo-card:hover h2, .product-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .hero-content { display: flex; flex-direction: column; align-items: stretch; gap: 34px; padding-top: 66px; }
  .hero-copy { max-width: 680px; }
  .hero-copy h1 { max-width: 680px; }
  .promo-rail { display: flex; gap: 14px; }
  .promo-card { display: block; flex: 0 0 calc((100% - 14px) / 2); }
  .promo-card-image { height: 190px; }
  .promo-card-info { display: block; padding: 15px; }
  .promo-card-info h2 { min-height: 40px; font-size: 16px; }
  .promo-prices { min-height: 44px; }
  .promo-card-info button { width: 100%; margin-top: 10px; }
}

@media (max-width: 800px) {
  body { padding-bottom: 0; background: var(--cream); }
  .announcement { display: flex; justify-content: center; height: 25px; }
  .site-header {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 50;
    height: 70px;
    padding: 0 20px;
    background: #f6faf3;
  }
  .menu-toggle { display: block !important; order: 3; }
  .site-nav { display: none !important; top: 70px; }
  .site-nav.open { display: flex !important; }
  .quote-trigger { display: block !important; margin-left: auto; color: #fff; font-size: 11px; }
  .app-nav { display: none !important; }
  #promociones, #catalogo, #inicio, #galeria { scroll-margin-top: 70px; }

  .hero-content { gap: 30px; padding-top: 58px; padding-bottom: 44px; }
  .hero-promos { background: rgba(8, 48, 32, .95); border: 1px solid #639575; box-shadow: 0 18px 45px #03251670; }
  .promo-card { background: #174d36; border-color: #47785a; }
  .promo-card { flex-basis: calc((100% - 14px) / 2); border-radius: 11px; }
  .promo-card-image { height: 175px; }
  .promo-disclaimer { color: #c3d9c5; }
  .catalog-section { background: #fff; }
  .filter { background: #fff; border-color: #dfe4df; border-radius: 8px; }
  .filter.active { background: var(--ink); border-color: var(--ink); }
  .search-wrap input { background: #f8f9f6; }
  .product-card { border-radius: 11px; box-shadow: none; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 16px; }
  .hero-content { gap: 27px; padding-top: 42px; padding-bottom: 36px; }
  .hero-copy h1 { font-size: clamp(42px, 11vw, 58px); }
  .hero-promos { padding: 16px; }
  .promo-rail { gap: 12px; }
  .promo-card { flex-basis: calc(100% - 28px); }
  .promo-card-image { height: clamp(180px, 51vw, 240px); }
  .promo-card-info { padding: 14px; }
  .promo-card-info h2 { min-height: 0; }
  .promo-prices { min-height: 44px; }
  .promo-disclaimer { font-size: 10px; }
  .product-grid { gap: 12px; }
  .product-image { height: clamp(155px, 43vw, 210px); }
}

/* Ficha de producto: fotos, descripción y condiciones de compra. */
.product-detail-page { background: #f5f8f2; }
.detail-section { padding-top: 48px; padding-bottom: 96px; }
.detail-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; color: #66806d; font-size: 12px; font-weight: 700; }
.detail-breadcrumb a:hover { color: #174d36; text-decoration: underline; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(34px, 6vw, 90px); align-items: center; }
.detail-media { min-width: 0; }
.detail-visual { min-height: 540px; overflow: hidden; border-radius: 22px; background-color: #d8e3d4; background-repeat: no-repeat; }
.detail-visual.has-photo img { width: 100%; height: 540px; object-fit: cover; object-position: center; }
.detail-category { margin-bottom: 15px; color: #27734d; font-size: 11px; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }
.detail-copy h1 { margin: 0 0 24px; color: #143b2b; font-size: clamp(48px, 5vw, 74px); font-weight: 850; line-height: 1.02; letter-spacing: -.07em; }
.detail-lead { max-width: 560px; margin-bottom: 31px; color: #496455; font-size: 17px; line-height: 1.7; }
.detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 27px; padding: 18px 20px; border: 1px solid #c8debf; border-radius: 12px; background: #e8f2e1; }
.detail-price span { flex: 0 0 100%; color: #52735a; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.detail-price strong { color: #143b2b; font-size: 30px; }
.detail-price del { color: #819888; font-size: 17px; }
.detail-price small { color: #5f7562; font-size: 13px; }
.detail-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; }
.detail-actions .button { min-width: 215px; border: 0; background: #174d36; color: #fff; }
.detail-actions .button:hover { background: #246947; }
.detail-back { color: #185b3c; font-size: 13px; font-weight: 750; }
.detail-back:hover { text-decoration: underline; }
.detail-feedback { min-height: 24px; margin: 12px 0 0; color: #1d7447; font-size: 13px; font-weight: 750; }
.detail-feedback:empty { min-height: 0; margin: 0; }
.detail-more { padding: 68px 0; background: #e5f0df; }
.detail-more-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.detail-more h2, .detail-contact h2 { margin-bottom: 15px; color: #143b2b; font-size: clamp(35px, 4vw, 54px); font-weight: 850; letter-spacing: -.06em; }
.detail-more p:not(.detail-category), .detail-contact p:not(.detail-category) { max-width: 520px; color: #526d58; font-size: 15px; }
.detail-more ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.detail-more li { padding: 17px 20px 17px 46px; border: 1px solid #c7dec0; border-radius: 11px; background: #f7fbf4; color: #224d34; font-size: 14px; font-weight: 750; position: relative; }
.detail-more li::before { content: '✓'; position: absolute; left: 20px; color: #26794c; }
.detail-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 78px; padding-bottom: 85px; }
.detail-contact .button { flex: 0 0 auto; }
.detail-cart-link { display: inline-flex; align-items: center; }

@media (max-width: 800px) {
  .detail-section { padding-top: 28px; padding-bottom: 24px; }
  .detail-layout, .detail-more-inner { grid-template-columns: 1fr; gap: 30px; }
  .detail-visual { min-height: 420px; }
  .detail-visual.has-photo img { height: 420px; }
  .detail-copy h1 { font-size: clamp(44px, 9vw, 66px); }
  .detail-more { padding: 56px 0; }
  .detail-contact { align-items: flex-start; flex-direction: column; padding-top: 24px; padding-bottom: 65px; }
}

@media (max-width: 560px) {
  .detail-visual { min-height: 330px; }
  .detail-visual.has-photo img { height: 330px; }
  .detail-lead { font-size: 15px; }
  .detail-actions { align-items: stretch; flex-direction: column; }
  .detail-actions .button { width: 100%; }
  .detail-more li { font-size: 13px; }
}

/* Retrato de Viviana en la sección "Detrás de la tienda". */
.about-art { min-height: 0; aspect-ratio: 3 / 4; background: #183b2e; }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-art::after { display: block; inset: auto 0 0; width: 100%; height: 32%; border: 0; border-radius: 0; background: linear-gradient(transparent, rgba(5, 28, 20, .72)); }
.about-caption { z-index: 1; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.price-block del { color: #879b8b; font-size: 12px; }
.promo-empty { align-self: center; color: #eff8ed; font-size: 13px; font-weight: 700; }

@media (max-width: 800px) {
  .about-art { min-height: 0; }
}
.brand-logo{display:block;width:205px;height:auto;max-width:100%;border-radius:5px}.footer-brand .brand-logo{width:230px}@media(max-width:600px){.brand-logo{width:160px}}

/* Logo de portada sobre el banner verde. */
.hero-brand{display:block;width:min(100%,420px);margin:0 0 12px}
.hero-brand img{display:block;width:100%;height:auto}
.hero-copy>p.hero-brand-services{margin:0 0 26px;color:#e9e4c0;font-size:11px;font-weight:750;letter-spacing:.13em;line-height:1.7;text-transform:uppercase}
.header-banner-brand .site-nav{margin-right:auto}
@media(max-width:800px){.hero-brand{width:min(85%,360px)}.hero-copy>p.hero-brand-services{font-size:10px;letter-spacing:.09em;margin-bottom:22px}}

/* Fotos verticales del teléfono: encuadre uniforme que llena la tarjeta. */
.product-image{height:auto;aspect-ratio:3 / 4}
.product-image.has-photo{background-color:#f0eee7}
.product-image.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.product-info{padding-top:22px}
@media(max-width:800px){.product-info{padding-top:16px}}
.product-info p.product-measurements{min-height:0;margin:0 0 14px;font-size:11px;line-height:1.6;color:#526454}
.price-block small.unit-equivalent{display:block;margin-top:6px;font-size:11px;color:#38563f;font-weight:700}
.promo-card-info p.unit-equivalent{margin:4px 0 8px;font-size:12px;color:#f2ebd4}
.detail-measurements{margin:0 0 20px;color:#526454;font-size:14px;line-height:1.6}
.detail-sale-unit{margin:-12px 0 24px;color:#38563f;font-size:14px;font-weight:700}
.app-nav .nav-icon-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){
  .announcement{display:none!important}
  .site-header,.site-header .menu-toggle,.site-header .site-nav,.site-header .quote-trigger{display:none!important}
  html{scroll-padding-top:12px}
  #promociones,#catalogo,#inicio,#galeria{scroll-margin-top:12px}
  body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  .app-nav{display:grid!important;min-height:76px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e4ebe2;box-shadow:0 -4px 18px #10251f12}
  .app-nav a,.app-nav button{min-height:62px;gap:5px;padding:6px 2px;color:#526454;font-size:12px;font-weight:700;line-height:1.25}
  .app-nav a[aria-current="page"],.app-nav a:hover,.app-nav button:hover,.app-nav button[aria-pressed="true"]{background:#f1f4ee;color:#123d2e}
  .app-nav svg{width:23px;height:23px;flex-shrink:0}
  .app-nav b{top:2px;right:calc(50% - 23px);background:#e6ca80;color:#163e30}
  .app-nav span,.app-nav .nav-icon-label{position:static;display:block;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:nowrap;border:0;font-size:12px;line-height:1.25}
}

/* Promociones con gestos cortos y tarjetas de precio compacto. */
.hero-promos { min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
.hero-promos-heading { margin-bottom: 18px; text-shadow: 0 2px 12px #052318; }
.promo-carousel { position: relative; }
.promo-carousel .promo-controls { position: absolute; inset: 0 0 auto; z-index: 2; display: flex; align-items: center; justify-content: space-between; width: 100%; aspect-ratio: 3 / 2; pointer-events: none; }
.promo-controls[hidden] { display: none; }
.promo-carousel .promo-controls[hidden] { display: none; }
.promo-carousel .promo-controls button { display: grid; place-items: center; flex: 0 0 52px; width: 52px; height: 52px; padding: 0; border: 1px solid #ffffff75; border-radius: 17px; background: #153d2d9e; color: #fff; box-shadow: 0 6px 22px #041c2633, inset 0 1px 0 #ffffff30; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; pointer-events: auto; opacity: 1; transition: background .18s ease, box-shadow .18s ease; }
.promo-carousel .promo-prev { margin-left: -18px; }
.promo-carousel .promo-next { margin-right: -18px; }
.promo-carousel .promo-controls button:hover:not(:disabled) { background: #174d36e6; color: #fff; box-shadow: 0 8px 24px #041c2650, inset 0 1px 0 #ffffff30; }
.promo-carousel .promo-controls button:disabled { visibility: hidden; pointer-events: none; }
.promo-controls svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promo-controls button:focus-visible { outline: 3px solid #b7e589; outline-offset: 3px; }
.promo-rail {
  display: flex; width: 100%; gap: 16px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: 0;
  overscroll-behavior-x: contain; touch-action: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; cursor: grab;
}
.promo-rail::-webkit-scrollbar { display: none; }
.promo-rail img, .promo-detail-link { -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
.promo-rail.is-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.promo-card {
  display: flex; flex-direction: column; flex: 0 0 calc((100% - 16px) / 2);
  min-width: 0; border: 1px solid #47785a; border-radius: 16px;
  background: #174d36; scroll-snap-align: start; scroll-snap-stop: always;
}
.promo-card-image { flex-shrink: 0; height: auto; aspect-ratio: 3 / 4; }
.promo-card-image.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-card-info { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.promo-card-info > small { font-size: 11px; }
.promo-card-info h2 { min-height: 0; margin: 7px 0 16px; font-size: 20px; line-height: 1.25; }
.promo-prices { display: flex; flex-direction: column; align-items: stretch; gap: 4px; min-height: 0; margin-top: auto; }
.price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 7px; }
.promo-prices strong { font-size: 27px; line-height: 1.2; }
.promo-prices .price-line > span { width: auto; color: #d1e5d0; font-size: 13px; white-space: nowrap; }
.promo-prices del { font-size: 13px; }
.promo-card-info button { width: 100%; min-height: 46px; margin-top: 16px; padding: 0 14px; border-radius: 10px; font-size: 14px; }
.promo-card-info button span { font-size: 23px; }
.promo-navigation { display: flex; justify-content: flex-end; align-items: center; margin-top: 10px; color: #d1e5d0; font-size: 12px; line-height: 1.5; }
.promo-navigation[hidden] { display: none; }
.promo-position { flex-shrink: 0; font-variant-numeric: tabular-nums; }
.promo-dots { display: none; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e0e7df; border-radius: 16px; }
.product-info { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.product-category { font-size: 11px; color: #637768; }
.product-info h3 { min-height: 0; margin: 7px 0 8px; font-size: 18px; line-height: 1.25; }
.product-info p { min-height: 0; margin: 0 0 14px; color: #6b7b70; font-size: 13px; line-height: 1.5; }
.product-bottom { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-height: 0; margin-top: auto; padding-top: 14px; }
.price-block { gap: 5px; }
.price-block strong { font-size: 23px; line-height: 1.2; }
.price-block .price-line small { font-size: 12px; font-weight: 500; color: #637768; white-space: nowrap; }
.product-card .add-product { display: flex; align-items: center; justify-content: space-between; flex: none; width: 100%; height: 42px; padding: 0 12px; border: 0; border-radius: 9px; background: #e8f2df; color: #174d36; font-size: 13px; font-weight: 750; }
.product-card .add-product > span:last-child { font-size: 23px; font-weight: 500; }
.product-card .add-product:hover, .product-card .add-product.added-flash { background: #174d36; color: #fff; }
.product-card .add-product:disabled { opacity: .55; cursor: default; }
/* La referencia de mármol viene de una historia: encuadrar solo el material. */
.product-image.has-photo img[src*="foto-05.jpg"] { object-position: center 46%; transform: scale(1.9); }
.promo-card-image.has-photo img[src*="foto-05.jpg"] { object-position: center 46%; }
@media (max-width: 800px) {
  .hero-promos { padding: 0; }
  .promo-carousel .promo-controls button { flex-basis: 44px; width: 44px; height: 44px; border-radius: 14px; }
  .promo-carousel .promo-prev { margin-left: -10px; }
  .promo-carousel .promo-next { margin-right: -10px; }
  /* Puntos bajo las tarjetas: indican y permiten elegir la posición en móvil. */
  .promo-carousel .promo-controls { display: none; }
  .promo-navigation { justify-content: center; margin-top: 8px; }
  .promo-position { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .promo-dots { display: flex; flex-wrap: wrap; justify-content: center; max-width: 100%; }
  .promo-dots button { display: grid; place-items: center; width: 32px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
  .promo-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 99px; background: #ffffff80; box-shadow: 0 1px 4px #05231880; transition: width .18s ease, background .18s ease; }
  .promo-dots button[aria-pressed="true"]::before { width: 24px; background: #b7dc96; }
  .promo-dots button:focus-visible { outline: 2px solid #b7dc96; outline-offset: -3px; border-radius: 8px; }

  .hero-promos-heading strong { font-size: 25px; }
  .promo-rail { gap: 12px; }
  .promo-card { flex-basis: calc((100% - 12px) / 2); border-radius: 13px; }
  .promo-card-info { padding: 12px 10px; }
  .promo-card-image span { top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 5px 7px; font-size: 8px; }
  .promo-card-info > small { font-size: 9px; letter-spacing: .08em; }
  .promo-card-info h2 { min-height: 2.5em; margin: 6px 0 14px; font-size: 16px; overflow-wrap: anywhere; }
  .promo-prices .price-line { flex-direction: column; align-items: flex-start; gap: 3px; }
  .promo-prices strong { font-size: 23px; }
  .promo-prices .price-line > span { font-size: 11px; }
  .promo-card-info button { min-height: 44px; margin-top: 12px; padding: 6px 8px; font-size: 12px; line-height: 1.2; }
  .promo-card-info button span { font-size: 20px; }
  .promo-navigation { text-shadow: 0 1px 6px #052318; }
  .promo-rail::after { content: none; }
  .product-grid { gap: 12px; }
  .product-info { padding: 14px 12px; }
  .product-info h3 { font-size: 16px; }
  .product-info p { font-size: 12px; margin-bottom: 12px; }
  .product-category { font-size: 10px; letter-spacing: .09em; }
  .price-block strong { font-size: 21px; }
  .price-block .price-line small { font-size: 11px; }
  .product-bottom { padding-top: 12px; gap: 10px; }
}
@media (max-width: 360px) {
  .hero-promos { padding: 0; }
  .hero-promos-heading strong { font-size: 23px; }
  .promo-controls { gap: 6px; }
  .promo-controls button { width: 40px; height: 40px; }
  .promo-card-info h2 { font-size: 15px; }
  .promo-prices strong { font-size: 21px; }
  .promo-card-info button { font-size: 11px; }
  .product-info { padding-inline: 10px; }
  .price-block strong { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-rail { scroll-behavior: auto; }
}

/* Foto junto al nombre y los controles de cada producto del carrito. */
.quote-item { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 14px; row-gap: 10px; align-items: start; }
.cart-item-image { grid-column: 1; grid-row: 1 / 3; width: 72px; height: 88px; overflow: hidden; border: 1px solid #e0e7df; border-radius: 10px; background-color: #f0eee7; background-size: 200% 200%; background-repeat: no-repeat; }
.cart-item-image.product-image-marble, .cart-item-image.product-image-wood, .cart-item-image.product-image-mirror, .cart-item-image.product-image-floor { background-image: url('assets/optimized/9fadf8188bcd0e731c73-1254.webp'); }
.cart-item-image.has-photo { background-image: none; }
.cart-item-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cart-item-image img[src*="foto-05.jpg"] { object-position: center 46%; transform: scale(1.8); }
.cart-item-head { grid-column: 2; min-width: 0; }
.cart-item-head strong { line-height: 1.3; overflow-wrap: anywhere; }
.cart-item-actions { grid-column: 2; min-width: 0; margin-top: 0; gap: 8px; align-items: center; }
.cart-stepper { flex-shrink: 0; }
.quote-item .line-total { white-space: nowrap; }
.quote-item .remove-item { flex-shrink: 0; min-width: 24px; min-height: 32px; }
@media (max-width: 560px) {
  .quote-item { grid-template-columns: 60px minmax(0, 1fr); column-gap: 12px; }
  .cart-item-image { width: 60px; height: 78px; }
  .cart-item-head strong { font-size: 14px; }
  .quote-item .line-total { font-size: 13px; }
  .cart-stepper button { width: 28px; }
  .cart-stepper span { min-width: 22px; }
}
/* Ficha del producto: fotos completas y ejemplos de aplicación. */
.detail-gallery { min-width: 0; }
.detail-gallery-rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: 22px; background: #e9eae2; }
.detail-gallery-rail::-webkit-scrollbar { display: none; }
.detail-gallery-slide { flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.detail-gallery-slide { position: relative; }
.detail-gallery-slide img { display: block; width: 100%; height: clamp(330px, 65vh, 620px); object-fit: contain; }
@media (min-width: 801px) {
  .detail-gallery-slide img { object-fit: cover; object-position: center; }
}

.detail-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0; }
.detail-gallery-controls button { width: 44px; height: 44px; border: 1px solid #ccd8c9; border-radius: 50%; background: #fff; color: #173d2e; font-size: 22px; cursor: pointer; }
.detail-gallery-controls button:disabled { opacity: .4; cursor: default; }
.detail-gallery-count { color: #526957; font-size: 14px; font-weight: 700; }
.detail-gallery-thumbs { display: flex; overflow-x: auto; gap: 10px; padding: 3px 2px 8px; }
.detail-gallery-thumbs button { flex: 0 0 70px; height: 86px; padding: 3px; background: white; border: 2px solid transparent; border-radius: 10px; cursor: pointer; }
.detail-gallery-thumbs button[aria-current="true"] { border-color: #173d2e; }
.detail-gallery-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.detail-gallery-hint { margin: 8px 0 0; color: #687a69; font-size: 13px; }
.detail-lead { white-space: pre-line; overflow-wrap: anywhere; }
/* Un interior de lujo enmarca el vídeo, con contraste para leer el contenido. */
.work-video-section {
  padding: 64px 0;
  background-color: #25342b;
  background-image: linear-gradient(90deg,rgba(13,32,24,.83),rgba(13,32,24,.56) 48%,rgba(13,32,24,.15)),url('assets/optimized/c795d4987953de21449e-1600.webp');
  background-size: cover;
  background-position: center;
}
.work-video-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,620px); gap: 24px 64px; align-items: center; max-width: 1380px; }
.work-video-copy { max-width: 490px; }
.work-video-copy .eyebrow { color: #d6e6ba; }
.work-video-copy h2 { margin: 14px 0 20px; color: #fffdf5; font-size: clamp(32px,4vw,50px); font-weight: 800; line-height: 1.06; letter-spacing: -.045em; }
.work-video-copy > p:last-child { color: #f0f1e7; font-size: 17px; line-height: 1.6; }
.work-video { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid #b5c6ac; border-radius: 22px; background: #173d2e; box-shadow: 0 15px 35px #173d2e1a; }
.work-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.work-video-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #173d2e; cursor: pointer; }
.work-video-play img { display: block; width: 100%; height: 100%; object-fit: contain; }
.work-video-play-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; background: linear-gradient(0deg,#102a2766,transparent 70%); color: white; font-size: 18px; font-weight: 750; text-align: center; text-shadow: 0 2px 8px #102a27; }
.work-video-play-icon { display: grid; place-items: center; width: 76px; height: 76px; padding-left: 5px; border: 1px solid #cfe3be; border-radius: 50%; background: #a5d17ded; color: #173d2e; font-size: 30px; text-shadow: none; box-shadow: 0 8px 25px #102a2740; }
.work-video-play-label small { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; }
.work-video-play[hidden],.work-video video[hidden] { display: none; }
.work-video-status { grid-column: 1 / -1; margin: 0; color: #f0f1e7; font-size: 13px; }
.work-video-status:empty { display: none; }
@media(min-width:801px) and (max-width:1100px) {
  .work-video-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); column-gap: 36px; }
}
@media(max-width:800px) {
  .work-video-section { padding: 36px 0; background-image: linear-gradient(180deg,rgba(13,32,24,.83),rgba(13,32,24,.45) 40%,rgba(13,32,24,.23)),url('assets/optimized/c795d4987953de21449e-1600.webp'); }
  .work-video-layout { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .work-video-copy h2 { font-size: 34px; margin-bottom: 14px; }
  .work-video-copy > p:last-child { font-size: 15px; margin-bottom: 0; }
  .work-video { width: min(100%,340px); aspect-ratio: 9 / 16; justify-self: center; }
  .work-video-play img { object-fit: cover; }
}

/* El pie conserva el mismo logo dorado del inicio sobre un verde más claro. */
.site-footer .footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 320px);
  min-width: 0;
  padding: 24px 18px;
  border: 1px solid #7a8a61;
  border-radius: 16px;
  background: linear-gradient(115deg, #4c6548, #707c50);
}
.site-footer .footer-brand .brand-logo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.site-footer .footer-brand:hover { border-color: #a8b57d; }
.site-footer .footer-main > div:first-child > p { max-width: 310px; margin-top: 18px; }
@media (max-width: 560px) {
  .site-footer .footer-main { padding-top: 36px; }
  .site-footer .footer-brand { width: 100%; max-width: 340px; }
}
@media (max-width: 600px) {
  .detail-gallery-slide img { height: auto; aspect-ratio: 3 / 4; }
  .detail-gallery-thumbs button { flex-basis: 56px; height: 70px; }
}
