/*-----------------------------------*\
  #HELD CLOSER — DESKTOP (768px+)
  Mobile styles live in cosmetics-lp.css — do not edit that file for desktop.
\*-----------------------------------*/

@media (min-width: 768px) {
  :root {
    --lp-desktop-max: 1200px;
    --lp-desktop-pad: 48px;
    --lp-desktop-section: 80px;
  }

  body.cosmetics-lp {
    background: var(--lp-white);
  }

  /* Promo bar — full width */
  .lp-promo-bar {
    width: 100%;
    max-width: none;
    left: 0;
    transform: none;
    justify-content: center;
    padding: 10px 24px;
    font-size: 13px;
  }

  .lp-promo-bar__tag {
    font-size: 12px;
  }

  .lp-promo-bar__timer {
    font-size: 14px;
  }

  /* Main shell — break out of 400px phone frame */
  .lp-frame {
    max-width: none;
    width: 100%;
    padding-top: 44px;
    box-shadow: none;
    overflow: visible;
  }

  #reviews,
  #how-it-works,
  #upload-heading,
  #faq {
    scroll-margin-top: 52px;
  }

  /*-----------------------------------*\
    #HERO — same treatment as mobile (stacked + curved wave)
  \*-----------------------------------*/

  .lp-hero {
    padding-bottom: 80px;
  }

  /* Mobile curve, scaled up for wide screens */
  .lp-hero::after {
    display: block;
    bottom: -72px;
    width: min(160%, 2200px);
    height: 120px;
  }

  .lp-hero__ellipse {
    display: none;
  }

  .lp-hero__fade {
    display: none;
  }

  .lp-hero__inner {
    display: flex;
    max-width: var(--lp-desktop-max);
    width: 100%;
    min-height: 360px;
    margin: 0 auto;
    padding: 32px var(--lp-desktop-pad) 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
  }

  .lp-hero__logo {
    width: min(260px, 28vw);
    max-height: 200px;
    margin: 0 auto;
  }

  .lp-hero__copy {
    max-width: 560px;
    margin-top: 16px;
    padding-bottom: 48px;
    text-align: center;
  }

  .lp-hero__eyebrow {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .lp-hero__title {
    font-size: clamp(52px, 6vw, 80px);
    line-height: 0.88;
  }

  /*-----------------------------------*\
    #HOW IT WORKS
  \*-----------------------------------*/

  .lp-steps {
    position: relative;
    z-index: 2;
    margin-top: -8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    align-items: start;
    padding: 56px var(--lp-desktop-pad) var(--lp-desktop-section);
    max-width: var(--lp-desktop-max);
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero .lp-as-seen {
    margin-top: 20px;
    padding-bottom: 36px;
  }

  .lp-hero .lp-as-seen__label {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .lp-hero .lp-as-seen__logos {
    flex-wrap: nowrap;
    gap: 14px 24px;
    padding: 0 16px;
  }

  .lp-hero .lp-as-seen__logo {
    max-width: 88px;
    max-height: 28px;
    opacity: 0.92;
  }

  .lp-steps__intro {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 48px;
  }

  .lp-steps__title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    font-size: 42px;
    margin-bottom: 16px;
  }

  .lp-steps__subtext {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-size: 17px;
    line-height: 1.55;
  }

  .lp-step-card {
    margin-bottom: 0;
    border: 1px solid hsl(0, 0%, 92%);
    border-radius: 16px;
    box-shadow: 0 8px 32px hsla(0, 0%, 0%, 0.06);
    display: flex;
    flex-direction: column;
  }

  .lp-step-card__head {
    padding: 40px 32px 0;
  }

  .lp-step-card__text {
    font-size: 24px;
  }

  .lp-step-card__img {
    padding: 16px 24px 24px;
    margin-top: auto;
  }

  .lp-step-card__photo {
    max-width: 100%;
  }

  .lp-steps__cta {
    grid-column: 1 / -1;
    margin-top: 8px;
    text-align: center;
  }

  .lp-steps__cta .lp-btn {
    max-width: 280px;
    margin: 0 auto;
  }

  .lp-steps__banner {
    grid-column: 1 / -1;
    margin-top: 16px;
  }

  .lp-steps__banner-img {
    max-width: 480px;
    width: auto;
  }

  /*-----------------------------------*\
    #PRODUCT
  \*-----------------------------------*/

  .lp-product {
    max-width: var(--lp-desktop-max);
    margin: 0 auto;
    padding: var(--lp-desktop-section) var(--lp-desktop-pad);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px 64px;
    align-items: start;
  }

  .lp-product__visual {
    max-width: none;
    margin: 0;
    position: sticky;
    top: 72px;
  }

  .lp-product__main,
  .lp-product__video {
    max-width: 100%;
    max-height: 560px;
  }

  .lp-product__content {
    max-width: none;
    margin: 0;
  }

  .lp-product__title {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .lp-upload__dropzone {
    min-height: 220px;
  }

  .lp-options {
    max-width: 360px;
  }

  .lp-gallery {
    max-width: 360px;
  }

  .lp-features__item {
    font-size: 16px;
    padding-bottom: 14px;
  }

  .lp-pricing {
    justify-content: flex-start;
  }

  .lp-pricing__price {
    font-size: 32px;
  }

  .lp-qty-row {
    max-width: none;
    margin-bottom: 20px;
  }

  .lp-cta {
    max-width: 100%;
    align-items: stretch;
  }

  .lp-btn {
    max-width: 100%;
    height: 48px;
    font-size: 17px;
  }

  .lp-btn--ghost {
    align-self: flex-start;
  }

  /*-----------------------------------*\
    #REVIEWS
  \*-----------------------------------*/

  .lp-reviews {
    padding: var(--lp-desktop-section) 0;
    background: hsl(0, 0%, 97%);
  }

  .lp-reviews__header {
    max-width: var(--lp-desktop-max);
    margin: 0 auto;
    padding: 0 var(--lp-desktop-pad) 40px;
  }

  .lp-reviews__title {
    font-size: 42px;
  }

  .lp-reviews__marquee {
    max-width: var(--lp-desktop-max);
    margin: 0 auto;
    padding: 0 var(--lp-desktop-pad);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  }

  .lp-review-card {
    flex: 0 0 320px;
    width: 320px;
  }

  /*-----------------------------------*\
    #FAQ
  \*-----------------------------------*/

  .lp-faq {
    max-width: 720px;
    margin: 0 auto;
    padding: var(--lp-desktop-section) var(--lp-desktop-pad);
  }

  .lp-faq__lead {
    max-width: none;
    font-size: 16px;
    margin-bottom: 36px;
  }

  .lp-faq__question {
    font-size: 16px;
    padding: 20px 0;
  }

  .lp-faq__answer {
    font-size: 15px;
  }

  /*-----------------------------------*\
    #FOOTER
  \*-----------------------------------*/

  .lp-footer {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 32px;
    padding-left: max(var(--lp-desktop-pad), calc((100vw - var(--lp-desktop-max)) / 2 + var(--lp-desktop-pad)));
    padding-right: max(var(--lp-desktop-pad), calc((100vw - var(--lp-desktop-max)) / 2 + var(--lp-desktop-pad)));
    box-sizing: border-box;
  }

  .lp-footer__logo-wrap {
    padding: 48px 0;
    justify-content: flex-start;
  }

  .lp-footer__brand {
    width: 200px;
    max-height: 140px;
    margin: 0;
  }

  .lp-footer__bottom {
    padding: 48px 0;
    text-align: left;
  }

  .lp-footer__legal {
    justify-content: flex-start;
    gap: 10px 24px;
    margin-bottom: 16px;
  }

  .lp-footer__legal a {
    font-size: 15px;
  }

  /* Cart FAB */
  .lp-cart-fab {
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  /*-----------------------------------*\
    #SUBPAGES
  \*-----------------------------------*/

  .lp-subheader__inner {
    max-width: var(--lp-desktop-max);
    padding: 16px var(--lp-desktop-pad);
  }

  .lp-subheader__brand {
    font-size: 18px;
  }

  .lp-page {
    max-width: 720px;
    padding: 48px var(--lp-desktop-pad) 80px;
    margin: 0 auto;
    box-shadow: none;
  }

  .lp-page__title {
    font-size: 40px;
  }

  .lp-contact-form {
    max-width: 100%;
  }

  /* Cart page shell */
  .cart-body .lp-frame,
  .cart-body {
    background: hsl(0, 0%, 96%);
  }

  .cart-shell {
    max-width: var(--lp-desktop-max);
    padding-left: var(--lp-desktop-pad);
    padding-right: var(--lp-desktop-pad);
  }

  .cart-top__inner {
    max-width: var(--lp-desktop-max);
    margin: 0 auto;
    padding: 16px var(--lp-desktop-pad);
  }

  .cart-top__logo {
    font-size: 20px;
  }

  .cart-page {
    padding: 40px 0 64px;
  }

  .cart-page__title {
    font-size: 40px;
  }

  .cart-layout {
    grid-template-columns: 1fr minmax(300px, 360px);
    gap: 40px;
  }

  .cart-summary {
    top: 80px;
  }

  .cart-item {
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    padding: 24px;
  }

  .cart-page .cart-empty {
    max-width: 520px;
    margin: 48px auto;
    padding: 56px 40px;
  }
}

@media (min-width: 1024px) {
  .lp-hero {
    padding-bottom: 96px;
  }

  .lp-hero::after {
    bottom: -88px;
    height: 140px;
  }

  .lp-hero__inner {
    padding-top: 52px;
  }

  .lp-hero__logo {
    width: min(300px, 26vw);
  }

  .lp-hero__copy {
    max-width: 640px;
    padding-bottom: 56px;
  }

  .lp-steps {
    padding-top: 64px;
    margin-top: -12px;
  }

  .lp-product {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 72px 80px;
  }

  .lp-steps {
    gap: 40px 48px;
  }

  .lp-footer {
    grid-template-columns: 280px 1fr;
  }
}

@media (min-width: 1200px) {
  :root {
    --lp-desktop-pad: 56px;
  }

  .lp-reviews__marquee .lp-reviews__track {
    animation-duration: 55s;
  }
}
