/* Tienda online: vidrios y espejos */
.shop {
  display:block;
  max-width:1260px;
  padding:110px 30px
}
.shop-copy {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);
  column-gap:80px;
  align-items:end;
  margin-bottom:45px
}
.shop-copy .eyebrow,.shop-copy h2 {
  grid-column:1
}
.shop-copy>p:not(.eyebrow) {
  grid-column:1
}
.shop-highlights {
  grid-column:2;
  grid-row:1/6;
  display:grid;
  gap:10px
}
.shop-highlights span {
  display:flex;
  align-items:center;
  gap:12px;
  padding:15px 17px;
  background:#fff;
  border-left:3px solid var(--blue);
  color:#607077;
  font-size:13px;
  box-shadow:0 8px 24px rgba(13,21,27,.05)
}
.shop-highlights b {
  min-width:63px;
  color:var(--ink);
  font-size:15px
}
.shop-caption {
  font-size:13px!important;
  margin-top:16px
}
.store-shell {
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:18px;
  align-items:start
}
.calculator-card,.cart-card,.checkout-card {
  padding:30px;
  background:#e5ecee;
  border:1px solid #d3dde0;
  box-shadow:0 16px 50px rgba(10,25,32,.08)
}
.calculator-card {
  grid-row:span 2
}
.cart-card,.checkout-card {
  background:#fff
}
.card-heading {
  display:flex;
  align-items:start;
  justify-content:space-between;
  gap:20px;
  padding-bottom:22px;
  margin-bottom:22px;
  border-bottom:1px solid #ccd7da
}
.card-heading span {
  display:block;
  color:#168fbd;
  font-size:11px;
  font-weight:700;
  letter-spacing:.16em;
  margin-bottom:7px
}
.card-heading h3 {
  font-size:25px;
  line-height:1.1;
  margin:0
}
.card-heading small {
  color:#687b83
}
.calculator-card label,.checkout-card label {
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  color:#496069;
  margin-bottom:18px
}
.calculator-card select,.calculator-card input,.checkout-card select,.checkout-card input:not([type=radio]):not([type=checkbox]) {
  width:100%;
  margin-top:8px;
  padding:14px;
  background:#fff;
  border:1px solid #c8d2d6;
  color:#102029;
  font-size:15px;
  border-radius:0
}
.availability {
  margin:-8px 0 19px;
  padding:10px 12px;
  background:#d7f2e3;
  color:#196c48;
  font-size:12px;
  font-weight:700
}
.measure-row {
  display:grid;
  grid-template-columns:1fr 24px 1fr;
  align-items:center
}
.measure-row b {
  text-align:center;
  margin-top:8px
}
.measure-row label {
  position:relative
}
.measure-row label span {
  float:right;
  font-weight:400
}
.result {
  border-top:1px solid #bdcbd0;
  margin-top:8px;
  padding-top:25px;
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end
}
.result span {
  font-size:13px;
  color:#587078
}
.result strong {
  font-size:32px
}
.result small {
  grid-column:1/-1;
  color:#73858c;
  margin-top:7px
}
.add-cart-button {
  width:100%;
  margin-top:22px;
  background:var(--ink)!important;
  border-color:var(--ink)!important
}
.form-error {
  min-height:18px;
  color:#a83434;
  font-size:13px;
  margin:10px 0 0
}
.cart-count {
  display:grid;
  place-items:center;
  min-width:34px;
  height:34px;
  border-radius:50%;
  background:var(--blue);
  color:#07131a
}
.empty-cart {
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:9px 0 3px;
  color:#66777e
}
.empty-cart b {
  color:var(--ink)
}
.cart-items {
  display:grid;
  gap:10px
}
.cart-item {
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px 18px;
  padding:17px;
  background:#f1f4f4;
  border-left:3px solid var(--blue)
}
.cart-item div {
  display:flex;
  flex-direction:column;
  gap:5px
}
.cart-item span {
  font-size:12px;
  color:#65767d
}
.cart-item em {
  font-size:11px;
  color:#19704b;
  font-style:normal;
  font-weight:700
}
.cart-item strong {
  font-size:15px
}
.cart-item button {
  grid-column:1/-1;
  justify-self:start;
  padding:0;
  background:transparent;
  color:#7c4c4c;
  border:0;
  font-size:11px
}
.cart-summary {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:18px;
  padding-top:20px;
  border-top:1px solid #d6dfe1
}
.cart-summary strong {
  font-size:25px
}
.customer-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 14px
}
.wide-field {
  grid-column:1/-1
}
.delivery-options {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:4px 0 20px;
  padding:0;
  border:0
}
.delivery-options legend {
  width:100%;
  margin-bottom:10px;
  color:#496069;
  font-size:12px;
  font-weight:700
}
.delivery-options label {
  display:flex;
  gap:10px;
  margin:0;
  padding:14px;
  border:1px solid #d3dde0;
  background:#f5f7f7;
  cursor:pointer
}
.delivery-options input {
  margin:2px 0 0
}
.delivery-options span {
  display:flex;
  flex-direction:column;
  gap:4px
}
.delivery-options b {
  color:var(--ink);
  font-size:13px
}
.delivery-options small {
  color:#6a7980;
  font-weight:400;
  line-height:1.35
}
.delivery-fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 14px;
  padding:18px;
  background:#eef3f4;
  margin-bottom:20px
}
.delivery-fields p {
  grid-column:1/-1;
  margin:0;
  color:#607077;
  font-size:12px
}
.terms-check {
  display:flex!important;
  align-items:flex-start;
  gap:9px
}
.terms-check input {
  margin:2px 0 0
}
.terms-check span {
  line-height:1.45
}
.mp-button {
  width:100%;
  background:#009ee3!important;
  border-color:#009ee3!important;
  margin-top:8px;
  font-size:15px
}
.mp-button:disabled {
  cursor:not-allowed;
  filter:grayscale(.45);
  opacity:.58
}
.demo-note {
  display:block;
  text-align:center;
  color:#718087;
  margin-top:10px
}
.custom-order {
  margin-top:0
}
@media(max-width:850px) {
  .shop {
    padding:80px 24px
  }
  .shop-copy {
    grid-template-columns:1fr;
    gap:20px
  }
  .shop-copy .eyebrow,.shop-copy h2,.shop-copy>p:not(.eyebrow),.shop-highlights {
    grid-column:1;
    grid-row:auto
  }
  .store-shell {
    grid-template-columns:1fr
  }
  .calculator-card {
    grid-row:auto
  }
  .cart-card,.checkout-card,.calculator-card {
    padding:25px
  }
}
@media(max-width:520px) {
  .shop {
    padding:68px 18px
  }
  .shop-copy {
    margin-bottom:30px
  }
  .shop-highlights span {
    align-items:flex-start
  }
  .customer-grid,.delivery-options,.delivery-fields {
    grid-template-columns:1fr
  }
  .wide-field,.delivery-fields p {
    grid-column:1
  }
  .cart-item {
    grid-template-columns:1fr
  }
  .cart-item strong {
    grid-row:2
  }
  .cart-item button {
    grid-column:1
  }
  .calculator-card,.cart-card,.checkout-card {
    padding:21px
  }
  .result strong {
    font-size:27px
  }
}
/* Aviso de actualización de precios */
.price-update-notice {
  margin: 18px 0;
  padding: 16px 18px;
  background: #e9f6fb;
  color: #17485d;
  border-left: 4px solid #168fbd;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

/* Respetar elementos ocultos en la tienda */
.empty-cart[hidden],
.cart-summary[hidden],
.delivery-fields[hidden],
.price-update-notice[hidden] {
  display: none !important;
}


/* Presentación de la tienda: dos columnas realmente alineadas */
.shop-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, .9fr);
  grid-template-areas: none;
  grid-template-rows: auto;
  align-items: start;
  column-gap: 44px;
  margin-bottom: 38px;
}
.shop-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.shop-intro > .eyebrow {
  margin: 0 0 20px;
}
.shop-intro > h2 {
  margin: 0;
  max-width: 650px;
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1.05;
}
.shop-intro > .shop-description {
  margin: 22px 0 0;
  max-width: 600px;
  font-size: 16px;
  line-height: 1.65;
  color: #5e6c73;
}
.shop-intro > .price-note {
  display: inline-flex;
  align-items: center;
  margin: 20px 0 0;
  padding: 10px 14px;
  border-radius: 7px;
  background: #e4f0f4;
  color: #24627b;
  font-size: 12px;
  font-weight: 700;
}
.shop-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.shop-highlights {
  display: grid;
  grid-area: auto;
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}
.shop-highlights > .shop-highlight {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  min-height: 94px;
  padding: 17px;
  background: #fff;
  border: 1px solid #d5e2e7;
  border-left: 4px solid #16a9e0;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(10, 25, 32, .06);
}
.shop-highlights .shop-highlight b {
  min-width: 0;
  font-size: 15px;
  line-height: 1.3;
}
.shop-highlights .shop-highlight small {
  display: block;
  color: #566b76;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

/* Cotizaciones especiales: CTA reconocible sin confundirlo con el pago */
.shop-custom-quote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  padding: 20px;
  border-radius: 11px;
  background: #10232d;
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 25, 32, .10);
}
.shop-custom-quote p {
  margin: 0;
  flex: 1 1 200px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  color: #e8f3f7;
}
.shop-custom-quote .shop-quote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 12px 16px;
  border-radius: 8px;
  background: #16a9e0;
  color: #061720;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
  transition: background-color .2s ease, transform .2s ease;
}
.shop-custom-quote .shop-quote-button:hover {
  background: #71d2f6;
  transform: translateY(-1px);
}
.shop-custom-quote .shop-quote-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* Mismos detalles de diseño para calculadora, carrito y formulario */
.calculator-card,
.cart-card,
.checkout-card { border-radius: 12px; }
.calculator-card select,
.calculator-card input {
  border-radius: 7px;
  min-height: 48px;
}
.calculator-card .availability {
  border-radius: 6px;
  line-height: 1.4;
}
.calculator-card .card-heading h3 { letter-spacing: -.03em; }
.calculator-card .card-heading small { font-size: 12px; line-height: 1.35; }
.calculator-card .measure-row {
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
  gap: 6px;
}
.calculator-card .measure-row label { min-width: 0; }

