/** Shopify CDN: Minification failed

Line 414:4 Unexpected "}"
Line 428:4 Unexpected "}"

**/
/* ──────────────────────────────────────────────
   KR Cases – Product page redesign
   Overrides theme.css + kr-enhancements.css
   ────────────────────────────────────────────── */

/* ─── Desktop layout: tighter, more balanced ─── */
.product-page {
  gap: 48px;
  padding-top: 40px;
  padding-bottom: 80px;
  grid-template-columns: 1.1fr .9fr;
  align-items: start;
}

/* ─── Gallery: single-column, cleaner grid ─── */
.product-gallery {
  grid-template-columns: 1fr;
  gap: 8px;
  border-radius: 16px;
  overflow: hidden;
}

.product-gallery img:first-child {
  grid-column: auto;
}

.product-gallery img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: #f5f5f3;
  border-radius: 12px;
  transition: transform .35s ease;
}

.product-gallery img:hover {
  transform: scale(1.02);
}

/* ─── Canvas mockup preview ─── */
.model-design-preview {
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f5f5f3;
  border-radius: 16px;
  padding: 0 0 12px;
  grid-column: 1 / -1;
  overflow: hidden;
}

.model-design-preview canvas {
  max-height: 560px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.12));
  transform: scale(1.45);
  transform-origin: center center;
  margin: 24px 0;
}

.model-design-preview__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
  padding: 10px 20px 0;
  border-top: 1px solid #e3e3e0;
  width: 100%;
  color: #888;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ─── Product detail: refined typography ─── */
.product-detail {
  padding-top: 10px;
}

.product-back {
  margin-bottom: 20px;
  color: #888;
  font-size: 9px;
  letter-spacing: .12em;
  border-bottom-color: transparent;
  transition: color .2s, border-color .2s;
}

.product-back:hover {
  color: #111;
  border-bottom-color: #111;
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 9px;
  color: #999;
  letter-spacing: .2em;
}

.product-title {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: .92;
  letter-spacing: -.04em;
  margin-bottom: 16px;
}

.product-price {
  font-size: 18px;
  margin-bottom: 24px;
  color: #333;
  font-weight: 500;
}

.product-detail .rte {
  color: #666;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 480px;
}

/* ─── Variant picker: premium card style ─── */
.dependent-variant-picker {
  background: #fafaf9;
  border: 1px solid #eae9e6;
  border-radius: 14px;
  padding: 24px;
  gap: 20px;
}

.product-selection-header strong {
  font-size: 15px;
}

.selection-progress span {
  border-radius: 6px;
  font-size: 8px;
}

.selection-progress span.done {
  background: #222;
}

.brand-picker__choices label {
  border-radius: 8px;
  transition: all .15s ease;
}

.dependent-option select {
  border-radius: 10px;
  border-color: #ccc;
  font-size: 13px;
  padding: 0 16px;
  transition: border-color .15s;
}

.dependent-option select:focus {
  border-color: #111;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}

/* ─── Submit button: bolder ─── */
.product-form .product-submit {
  min-height: 54px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .2s ease;
}

.product-form .product-submit:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}

.product-form .product-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
}

/* ─── Quantity row ─── */
.product-quantity {
  border-radius: 10px;
  overflow: hidden;
  border-color: #ccc;
}

.product-quantity button:hover {
  background: #222;
}

/* ─── Selected device badge ─── */
.selected-device {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f0f0ee;
  border-radius: 10px;
  font-size: 12px;
}

.selected-device span {
  color: #888;
}

/* ─── Assurance row ─── */
.product-assurance {
  border-radius: 12px;
  overflow: hidden;
  border-color: #eae9e6;
  background: #eae9e6;
}

.product-assurance div {
  background: #fafaf9;
  min-height: 80px;
  padding: 14px 16px;
}

/* ─── Details accordion ─── */
.product-details-list {
  margin-top: 20px;
  border-top-color: #eae9e6;
}

.product-details-list details {
  border-bottom-color: #eae9e6;
}

.product-details-list summary {
  min-height: 52px;
  font-size: 10px;
  color: #444;
}

.product-details-list summary:hover {
  color: #111;
}

.product-details-list p {
  font-size: 12.5px;
  color: #555;
}

.shipping-options {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: grid;
  gap: 6px;
}

.shipping-options li {
  padding: 10px 14px;
  background: #f7f7f5;
  border-radius: 8px;
  font-size: 12px;
  color: #555;
  line-height: 1.5;
}

.shipping-options li strong {
  color: #222;
}

/* ─── Hide fallback camera overlay on generic mockups ─── */
.kr-fallback-camera {
  display: none !important;
}

/* ─── Placeholder state ─── */
.product-placeholder {
  background: #f5f5f3;
  border-radius: 16px;
  min-height: 500px;
}

/* ──── Tablet (901–1100px) ──── */
@media (max-width: 1100px) and (min-width: 901px) {
  .product-page {
    gap: 32px;
    grid-template-columns: 1fr 1fr;
  }

  .product-title {
    font-size: clamp(32px, 4vw, 44px);
  }

  .model-design-preview canvas {
    max-height: 420px;
  }
}

/* ──── Mobile (<= 900px) ──── */
@media (max-width: 900px) {
  .product-page {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0;
    padding-bottom: 60px;
    gap: 24px;
  }

  .product-gallery {
    gap: 4px;
    border-radius: 0;
    margin: 0 -16px;
  }

  .product-gallery img {
    max-height: 55vh;
    border-radius: 0;
  }

  .product-gallery img:hover {
    transform: none;
  }

  .model-design-preview {
    border-radius: 0;
    padding: 0 0 10px;
  }

  .model-design-preview canvas {
    max-height: 340px;
    transform: scale(1.25);
    margin: 36px 0;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,.10));
  }

  .product-detail {
    padding: 0 4px;
  }

  .product-title {
    font-size: clamp(32px, 10vw, 44px);
    margin-bottom: 12px;
  }

  .product-price {
    font-size: 17px;
    margin-bottom: 18px;
  }

  .product-detail .rte {
    font-size: 12.5px;
    margin-bottom: 18px;
  }

  .dependent-variant-picker {
    padding: 18px;
    border-radius: 12px;
  }

  .product-assurance {
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .product-form .product-submit {
    min-height: 50px;
    border-radius: 10px;
  }

  .product-actions {
    border-radius: 14px;
    margin: 2px -4px 0;
    padding: 10px;
    border-color: #eee;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  }
}

/* ─── Plantillas nuevas (iPhone y Xiaomi, 2026-09-27): ya vienen encuadradas, sin zoom ─── */
[data-product-section]:has(.brand-picker input:is([data-option-value-name="iPhone"], [data-option-value-name="Xiaomi"]):checked) .model-design-preview canvas {
  transform: none;
  max-height: 600px;
  margin: 16px 0;
}

@media (max-width: 900px) {
  [data-product-section]:has(.brand-picker input:is([data-option-value-name="iPhone"], [data-option-value-name="Xiaomi"]):checked) .model-design-preview canvas {
    transform: none;
    max-height: 420px;
    margin: 12px 0;
  }
}


@media (min-width: 901px) {
    .model-design-preview canvas {
          max-height: min(74vh, 680px);
              transform: none;
                  margin: 12px 0;
    }
    }

    }
}

@media (min-width: 901px) {
    .model-design-preview canvas {
          width: min(74vh, 42vw, 680px);
              height: min(74vh, 42vw, 680px);
                  max-width: 100%;
                      max-height: none;
                          object-fit: cover;
                                
    }
    }

    }
}


      }
}