/* LOOVIE V86B — public product detail visual layer only.
   No changes to cart, availability service, date guard or legacy gallery JS. */
.lv86b-page {
  --v86-ink: #1c2941;
  --v86-sub: #68758a;
  --v86-line: #e9e0e3;
  --v86-card: #fff;
  --v86-soft: #fcf7f8;
  --v86-accent: #a2486d;
  --v86-pink-soft: #f8eaf0;
  --v86-gold: #b58b43;
  --v86-focus: #9d496c;
  width: min(1480px, calc(100% - 38px)) !important;
  max-width: 1480px !important;
  color: var(--v86-ink);
}
.lv86b-page, .lv86b-page * { box-sizing: border-box; }
.lv86b-page .lv86b-breadcrumb {
  padding: .45rem .2rem .9rem;
  overflow-wrap: anywhere;
}
.lv86b-page .breadcrumb { align-items: center; gap: .2rem; }
.lv86b-page .breadcrumb-item { max-width: 100%; overflow-wrap: anywhere; }
.lv86b-page .breadcrumb-item a { color: var(--v86-sub); text-decoration: none; }
.lv86b-page .breadcrumb-item a:hover { color: var(--v86-accent); }
.lv86b-page .breadcrumb-item.active { color: var(--v86-ink); font-weight: 650; }
.lv86b-page .lv86b-main-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 38px);
  margin: 0 !important;
  align-items: start;
}
.lv86b-page .lv86b-main-grid > * {
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: unset !important;
}
.lv86b-page .lv86b-gallery-card,
.lv86b-page .lv86b-product-overview,
body.loovie-luxury-v5 .lv86b-page .lv86b-rental-box {
  background: var(--v86-card) !important;
  border: 1px solid var(--v86-line) !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 34px rgba(35, 26, 38, .035) !important;
}
.lv86b-page .lv86b-gallery-card {
  padding: clamp(12px, 1.5vw, 20px);
  overflow: hidden;
}
.lv86b-page .lv86b-gallery-heading { display: flex; align-items: center; gap: 10px; min-width: 0; margin: 2px 2px 16px; }
.lv86b-page .lv86b-icon {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 13px;
  background: var(--v86-pink-soft); color: var(--v86-accent); font-size: 1.16rem;
}
.lv86b-page .lv86b-gallery-heading > div { flex: 1; min-width: 0; }
.lv86b-page .lv86b-gallery-heading strong { display: block; color: var(--v86-ink); font-weight: 750; font-size: .99rem; }
.lv86b-page .lv86b-gallery-heading small { display: block; color: var(--v86-sub); font-size: .81rem; line-height: 1.35; }
.lv86b-page .lv86b-photo-count { flex: none; font-weight: 650; color: var(--v86-sub); font-size: .75rem; padding: .35rem .66rem; border: 1px solid var(--v86-line); border-radius: 99px; }
.lv86b-page .lv86b-photo-main {
  width: 100%; min-height: 350px; aspect-ratio: 5 / 5.6;
  max-height: 660px; overflow: hidden; background: #f8f3f0;
  border-radius: 17px; border: 1px solid var(--v86-line);
  display: flex; justify-content: center; align-items: center;
}
.lv86b-page .lv86b-photo-main > .loovie-magnifier-main-wrap-v7,
.lv86b-page .lv86b-photo-main > .loovie-catalog-zoom-stage-v9 {
  width: 100% !important; height: 100% !important; max-width: 100% !important;
  display: flex !important; justify-content: center !important; align-items: center !important;
}
.lv86b-page .lv86b-photo-main .loovie-detail-main-image,
.lv86b-page .lv86b-photo-main > img.loovie-detail-main-image,
.lv86b-page .lv86b-photo-main .loovie-catalog-main-image-v9 {
  display: block !important; width: 100% !important; height: 100% !important;
  max-width: 100% !important; max-height: 660px !important;
  object-fit: contain !important; object-position: center !important; border-radius: 16px;
}
.lv86b-page .lv86b-thumb-row { display: flex !important; flex-wrap: wrap !important; gap: 9px; padding: 3px 0; align-items: center; }
.lv86b-page .lv86b-thumb-row .loovie-detail-thumb,
.lv86b-page .lv86b-thumb-row img.loovie-detail-thumb {
  width: 76px !important; height: 85px !important; flex: 0 0 76px;
  border-radius: 12px; border: 1px solid var(--v86-line) !important;
  object-fit: cover !important; background: var(--v86-soft);
  cursor: pointer; transition: transform .18s ease, border-color .18s ease;
}
.lv86b-page .lv86b-thumb-row img.loovie-detail-thumb:hover { transform: translateY(-2px); border-color: var(--v86-accent) !important; }
.lv86b-page .lv86b-gallery-help { display: flex; gap: 7px; align-items: baseline; margin: 12px 3px 0; color: var(--v86-sub); font-size: .78rem; line-height: 1.45; }
.lv86b-page .lv86b-gallery-help i { color: var(--v86-accent); }
.lv86b-page .lv86b-product-overview { padding: clamp(18px, 2vw, 28px); margin-bottom: 18px; }
.lv86b-page .lv86b-overview-kicker { display: inline-flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--v86-accent); }
.lv86b-page .lv86b-product-overview h1 { margin: 10px 0 7px; font-size: clamp(1.56rem, 2.5vw, 2.25rem); font-weight: 800; line-height: 1.18; letter-spacing: -.025em; color: var(--v86-ink) !important; overflow-wrap: anywhere; }
.lv86b-page .lv86b-sku { color: var(--v86-sub); font-size: .84rem; }
.lv86b-page .lv86b-sku strong { color: var(--v86-ink); }
.lv86b-page .lv86b-price-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0 11px; }
body.loovie-luxury-v5 .lv86b-page .lv86b-price-row .loovie-price-lg { font-family: inherit; color: var(--v86-ink) !important; font-size: clamp(1.45rem, 2.35vw, 1.96rem); font-weight: 850; }
.lv86b-page .lv86b-price-row .loovie-price-lg small { font-size: .82rem !important; color: var(--v86-sub) !important; font-weight: 500 !important; }
.lv86b-page .lv86b-description { color: var(--v86-sub); line-height: 1.6; font-size: .91rem; margin: 0 0 17px; overflow-wrap: anywhere; }
.lv86b-page .lv86b-attributes {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px;
  margin: 0 !important;
}
.lv86b-page .lv86b-attributes .loovie-detail-item {
  border: 1px solid var(--v86-line) !important; background: var(--v86-soft) !important;
  border-radius: 12px !important; padding: 11px 13px !important; margin: 0 !important;
  display: flex !important; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 0;
}
.lv86b-page .lv86b-attributes .loovie-detail-item small { color: var(--v86-sub) !important; font-size: .72rem !important; text-transform: none; }
.lv86b-page .lv86b-attributes .loovie-detail-item strong { color: var(--v86-ink) !important; font-size: .86rem; overflow-wrap: anywhere; }
body.loovie-luxury-v5 .lv86b-page .lv86b-rental-box { padding: clamp(18px, 2.1vw, 28px) !important; }
.lv86b-page .lv86b-form-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.lv86b-page .lv86b-form-heading > div { min-width: 0; }
.lv86b-page .lv86b-form-heading h2 { font-size: 1.23rem; font-weight: 800; color: var(--v86-ink); }
.lv86b-page .lv86b-eyebrow { display: block; color: var(--v86-accent); letter-spacing: .08em; text-transform: uppercase; font-weight: 750; font-size: .7rem; margin-bottom: 3px; }
.lv86b-page .lv86b-form-heading p { color: var(--v86-sub); font-size: .83rem; line-height: 1.45; margin: 5px 0 0; }
.lv86b-page .lv86b-booking-info, .lv86b-page .lv86b-identity-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: .83rem; line-height: 1.55; }
.lv86b-page .lv86b-booking-info { background: #eff6ff; color: #24486d; border: 1px solid #d4e7f8; }
.lv86b-page .lv86b-booking-info > i, .lv86b-page .lv86b-identity-note > i { flex: 0 0 auto; font-size: 1rem; margin-top: 1px; }
.lv86b-page .lv86b-form-step { padding: 18px 0; border-bottom: 1px solid var(--v86-line); }
.lv86b-page .lv86b-step-title { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: var(--v86-ink); font-size: .95rem; font-weight: 800; line-height: 1.35; }
.lv86b-page .lv86b-step-num { display: inline-flex; flex: 0 0 27px; align-items: center; justify-content: center; width: 27px; height: 27px; border: 1px solid #efd5df; background: var(--v86-pink-soft); color: var(--v86-accent); font-size: .78rem; font-weight: 800; border-radius: 9px; }
.lv86b-page .form-label { font-size: .82rem; font-weight: 700; color: var(--v86-ink) !important; margin-bottom: 7px; line-height: 1.4; }
.lv86b-page .form-label span { color: var(--v86-accent); }
.lv86b-page .form-select, .lv86b-page .form-control { height: 46px; min-height: 46px; width: 100%; background-color: var(--v86-card) !important; color: var(--v86-ink) !important; border: 1px solid var(--v86-line) !important; border-radius: 11px !important; font-size: .89rem; box-shadow: none !important; }
.lv86b-page .form-control:focus, .lv86b-page .form-select:focus { border-color: var(--v86-focus) !important; box-shadow: 0 0 0 3px rgba(162,72,109,.13) !important; }
.lv86b-page input[type="date"] { color-scheme: light; }
.lv86b-page .lv86b-schedule-preview, .lv86b-page .lv86b-availability-result { border-radius: 12px !important; font-size: .84rem; line-height: 1.5; overflow-wrap: anywhere; }
.lv86b-page .lv86b-identity-note { background: #fff9ed; color: #78512c; border: 1px solid #f2e2c9; margin: 17px 0 13px; }
.lv86b-page .lv86b-terms-details { border: 1px solid var(--v86-line); border-radius: 14px; overflow: hidden; background: var(--v86-card); margin-bottom: 18px; }
.lv86b-page .lv86b-terms-details > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 13px 15px;
  list-style: none; cursor: pointer; color: var(--v86-ink); font-size: .86rem; font-weight: 750;
}
.lv86b-page .lv86b-terms-details > summary::-webkit-details-marker { display: none; }
.lv86b-page .lv86b-terms-details > summary > span:first-child { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.lv86b-page .lv86b-terms-details > summary > span:first-child i { color: var(--v86-accent); font-size: 1rem; }
.lv86b-page .lv86b-terms-action { display: inline-flex; align-items: center; gap: 7px; flex: none; font-size: .8rem; color: var(--v86-accent); }
.lv86b-page .lv86b-terms-details[open] .lv86b-terms-action i { transform: rotate(180deg); }
.lv86b-page .lv86b-terms-content { padding: 0 13px 13px; border-top: 1px solid var(--v86-line); }
.lv86b-page .lv86b-terms-content .loovie-heels-terms { max-width: 100%; margin: 13px 0 0 !important; background: var(--v86-soft) !important; border: 1px solid var(--v86-line) !important; border-radius: 13px; padding: 14px !important; color: var(--v86-ink) !important; }
.lv86b-page .lv86b-terms-content .loovie-heels-terms :is(h2, li, strong) { color: var(--v86-ink) !important; }
.lv86b-page .lv86b-terms-content .loovie-heels-terms ul { padding-left: 1.15rem; }
.lv86b-page .lv86b-terms-content .loovie-heels-terms .loovie-heels-terms-icon { display: none; }
.lv86b-page .lv86b-total-panel { background: var(--v86-soft); border: 1px solid var(--v86-line); border-radius: 16px; padding: 15px; }
.lv86b-page .lv86b-total-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--v86-ink); font-size: .94rem; font-weight: 800; }
.lv86b-page .lv86b-total-head i { color: var(--v86-accent); }
body.loovie-luxury-v5 .lv86b-page .lv86b-total-panel .loovie-summary-card { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; }
.lv86b-page .lv86b-total-panel .loovie-summary-row { color: var(--v86-sub); padding: 8px 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .84rem; }
.lv86b-page .lv86b-total-panel .loovie-summary-row strong { color: var(--v86-ink) !important; font-weight: 800; text-align: right; }
.lv86b-page .lv86b-total-panel .loovie-summary-total { margin-top: 8px; border-top: 1px dashed var(--v86-line); padding-top: 13px; color: var(--v86-ink); font-weight: 850; }
.lv86b-page .lv86b-total-panel .loovie-summary-total strong { color: var(--v86-accent) !important; font-size: 1.15rem; }
body.loovie-luxury-v5 .lv86b-page .lv86b-submit { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border-radius: 13px !important; font-size: .95rem; margin-top: 14px; font-weight: 800; }
body.loovie-luxury-v5 .lv86b-page .lv86b-submit:disabled { opacity: .6 !important; cursor: not-allowed; }
.lv86b-page .lv86b-submit-note { font-size: .76rem; text-align: center; line-height: 1.45; color: var(--v86-sub); margin: 10px 0 0; }
.lv86b-recommendations { width: min(1480px, calc(100% - 38px)) !important; max-width: 1480px !important; }
/* Dark mode: stronger specificity than legacy 'important' theme rules. */
html.dark body.loovie-luxury-v5 .lv86b-page,
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page,
html.lv5d-dark body.loovie-luxury-v5 .lv86b-page,
body.loovie-luxury-v5.dark .lv86b-page {
  --v86-ink: #f1eaf2; --v86-sub: #c2b4c5; --v86-line: #564657;
  --v86-card: #27212d; --v86-soft: #312936; --v86-accent: #f5a2c4;
  --v86-pink-soft: #442d3c; --v86-focus: #f5a2c4;
}
html.dark body.loovie-luxury-v5 .lv86b-page :is(.lv86b-gallery-card,.lv86b-product-overview,.lv86b-rental-box,.lv86b-terms-details),
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page :is(.lv86b-gallery-card,.lv86b-product-overview,.lv86b-rental-box,.lv86b-terms-details),
html.lv5d-dark body.loovie-luxury-v5 .lv86b-page :is(.lv86b-gallery-card,.lv86b-product-overview,.lv86b-rental-box,.lv86b-terms-details) { background: var(--v86-card) !important; border-color: var(--v86-line) !important; color: var(--v86-ink) !important; }
html.dark body.loovie-luxury-v5 .lv86b-page :is(.lv86b-product-overview h1,.lv86b-form-heading h2,.lv86b-step-title,.lv86b-gallery-heading strong,.lv86b-attributes strong,.lv86b-total-head,.lv86b-terms-details summary,.form-label),
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page :is(.lv86b-product-overview h1,.lv86b-form-heading h2,.lv86b-step-title,.lv86b-gallery-heading strong,.lv86b-attributes strong,.lv86b-total-head,.lv86b-terms-details summary,.form-label),
html.lv5d-dark body.loovie-luxury-v5 .lv86b-page :is(.lv86b-product-overview h1,.lv86b-form-heading h2,.lv86b-step-title,.lv86b-gallery-heading strong,.lv86b-attributes strong,.lv86b-total-head,.lv86b-terms-details summary,.form-label) { color: var(--v86-ink) !important; }
html.dark body.loovie-luxury-v5 .lv86b-page :is(.lv86b-price-row .loovie-price-lg,.lv86b-sku strong),
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page :is(.lv86b-price-row .loovie-price-lg,.lv86b-sku strong) { color: var(--v86-ink) !important; }
html.dark body.loovie-luxury-v5 .lv86b-page :is(.lv86b-form-heading p,.lv86b-gallery-heading small,.lv86b-description,.lv86b-attributes small,.lv86b-price-row small,.lv86b-sku,.lv86b-gallery-help,.lv86b-submit-note),
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page :is(.lv86b-form-heading p,.lv86b-gallery-heading small,.lv86b-description,.lv86b-attributes small,.lv86b-price-row small,.lv86b-sku,.lv86b-gallery-help,.lv86b-submit-note) { color: var(--v86-sub) !important; }
html.dark body.loovie-luxury-v5 .lv86b-page :is(.lv86b-attributes .loovie-detail-item,.lv86b-terms-content .loovie-heels-terms,.lv86b-total-panel,.lv86b-step-num),
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page :is(.lv86b-attributes .loovie-detail-item,.lv86b-terms-content .loovie-heels-terms,.lv86b-total-panel,.lv86b-step-num) { background: var(--v86-soft) !important; border-color: var(--v86-line) !important; }
html.dark body.loovie-luxury-v5 .lv86b-page .lv86b-booking-info,
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page .lv86b-booking-info { background: #182e43 !important; color: #d0e6fb !important; border-color: #41617e !important; }
html.dark body.loovie-luxury-v5 .lv86b-page .lv86b-identity-note,
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page .lv86b-identity-note { background: #413024 !important; color: #f2dfbc !important; border-color: #776146 !important; }
html.dark body.loovie-luxury-v5 .lv86b-page .form-control,
html.dark body.loovie-luxury-v5 .lv86b-page .form-select,
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page .form-control,
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page .form-select { background-color: #302936 !important; color: #f1eaf2 !important; border-color: #615568 !important; }
html.dark body.loovie-luxury-v5 .lv86b-page input[type="date"],
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page input[type="date"] { color-scheme: dark !important; }
html.dark body.loovie-luxury-v5 .lv86b-page .lv86b-total-panel .loovie-summary-row strong,
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page .lv86b-total-panel .loovie-summary-row strong { color: #f1eaf2 !important; }
html.dark body.loovie-luxury-v5 .lv86b-page .lv86b-total-panel .loovie-summary-total strong,
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page .lv86b-total-panel .loovie-summary-total strong { color: #ffc0d6 !important; }
html.dark body.loovie-luxury-v5 .lv86b-page .lv86b-terms-content .loovie-heels-terms :is(h2,li,strong),
html[data-bs-theme="dark"] body.loovie-luxury-v5 .lv86b-page .lv86b-terms-content .loovie-heels-terms :is(h2,li,strong) { color: #f1eaf2 !important; }
@media (max-width: 1050px) {
  .lv86b-page .lv86b-main-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
  .lv86b-page .lv86b-gallery-card { padding: 12px; }
}
@media (max-width: 820px) {
  .lv86b-page, .lv86b-recommendations { width: min(100% - 24px, 720px) !important; }
  .lv86b-page .lv86b-main-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lv86b-page .lv86b-photo-main { aspect-ratio: 5 / 4.5; max-height: 580px; }
}
@media (max-width: 480px) {
  .lv86b-page .lv86b-product-overview, body.loovie-luxury-v5 .lv86b-page .lv86b-rental-box { padding: 16px !important; border-radius: 18px !important; }
  .lv86b-page .lv86b-gallery-card { border-radius: 18px !important; }
  .lv86b-page .lv86b-gallery-heading small { display: none; }
  .lv86b-page .lv86b-photo-main { min-height: 300px; aspect-ratio: 4 / 4.5; }
  .lv86b-page .lv86b-thumb-row .loovie-detail-thumb { width: 64px !important; height: 72px !important; flex-basis: 64px; }
  .lv86b-page .lv86b-attributes { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lv86b-page .lv86b-form-heading .lv86b-icon { width: 37px; height: 37px; flex-basis: 37px; }
  .lv86b-page .lv86b-step-title { font-size: .89rem; }
  .lv86b-page .lv86b-total-panel { padding: 12px; }
  .lv86b-page .lv86b-terms-details > summary { padding: 12px 10px; font-size: .79rem; }
  .lv86b-page .lv86b-terms-action { font-size: .73rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lv86b-page *, .lv86b-page *::before, .lv86b-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