@media (max-width: 850px) {
  .shop-copy {
    display: flex;
    flex-direction: column;
    gap: 22px;
    align-items: stretch;
    margin-bottom: 30px;
  }
  .shop-intro > .shop-description { margin-top: 14px; }
  .shop-info { width: 100%; }
}
@media (max-width: 520px) {
  .shop-intro > .eyebrow { margin-bottom: 14px; }
  .shop-intro > h2 {
    font-size: clamp(30px, 8vw, 36px);
    line-height: 1.08;
  }
  .shop-intro > .shop-description {
    font-size: 15px;
    line-height: 1.5;
  }
  .shop-highlights { gap: 9px; }
  .shop-highlights > .shop-highlight {
    padding: 13px;
    min-height: 86px;
  }
  .shop-custom-quote { padding: 17px; }
  .shop-custom-quote .shop-quote-button {
    width: 100%;
  }
  .calculator-card .card-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-bottom: 17px;
    margin-bottom: 19px;
  }
  .calculator-card .card-heading h3 {
    font-size: 26px;
    line-height: 1.14;
  }
  .calculator-card .card-heading small { white-space: nowrap; }
  .calculator-card label { font-size: 13px; }
  .calculator-card select,
  .calculator-card input { font-size: 16px; }
}

.add-cart-button,
.mp-button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, background-color .18s ease;
  box-shadow: 0 12px 24px rgba(9, 17, 23, .14);
}

