/* V192 premium option selection popup */
.v192-product-options-modal.show{
  position:fixed;
  inset:0;
  z-index:1300;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  overflow:hidden;
  overscroll-behavior:contain;
  background:rgba(16,24,40,.38);
}

.v192-product-options-modal .v192-option-sheet{
  position:relative;
  display:grid;
  gap:12px;
  width:100%;
  max-width:680px;
  max-height:86vh;
  overflow:auto;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  padding:16px 16px 0;
  border-radius:26px 26px 0 0;
  background:radial-gradient(circle at 10% 8%,rgba(236,72,153,.14),transparent 28%),radial-gradient(circle at 90% 16%,rgba(14,165,233,.16),transparent 30%),linear-gradient(145deg,#fff 0%,#f8fbff 58%,#fff7fb 100%);
  box-shadow:0 -20px 54px rgba(16,24,40,.26);
}

.v192-product-options-modal .v192-option-sheet::before{
  content:"";
  width:58px;
  height:5px;
  margin:0 auto 2px;
  border-radius:999px;
  background:rgba(102,112,133,.28);
}

.v192-product-options-modal .option-close{
  position:absolute;
  top:18px;
  right:14px;
  z-index:3;
  display:grid;
  width:36px;
  height:36px;
  place-items:center;
  border:1px solid rgba(230,234,240,.92);
  border-radius:50%;
  background:#fff;
  color:#344054;
  font-size:24px;
  line-height:1;
  box-shadow:0 10px 22px rgba(16,24,40,.08);
}

.v192-product-options-modal .v192-option-selected-head{
  display:grid;
  grid-template-columns:92px minmax(0,1fr);
  gap:14px;
  align-items:center;
  min-width:0;
  padding:8px 46px 8px 8px;
  overflow:visible;
  border:1px solid rgba(230,234,240,.94);
  border-radius:20px;
  background:rgba(255,255,255,.88);
  box-shadow:0 12px 30px rgba(16,24,40,.08);
}

.v192-product-options-modal .v192-option-selected-head .option-product-media{
  width:92px;
  height:92px;
  min-width:92px;
  margin:-6px 0;
  border-radius:18px;
  overflow:hidden;
  background:linear-gradient(135deg,#ff4f9a,#2f80ed 54%,#17c964);
}

.v192-option-selected-head .option-product-media img,
.v192-media-expand img,
.v192-media-expand span{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.v192-option-selected-head .option-product-media span{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:#fff;
  font-weight:900;
}

.v192-option-selected-copy{
  display:grid;
  gap:4px;
  min-width:0;
}

.v192-option-price-line{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
}

.v192-option-price-line b{
  color:#c0265a;
  font-size:25px;
  line-height:1;
  font-weight:900;
}

.v192-option-price-line del{
  color:#98a2b3;
  font-size:13px;
  font-weight:800;
}

.v192-option-price-line span{
  padding:3px 7px;
  border-radius:999px;
  background:#fff1f5;
  color:#c0265a;
  font-size:12px;
  font-weight:900;
}

#optionSelectedTopName{
  margin:0;
  overflow:hidden;
  color:#101828;
  font-size:15px;
  line-height:1.25;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#optionProductCode{
  overflow:hidden;
  color:#667085;
  font-size:12px;
  font-weight:750;
  text-overflow:ellipsis;
  white-space:nowrap;
}

#optionTierLabel{
  width:max-content;
  max-width:100%;
  padding:4px 9px;
  border:1px solid #edf0f5;
  border-radius:999px;
  background:#fff;
  color:#667085;
  font-size:11px;
  font-weight:900;
}

.v192-product-options-modal .v192-option-section{
  padding:12px;
  border:1px solid rgba(230,234,240,.94);
  border-radius:20px;
  background:rgba(255,255,255,.78);
  box-shadow:0 10px 26px rgba(16,24,40,.06);
}

.v192-product-options-modal .option-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.v192-product-options-modal .option-title-row b{
  color:#101828;
  font-size:16px;
  font-weight:900;
}

.v192-product-options-modal .option-title-row span{
  color:#667085;
  font-size:12px;
  font-weight:800;
}

.v192-option-variant-grid.is-image-mode{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}

.v192-option-variant-grid.is-list-mode{
  display:grid;
  gap:8px;
}

.v192-option-variant-card{
  border:1px solid #edf0f5;
  background:#fff;
  color:#101828;
  font:inherit;
}

.v192-option-variant-card.is-selected{
  border-color:#c0265a;
  background:#fff7fb;
  box-shadow:0 0 0 1px rgba(192,38,90,.16),0 10px 24px rgba(192,38,90,.10);
}

.v192-option-variant-card.is-image-tile{
  display:grid;
  gap:6px;
  padding:7px;
  border-radius:16px;
  text-align:center;
}

.v192-variant-image{
  position:relative;
  display:block;
  aspect-ratio:1/1;
  overflow:hidden;
  border-radius:12px;
  background:#f2f4f7;
}

.v192-variant-image img,
.v192-variant-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.v192-variant-image i,
.v192-variant-thumb i{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:#667085;
  font-style:normal;
  font-weight:900;
}

.v192-option-variant-card.is-image-tile b{
  overflow:hidden;
  color:#101828;
  font-size:12px;
  line-height:1.15;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.v192-option-variant-card.is-image-tile strong{
  color:#c0265a;
  font-size:12px;
  font-weight:900;
}

.v192-option-variant-card.is-list-row{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
  min-width:0;
  padding:8px;
  border-radius:14px;
  text-align:left;
}

.v192-variant-thumb{
  position:relative;
  width:42px;
  height:42px;
  overflow:hidden;
  border-radius:10px;
  background:#f2f4f7;
}

.v192-variant-copy{
  display:grid;
  gap:2px;
  min-width:0;
}

.v192-variant-copy b,
.v192-variant-copy small,
.v192-variant-copy em{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.v192-variant-copy b{
  color:#101828;
  font-size:14px;
  font-weight:900;
}

.v192-variant-copy small,
.v192-variant-copy em{
  color:#667085;
  font-size:11px;
  font-style:normal;
  font-weight:750;
}

.v192-option-variant-card.is-list-row strong{
  color:#c0265a;
  font-size:13px;
  font-weight:900;
}

.v192-media-expand{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
}

.v192-media-expand i,
.v192-variant-image em,
.v192-variant-thumb em{
  position:absolute;
  right:6px;
  top:6px;
  display:grid;
  width:18px;
  height:18px;
  place-items:center;
  border-radius:50%;
  background:rgba(16,24,40,.24);
  color:rgba(255,255,255,.84);
  font-size:10px;
  font-style:normal;
  font-weight:900;
  line-height:1;
}

.v192-media-expand i svg,
.v192-variant-image em svg,
.v192-variant-thumb em svg{
  width:11px;
  height:11px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.v192-option-show-more{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  border:1px dashed rgba(236,72,153,.34);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(236,72,153,.08),rgba(47,128,237,.07),rgba(23,201,100,.06));
  color:#c0265a;
  font:inherit;
  font-size:13px;
  font-weight:900;
}

.v192-option-show-more b{
  color:#2f80ed;
}

.v192-option-show-more i{
  display:grid;
  width:22px;
  height:22px;
  place-items:center;
  border-radius:50%;
  background:#fff;
  box-shadow:0 8px 18px rgba(16,24,40,.08);
  font-style:normal;
  animation:v192VariantShowMoreHint 1.35s ease-in-out infinite;
}

.v192-option-qty-row{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) 54px;
  gap:10px;
  align-items:center;
}

.v192-option-qty-row button{
  display:grid;
  height:54px;
  place-items:center;
  border:0;
  border-radius:17px;
  background:linear-gradient(135deg,#ec4899,#2f80ed);
  color:#fff;
  font-size:26px;
  font-weight:900;
}

.v192-option-qty-row input{
  height:54px;
  border:1px solid #edf0f5;
  border-radius:17px;
  background:#fff;
  color:#101828;
  font-size:21px;
  font-weight:900;
  text-align:center;
}

.v192-offer-toggle{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0;
  border:0;
  background:transparent;
  color:#101828;
  font:inherit;
  text-align:left;
}

.v192-offer-toggle span{
  display:grid;
  gap:3px;
  min-width:0;
}

.v192-offer-toggle b{
  font-size:16px;
  font-weight:900;
}

.v192-offer-toggle small{
  overflow:hidden;
  color:#667085;
  font-size:12px;
  font-weight:800;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.v192-offer-toggle i{
  display:grid;
  width:30px;
  height:30px;
  min-width:30px;
  place-items:center;
  border:1px solid #edf0f5;
  border-radius:50%;
  background:#fff;
  color:#52628f;
  font-style:normal;
  font-weight:900;
  transition:transform .18s ease;
}

.v192-offer-section.is-expanded .v192-offer-toggle i{
  transform:rotate(180deg);
  animation:none;
}

.v192-product-options-modal .v192-offer-section:not(.is-expanded){
  border-color:rgba(236,72,153,.22);
  background:linear-gradient(135deg,rgba(236,72,153,.075),rgba(47,128,237,.07) 52%,rgba(23,201,100,.055));
  box-shadow:0 12px 28px rgba(47,128,237,.08);
}

.v192-product-options-modal .v192-offer-section:not(.is-expanded) .v192-offer-toggle b{
  color:#c0265a;
}

.v192-product-options-modal .v192-offer-section:not(.is-expanded) .v192-offer-toggle i{
  border-color:rgba(236,72,153,.22);
  background:rgba(255,255,255,.88);
  color:#c0265a;
  animation:v192OfferArrowHint 1.35s ease-in-out infinite;
}

.v192-option-tier-list{
  display:none;
  gap:8px;
  padding-top:10px;
}

.v192-offer-section.is-expanded .v192-option-tier-list{
  display:grid;
}

.v192-product-options-modal .option-tier-chip{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:9px 10px;
  border:1px solid #edf0f5;
  border-radius:14px;
  background:#fff;
  color:#101828;
  font:inherit;
}

.v192-product-options-modal .option-tier-chip.is-active{
  border-color:#9ed8f0;
  background:#f0fbff;
}

.v192-product-options-modal .option-tier-chip span{
  color:#667085;
  font-size:12px;
  font-weight:850;
}

.v192-product-options-modal .option-tier-chip b{
  color:#c0265a;
  font-size:13px;
  font-weight:900;
}

.v192-option-footer{
  position:sticky;
  bottom:0;
  z-index:2;
  display:grid;
  gap:10px;
  margin:0 -16px;
  padding:10px 16px calc(16px + env(safe-area-inset-bottom,0px));
  background:linear-gradient(180deg,rgba(255,255,255,.86),#fff 28%,#fff 100%);
}

.v192-product-options-modal .option-summary-card{
  display:grid;
  gap:6px;
  padding:10px 12px;
  border:1px solid #edf0f5;
  border-radius:17px;
  background:#fff;
}

.v192-product-options-modal .option-summary-card div{
  display:grid;
  grid-template-columns:78px minmax(0,1fr);
  gap:10px;
  align-items:center;
}

.v192-product-options-modal .option-summary-card span{
  color:#667085;
  font-size:12px;
  font-weight:800;
}

.v192-product-options-modal .option-summary-card b{
  overflow:hidden;
  color:#101828;
  font-size:13px;
  font-weight:900;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.v192-product-options-modal .option-summary-card div:last-child b{
  color:#c0265a;
  text-align:right;
}

.v192-product-options-modal .option-confirm-btn{
  width:100%;
  min-height:54px;
  border:0;
  border-radius:18px;
  background:linear-gradient(135deg,#ec4899,#2f80ed 48%,#17c964);
  color:#fff;
  font-size:16px;
  font-weight:900;
  box-shadow:0 16px 34px rgba(47,128,237,.22);
}

.v192-option-image-viewer[hidden]{
  display:none!important;
}

.v192-option-image-viewer{
  position:fixed;
  inset:0;
  z-index:40;
  display:grid;
  grid-template-rows:auto minmax(0,1fr) auto auto auto;
  background:#111;
  color:#fff;
}

.v192-option-image-viewer__top{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) 48px;
  align-items:center;
  padding:14px 12px 8px;
}

.v192-option-image-viewer__top button{
  display:grid;
  width:42px;
  height:42px;
  place-items:center;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:30px;
  line-height:1;
}

.v192-option-image-viewer__top span{
  justify-self:center;
  color:#fff;
  font-size:16px;
  font-weight:900;
}

.v192-option-image-viewer__stage{
  position:relative;
  min-height:0;
  overflow:hidden;
  padding:0;
}

.v192-option-image-viewer__track{
  display:flex;
  width:100%;
  height:100%;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
}

.v192-option-image-viewer__track::-webkit-scrollbar{
  display:none;
}

.v192-option-image-viewer__slide{
  display:grid;
  flex:0 0 100%;
  min-width:100%;
  height:100%;
  place-items:center;
  scroll-snap-align:center;
}

.v192-option-image-viewer__slide img{
  display:block;
  width:100%;
  max-width:760px;
  max-height:100%;
  object-fit:contain;
}

.v192-option-image-viewer__slide span{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:#fff;
  font-size:28px;
  font-weight:900;
}

.v192-option-image-viewer__info{
  display:grid;
  gap:4px;
  padding:8px 18px 10px;
  text-align:center;
}

.v192-option-image-viewer__info b{
  font-size:18px;
  font-weight:900;
}

.v192-option-image-viewer__info small{
  color:rgba(255,255,255,.66);
  font-size:12px;
  font-weight:800;
}

.v192-option-image-viewer__thumbs{
  display:flex;
  gap:9px;
  overflow-x:auto;
  padding:8px 14px 14px;
  scrollbar-width:none;
}

.v192-option-image-viewer__thumbs::-webkit-scrollbar{
  display:none;
}

.v192-option-image-viewer__thumbs button{
  display:block;
  width:58px;
  height:58px;
  min-width:58px;
  padding:0;
  border:2px solid transparent;
  border-radius:10px;
  overflow:hidden;
  background:#252525;
}

.v192-option-image-viewer__thumbs button.is-active{
  border-color:#ec4899;
}

.v192-option-image-viewer__thumbs img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.v192-option-image-viewer__thumbs span{
  display:grid;
  width:100%;
  height:100%;
  place-items:center;
  color:#fff;
  font-weight:900;
}

.v192-option-image-viewer__bar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:12px 14px 18px;
  background:#1f1f1f;
}

.v192-option-image-viewer__bar b{
  color:#fff;
  font-size:22px;
  font-weight:900;
}

.v192-option-image-viewer__bar button{
  min-height:48px;
  padding:0 18px;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#ec4899,#2f80ed 48%,#17c964);
  color:#fff;
  font-size:15px;
  font-weight:900;
  box-shadow:0 14px 28px rgba(47,128,237,.22);
}

@keyframes v192OfferArrowHint{
  0%,100%{transform:translateY(0) scale(1);}
  45%{transform:translateY(3px) scale(1.06);}
}

@keyframes v192VariantShowMoreHint{
  0%,100%{transform:translateY(0);}
  45%{transform:translateY(3px);}
}

@media (max-width:380px){
  .v192-option-variant-grid.is-image-mode{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .v192-product-options-modal .v192-option-selected-head{
    grid-template-columns:84px minmax(0,1fr);
    gap:12px;
  }

  .v192-product-options-modal .v192-option-selected-head .option-product-media{
    width:84px;
    height:84px;
    min-width:84px;
    margin:-4px 0;
  }
}

@media (prefers-reduced-motion:reduce){
  .v192-product-options-modal .v192-offer-toggle i,
  .v192-option-show-more i{
    animation:none!important;
  }
}
