/* For Her 1.20.326 — desktop Misk with product-specific gallery promo visibility.
   The existing Misk phone rules and every other PDP layout stay independent. */
.elite-pdp.pdp-mobile-layout-misk :is(.pdp-misk-desktop-meta,.pdp-misk-desktop-quantity,.pdp-misk-desktop-saving){display:none!important}

@media(min-width:992px){
  html body:has(.elite-pdp.pdp-mobile-layout-misk) #main{background:#fafafa!important}
  html body .elite-pdp.pdp-mobile-layout-misk[data-product-root]{
    width:100%!important;max-width:none!important;margin:0!important;
    padding:0 24px 32px!important;background:#fafafa!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .product-layout{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    direction:ltr!important;align-items:start!important;column-gap:30px!important;row-gap:0!important;
    width:100%!important;max-width:1140px!important;min-width:0!important;
    margin:0 auto 28px!important;padding:0!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-gallery{
    grid-column:1!important;grid-row:1!important;order:0!important;direction:rtl!important;
    position:relative!important;top:auto!important;align-self:start!important;
    display:flex!important;flex-direction:column!important;gap:0!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    margin:0!important;padding:0!important;background:transparent!important;
    border:0!important;box-shadow:none!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-gallery__main{
    position:relative!important;width:100%!important;max-width:none!important;
    height:auto!important;min-height:0!important;aspect-ratio:1!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;
    background:transparent!important;overflow:hidden!important;box-shadow:none!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk [data-pdp-media-track]{
    width:100%!important;height:100%!important;min-height:0!important;aspect-ratio:1!important;
    margin:0!important;padding:0!important;gap:0!important;align-items:stretch!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk [data-pdp-media-item]{
    flex:0 0 100%!important;width:100%!important;height:100%!important;min-height:0!important;
    margin:0!important;padding:0!important;aspect-ratio:1!important;border-radius:0!important;
    background:transparent!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk [data-pdp-media-item]>img,
  html body .elite-pdp.pdp-mobile-layout-misk .product-media-video{
    display:block!important;width:100%!important;height:100%!important;min-height:0!important;
    max-width:none!important;max-height:none!important;object-fit:contain!important;
    object-position:center!important;aspect-ratio:1!important;margin:0!important;padding:0!important;
    border-radius:0!important;
  }
  /* The template renders this strip only for a nonempty product field. */
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-gallery-promo{display:flex!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-gallery__thumbs{
    width:100%!important;justify-content:center!important;margin:12px 0 0!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-gallery__thumbs[hidden]{display:none!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-gallery__utilities{
    opacity:0;transition:opacity .18s ease;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-gallery:is(:hover,:focus-within) .pdp-reference-gallery__utilities{opacity:1}

  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-info{
    grid-column:2!important;grid-row:1!important;order:1!important;direction:rtl!important;
    width:100%!important;max-width:none!important;min-width:0!important;
    margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky{
    position:relative!important;top:auto!important;display:flex!important;flex-direction:column!important;
    align-items:stretch!important;gap:0!important;width:100%!important;min-width:0!important;
    padding:0!important;margin:0!important;color:#1e1e1e!important;
    border:0!important;background:transparent!important;box-shadow:none!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-misk-mobile-summary{
    order:-3!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
    flex-wrap:nowrap!important;direction:rtl!important;gap:10px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:5px 0 18px!important;padding:0!important;border:0!important;background:transparent!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-mobile-summary .pdp-misk-card{
    display:flex!important;align-items:center!important;justify-content:center!important;
    flex:1 1 0!important;flex-direction:row-reverse!important;gap:8px!important;min-width:0!important;
    min-height:50px!important;height:50px!important;max-height:none!important;
    margin:0!important;padding:5px 10px!important;border:0!important;border-radius:8px!important;
    box-shadow:none!important;overflow:visible!important;text-decoration:none!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-mobile-summary .pdp-misk-card--rating{
    flex-grow:.92!important;background:#c39d0012!important;color:#c39d00!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-mobile-summary .pdp-misk-card--recommend{
    flex-grow:1.48!important;background:#369a0012!important;color:#369a00!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-mobile-summary .pdp-misk-card--sold{
    flex-grow:1!important;background:#ff3b3b1a!important;color:#ff5f5f!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__icon{
    display:grid!important;place-items:center!important;width:28px!important;height:28px!important;
    flex:0 0 28px!important;padding:0!important;margin:0!important;background:transparent!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;color:inherit!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__icon svg{
    display:block!important;width:100%!important;height:100%!important;fill:currentColor!important;
    color:inherit!important;stroke:none!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__copy{
    display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
    align-items:flex-start!important;justify-content:center!important;gap:1px!important;min-width:0!important;
    color:inherit!important;text-align:start!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__top{
    display:flex!important;align-items:baseline!important;justify-content:flex-start!important;
    flex-wrap:nowrap!important;gap:6px!important;white-space:nowrap!important;color:inherit!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__top small{font-size:11px!important;font-weight:500!important;color:inherit!important;line-height:1.2!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__top b{font-size:23px!important;font-weight:800!important;color:inherit!important;line-height:1.1!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__meta{font-size:11px!important;font-weight:500!important;color:inherit!important;line-height:1.35!important;white-space:normal!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__big{font-size:25px!important;font-weight:800!important;color:inherit!important;line-height:1.1!important;white-space:nowrap!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__big small{font-size:11px!important;font-weight:700!important;color:inherit!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card--recommend .pdp-misk-card__copy{
    flex-direction:row!important;align-items:center!important;gap:5px!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card--recommend .pdp-misk-card__big{font-size:28px!important;flex:0 0 auto!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-product-heading{
    order:-2!important;width:100%!important;margin:0 0 20px!important;padding:0!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-product-title{
    width:100%!important;margin:0!important;padding:0!important;text-align:start!important;
    font-size:var(--pdp-misk-title-desktop,31.25px)!important;font-weight:500!important;line-height:1.5!important;
    color:#111!important;letter-spacing:0!important;white-space:normal!important;text-wrap:wrap!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-short-description{
    order:-1!important;width:100%!important;min-height:0!important;margin:0 0 20px!important;
    padding:0 20px!important;font-size:var(--pdp-misk-text-desktop,15px)!important;line-height:1.5!important;
    color:#777!important;text-align:start!important;font-weight:400!important;opacity:1!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-short-description :is(p,div){margin:0!important;font:inherit!important;line-height:inherit!important;color:inherit!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-price-loyalty{
    order:0!important;display:flex!important;align-items:flex-start!important;gap:8px!important;
    width:100%!important;min-height:0!important;margin:0 0 20px!important;padding:0!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-price-rating-row{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;gap:0!important;flex-wrap:wrap!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-rating--price-inline{display:none!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-price-wrapper{
    display:flex!important;align-items:baseline!important;justify-content:flex-start!important;
    flex-wrap:wrap!important;gap:10px!important;width:100%!important;min-height:0!important;
    padding:0!important;margin:0!important;background:transparent!important;border:0!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .product-price-wrapper.is-price-empty{display:none!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-info .product-price-wrapper .price-current[data-product-price]{
    color:#1e1e1e!important;font-size:var(--pdp-misk-price-desktop,22.5px)!important;line-height:1.5!important;font-weight:500!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-info .product-price-wrapper .compare-price[data-product-price-old]{
    color:#999!important;font-size:var(--pdp-misk-compare-desktop,20px)!important;line-height:1.5!important;font-weight:500!important;
    padding:0!important;margin:0!important;text-decoration:line-through!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-info .product-price-wrapper .compare-price[data-product-price-old]:not([hidden])~.price-current[data-product-price]{color:#ff5f5f!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-price-wrapper .pdp-misk-desktop-saving:not([hidden]){
    display:inline-flex!important;align-items:center!important;gap:2px!important;white-space:nowrap!important;
    margin:0!important;padding:2px 6px!important;border:0!important;border-radius:4px!important;
    background:#ff5f5f0d!important;color:#ff5f5f!important;font-size:15px!important;font-weight:600!important;line-height:1.5!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-saving b{font:inherit!important;color:inherit!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-misk-desktop-meta:not([hidden]){
    order:1!important;display:flex!important;flex-direction:column!important;gap:10px!important;
    width:100%!important;margin:0 0 20px!important;padding:0!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-meta__row:not([hidden]){
    display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:4px;
    min-height:18px;font-size:13.75px;line-height:1.5;color:#1e1e1e;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-meta__row>svg{width:14px;height:14px;flex:0 0 14px}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-meta__row>span:first-of-type{color:#777;font-size:15px}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-meta__row[hidden]{display:none!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-meta__categories{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-meta__categories>:is(a,span){padding:2px 7px;border:1px solid #999;border-radius:3px;font-size:10px;line-height:1.4;color:#777;text-decoration:none}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>:is(.product-low-stock,.pdp-preorder-countdown){order:2!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-benefits{order:3!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-payment-hint{
    order:4!important;display:block!important;width:calc(100% - 40px)!important;max-width:none!important;
    margin:20px 20px 15px!important;padding:0!important;background:transparent!important;
    border:0!important;border-radius:0!important;box-shadow:none!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments{
    display:block!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__card{
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto 5px!important;
    align-items:center!important;column-gap:12px!important;row-gap:8px!important;direction:rtl!important;
    width:100%!important;min-height:79.5px!important;margin:0!important;padding:12px 16px!important;
    box-sizing:border-box!important;border:1px solid #e8e0f0!important;border-radius:14px!important;
    background:#fff!important;color:#222!important;box-shadow:none!important;text-align:start!important;
    list-style:none!important;cursor:pointer!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__card::-webkit-details-marker{display:none!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__card::marker{content:''!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__text{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__text strong{color:#222!important;font-size:14px!important;font-weight:600!important;line-height:1.3!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__text small{color:#858585!important;font-size:11px!important;font-weight:400!important;line-height:1.3!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__logos{display:flex!important;align-items:center!important;gap:6px!important;direction:rtl!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__logo{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    height:24px!important;margin:0!important;padding:0 8px!important;border:0!important;border-radius:6px!important;
    font:700 12px/1 Arial,sans-serif!important;letter-spacing:-.45px!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__logo--tabby{background:#3bff9d!important;color:#0f2e1f!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__logo--tamara{background:linear-gradient(120deg,#ffcfa8 0%,#f9a8c9 55%,#c7b3ff 100%)!important;color:#2b1d2e!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-installments__bars{
    display:block!important;grid-column:1/-1!important;width:100%!important;height:5px!important;
    margin:0!important;padding:0!important;border-radius:3px!important;
    background:linear-gradient(270deg,#3bff9d,#ffcfa8 55%,#f9a8c9 78%,#c7b3ff)!important;
    -webkit-mask:repeating-linear-gradient(90deg,#000 0,#000 calc((100% - 30px)/11),transparent calc((100% - 30px)/11),transparent calc((100% - 30px)/11 + 3px))!important;
    mask:repeating-linear-gradient(90deg,#000 0,#000 calc((100% - 30px)/11),transparent calc((100% - 30px)/11),transparent calc((100% - 30px)/11 + 3px))!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-payment-hint:not(:has(.pdp-misk-installments[open]))>:is(.pdp-installments-native,.pdp-installments-preview){display:none!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-payment-hint:has(.pdp-misk-installments[open])>:is(.pdp-installments-native,.pdp-installments-preview){display:block!important;margin:10px 0 0!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-product-form{
    order:5!important;display:block!important;width:100%!important;margin:0!important;padding:0 20px!important;
    border:0!important;background:transparent!important;box-shadow:none!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-product-form [data-pdp-primary-purchase]{
    display:flex!important;align-items:stretch!important;flex-direction:row!important;gap:6px!important;
    width:100%!important;margin:0 0 5px!important;padding:0!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-quantity:not(.d-none){
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:0!important;
    flex:0 0 32%!important;min-width:124px!important;height:42px!important;margin:0!important;padding:0 3px!important;
    border:0!important;border-radius:6px!important;background:#fff!important;color:#222!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-quantity button{
    display:grid;place-items:center;flex:0 0 38px;width:38px;height:42px;padding:0;border:0;border-radius:5px;
    background:transparent;color:inherit;font-family:inherit;font-size:20px;font-weight:400;line-height:1;cursor:pointer;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-quantity button:disabled{opacity:.4;cursor:default}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-desktop-quantity output{display:block;margin:0;padding:0;color:inherit;font-size:20px;line-height:1.2;font-weight:700;min-width:1.5em;text-align:center}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-product-form [data-pdp-primary-purchase]>.btn-add-to-cart{
    display:flex!important;align-items:center!important;justify-content:center!important;flex:1 1 auto!important;
    width:auto!important;min-width:0!important;height:42px!important;min-height:42px!important;
    margin:0!important;padding:0 16px!important;border:0!important;border-radius:6px!important;
    background:#1e1e1e!important;color:#fff!important;box-shadow:none!important;
    font-size:20px!important;font-weight:700!important;line-height:1.4!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-delivery{order:6!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-payment-methods[data-pdp-payment-logos]{
    order:7!important;display:flex!important;flex-direction:column!important;align-items:center!important;
    gap:8px!important;width:100%!important;margin:15px 0 0!important;padding:15px 20px 20px!important;
    border:0!important;background:transparent!important;
  }
  html body .elite-pdp.pdp-mobile-layout-misk [data-pdp-payment-logos] .pdp-reference-payment-methods__label{order:1!important;text-align:center!important;font-size:12px!important}
  html body .elite-pdp.pdp-mobile-layout-misk [data-payment-viewport]{order:0!important;max-width:100%!important;min-height:30px!important;padding:0!important}
  html body .elite-pdp.pdp-mobile-layout-misk [data-payment-track],
  html body .elite-pdp.pdp-mobile-layout-misk [data-payment-set]{gap:8px!important}
  html body .elite-pdp.pdp-mobile-layout-misk [data-pdp-payment-logos] .pdp-reference-payment-method{width:45px!important;min-width:45px!important;flex-basis:45px!important;height:24px!important}
  html body .elite-pdp.pdp-mobile-layout-misk [data-pdp-payment-logos] .pdp-reference-payment-method img{width:45px!important;max-width:45px!important;height:22px!important;max-height:22px!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-stock{order:8!important;align-self:flex-start!important}
  html body .elite-pdp.pdp-mobile-layout-misk .product-info-sticky>.pdp-reference-stock.is-in-stock{display:none!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-compact-stat--sold{display:none!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-details{width:100%!important;max-width:1140px!important;margin-inline:auto!important}
}

@media(min-width:992px) and (max-width:1199px){
  html body .elite-pdp.pdp-mobile-layout-misk .product-layout{column-gap:24px!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-mobile-summary{gap:7px!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-mobile-summary .pdp-misk-card{padding-inline:7px!important;gap:5px!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__icon{width:22px!important;height:22px!important;flex-basis:22px!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__meta{font-size:10px!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card--recommend .pdp-misk-card__big{font-size:24px!important}
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-misk-card .pdp-misk-card__top b{font-size:21px!important}
}
@media(prefers-reduced-motion:reduce){
  html body .elite-pdp.pdp-mobile-layout-misk .pdp-reference-gallery__utilities{transition:none!important}
}