.add-cart-button {
  margin-top: 22px;
  background: linear-gradient(180deg, #10202a 0%, #08131b 100%) !important;
  color: #fff;
}

.add-cart-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(9, 17, 23, .18);
}

.add-cart-button:active {
  transform: translateY(0);
}

.mp-button {
  margin-top: 8px;
  background: linear-gradient(180deg, #36b8ea 0%, #1698cf 100%) !important;
  color: #fff;
}

.mp-button:disabled {
  cursor: not-allowed;
  opacity: .72;
  filter: none;
  box-shadow: none;
  background: linear-gradient(180deg, #9fd3e8 0%, #87bfd7 100%) !important;
  color: rgba(255, 255, 255, .96);
}
.add-cart-button,
.mp-button {
  font-family: inherit;
}


/* La URL de retorno informa el resultado de navegacion, no la acreditacion definitiva. */
.payment-return-notice:not([hidden]) {
  box-sizing: border-box;
  display: block;
  max-width: 1150px;
  margin: 22px auto 0;
  padding: 16px 20px;
  border: 1px solid #b4d9e6;
  border-left: 5px solid #159ed1;
  border-radius: 12px;
  background: #f0f9fc;
  color: #123949;
  font-size: 15px;
  line-height: 1.5;
}
.payment-return-notice[data-status="failure"]:not([hidden]) {
  border-color: #e5c7be;
  border-left-color: #ba5c43;
  background: #fff5f2;
  color: #69352b;
}
@media(max-width: 700px) {
  .payment-return-notice:not([hidden]) { margin: 14px 16px 0; padding: 14px 15px; }
}
