.product-image-live,
.product-detail-image-live,
.favorite-product-image.is-live-image,
.product-image-viewer__art.product-detail-image-live {
  background-color: #f5f5f2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.product-card .product-image-live {
  background-size: cover;
}

.product-card .product-image-live > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-price del,
.product-detail-price-row del {
  color: #8b8b87;
  display: block;
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.product-live-gallery {
  bottom: 1.25rem;
  display: flex;
  gap: 0.45rem;
  left: 50%;
  max-width: calc(100% - 3rem);
  overflow-x: auto;
  padding: 0.25rem;
  position: absolute;
  transform: translateX(-50%);
  z-index: 5;
}

.product-live-gallery button {
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border: 2px solid #fff;
  border-radius: 0.65rem;
  box-shadow: 0 3px 12px #0002;
  flex: 0 0 52px;
  height: 52px;
}

.product-live-gallery button.active { border-color: #ff5a1f; }

.live-product-commerce {
  align-items: stretch;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 105px minmax(0, 1fr);
  margin: 1rem 0;
}

.live-product-commerce label {
  color: #686864;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.live-product-commerce input {
  background: #f4f4f0;
  border: 1px solid #deded8;
  border-radius: 0.8rem;
  color: #111;
  font: inherit;
  font-size: 1rem;
  height: 48px;
  margin-top: 0.3rem;
  padding: 0 0.8rem;
  width: 100%;
}

.live-product-commerce > button {
  align-items: center;
  align-self: end;
  background: #ff5a1f;
  border: 0;
  border-radius: 0.8rem;
  color: #fff;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-weight: 800;
  gap: 0.75rem;
  height: 48px;
  justify-content: center;
  padding: 0 1.2rem;
}

.live-product-commerce > button:disabled { cursor: not-allowed; filter: grayscale(1); opacity: 0.55; }
.live-product-commerce > button.is-confirmed { background: #168451; }
.live-product-commerce > p { color: #168451; font-size: 0.78rem; grid-column: 1 / -1; margin: 0; min-height: 1.2em; }

.product-live-description {
  background: #fff;
  border: 1px solid #e6e6e0;
  border-radius: 1.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.product-live-description > span {
  color: #ff5a1f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-live-description h2 { color: #111; margin: 0.4rem 0 1.2rem; }
.product-page-loading {
  width: min(92rem, calc(100% - 2rem));
  min-height: clamp(24rem, 58vh, 38rem);
  margin: clamp(1.25rem, 4vw, 3rem) auto;
  display: none;
}
.product-page.is-live-product-loading .product-detail-main,
.product-page.has-live-product-error .product-detail-main { min-height: 72vh; }
.product-page.is-live-product-loading .product-detail-main > :not(.product-page-loading),
.product-page.has-live-product-error .product-detail-main > :not(.product-page-loading) { display: none !important; }
.product-page.is-live-product-loading .product-page-loading,
.product-page.has-live-product-error .product-page-loading { display: grid; }
.product-loading-error {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
}
.product-page-loading.has-error > .catalog-loading-orbit,
.product-page-loading.has-error > .product-loading-copy,
.product-page-loading.has-error > .product-loading-steps { display: none; }
.product-page-loading.has-error .product-loading-error { display: grid; }
.product-loading-error > span {
  width: 4.5rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 145, 86, .36);
  border-radius: 1.35rem;
  background: rgba(255, 118, 62, .12);
  color: #ff9a68;
  font-size: 1.5rem;
  font-weight: 900;
}
.product-loading-error small {
  display: block;
  margin-bottom: .4rem;
  color: #f69936;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.product-loading-error strong {
  display: block;
  color: #f7f3ef;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.08;
}
.product-loading-error p { margin: .65rem 0 0; color: #aaa39b; }
.product-loading-error button {
  min-height: 3.2rem;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 1rem;
  background: #ff8a0a;
  color: #17110b;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}
@media (max-width: 700px) {
  .product-page-loading { width: min(100% - 1rem, 92rem); margin-top: .75rem; }
  .product-loading-error { grid-template-columns: auto minmax(0, 1fr); }
  .product-loading-error button { grid-column: 1 / -1; width: 100%; }
}
.product-rich-copy { width: 100%; max-width: none; color: #aaa39b; font-size: clamp(.94rem, 1.08vw, 1.05rem); line-height: 1.82; overflow-wrap: anywhere; columns: auto; }
.product-rich-copy > :first-child { margin-top: 0; }
.product-rich-copy > :last-child { margin-bottom: 0; }
.product-rich-copy h2,
.product-rich-copy h3,
.product-rich-copy h4 { color: #f1ece6 !important; font-size: clamp(1.05rem, 1.35vw, 1.3rem) !important; letter-spacing: -.015em; line-height: 1.28; margin: 1.55em 0 .65em; }
.product-rich-copy p { margin: .5em 0 1em; }
.product-rich-copy p,
.product-rich-copy ul,
.product-rich-copy ol,
.product-rich-copy blockquote { break-inside: avoid-column; }
.product-rich-copy ul,
.product-rich-copy ol { margin: .7em 0 1.25em; padding-left: 1.35em; }
.product-rich-copy li { margin: .42em 0; padding-left: .2em; }
.product-rich-copy strong { color: #eee8e1; font-weight: 750; }
.product-detail-image-seo { width: 100%; height: 100%; display: block; object-fit: contain; will-change: transform, opacity; }
.product-detail-visual { touch-action: pan-y; }
.product-detail-image-live.is-gallery-dragging .product-detail-image-seo { transform: translate3d(var(--gallery-drag-x, 0), 0, 0) scale(.985); opacity: .84; transition: none; }
.product-detail-image-live.is-gallery-enter-next .product-detail-image-seo { animation: live-gallery-enter-next 390ms cubic-bezier(.2,.75,.2,1); }
.product-detail-image-live.is-gallery-enter-previous .product-detail-image-seo { animation: live-gallery-enter-previous 390ms cubic-bezier(.2,.75,.2,1); }
@keyframes live-gallery-enter-next { from { opacity: .25; transform: translate3d(14%,0,0) scale(.975); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
@keyframes live-gallery-enter-previous { from { opacity: .25; transform: translate3d(-14%,0,0) scale(.975); } to { opacity: 1; transform: translate3d(0,0,0) scale(1); } }
.product-rich-copy figure[data-rich-image] { width: 100%; max-width: 100%; overflow: hidden; margin: clamp(1.25rem, 3vw, 2.4rem) auto; border: 1px solid #e5e3dc; border-radius: clamp(1rem, 2vw, 1.7rem); padding: clamp(.35rem, 1vw, .65rem); background: #f4f2ed; box-shadow: 0 22px 60px rgba(17,17,17,.09); break-inside: avoid-column; }
.product-rich-copy img { width: 100%; max-width: 100%; height: auto; display: block; border-radius: clamp(.75rem, 1.7vw, 1.25rem); object-fit: contain; }
.product-rich-copy figcaption { padding: .75rem .5rem .25rem; color: #77756f; font-size: .82em; line-height: 1.45; text-align: center; }
.product-rich-copy table { width: 100%; max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }

.live-checkout-panel {
  background: #fff;
  border: 1px solid #e5e5df;
  border-radius: 1.6rem;
  box-shadow: 0 24px 70px #00000012;
  margin: 1.5rem auto 0;
  max-width: 960px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.live-checkout-panel[hidden] { display: none; }
.live-checkout-panel > header { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 1.5rem; }
.live-checkout-panel > header span { color: #ff5a1f; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.live-checkout-panel > header h2 { color: #111; margin: 0.3rem 0 0; }
.live-checkout-panel > header button { background: #f0f0ec; border: 0; border-radius: 999px; color: #111; cursor: pointer; font-size: 1.5rem; height: 42px; width: 42px; }

.live-checkout-fields { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.live-checkout-fields label { color: #4d4d49; display: grid; font-size: 0.78rem; font-weight: 700; gap: 0.4rem; }
.live-checkout-fields .is-wide { grid-column: 1 / -1; }
.live-checkout-fields input,
.live-checkout-fields textarea {
  background: #f7f7f4;
  border: 1px solid #deded8;
  border-radius: 0.75rem;
  color: #111;
  font: inherit;
  padding: 0.85rem 0.95rem;
  resize: vertical;
}

.live-checkout-panel fieldset { border: 0; margin: 1.6rem 0 0; padding: 0; }
.live-checkout-panel legend { color: #111; font-size: 1rem; font-weight: 800; margin-bottom: 0.65rem; }
.live-checkout-option { align-items: center; background: #f7f7f4; border: 1px solid #e4e4de; border-radius: 0.9rem; cursor: pointer; display: grid; gap: 0.8rem; grid-template-columns: auto minmax(0, 1fr) auto; margin-top: 0.55rem; padding: 0.9rem 1rem; }
.live-checkout-option:has(input:checked) { background: #fff8f4; border-color: #ff5a1f; }
.live-checkout-option input { accent-color: #ff5a1f; }
.live-checkout-option span { display: grid; gap: 0.15rem; }
.live-checkout-option strong { color: #161614; }
.live-checkout-option small { color: #777772; }
.live-checkout-option > b { color: #161614; font-size: 0.85rem; }

.live-checkout-final { align-items: center; background: #111; border-radius: 1rem; display: flex; justify-content: space-between; margin-top: 1.6rem; padding: 1rem; }
.live-checkout-final > div { display: grid; gap: 0.15rem; }
.live-checkout-final span { color: #aaa; font-size: 0.72rem; text-transform: uppercase; }
.live-checkout-final strong { color: #fff; font-size: 1.25rem; }
.live-checkout-final button { background: #ff5a1f; border: 0; border-radius: 0.75rem; color: #fff; cursor: pointer; font: inherit; font-weight: 800; padding: 0.9rem 1.1rem; }
.live-checkout-final button:disabled { cursor: wait; opacity: 0.6; }
.live-checkout-message { color: #62625e; margin: 0.8rem 0 0; min-height: 1.4em; }
.live-checkout-message.is-error { color: #b42318; }

.live-checkout-success { padding: 2rem 1rem; text-align: center; }
.live-checkout-success > span { align-items: center; background: #168451; border-radius: 999px; color: #fff; display: inline-flex; font-size: 1.5rem; height: 58px; justify-content: center; width: 58px; }
.live-checkout-success h3 { color: #111; font-size: 1.5rem; margin-bottom: 0.5rem; }
.live-checkout-success p { color: #62625e; }
.live-checkout-success a { color: #ff5a1f; font-weight: 800; }

@media (max-width: 700px) {
  .live-product-commerce,
  .live-checkout-fields { grid-template-columns: 1fr; }
  .live-checkout-fields .is-wide { grid-column: auto; }
  .live-checkout-final { align-items: stretch; flex-direction: column; gap: 0.9rem; }
  .live-checkout-option { grid-template-columns: auto minmax(0, 1fr); }
  .live-checkout-option > b { grid-column: 2; }
  .product-live-description { border-radius: 1.1rem; padding: 1.15rem; }
  .product-rich-copy { font-size: .94rem; line-height: 1.72; }
  .product-rich-copy h2,
  .product-rich-copy h3,
  .product-rich-copy h4 { font-size: 1.05rem; line-height: 1.32; }
  .product-rich-copy figure[data-rich-image] { width: 100% !important; margin: 1.2rem 0; border-radius: 1rem; padding: .35rem; }
  .product-rich-copy img { border-radius: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .product-detail-image-live.is-gallery-enter-next .product-detail-image-seo,
  .product-detail-image-live.is-gallery-enter-previous .product-detail-image-seo { animation: none; }
  .product-page.is-live-product-loading .catalog-loading-orbit::before,
  .product-page.is-live-product-loading .catalog-loading-orbit::after,
  .product-page.is-live-product-loading .catalog-loading-dot,
  .product-page.is-live-product-loading .catalog-loading-progress i,
  .product-page.is-live-product-loading .catalog-loading-steps i { animation: none; }
}
[hidden] {
  display: none !important;
}
