/* NEYVERO desktop experience: tablet/mobile rules stay in the original stylesheets.
   These layout enhancements run only at 1024px and wider. */

/* The authentication Back control is a functional improvement on all screen sizes. */
.auth-back-button {
  position: absolute; z-index: 40; top: 48px; left: 15px;
  min-height: 31px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid rgba(168,47,89,.16); border-radius: 999px; background: rgba(255,255,255,.95);
  color: #0F3569; font: 700 10px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  box-shadow: 0 4px 13px rgba(15,53,105,.07); cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.auth-back-button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.auth-back-button:hover { background: #FFF0F5; border-color: rgba(168,47,89,.28); }
.auth-desktop-panel { display: none; }
/* Preserve the original mobile flow despite the semantic desktop purchase wrapper. */
.desktop-purchase-column { display: contents; }

@media (min-width: 1024px) {
  html { scroll-padding-top: 105px; }
  body { font-size: 16px; }

  /* Landing page: real storefront layout with gallery and purchase panel side by side. */
  body:has(> main.page) { background: linear-gradient(180deg,#fffafd 0%,#fff 520px,#fffafd 100%); }
  body > main.page {
    width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 54px 150px;
    display: grid; grid-template-columns: minmax(0,1.02fr) minmax(420px,.9fr);
    column-gap: clamp(36px,4.1vw,66px); row-gap: 0; align-items: start;
  }
  body > main.page > .mobile-header {
    grid-column: 1 / -1; grid-row: 1; width: calc(100% + 108px); margin: 0 0 0 -54px;
    padding: 14px 54px 12px; position: sticky; top: 0; overflow: visible;
    border-radius: 0 0 22px 22px; background: rgba(255,255,255,.93);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(231,222,230,.85); box-shadow: 0 8px 26px rgba(15,53,105,.065);
  }
  body > main.page .top-row { min-height: 62px; }
  body > main.page .brand-logo { width: 218px; }
  body > main.page .top-actions { gap: 8px; }
  body > main.page .icon-button { width: 48px; height: 48px; }
  body > main.page .account-button svg { width: 27px; height: 27px; }
  body > main.page .gallery-shell {
    grid-column: 1; grid-row: 2; width: 100%; min-width: 0; max-width: none;
    grid-template-columns: minmax(0,1fr); gap: 14px; margin: 34px 0 0; align-self: start;
  }
  body > main.page .main-card { aspect-ratio: 1 / 1; border-radius: 30px; }
  body > main.page .image-stage { inset: 11px; border-radius: 25px; }
  body > main.page .thumbs { gap: 12px; }
  body > main.page .thumb { border-radius: 17px; }
  body > main.page .rating-strip { min-height: 52px; font-size: 13px; }
  body > main.page .rating-stars { font-size: 17px; }
  body > main.page .desktop-purchase-column {
    grid-column: 2; grid-row: 2; min-width: 0; margin-top: 38px;
    display: flex; flex-direction: column; align-self: start;
  }
  body > main.page .product-info { padding: 0 1px 12px; }
  body > main.page .product-info-title { font-size: clamp(30px,2.45vw,40px); line-height: 1.12; letter-spacing: -.035em; }
  body > main.page .product-info-subtitle { margin-top: 9px; font-size: 17px; line-height: 1.4; }
  body > main.page .product-info-features { margin-top: 11px; font-size: 14px; }
  body > main.page .buy-more-section { margin: 12px 0 16px; padding: 23px 22px 19px; border-radius: 24px; }
  body > main.page .section-title { font-size: 25px; }
  body > main.page .buy-more-section > .section-subtitle { font-size: 14px; margin: 8px 0 17px; }
  body > main.page .bundle-grid { gap: 12px; }
  body > main.page .bundle-card { grid-template-columns: 22px minmax(0,1fr) 148px; gap: 12px; padding: 14px 15px; border-radius: 16px; }
  body > main.page .bundle-radio { width: 20px; height: 20px; }
  body > main.page .bundle-name { font-size: 16px; }
  body > main.page .bundle-qty { font-size: 11px; }
  body > main.page .bundle-badge { margin-top: 6px; padding: 4px 8px; font-size: 8px; }
  body > main.page .bundle-save { margin-top: 6px; font-size: 10px; }
  body > main.page .bundle-total { font-size: 19px; }
  body > main.page .bundle-old, body > main.page .bundle-unit { font-size: 11px; }
  body > main.page .unlock-strip { gap: 10px; margin-top: 14px; }
  body > main.page .unlock-icon { width: 28px; height: 28px; flex-basis: 28px; }
  body > main.page .unlock-copy { font-size: 11px; line-height: 1.35; }
  body > main.page .unlock-track { height: 6px; }
  body > main.page .open-before-payment-badge { margin: 0; min-height: 76px; border-radius: 15px; padding: 15px 17px; }
  body > main.page .open-before-payment-title { font-size: 15px; }
  body > main.page .open-before-payment-description { font-size: 12px; }
  body > main.page > .product-details-section,
  body > main.page > .how-to-use-section,
  body > main.page > .customer-reviews-section,
  body > main.page > .related-products-section,
  body > main.page > .faq-section,
  body > main.page > .mobile-footer {
    grid-column: 1 / -1; width: 100%; max-width: none; min-width: 0;
  }
  body > main.page > .product-details-section { margin-top: 42px; border-radius: 25px; }
  body > main.page .product-details-toggle { padding: 24px 28px; grid-template-columns: 60px minmax(0,1fr) 28px; }
  body > main.page .product-details-title { font-size: 26px; }
  body > main.page .product-details-subtitle { font-size: 14px; }
  body > main.page .product-details-body-inner { padding-left: 30px; padding-right: 30px; }
  body > main.page .product-details-section.is-open .product-details-body-inner { padding-top: 28px; padding-bottom: 30px; }
  body > main.page .details-block-title { font-size: 23px; }
  body > main.page .details-description { max-width: 1050px; font-size: 16px; }
  body > main.page .benefit-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 30px; }
  body > main.page .ingredient-chips { gap: 12px; }
  body > main.page .ingredient-chip { padding: 11px 16px; font-size: 13px; }
  body > main.page > .how-to-use-section { margin-top: 36px; padding: 30px; border-radius: 25px; }
  body > main.page .how-to-use-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
  body > main.page .how-to-use-step { min-width: 0; }
  body > main.page .how-to-use-illustration { width: min(100%,270px); margin: 0 auto 18px; }
  body > main.page .how-to-use-illustration img { width: 100%; height: 100%; object-fit: cover; }
  body > main.page > .customer-reviews-section { margin-top: 38px; padding: 30px; border-radius: 25px; }
  body > main.page .reviews-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  body > main.page .review-card { min-width: 0; }
  body > main.page > .related-products-section { margin-top: 38px; padding: 28px; border-radius: 25px; }
  body > main.page .related-products-track { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; width: 100% !important; transform: none !important; }
  body > main.page .related-product-card { width: 100% !important; min-width: 0; }
  body > main.page > .faq-section { margin-top: 38px; padding: 25px 0 0; }
  body > main.page .faq-list { max-width: 980px; margin-left: auto; margin-right: auto; }
  body > main.page .faq-item { border-radius: 16px; margin-bottom: 10px; }
  body > main.page .faq-question { padding: 20px 22px; font-size: 15px; }
  body > main.page .faq-answer-inner { font-size: 14px; line-height: 1.75; }
  body > main.page > .mobile-footer { margin-top: 44px; padding: 35px 20px 30px; border-radius: 24px 24px 0 0; }

  /* Desktop quick-buy dock: the mobile bottom dock becomes a compact desktop purchase bar. */
  body > .mobile-sticky-buy {
    display: flex !important; position: fixed; left: 50%; bottom: 20px; z-index: 1200;
    transform: translateX(-50%); width: min(860px,calc(100vw - 80px)); min-height: 90px;
    display: flex; align-items: center; gap: 16px;
    padding: 13px 15px; border: 1px solid rgba(231,222,230,.94); border-radius: 22px;
    background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    box-shadow: 0 18px 60px rgba(15,53,105,.17);
  }
  body > .mobile-sticky-buy .sticky-buy-thumb { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 15px; overflow: hidden; }
  body > .mobile-sticky-buy .sticky-buy-info { min-width: 0; flex: 1 1 auto; }
  body > .mobile-sticky-buy .sticky-buy-name { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
  body > .mobile-sticky-buy .sticky-buy-price { font-size: 22px; }
  body > .mobile-sticky-buy .sticky-buy-meta { gap: 10px; margin-top: 6px; }
  body > .mobile-sticky-buy .sticky-buy-discount { font-size: 10px; }
  body > .mobile-sticky-buy .sticky-buy-button { flex: 0 0 auto; min-width: 190px; height: 58px; padding: 0 28px; border-radius: 16px; font-size: 17px; }
  body > .sticky-buy-toast { bottom: 125px; }

  /* Authentication: desktop welcome panel + roomy form card, while the phone layout remains mobile-only. */
  body:has(.auth-showcase) { min-height: 100vh; display: block; background: #fff8fb; }
  .auth-showcase {
    width: 100%; max-width: 1540px; min-height: 100vh; margin: 0 auto; padding: 42px clamp(42px,5vw,88px);
    display: grid; grid-template-columns: minmax(0,1fr) minmax(520px,.96fr); gap: clamp(42px,6vw,100px);
    align-items: center; justify-content: center; overflow: visible;
    background: radial-gradient(circle at 9% 8%,rgba(168,47,89,.10),transparent 30%),radial-gradient(circle at 91% 87%,rgba(15,53,105,.09),transparent 28%),linear-gradient(135deg,#fffafd 0%,#f7f8fc 100%);
  }
  .auth-desktop-panel {
    grid-column: 1; grid-row: 1; min-height: min(760px,calc(100vh - 84px));
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    position: relative; isolation: isolate; overflow: hidden; padding: clamp(42px,5vw,78px);
    border: 1px solid rgba(255,255,255,.52); border-radius: 34px;
    color: #fff; background: radial-gradient(circle at 85% 15%,rgba(255,218,231,.34),transparent 30%),radial-gradient(circle at 6% 92%,rgba(255,255,255,.12),transparent 34%),linear-gradient(142deg,#0F3569 0%,#174779 57%,#A82F59 100%);
    box-shadow: 0 28px 80px rgba(15,53,105,.18);
  }
  .auth-desktop-panel::after { content:""; position:absolute; z-index:-1; width:410px;height:410px;right:-130px;bottom:-165px;border:1px solid rgba(255,255,255,.19);border-radius:50%;box-shadow:0 0 0 36px rgba(255,255,255,.04),0 0 0 82px rgba(255,255,255,.035); }
  .auth-desktop-panel .auth-panel-logo { width: min(250px,80%); max-height:70px; object-fit:contain; object-position:left center; filter:brightness(0) invert(1); margin-bottom:42px; }
  .auth-desktop-panel .auth-panel-eyebrow { margin:0 0 16px; color:#ffd7e4; font-size:12px; font-weight:800; letter-spacing:.2em; text-transform:uppercase; }
  .auth-desktop-panel h1 { max-width:640px; margin:0; font-size:clamp(42px,4.5vw,70px); line-height:1.02; letter-spacing:-.055em; font-weight:800; }
  .auth-desktop-panel p { max-width:520px; margin:23px 0 0; color:rgba(255,255,255,.84); font-size:16px; line-height:1.8; }
  .auth-panel-features { display:grid; gap:15px; margin-top:36px; }
  .auth-panel-feature { display:flex; align-items:center; gap:12px; color:#fff; font-size:14px; font-weight:650; }
  .auth-panel-feature span:first-child { width:31px;height:31px;display:grid;place-items:center;flex:none;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.10);color:#ffd7e4; }
  .auth-panel-feature svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round; }
  .phone-stage { grid-column: 2; grid-row: 1; width: 100%; max-width: 620px; min-height: 0; height: auto; margin: 0 auto; display: flex; justify-content: center; align-items: center; }
  .phone { width: 100%; max-width: 600px; min-height: 0; height: auto; aspect-ratio: auto; position: relative; }
  .phone-frame { position: relative; inset: auto; width: 100%; min-height: 0; padding: 0; border-radius: 30px; background: transparent; box-shadow: 0 28px 75px rgba(15,53,105,.14); }
  .phone-frame::before { display: none; }
  .phone-screen { height: auto; min-height: 0; border-radius: 30px; border: 1px solid #f0dce5; overflow: hidden; background: rgba(255,255,255,.97); }
  .status-bar, .home-bar { display: none; }
  .auth-view { height: auto; min-height: 0; padding: 68px 44px 42px; overflow: visible; scrollbar-width: auto; }
  .auth-view[data-view="signup"], .auth-view[data-view="login"] { height:auto; min-height:0; padding:68px 44px 42px; overflow:visible; justify-content:center; }
  .auth-view .brand-logo { width: 176px; max-width:70%; margin: 0 auto 20px; }
  .auth-heading { margin-bottom: 22px; }
  .auth-heading h1 { font-size: 32px; line-height:1.1; }
  .auth-heading p { max-width:390px; margin:9px auto 0; font-size:14px; line-height:1.6; }
  .auth-form { gap: 12px; }
  .auth-view[data-view="signup"] .auth-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 14px; }
  .auth-view[data-view="signup"] .auth-form > .field { min-width:0; }
  .auth-view[data-view="signup"] .auth-form > .field:nth-of-type(3),
  .auth-view[data-view="signup"] .check-row,
  .auth-view[data-view="signup"] .primary-btn { grid-column:1/-1; }
  .field { min-height:64px; grid-template-columns:30px minmax(0,1fr) 28px; gap:10px; padding:10px 14px; border-radius:14px; }
  .field-icon { width:28px;height:28px; }
  .field-icon svg { width:18px;height:18px; }
  .field-label { font-size:11px; margin-bottom:4px; }
  .field input { width:100%; min-width:0; font-size:13px; }
  .check-row { font-size:11px; line-height:1.55; }
  .primary-btn { min-height:52px; border-radius:13px; font-size:14px; }
  .or-divider { margin:17px 0 13px; }
  .or-divider em { font-size:10px; }
  .switch-copy { margin-top:16px; font-size:12px; }
  .phone-toast { position: fixed; left:50%; bottom:22px; min-width:260px; padding:13px 18px; font-size:12px; z-index:6000; }
  .auth-back-button { top:18px; left:20px; min-height:35px; padding:0 13px; font-size:11px; }
  .auth-back-button svg { width:15px;height:15px; }

  /* Checkout: use a broad desktop card with readable content instead of a phone-width checkout mockup. */
  body:has(.checkout-device) { display:block; min-height:100vh; padding:36px; align-items:initial; background:radial-gradient(ellipse at 50% 0,rgba(248,222,233,.60),transparent 44rem),linear-gradient(180deg,#faf7f8 0%,#f5f7fb 100%); }
  .page-shell:has(.checkout-device) { width:min(100%,1320px); margin:0 auto; display:block; }
  .checkout-device { width:100%; max-width:1320px; height:auto; min-height:calc(100vh - 72px); margin:0 auto; overflow:visible; border-radius:30px; padding-bottom:38px; background:linear-gradient(180deg,#fff 0%,#fffafd 100%); box-shadow:0 28px 85px rgba(15,53,105,.14); }
  .checkout-device .topbar { height:86px; padding:20px 34px 12px; grid-template-columns:64px 1fr 120px; }
  .checkout-device .brand { width:230px; }
  .checkout-device .brand img { max-width:230px; max-height:44px; }
  .checkout-device .secure { max-width:none; gap:8px; font-size:12px; }
  .checkout-device .secure svg { width:23px;height:23px; }
  .checkout-device .intro { padding:16px 42px 4px; text-align:center; }
  .checkout-device .intro h1 { font-size:36px; }
  .checkout-device .intro p { font-size:15px; }
  .checkout-device .stepper { max-width:880px; margin:0 auto; width:100%; padding:24px 20px 20px; grid-template-columns:1fr 90px 1fr 90px 1fr; }
  .checkout-device .step { gap:10px; font-size:13px; }
  .checkout-device .step-dot { width:42px;height:42px;font-size:16px; }
  .checkout-device .content { width:100%; max-width:1080px; height:auto; min-height:0; margin:0 auto; padding:22px 32px 24px; overflow:visible; }
  .checkout-device .card { padding:24px; border-radius:20px; box-shadow:0 10px 28px rgba(15,53,105,.045); }
  .checkout-device .section-title { font-size:22px; }
  .checkout-device .section-sub { font-size:14px; }
  .checkout-device .form-row { min-height:62px; margin:11px 0; border-radius:14px; padding-top:11px; padding-bottom:10px; }
  .checkout-device .form-row label { font-size:13px; }
  .checkout-device .form-row input, .checkout-device .form-row select, .checkout-device .phone-line { font-size:14px; }
  .checkout-device .primary { height:54px; font-size:15px; border-radius:15px; }
  .checkout-device .banner { padding:18px 22px; border-radius:19px; }
  .checkout-device .banner strong { font-size:15px; }
  .checkout-device .banner .free { font-size:21px; }
  .checkout-device .banner p { font-size:12px; }
  .checkout-device .subheading { font-size:22px; }
  .checkout-device .option { padding:18px; border-radius:17px; }
  .checkout-device .option-title { font-size:15px; }
  .checkout-device .option-meta { font-size:12px; }
  .checkout-device .option.payment-option { max-width:100%; }
  .checkout-device .option.delivery-option { max-width:100%; }
  .checkout-device .content:has(.summary-total) { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:18px; align-items:start; }
  .checkout-device .content:has(.summary-total) > .card:first-child { grid-column:1; grid-row:1/span 3; }
  .checkout-device .content:has(.summary-total) > .info-card { grid-column:2; }
  .checkout-device .content:has(.summary-total) > .secure-strip,
  .checkout-device .content:has(.summary-total) > .primary { grid-column:1/-1; }
  .checkout-device .content:has(.summary-total) .product-row { gap:17px; }
  .checkout-device .content:has(.summary-total) .product-name { font-size:15px; }
  .checkout-device .content:has(.summary-total) .summary-line { font-size:14px; }
  .checkout-device .content:has(.summary-total) .summary-total { font-size:16px; }

  /* Account hub and supporting account pages. */
  body:has(.account-page), body:has(.orders-page), body:has(.order-details-page), body:has(.reviews-page), body:has(.write-review-page) { background:radial-gradient(circle at 10% 0,rgba(168,47,89,.06),transparent 32rem),linear-gradient(180deg,#f9f9fc 0%,#fffafd 100%); }
  .account-page:not(.edit-page):not(.security-page) {
    width:min(1180px,calc(100% - 88px)); max-width:none; min-height:calc(100vh - 80px); margin:40px auto 48px; padding:34px 38px 42px;
    display:grid; grid-template-columns:minmax(260px,330px) minmax(0,1fr); grid-template-rows:auto auto 1fr; gap:20px 34px;
    border:1px solid #eef0f5; border-radius:28px; box-shadow:0 22px 70px rgba(15,53,105,.08); background:rgba(255,255,255,.96);
  }
  .account-header { grid-column:1/-1; height:auto; min-height:64px; padding-bottom:18px; border-bottom:1px solid #edf0f4; }
  .account-header .brand img { width:180px; }
  .account-header .icon-button { width:46px;height:46px;border:1px solid #e7eaf1;border-radius:14px; }
  .account-header .icon-button svg { width:23px;height:23px; }
  .account-page:not(.edit-page):not(.security-page) > .intro { grid-column:1/-1; padding:4px 0 6px; }
  .account-page:not(.edit-page):not(.security-page) > .intro h1 { font-size:34px; }
  .account-page:not(.edit-page):not(.security-page) > .intro p { font-size:14px; }
  .account-page:not(.edit-page):not(.security-page) > .intro .intro-break { display:none; }
  .account-page:not(.edit-page):not(.security-page) > .profile-card { grid-column:1; grid-row:3; align-self:start; min-height:180px; grid-template-columns:70px minmax(0,1fr); gap:15px; padding:23px 20px 58px; border-radius:20px; }
  .account-page:not(.edit-page):not(.security-page) .avatar { width:68px;height:68px; }
  .account-page:not(.edit-page):not(.security-page) .profile-copy h2 { font-size:19px; }
  .account-page:not(.edit-page):not(.security-page) .profile-copy p { font-size:12px; white-space:normal; overflow-wrap:anywhere; }
  .account-page:not(.edit-page):not(.security-page) .edit-profile { right:18px;bottom:14px;min-width:112px;height:34px;font-size:11px; }
  .account-page:not(.edit-page):not(.security-page) > .account-actions { grid-column:2; grid-row:3; align-self:start; margin:0; border-radius:20px; }
  .account-page:not(.edit-page):not(.security-page) .action-row { min-height:90px; padding:16px 20px; gap:18px; }
  .account-page:not(.edit-page):not(.security-page) .action-icon { width:52px;height:52px;border-radius:16px; }
  .account-page:not(.edit-page):not(.security-page) .action-icon svg { width:25px;height:25px; }
  .account-page:not(.edit-page):not(.security-page) .action-copy strong { font-size:16px; }
  .account-page:not(.edit-page):not(.security-page) .action-copy small { font-size:12px; }
  .account-page:not(.edit-page):not(.security-page) .logout { grid-column:1; grid-row:4; height:46px; font-size:13px; border-radius:12px; }

  .edit-page, .security-page { width:min(1000px,calc(100% - 88px)); max-width:none; margin:38px auto; padding:30px 42px 48px; min-height:calc(100vh - 76px); border:1px solid #edf0f4; border-radius:26px; background:#fff; box-shadow:0 22px 70px rgba(15,53,105,.075); }
  .edit-page { display:grid; grid-template-columns:270px minmax(0,1fr); gap:20px 42px; align-content:start; }
  .edit-page .edit-header, .edit-page .edit-title { grid-column:1/-1; }
  .edit-page .edit-header { height:56px; margin-bottom:3px; }
  .edit-page .edit-brand img { width:175px; }
  .edit-page .edit-title { padding:8px 0 14px; }
  .edit-page .edit-title h1, .security-page .edit-title h1 { font-size:32px; }
  .edit-page .edit-title p, .security-page .edit-title p { font-size:14px; }
  .edit-page .edit-avatar-wrap { grid-column:1; align-self:start; padding-top:8px; }
  .edit-page .edit-avatar { width:190px;height:190px; }
  .edit-page .edit-form { grid-column:2; grid-row:3/span 2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-content:start; }
  .edit-page .edit-field label, .security-page .edit-field label { font-size:13px; }
  .edit-page .edit-input-wrap, .security-page .edit-input-wrap { min-height:60px; border-radius:13px; }
  .edit-page .edit-input, .security-page .edit-input { font-size:14px; }
  .edit-page .edit-actions { grid-column:1/-1; display:flex; gap:13px; margin-top:6px; }
  .edit-page .edit-actions > * { min-width:160px; min-height:50px; font-size:13px; }
  .security-page { width:min(860px,calc(100% - 88px)); display:block; }
  .security-page .security-title { padding:8px 0 22px; }
  .security-page .security-card { padding:28px; border-radius:20px; }
  .security-page .security-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .security-page .security-form .edit-field:last-of-type,
  .security-page .security-form .security-actions { grid-column:1/-1; }
  .security-page .security-actions { display:flex; gap:13px; }
  .security-page .security-actions > * { min-width:190px; min-height:50px; font-size:13px; }

  .orders-page, .order-details-page, .reviews-page:has(.reviews-header), .write-review-page {
    width:min(1180px,calc(100% - 88px)); max-width:none; min-height:calc(100vh - 76px); margin:38px auto;
    padding:30px 38px 44px; border:1px solid #edf0f4; border-radius:26px; background:#fff; box-shadow:0 22px 70px rgba(15,53,105,.075);
  }
  .orders-header, .reviews-header, .order-details-header, .write-review-header { height:60px; min-height:60px; margin-bottom:14px; grid-template-columns:52px 1fr 52px; }
  .orders-back, .reviews-header .back-button, .write-review-back, .order-details-back { width:46px;height:46px;border:1px solid #e7eaf1;border-radius:14px;background:#fff; }
  .orders-brand img, .reviews-brand img { width:170px; }
  .orders-title, .reviews-page-title { padding:14px 0 20px; }
  .orders-title h1, .reviews-title h1, .reviews-page-title h1 { font-size:32px; }
  .orders-title p, .reviews-title p { font-size:14px; }
  .order-status-strip { gap:13px; margin-bottom:24px; }
  .order-status-card { min-height:100px; padding:16px; border-radius:17px; }
  .status-count { font-size:27px; }
  .status-label { font-size:12px; }
  .orders-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .order-card { padding:20px; border-radius:18px; min-height:190px; }
  .order-label { font-size:14px; }
  .order-date { font-size:12px; }
  .order-badge { font-size:11px; padding:8px 12px; }
  .order-product { gap:14px; margin-top:18px; }
  .product-thumb { width:76px;height:76px; }
  .product-copy strong { font-size:14px; }
  .product-copy small { font-size:12px; }
  .order-meta { font-size:12px; }
  .order-view { min-height:42px; font-size:12px; }

  .order-details-page { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:16px 22px; align-content:start; }
  .order-details-header, .order-details-order-head { grid-column:1/-1; }
  .order-details-header h1 { font-size:30px; }
  .order-details-order-head strong { font-size:16px; }
  .order-details-order-head span:not(.order-badge) { font-size:13px; }
  .detail-product-card { grid-column:1; grid-row:3; padding:18px; border-radius:19px; grid-template-columns:100px minmax(0,1fr); }
  .detail-product-media { width:100px;height:100px; }
  .detail-product-copy h2 { font-size:16px; }
  .detail-product-copy p, .detail-product-copy span { font-size:13px; }
  .detail-summary-card { grid-column:2; grid-row:3; margin:0; padding:22px; border-radius:19px; }
  .detail-delivery-card { grid-column:1/-1; margin:0; padding:22px; border-radius:19px; }
  .detail-delivery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
  .detail-primary-action { grid-column:1/-1; min-height:54px; font-size:15px; }

  .reviews-page:has(.reviews-header) .reviews-title { padding:12px 0 22px; }
  .reviews-page:has(.reviews-header) .reviews-summary { grid-template-columns:140px minmax(0,1fr); gap:22px; padding:24px; border-radius:18px; margin-bottom:23px; }
  .reviews-page:has(.reviews-header) .rating-score strong { font-size:38px; }
  .reviews-page:has(.reviews-header) .rating-copy strong { font-size:15px; }
  .reviews-page:has(.reviews-header) .rating-copy span, .reviews-page:has(.reviews-header) .rating-score span { font-size:12px; }
  .reviews-page:has(.reviews-header) .review-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .reviews-page:has(.reviews-header) .review-card { padding:19px; border-radius:18px; }
  .reviews-page:has(.reviews-header) .review-product { grid-template-columns:72px minmax(0,1fr); gap:14px; }
  .reviews-page:has(.reviews-header) .review-product > img, .reviews-page:has(.reviews-header) .review-product-art { width:72px;height:72px; }
  .reviews-page:has(.reviews-header) .review-product-copy strong { font-size:14px; }
  .reviews-page:has(.reviews-header) .review-text { font-size:13px; line-height:1.7; }
  .reviews-page:has(.reviews-topbar) { width:min(1240px,calc(100% - 88px)); max-width:none; margin:38px auto; padding:34px 42px 52px; border:1px solid #edf0f4; border-radius:26px; background:#fff; box-shadow:0 22px 70px rgba(15,53,105,.075); }
  .reviews-page:has(.reviews-topbar) .reviews-topbar { height:46px; gap:12px; }
  .reviews-page:has(.reviews-topbar) .back-link { width:42px;height:42px; flex-basis:42px; border:1px solid #e6eaf0; border-radius:12px; }
  .reviews-page:has(.reviews-topbar) .page-title { font-size:20px; }
  .reviews-page:has(.reviews-topbar) .rating-summary-card { margin-top:22px; padding:24px; min-height:160px; border-radius:20px; }
  .reviews-page:has(.reviews-topbar) .rating-summary-grid { grid-template-columns:190px minmax(0,1fr); gap:28px; }
  .reviews-page:has(.reviews-topbar) .rating-number { font-size:48px; line-height:1.05; }
  .reviews-page:has(.reviews-topbar) .rating-stars { font-size:20px; }
  .reviews-page:has(.reviews-topbar) .rating-caption { font-size:12px; }
  .reviews-page:has(.reviews-topbar) .rating-row { height:14px; grid-template-columns:30px minmax(0,1fr) 40px; gap:10px; }
  .reviews-page:has(.reviews-topbar) .rating-label, .reviews-page:has(.reviews-topbar) .rating-percent { font-size:12px; }
  .reviews-page:has(.reviews-topbar) .rating-bar { height:7px; }
  .reviews-page:has(.reviews-topbar) .review-tabs { gap:10px; margin-top:22px; }
  .reviews-page:has(.reviews-topbar) .review-tab { height:40px; padding:0 20px; font-size:12px; }
  .reviews-page:has(.reviews-topbar) .reviews-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
  .reviews-page:has(.reviews-topbar) .review-card { min-width:0; padding:19px; border-radius:18px; }
  .reviews-page:has(.reviews-topbar) .review-card .review-text { font-size:13px; line-height:1.7; }

  .write-review-page { display:grid; grid-template-columns:minmax(300px,.82fr) minmax(0,1.18fr); gap:20px 34px; align-content:start; }
  .write-review-header { grid-column:1/-1; }
  .write-review-header h1 { font-size:30px; }
  .write-product-card { grid-column:1; align-self:start; grid-template-columns:100px minmax(0,1fr); gap:17px; padding:20px; border-radius:18px; }
  .write-product-card img { width:100px;height:100px; border-radius:14px; }
  .write-product-card h2 { font-size:16px; line-height:1.5; }
  .write-product-card p { font-size:13px; }
  .write-review-page .review-form { grid-column:2; grid-row:2/span 2; gap:24px; }
  .review-field-label { font-size:14px; }
  .star-picker { gap:6px; min-height:46px; }
  .star-button { width:42px;height:42px; }
  .review-text-wrap textarea { min-height:190px; font-size:14px; }
  .review-upload { min-height:110px; border-radius:16px; }
  .write-review-actions { grid-column:1/-1; display:flex; gap:13px; justify-content:flex-end; }
  .write-review-actions > * { min-width:175px; min-height:52px; font-size:14px; }

  /* Tracking: split the lookup and delivery journey across the desktop canvas. */
  body:has(.lookup-card) .mobile-header,
  body.results-page .mobile-header { border-radius:0 0 22px 22px; padding:14px max(40px,calc((100% - 1180px)/2)) 12px; position:sticky; top:0; }
  body:has(.lookup-card) .top-row,
  body.results-page .top-row { min-height:60px; }
  body:has(.lookup-card) .brand-logo,
  body.results-page .brand-logo { width:210px; }
  body:has(.lookup-card) .page-shell { width:min(1180px,calc(100% - 88px)); margin:0 auto; padding:38px 0 46px; display:grid; grid-template-columns:minmax(0,1.04fr) minmax(370px,.96fr); gap:26px 34px; align-items:start; }
  body:has(.lookup-card) .back-to-shop { grid-column:1/-1; margin-bottom:0; min-height:44px; justify-self:start; font-size:13px; padding:0 17px; }
  body:has(.lookup-card) .hero { grid-column:1; grid-row:2; align-items:flex-start; text-align:left; padding:14px 4px 18px; }
  body:has(.lookup-card) .hero-symbol { width:82px;height:82px;border-radius:24px; }
  body:has(.lookup-card) .hero h1 { font-size:clamp(38px,3.8vw,54px); }
  body:has(.lookup-card) .hero-copy { max-width:520px; font-size:15px; line-height:1.75; }
  body:has(.lookup-card) .eyebrow { font-size:12px; }
  body:has(.lookup-card) .lookup-card { grid-column:1; grid-row:3; margin-top:0; padding:28px; border-radius:23px; }
  body:has(.lookup-card) .lookup-heading h2 { font-size:22px; }
  body:has(.lookup-card) .lookup-heading p { font-size:13px; }
  body:has(.lookup-card) .input-wrap { height:62px; }
  body:has(.lookup-card) .input-wrap input { font-size:15px; }
  body:has(.lookup-card) .primary-button { min-height:58px; font-size:15px; }
  body:has(.lookup-card) .journey { grid-column:2; grid-row:2/span 2; align-self:stretch; margin-top:0; padding:27px; border-radius:23px; }
  body:has(.lookup-card) .journey-step { min-height:78px; }
  body:has(.lookup-card) .step-copy h3 { font-size:15px; }
  body:has(.lookup-card) .step-copy p { font-size:12px; }
  body:has(.lookup-card) .site-footer { padding:30px; font-size:12px; }
  body.results-page .result-shell { width:min(1180px,calc(100% - 88px)); padding:38px 0 48px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; align-items:start; }
  body.results-page .back-to-search { grid-column:1/-1; min-height:44px; font-size:13px; }
  body.results-page #tracking-found:not([hidden]) { grid-column:1/-1; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:22px; align-items:start; }
  body.results-page .progress-card, body.results-page .order-card { margin-top:0; padding:27px; border-radius:22px; }
  body.results-page .result-section-head h2 { font-size:23px; }
  body.results-page .timeline-event { min-height:74px; }
  body.results-page .timeline-marker { width:38px;height:38px; }
  body.results-page .timeline-copy strong { font-size:13px; }
  body.results-page .timeline-copy p { font-size:12px; }
  body.results-page .timeline-copy time { font-size:11px; }
  body.results-page .tracked-product-art { width:100px;height:100px; }
  body.results-page .tracked-product-copy h3 { font-size:15px; }
  body.results-page .tracked-product-copy p { font-size:12px; }
  body.results-page .order-meta-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  body.results-page .order-meta-grid span { font-size:11px; }
  body.results-page .order-meta-grid strong { font-size:13px; }
  body.results-page .price-breakdown > div { font-size:13px; }
  body.results-page .price-breakdown .price-total strong { font-size:20px; }
  body.results-page .result-actions, body.results-page .not-found-card, body.results-page .privacy-note { grid-column:1/-1; }
  body.results-page .site-footer { font-size:12px; padding:30px; }

  /* Legal content has a spacious reading measure and persistent navigation. */
  body:has(.legal-section) .site-header { padding:0 max(48px,calc((100% - 1320px)/2)); min-height:94px; }
  body:has(.legal-section) .brand img { width:190px; }
  body:has(.legal-section) .back-button, body:has(.legal-section) .home-button { min-height:46px; padding:12px 18px; font-size:14px; }
  body:has(.legal-section) .hero, body:has(.legal-section) .page-layout { width:min(1320px,calc(100% - 96px)); }
  body:has(.legal-section) .hero { margin-top:26px; padding:58px 62px; border-radius:34px; }
  body:has(.legal-section) .hero h1 { font-size:clamp(42px,4.2vw,62px); }
  body:has(.legal-section) .hero-copy { max-width:850px; font-size:16px; line-height:1.8; }
  body:has(.legal-section) .hero-meta { margin-top:22px; gap:12px; }
  body:has(.legal-section) .page-layout { grid-template-columns:270px minmax(0,1fr); gap:28px; margin-bottom:70px; }
  body:has(.legal-section) .toc { top:118px; padding:24px 18px; border-radius:22px; }
  body:has(.legal-section) .toc a { padding:11px 12px; font-size:13px; }
  body:has(.legal-section) .legal-section { padding:31px 36px 34px; margin-bottom:18px; border-radius:22px; }
  body:has(.legal-section) .legal-section h2 { font-size:25px; }
  body:has(.legal-section) .legal-section h3 { font-size:17px; }
  body:has(.legal-section) .legal-section p, body:has(.legal-section) .legal-section ul { font-size:14px; line-height:1.85; }
  body:has(.legal-section) .legal-footer { padding:34px; font-size:13px; }
}

/* Compact laptop tuning (desktop only); mobile/tablet styles remain untouched. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .auth-showcase {
    padding: 28px;
    grid-template-columns: minmax(0,1fr) minmax(430px,.98fr);
    gap: 28px;
  }
  .auth-desktop-panel { padding: 36px; border-radius: 28px; }
  .auth-desktop-panel .auth-panel-logo { width: min(215px,82%); margin-bottom: 30px; }
  .auth-desktop-panel h1 { font-size: clamp(40px,4.2vw,52px); }
  .auth-desktop-panel p { font-size: 14px; line-height: 1.7; }
  .phone-stage { max-width: 530px; }
  .auth-view,
  .auth-view[data-view="signup"],
  .auth-view[data-view="login"] { padding: 62px 30px 32px; }
  .auth-view .brand-logo { width: 158px; }
  .auth-heading h1 { font-size: 29px; }
  .field { min-height: 60px; padding: 9px 11px; gap: 8px; }
  .checkout-device .content { padding-left: 24px; padding-right: 24px; }
  .checkout-device .card { padding: 20px; }
  .orders-page, .order-details-page, .reviews-page:has(.reviews-header), .write-review-page {
    width: calc(100% - 56px); padding-left: 28px; padding-right: 28px;
  }
  .edit-page, .security-page { width: calc(100% - 56px); padding-left: 30px; padding-right: 30px; }
  .account-page:not(.edit-page):not(.security-page) { width: calc(100% - 56px); padding-left: 28px; padding-right: 28px; gap: 18px 24px; }
}

@media (min-width: 1440px) {
  body > main.page { padding-left:68px; padding-right:68px; column-gap:76px; }
  body > main.page > .mobile-header { width:calc(100% + 136px); margin-left:-68px; padding-left:68px; padding-right:68px; }
  .auth-showcase { grid-template-columns:minmax(0,1.04fr) minmax(590px,.96fr); }
}

/* ================================================================
   NEYVERO DESKTOP LAYOUT REFINEMENT
   Desktop-only final pass. Original mobile layouts remain untouched.
   Goals: clear page hierarchy, stable grids, no nested phone mockups,
   and no auto-moving product rail on large screens.
   ================================================================ */
@media screen and (min-width: 1024px) {
  html { scroll-padding-top: 112px; }
  body { overflow-x: clip; }
  button, a { -webkit-tap-highlight-color: transparent; }

  /* PRODUCT LANDING PAGE */
  body > main.page {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 48px 164px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
    column-gap: clamp(32px, 3.5vw, 54px);
    row-gap: 34px;
    align-content: start;
    justify-items: stretch;
  }
  body > main.page > .mobile-header {
    grid-column: 1 / -1;
    grid-row: 1;
    width: calc(100% + 96px);
    margin: 0 0 0 -48px;
    padding: 13px 48px 12px;
    position: sticky;
    inset-block-start: 0;
    z-index: 1100;
    overflow: visible;
    border-radius: 0 0 20px 20px;
    border-bottom: 1px solid rgba(231, 222, 230, .85);
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 8px 26px rgba(15, 53, 105, .07);
  }
  body > main.page .top-row { min-height: 64px; gap: 20px; }
  body > main.page .brand-logo { width: 210px; max-width: 100%; }
  body > main.page .top-actions { gap: 10px; }
  body > main.page .icon-button { width: 46px; height: 46px; border-radius: 14px; }
  body > main.page .gallery-shell {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    align-self: start;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  body > main.page .main-card {
    width: 100%;
    max-height: none;
    aspect-ratio: 1 / 1;
    border-radius: 26px;
  }
  body > main.page .image-stage { inset: 10px; border-radius: 21px; }
  body > main.page .thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 12px;
  }
  body > main.page .thumb { width: 100%; min-width: 0; border-radius: 14px; }
  body > main.page .rating-strip { min-height: 50px; padding: 0 14px; gap: 12px; font-size: 12px; }
  body > main.page .rating-stars { font-size: 16px; }

  body > main.page > .desktop-purchase-column {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-self: start;
    gap: 16px;
  }
  body > main.page .product-info { padding: 2px 0 0; }
  body > main.page .product-info-title {
    margin: 0;
    max-width: 660px;
    font-size: clamp(31px, 2.45vw, 41px);
    line-height: 1.12;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
  }
  body > main.page .product-info-subtitle { margin: 10px 0 0; font-size: 16px; line-height: 1.55; }
  body > main.page .product-info-features { margin-top: 12px; font-size: 13px; line-height: 1.6; }
  body > main.page .buy-more-section {
    width: 100%;
    margin: 0;
    padding: 24px 22px 20px;
    border-radius: 22px;
    overflow: visible;
  }
  body > main.page .buy-more-section .section-title { margin: 0; text-align: center; font-size: 25px; line-height: 1.2; }
  body > main.page .buy-more-section > .section-subtitle {
    max-width: 440px;
    margin: 9px auto 18px;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
  }
  body > main.page .bundle-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body > main.page .bundle-card {
    width: 100%;
    min-width: 0;
    grid-template-columns: 21px minmax(0, 1fr) minmax(110px, 138px);
    gap: 11px;
    padding: 13px 14px;
    border-radius: 15px;
    transform: none;
  }
  body > main.page .bundle-card:hover { transform: translateY(-1px); }
  body > main.page .bundle-name { font-size: 14px; line-height: 1.35; }
  body > main.page .bundle-qty { font-size: 11px; line-height: 1.4; }
  body > main.page .bundle-badge { max-width: 100%; font-size: 9px; }
  body > main.page .bundle-save { font-size: 10px; line-height: 1.35; }
  body > main.page .bundle-total { font-size: 18px; line-height: 1.2; white-space: nowrap; }
  body > main.page .bundle-old, body > main.page .bundle-unit { font-size: 10px; }
  body > main.page .unlock-strip { margin-top: 14px; gap: 10px; }
  body > main.page .unlock-copy { font-size: 11px; line-height: 1.5; }
  body > main.page .open-before-payment-badge { min-height: 74px; margin: 0; padding: 15px 17px; border-radius: 16px; }
  body > main.page .open-before-payment-title { font-size: 14px; }
  body > main.page .open-before-payment-description { font-size: 12px; line-height: 1.5; }

  body > main.page > .product-details-section,
  body > main.page > .how-to-use-section,
  body > main.page > .customer-reviews-section,
  body > main.page > .related-products-section,
  body > main.page > .faq-section,
  body > main.page > .mobile-footer {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-inline: 0;
  }
  body > main.page > .product-details-section { margin-top: 8px; border-radius: 23px; }
  body > main.page .product-details-toggle { padding: 23px 28px; grid-template-columns: 58px minmax(0, 1fr) 28px; }
  body > main.page .product-details-title { font-size: 25px; }
  body > main.page .product-details-body-inner { padding: 26px 30px 30px; }
  body > main.page .details-block-title { font-size: 22px; }
  body > main.page .details-description { max-width: 1040px; font-size: 15px; line-height: 1.85; }
  body > main.page .benefit-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
  body > main.page > .how-to-use-section,
  body > main.page > .customer-reviews-section,
  body > main.page > .related-products-section { margin-top: 0; padding: 28px; border-radius: 23px; }
  body > main.page .how-to-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  body > main.page .how-to-use-step { min-width: 0; }
  body > main.page .how-to-use-illustration { width: min(100%, 250px); margin-inline: auto; }
  body > main.page .reviews-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  body > main.page .review-card { min-width: 0; }
  body > main.page .related-products-head { margin-bottom: 20px; }
  body > main.page .related-products-viewport {
    width: 100%;
    overflow: visible !important;
    padding: 0;
    scroll-snap-type: none !important;
  }
  body > main.page .related-products-track {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: stretch;
    width: 100% !important;
    gap: 18px;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  body > main.page .related-product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    scroll-snap-align: none;
  }
  body > main.page .related-product-body { padding: 14px 13px 15px; }
  body > main.page .related-product-name { font-size: 13px; line-height: 1.45; }
  body > main.page > .faq-section { margin-top: 0; padding: 10px 0 0; }
  body > main.page .faq-list { width: min(100%, 980px); margin: 0 auto; }
  body > main.page .faq-item { margin-bottom: 11px; border-radius: 15px; }
  body > main.page .faq-question { padding: 19px 21px; font-size: 15px; line-height: 1.45; }
  body > main.page .faq-answer-inner { font-size: 14px; line-height: 1.75; }
  body > main.page > .mobile-footer { margin-top: 0; padding: 32px 26px 28px; border-radius: 22px 22px 0 0; }

  /* No decorative moving loop on desktop. The purchase dock only slides in when activated. */
  body > .mobile-sticky-buy {
    display: flex !important;
    position: fixed;
    left: 50%;
    right: auto;
    bottom: 18px;
    z-index: 1200;
    width: min(900px, calc(100vw - 64px));
    min-height: 82px;
    transform: translate(-50%, calc(100% + 30px));
    opacity: 0;
    pointer-events: none;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 20px;
    border: 1px solid rgba(231, 222, 230, .95);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 18px 52px rgba(15, 53, 105, .16);
    transition: transform .24s ease, opacity .2s ease;
  }
  body > .mobile-sticky-buy.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
  }
  body > .mobile-sticky-buy .sticky-buy-thumb { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 13px; }
  body > .mobile-sticky-buy .sticky-buy-info { min-width: 0; flex: 1 1 auto; }
  body > .mobile-sticky-buy .sticky-buy-name { font-size: 13px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body > .mobile-sticky-buy .sticky-buy-price { font-size: 21px; }
  body > .mobile-sticky-buy .sticky-buy-meta { gap: 10px; margin-top: 4px; }
  body > .mobile-sticky-buy .sticky-buy-button { flex: 0 0 auto; min-width: 180px; height: 54px; border-radius: 14px; font-size: 15px; }
  body > .sticky-buy-toast { bottom: 112px; }
  body > main.page .sticky-buy-button::before,
  body > main.page .sticky-buy-sparkle,
  body > .mobile-whatsapp::before { animation: none !important; }

  /* AUTHENTICATION: two clean desktop columns, not a phone/mock-device frame. */
  body:has(.auth-showcase) {
    display: block;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: #f7f8fc;
  }
  .auth-showcase {
    width: 100%;
    max-width: 1500px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 38px 52px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(460px, .94fr);
    gap: clamp(30px, 4vw, 62px);
    align-items: stretch;
    justify-content: center;
    overflow: visible;
    background: radial-gradient(circle at 10% 6%, rgba(168, 47, 89, .07), transparent 31%), linear-gradient(135deg, #fffafd 0%, #f6f8fc 100%);
  }
  .auth-desktop-panel {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    min-height: min(720px, calc(100vh - 76px));
    padding: clamp(38px, 4.3vw, 68px);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .auth-desktop-panel .auth-panel-logo { width: min(230px, 82%); margin-bottom: 36px; }
  .auth-desktop-panel h1 { font-size: clamp(42px, 4.1vw, 64px); line-height: 1.04; }
  .auth-desktop-panel p { font-size: 15px; line-height: 1.8; }
  .auth-panel-features { gap: 14px; margin-top: 30px; }
  .phone-stage { grid-column: 2; grid-row: 1; width: 100%; max-width: 590px; min-width: 0; margin: auto; align-self: center; }
  .phone { width: 100%; max-width: 590px; min-width: 0; min-height: 0; height: auto; aspect-ratio: auto; position: relative; transition: none; }
  .phone-frame { position: relative; inset: auto; width: 100%; min-height: 0; height: auto; padding: 0; border: 0; border-radius: 26px; background: transparent; box-shadow: none; }
  .phone-frame::before { display: none !important; }
  .phone-screen { width: 100%; height: auto; min-height: 0; border-radius: 26px; border: 1px solid #eee2e8; overflow: visible; background: #fff; box-shadow: 0 22px 60px rgba(15, 53, 105, .12); }
  .status-bar, .home-bar, .dynamic-island { display: none !important; }
  .auth-view, .auth-view[data-view="signup"], .auth-view[data-view="login"] {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 66px 38px 36px;
    overflow: visible;
    justify-content: flex-start;
  }
  .auth-view .brand-logo { display: block; width: 170px; max-width: 68%; margin: 0 auto 20px; }
  .auth-heading { margin-bottom: 22px; text-align: center; }
  .auth-heading h1 { font-size: 30px; line-height: 1.14; }
  .auth-heading p { max-width: 420px; margin: 9px auto 0; font-size: 13px; line-height: 1.65; }
  .auth-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .auth-view[data-view="signup"] .auth-form { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .auth-view[data-view="signup"] .auth-form > *,
  .auth-view[data-view="signup"] .auth-form > .field:nth-of-type(3),
  .auth-view[data-view="signup"] .check-row,
  .auth-view[data-view="signup"] .primary-btn { grid-column: auto; }
  .field { min-width: 0; min-height: 60px; grid-template-columns: 30px minmax(0, 1fr) 28px; gap: 10px; padding: 10px 14px; border-radius: 13px; }
  .field-content, .field input { min-width: 0; width: 100%; }
  .field-label { font-size: 11px; }
  .field input { font-size: 13px; }
  .check-row { align-items: flex-start; font-size: 11px; line-height: 1.6; }.primary-btn { min-height: 52px; border-radius: 13px; font-size: 14px; }
  .or-divider { margin: 16px 0 13px; }
  .switch-copy { margin-top: 15px; font-size: 12px; }
  .auth-back-button { top: 18px; left: 20px; }
  .phone-toast { position: fixed; bottom: 20px; z-index: 6000; }

  /* CHECKOUT: stable header, broad content canvas and no overlapping centered logo. */
  body:has(.checkout-device) {
    display: block;
    min-height: 100vh;
    padding: 28px 24px;
    background: radial-gradient(ellipse at 50% 0, rgba(248, 222, 233, .52), transparent 44rem), #f5f7fb;
  }
  body:has(.checkout-device) .page-shell { width: min(100%, 1340px); margin: 0 auto; padding: 0; display: block; }
  .checkout-device {
    width: 100%;
    max-width: 1340px;
    height: auto;
    min-height: calc(100vh - 56px);
    margin: 0 auto;
    padding-bottom: 34px;
    overflow: visible;
    border: 1px solid rgba(231, 222, 230, .8);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 68px rgba(15, 53, 105, .12);
  }
  .checkout-device .topbar {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(120px, 1fr) auto minmax(160px, 1fr);
    align-items: center;
    gap: 18px;
    width: 100%;
    height: auto;
    min-height: 84px;
    padding: 18px 34px;
    border-bottom: 1px solid #f0e8ec;
  }
  .checkout-device .topbar .icon-button.back {
    position: relative;
    inset: auto;
    z-index: 2;
    grid-column: 1;
    justify-self: start;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid #e8eaf0;
    border-radius: 13px;
    background: #fff;
  }
  .checkout-device .topbar .brand {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    grid-column: 2;
    justify-self: center;
    transform: none !important;
    display: flex;
    width: auto;
    max-width: 245px;
    height: auto;
    min-width: 0;
    pointer-events: auto;
  }
  .checkout-device .topbar .brand img { display: block; width: 100%; max-width: 245px; max-height: 44px; object-fit: contain; }
  .checkout-device .topbar .secure {
    position: relative;
    inset: auto;
    z-index: 2;
    grid-column: 3;
    justify-self: end;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    max-width: none;
    font-size: 12px;
    white-space: nowrap;
  }
  .checkout-device .intro { max-width: 980px; margin: 0 auto; padding: 28px 32px 4px; text-align: center; }
  .checkout-device .intro h1 { margin-bottom: 8px; font-size: clamp(30px, 2.6vw, 38px); line-height: 1.15; }
  .checkout-device .intro p { font-size: 14px; line-height: 1.6; }
  .checkout-device .stepper { width: min(100%, 900px); margin: 0 auto; grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr) 70px minmax(0, 1fr); padding: 26px 22px 20px; }
  .checkout-device .content { width: 100%; max-width: 1120px; height: auto; min-height: 0; margin: 0 auto; padding: 24px 32px 20px; overflow: visible; }
  .checkout-device .card { min-width: 0; padding: 25px; border-radius: 18px; }
  .checkout-device .content:has(.summary-total) { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 20px; align-items: start; }
  .checkout-device .content:has(.summary-total) > .card:first-child { grid-column: 1; grid-row: 1 / span 3; }
  .checkout-device .content:has(.summary-total) > .info-card { grid-column: 2; }
  .checkout-device .content:has(.summary-total) > .secure-strip,
  .checkout-device .content:has(.summary-total) > .primary { grid-column: 1 / -1; }
  .checkout-device .content:has(.summary-total) .product-row { gap: 15px; }

  /* MY ACCOUNT AND ACCOUNT SUBPAGES */
  body:has(.account-page), body:has(.orders-page), body:has(.order-details-page),
  body:has(.reviews-page), body:has(.write-review-page) {
    display: block;
    min-height: 100vh;
    padding: 1px 0;
    background: radial-gradient(circle at 10% 0, rgba(168, 47, 89, .06), transparent 32rem), #f7f8fc;
  }
  .account-page:not(.edit-page):not(.security-page) {
    width: min(1160px, calc(100% - 80px));
    min-height: calc(100vh - 80px);
    margin: 38px auto 44px;
    padding: 30px 34px 36px;
    display: grid;
    grid-template-columns: minmax(270px, 320px) minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 20px 28px;
    align-content: start;
    border: 1px solid #edf0f5;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 18px 56px rgba(15, 53, 105, .08);
  }
  .account-header { grid-column: 1 / -1; min-width: 0; min-height: 62px; height: auto; padding-bottom: 17px; border-bottom: 1px solid #eef0f4; }
  .account-header .brand img { width: 178px; }
  .account-page:not(.edit-page):not(.security-page) > .intro { grid-column: 1 / -1; padding: 2px 0 4px; }
  .account-page:not(.edit-page):not(.security-page) > .intro h1 { font-size: 32px; line-height: 1.2; }
  .account-page:not(.edit-page):not(.security-page) > .intro p { font-size: 14px; }
  .account-page:not(.edit-page):not(.security-page) > .profile-card { grid-column: 1; grid-row: 3; align-self: start; padding: 22px 18px 58px; }
  .account-page:not(.edit-page):not(.security-page) > .account-actions { grid-column: 2; grid-row: 3; min-width: 0; margin: 0; }
  .account-page:not(.edit-page):not(.security-page) > .logout { grid-column: 1; grid-row: 4; align-self: start; width: 100%; max-width: 220px; }
  .edit-page, .security-page {
    width: min(1020px, calc(100% - 80px));
    max-width: none;
    min-height: calc(100vh - 76px);
    margin: 38px auto;
    padding: 30px 38px 42px;
    border: 1px solid #edf0f5;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 18px 56px rgba(15, 53, 105, .08);
  }
  .edit-page { display: grid; grid-template-columns: minmax(220px, 270px) minmax(0, 1fr); gap: 18px 32px; align-content: start; }
  .edit-page .edit-header, .edit-page .edit-title { grid-column: 1 / -1; }
  .edit-page .edit-form { grid-column: 2; grid-row: 3 / span 2; min-width: 0; }
  .edit-page .edit-avatar-wrap { grid-column: 1; min-width: 0; }
  .security-page { width: min(900px, calc(100% - 80px)); }
  .security-page .security-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .orders-page, .order-details-page, .reviews-page:has(.reviews-header), .write-review-page {
    width: min(1200px, calc(100% - 80px));
    max-width: none;
    min-height: calc(100vh - 76px);
    margin: 38px auto;
    padding: 30px 36px 44px;
    border: 1px solid #edf0f5;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 18px 56px rgba(15, 53, 105, .08);
  }
  .orders-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .orders-page .order-card { min-width: 0; }
  .order-details-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; }
  .order-details-page .order-details-header,
  .order-details-page .order-details-order-head,
  .order-details-page .detail-delivery-card,
  .order-details-page .detail-primary-action { grid-column: 1 / -1; }
  .order-details-page .detail-product-card,
  .order-details-page .detail-summary-card { grid-row: auto; min-width: 0; margin: 0; }
  .detail-delivery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .reviews-page:has(.reviews-header) .review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .reviews-page:has(.reviews-topbar) { width: min(1240px, calc(100% - 80px)); margin: 38px auto; padding: 32px 38px 46px; }
  .reviews-page:has(.reviews-topbar) .reviews-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .write-review-page { display: grid; grid-template-columns: minmax(270px, .82fr) minmax(0, 1.18fr); gap: 22px 30px; align-content: start; }
  .write-review-page .write-review-header { grid-column: 1 / -1; }
  .write-review-page .write-product-card { grid-column: 1; min-width: 0; align-self: start; }
  .write-review-page .review-form { grid-column: 2; grid-row: 2 / span 2; min-width: 0; }
  .write-review-page .write-review-actions { grid-column: 1 / -1; }

  /* TRACKING PAGES */
  body:has(.lookup-card), body.results-page { display: block; min-height: 100vh; padding: 0; }
  body:has(.lookup-card) .mobile-header, body.results-page .mobile-header {
    position: sticky; top: 0; z-index: 1000; overflow: visible;
    padding: 12px max(36px, calc((100% - 1220px) / 2)); border-radius: 0 0 18px 18px;
  }
  body:has(.lookup-card) .page-shell {
    width: min(1220px, calc(100% - 80px));
    margin: 0 auto;
    padding: 42px 0 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
    gap: 28px 38px;
    align-items: start;
  }
  body:has(.lookup-card) .back-to-shop { grid-column: 1 / -1; grid-row: 1; justify-self: start; margin: 0; }
  body:has(.lookup-card) .hero { grid-column: 1; grid-row: 2; align-items: flex-start; text-align: left; padding: 8px 0 18px; }
  body:has(.lookup-card) .hero h1 { max-width: 620px; font-size: clamp(38px, 3.3vw, 52px); line-height: 1.08; }
  body:has(.lookup-card) .hero-copy { max-width: 560px; font-size: 15px; line-height: 1.8; }
  body:has(.lookup-card) .lookup-card { grid-column: 1; grid-row: 3; margin: 0; padding: 28px; border-radius: 22px; }
  body:has(.lookup-card) .journey { grid-column: 2; grid-row: 2 / span 2; align-self: stretch; min-width: 0; margin: 0; padding: 26px; border-radius: 22px; }
  body:has(.lookup-card) .site-footer, body.results-page .site-footer { padding: 28px; font-size: 12px; }
  body.results-page .result-shell { width: min(1220px, calc(100% - 80px)); margin: 0 auto; padding: 42px 0 54px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  body.results-page .back-to-search { grid-column: 1 / -1; min-height: 44px; }
  body.results-page #tracking-found:not([hidden]) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
  body.results-page .progress-card, body.results-page .order-card { min-width: 0; margin-top: 0; padding: 25px; border-radius: 21px; }
  body.results-page .result-actions, body.results-page .not-found-card, body.results-page .privacy-note { grid-column: 1 / -1; }

  /* LEGAL PAGES */
  body:has(.legal-section) { display: block; }
  body:has(.legal-section) .site-header {
    position: sticky; top: 0; z-index: 1200; width: 100%; min-height: 82px;
    padding: 12px max(36px, calc((100% - 1320px) / 2));
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 7px 24px rgba(15,53,105,.07);
  }
  body:has(.legal-section) .brand img { width: 180px; }
  body:has(.legal-section) .back-button, body:has(.legal-section) .home-button { min-height: 43px; padding: 10px 16px; font-size: 13px; }
  body:has(.legal-section) .hero,
  body:has(.legal-section) .page-layout { width: min(1320px, calc(100% - 80px)); }
  body:has(.legal-section) .hero { margin: 28px auto 0; padding: 46px 54px; border-radius: 28px; }
  body:has(.legal-section) .hero h1 { font-size: clamp(40px, 3.5vw, 58px); line-height: 1.08; }
  body:has(.legal-section) .page-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 24px; margin: 26px auto 62px; }
  body:has(.legal-section) .toc { top: 102px; padding: 20px 16px; border-radius: 18px; }
  body:has(.legal-section) .toc a { padding: 10px 11px; font-size: 12px; }
  body:has(.legal-section) .legal-section { margin-bottom: 16px; padding: 28px 32px 30px; border-radius: 19px; }
  body:has(.legal-section) .legal-section h2 { font-size: 23px; line-height: 1.25; }
  body:has(.legal-section) .legal-section p, body:has(.legal-section) .legal-section ul { font-size: 14px; line-height: 1.85; }

  /* All reviews page */
  body:has(.reviews-topbar):not(:has(.reviews-header)) { display: block; }
  .reviews-page:has(.reviews-topbar) { max-width: 1240px; }
}

/* Laptop widths: reserve enough room for both desktop columns without squeezing content. */
@media screen and (min-width: 1024px) and (max-width: 1199px) {
  body > main.page { padding-inline: 28px; grid-template-columns: minmax(0, 1fr) minmax(370px, .98fr); column-gap: 28px; }
  body > main.page > .mobile-header { width: calc(100% + 56px); margin-left: -28px; padding-inline: 28px; }
  body > main.page .product-info-title { font-size: clamp(29px, 2.6vw, 34px); }
  body > main.page .buy-more-section { padding: 20px 17px 18px; }
  body > main.page .bundle-card { grid-template-columns: 20px minmax(0, 1fr) minmax(100px, 120px); gap: 9px; padding: 12px 11px; }
  .auth-showcase { padding: 26px 28px; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: 26px; }
  .auth-desktop-panel { min-height: calc(100vh - 52px); padding: 32px; }
  .auth-desktop-panel h1 { font-size: clamp(38px, 4vw, 48px); }
  .phone-stage { max-width: 520px; }
  .auth-view, .auth-view[data-view="signup"], .auth-view[data-view="login"] { padding: 64px 28px 30px; }
  body:has(.checkout-device) { padding: 18px 14px; }
  .checkout-device { min-height: calc(100vh - 36px); }
  .checkout-device .topbar { padding-inline: 24px; }
  .checkout-device .content { padding-inline: 22px; }
  .account-page:not(.edit-page):not(.security-page), .orders-page, .order-details-page, .reviews-page:has(.reviews-header), .write-review-page, .reviews-page:has(.reviews-topbar) { width: calc(100% - 48px); }
  body:has(.lookup-card) .page-shell, body.results-page .result-shell { width: calc(100% - 48px); }
  body:has(.legal-section) .hero, body:has(.legal-section) .page-layout { width: calc(100% - 48px); }
  body:has(.legal-section) .page-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
}

@media screen and (min-width: 1440px) {
  body > main.page { padding-inline: 60px; column-gap: 60px; }
  body > main.page > .mobile-header { width: calc(100% + 120px); margin-left: -60px; padding-inline: 60px; }
}

/* NEYVERO desktop product-page refinement — added after the original theme rules.
   The phone/tablet styling is intentionally left intact. */
.desktop-nav { display: none; }

@media (min-width: 1024px) {
  html { scroll-behavior: smooth; scroll-padding-top: 118px; }
  body:has(> main.page) {
    background:
      radial-gradient(ellipse at 8% 18%, rgba(249,229,238,.48), transparent 32%),
      linear-gradient(180deg, #fffafd 0%, #ffffff 560px, #fffafd 100%);
  }
  body > main.page {
    width: min(1440px, 100%);
    max-width: none;
    margin: 0 auto;
    padding: 0 clamp(28px, 4.3vw, 64px) 100px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
    column-gap: clamp(28px, 3.6vw, 56px);
    row-gap: 0;
    align-items: start;
  }
  body > main.page > .mobile-header {
    grid-column: 1 / -1;
    grid-row: 1;
    width: calc(100% + min(8.6vw, 128px));
    margin: 0 0 0 max(-64px, -4.3vw);
    padding: 14px clamp(28px, 4.3vw, 64px) 13px;
    border: 0;
    border-bottom: 1px solid rgba(231,222,230,.9);
    border-radius: 0 0 20px 20px;
    background: rgba(255,255,255,.94);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 8px 28px rgba(15,53,105,.065);
    position: sticky;
    top: 0;
    z-index: 1100;
    overflow: visible;
  }
  body > main.page .top-row { min-height: 66px; gap: 26px; }
  body > main.page .brand-logo { width: clamp(170px, 14.5vw, 210px); }
  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.2vw, 32px);
    min-width: 0;
    flex: 1 1 auto;
  }
  .desktop-nav a {
    position: relative;
    color: #536780;
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
    padding: 12px 0;
    transition: color .18s ease;
  }
  .desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 5px;
    height: 2px;
    border-radius: 99px;
    background: #A82F59;
    transition: right .2s ease;
  }
  .desktop-nav a:hover, .desktop-nav a:focus-visible { color: #A82F59; }
  .desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
  body > main.page .top-actions { gap: 7px; }
  body > main.page .icon-button { text-decoration: none; }
  body > main.page .tracking-icon { width: 23px; height: 23px; }
  body > main.page .icon-button {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #fff7fa;
    border: 1px solid #f1e3e9;
  }

  /* Product hero: images and reviews on the left, purchase decision on the right. */
  body > main.page > .gallery-shell {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin: 28px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 13px;
  }
  body > main.page .main-card {
    width: 100%;
    aspect-ratio: .98 / 1;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(15,53,105,.085);
  }
  body > main.page .image-stage { inset: 10px; border-radius: 21px; background: #fbf8ef; }
  body > main.page .thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 10px;
    width: 100%;
  }
  body > main.page .thumb {
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
    border: 1px solid #e8e1e7;
    overflow: hidden;
    background: #fff;
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
  }
  body > main.page .thumb:hover { transform: translateY(-2px); }
  body > main.page .thumb.active {
    border-color: #A82F59;
    box-shadow: 0 0 0 2px rgba(168,47,89,.12);
  }
  body > main.page .rating-strip {
    min-height: 50px;
    margin-top: 2px;
    padding: 0 4px;
    border-top: 1px solid #ece3e9;
    border-bottom: 1px solid #ece3e9;
    font-size: 12px;
    gap: 12px;
  }
  body > main.page .rating-left { flex-wrap: wrap; gap: 8px; }
  body > main.page .rating-stars { color: #c69545; font-size: 15px; }
  body > main.page .rating-score { color: #0F3569; font-weight: 800; }
  body > main.page .rating-reviews { color: #64758D; }
  body > main.page .rating-sold { color: #A82F59; font-weight: 750; }

  body > main.page > .desktop-purchase-column {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    margin: 32px 0 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-self: start;
  }
  body > main.page .product-info { padding: 0 1px 2px; }
  body > main.page .product-info-title {
    max-width: 630px;
    margin: 0;
    color: #0F3569;
    font-size: clamp(30px, 2.55vw, 39px);
    line-height: 1.12;
    letter-spacing: -.042em;
    overflow-wrap: normal;
    text-wrap: balance;
  }
  body > main.page .product-info-subtitle { margin-top: 11px; font-size: 16px; line-height: 1.5; color: #536780; }
  body > main.page .product-info-features {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid #f0dce5;
    border-radius: 999px;
    background: #fff4f8;
    color: #8b2a50;
    font-size: 12px;
    font-weight: 750;
  }
  body > main.page .buy-more-section {
    width: 100%;
    margin: 0;
    padding: clamp(19px, 1.7vw, 25px);
    border: 1px solid #eadfe6;
    border-radius: 22px;
    background: linear-gradient(160deg, #fff 0%, #fff8fb 100%);
    box-shadow: 0 14px 34px rgba(15,53,105,.065);
  }
  body > main.page .section-title { font-size: clamp(22px, 1.9vw, 27px); letter-spacing: -.025em; }
  body > main.page .buy-more-section > .section-subtitle { margin: 8px 0 17px; color: #6e7d91; font-size: 13px; line-height: 1.6; }
  body > main.page .bundle-grid { gap: 10px; }
  body > main.page .bundle-card {
    grid-template-columns: 20px minmax(0,1fr) minmax(105px, 132px);
    gap: 10px;
    padding: 13px 12px;
    border: 1px solid #e7dee6;
    border-radius: 15px;
    background: #fff;
    text-align: left;
  }
  body > main.page .bundle-card:hover { border-color: #d79ab2; }
  body > main.page .bundle-card.active {
    border: 1.5px solid #A82F59;
    background: linear-gradient(105deg, #fff 0%, #fff0f5 100%);
    box-shadow: 0 5px 16px rgba(168,47,89,.08);
  }
  body > main.page .bundle-name { font-size: 14px; line-height: 1.25; }
  body > main.page .bundle-qty { font-size: 10px; }
  body > main.page .bundle-save { font-size: 10px; line-height: 1.45; }
  body > main.page .bundle-total { font-size: 17px; }
  body > main.page .bundle-old, body > main.page .bundle-unit { font-size: 10px; }
  body > main.page .bundle-badge { font-size: 8px; }
  body > main.page .unlock-strip { margin-top: 13px; gap: 9px; }
  body > main.page .unlock-copy { font-size: 11px; line-height: 1.45; }
  body > main.page .open-before-payment-badge {
    min-height: 74px;
    margin: 0;
    padding: 15px 17px;
    border: 1px solid #d8e7f3;
    border-radius: 16px;
    background: linear-gradient(110deg, #f4f9ff 0%, #fff 100%);
    box-shadow: 0 8px 22px rgba(15,53,105,.045);
  }
  body > main.page .open-before-payment-title { font-size: 14px; }
  body > main.page .open-before-payment-description { font-size: 12px; line-height: 1.5; }

  /* Supporting sections use consistent width, rhythm and generous whitespace. */
  body > main.page > .product-details-section,
  body > main.page > .how-to-use-section,
  body > main.page > .customer-reviews-section,
  body > main.page > .related-products-section,
  body > main.page > .faq-section,
  body > main.page > .mobile-footer {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  body > main.page > .product-details-section { margin-top: 43px; border-radius: 22px; overflow: hidden; }
  body > main.page .product-details-toggle { padding: 23px 28px; grid-template-columns: 58px minmax(0,1fr) 28px; gap: 17px; }
  body > main.page .product-details-title { font-size: 25px; }
  body > main.page .product-details-subtitle { font-size: 13px; line-height: 1.6; }
  body > main.page .product-details-body-inner { max-width: 1180px; margin: 0 auto; padding-left: 30px; padding-right: 30px; }
  body > main.page .product-details-section.is-open .product-details-body-inner { padding-top: 28px; padding-bottom: 30px; }
  body > main.page .details-block-title { font-size: 22px; }
  body > main.page .details-description { max-width: 1050px; font-size: 15px; line-height: 1.85; }
  body > main.page .benefit-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 28px; }
  body > main.page .ingredient-chips { gap: 10px; }
  body > main.page .ingredient-chip { padding: 10px 15px; font-size: 12px; }

  body > main.page > .how-to-use-section {
    margin-top: 30px;
    padding: clamp(24px, 3vw, 38px);
    border-radius: 23px;
    background: linear-gradient(140deg,#fff 0%,#fff7fa 100%);
  }
  body > main.page .how-to-use-header { margin-bottom: 25px; }
  body > main.page .how-to-use-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  body > main.page .how-to-use-step {
    min-width: 0;
    padding: 18px 18px 20px;
    border: 1px solid #eee3e9;
    border-radius: 18px;
    background: rgba(255,255,255,.86);
  }
  body > main.page .how-to-use-illustration { width: min(100%, 250px); margin: 0 auto 17px; border-radius: 15px; overflow: hidden; }
  body > main.page .how-to-use-illustration img { width: 100%; height: 100%; object-fit: cover; }

  body > main.page > .customer-reviews-section {
    margin-top: 30px;
    padding: clamp(24px, 3vw, 38px);
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 15px 42px rgba(15,53,105,.055);
  }
  body > main.page .reviews-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  body > main.page .review-card { min-width: 0; }
  body > main.page .reviews-view-all { margin-top: 22px; flex-direction: row !important; justify-content: center; gap: 12px !important; }

  body > main.page > .related-products-section {
    margin-top: 30px;
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid #eee3e9;
    border-radius: 23px;
    background: linear-gradient(180deg,#fff 0%,#fff9fc 100%);
  }
  body > main.page .related-products-track {
    display: grid !important;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px;
    width: 100% !important;
    transform: none !important;
  }
  body > main.page .related-product-card { width: 100% !important; min-width: 0; }
  body > main.page .related-product-image-link { overflow: hidden; border-radius: 15px; }
  body > main.page .related-product-body { padding: 14px 3px 2px; }

  body > main.page > .faq-section { margin-top: 34px; padding: 18px 0 0; }
  body > main.page .faq-list { max-width: 980px; margin: 23px auto 0; }
  body > main.page .faq-item { margin-bottom: 10px; border-radius: 15px; }
  body > main.page .faq-question { padding: 19px 22px; font-size: 14px; }
  body > main.page .faq-answer-inner { font-size: 13px; line-height: 1.85; }

  body > main.page > .mobile-footer {
    margin-top: 39px;
    padding: 31px 22px 27px;
    border-radius: 22px 22px 0 0;
    background: #fff;
  }

  body > .mobile-sticky-buy {
    display: flex !important;
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1200;
    transform: translateX(-50%);
    width: min(820px, calc(100vw - 72px));
    min-height: 82px;
    align-items: center;
    gap: 15px;
    padding: 11px 13px;
    border: 1px solid rgba(231,222,230,.96);
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 55px rgba(15,53,105,.17);
  }
  body > .mobile-sticky-buy .sticky-buy-thumb { width: 58px; height: 58px; flex: 0 0 58px; border-radius: 13px; overflow: hidden; }
  body > .mobile-sticky-buy .sticky-buy-info { flex: 1 1 auto; min-width: 0; }
  body > .mobile-sticky-buy .sticky-buy-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
  body > .mobile-sticky-buy .sticky-buy-price { font-size: 21px; }
  body > .mobile-sticky-buy .sticky-buy-meta { margin-top: 5px; gap: 9px; }
  body > .mobile-sticky-buy .sticky-buy-button { min-width: 180px; height: 54px; padding: 0 25px; border-radius: 14px; font-size: 16px; }
  body > .sticky-buy-toast { bottom: 115px; }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  body > main.page { padding-inline: 28px; grid-template-columns: minmax(0, .98fr) minmax(360px, 1.02fr); column-gap: 28px; }
  body > main.page > .mobile-header { width: calc(100% + 56px); margin-left: -28px; padding-inline: 28px; }
  body > main.page .brand-logo { width: 170px; }
  .desktop-nav { gap: 14px; }
  .desktop-nav a { font-size: 12px; }
  body > main.page .product-info-title { font-size: clamp(29px, 2.8vw, 34px); }
  body > main.page .bundle-card { grid-template-columns: 19px minmax(0,1fr) minmax(96px,116px); gap: 8px; padding-inline: 10px; }
  body > main.page .bundle-total { font-size: 15px; }
  body > main.page .reviews-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body > main.page .related-products-track { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; }
  body > .mobile-sticky-buy { width: min(760px,calc(100vw - 56px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .desktop-nav a, .desktop-nav a::after, body > main.page .thumb { transition: none !important; }
}


/* Conversion UX: primary purchase action stays with the bundle selector. */
.desktop-primary-buy { display: none; }
@media (min-width: 1024px) {
  body > main.page .desktop-primary-buy {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 21px;
    border: 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(110deg, #0F3569 0%, #254e7b 35%, #A82F59 100%);
    box-shadow: 0 11px 25px rgba(168,47,89,.19);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  }
  body > main.page .desktop-primary-buy:hover { transform: translateY(-1px); filter: brightness(1.03); box-shadow: 0 14px 30px rgba(168,47,89,.24); }
  body > main.page .desktop-primary-buy:active { transform: translateY(0) scale(.995); }
  body > main.page .desktop-primary-buy:focus-visible { outline: 3px solid rgba(168,47,89,.25); outline-offset: 3px; }
  .desktop-primary-buy-label { font-size: 16px; line-height: 1; font-weight: 800; letter-spacing: -.01em; }
  .desktop-primary-buy-summary { display: inline-flex; align-items: center; gap: 15px; font-size: 15px; font-weight: 800; white-space: nowrap; }
  .desktop-primary-buy-arrow { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(255,255,255,.38); border-radius: 50%; font-size: 21px; line-height: 1; }
  body > .mobile-sticky-buy.desktop-dock-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translate(-50%, 20px) !important;
  }
}


/* Mobile spacing repair — keep the existing NEYVERO design; restore its page gutters. */
@media (max-width: 760px) {
  body > main.page .product-info,
  body > main.page .buy-more-section,
  body > main.page .open-before-payment-badge,
  body > main.page > .product-details-section,
  body > main.page > .how-to-use-section,
  body > main.page > .customer-reviews-section,
  body > main.page > .related-products-section,
  body > main.page > .faq-section {
    width: calc(100% - 28px);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  body > main.page .product-info { padding: 14px 0 2px; min-width: 0; }
  body > main.page .product-info-title { max-width: 100%; overflow-wrap: normal; text-wrap: pretty; }
  body > main.page .buy-more-section { margin-top: 14px; padding: 14px 11px 12px; }
  body > main.page .buy-more-section > .section-subtitle { font-size: 12px; line-height: 1.4; margin: 6px 0 12px; }
  body > main.page .bundle-grid { gap: 10px; }
  body > main.page .bundle-card { grid-template-columns: 18px minmax(0, 1fr) minmax(96px, 108px); gap: 8px; padding: 10px 9px; }
  body > main.page .bundle-name { font-size: 13px; }
  body > main.page .bundle-qty { font-size: 10px; }
  body > main.page .bundle-badge { margin-top: 5px; padding: 4px 7px; font-size: 8.5px; line-height: 1.1; }
  body > main.page .bundle-save { margin-top: 5px; font-size: 10px; line-height: 1.25; }
  body > main.page .bundle-total { font-size: 15px; }
  body > main.page .bundle-old { font-size: 9.5px; }
  body > main.page .bundle-unit { font-size: 10px; }
  body > main.page .unlock-strip { gap: 9px; margin-top: 11px; }
  body > main.page .unlock-copy { font-size: 11px; line-height: 1.35; }
  body > main.page .product-details-section { margin-top: 14px; }
  body > main.page .product-details-toggle { padding: 16px 13px; grid-template-columns: 44px minmax(0,1fr) 22px; gap: 11px; }
  body > main.page .product-details-icon { width: 44px; height: 44px; }
  body > main.page .product-details-icon svg { width: 25px; height: 25px; }
  body > main.page .product-details-title { font-size: 19px; line-height: 1.2; }
  body > main.page .product-details-subtitle { font-size: 12px; line-height: 1.4; }
  body > main.page .open-before-payment-badge { margin-top: 14px; padding: 11px 12px; gap: 10px; }
  body > main.page .open-before-payment-title { font-size: 13px; }
  body > main.page .open-before-payment-description { font-size: 11px; }
}

@media (max-width: 360px) {
  body > main.page .product-info,
  body > main.page .buy-more-section,
  body > main.page .open-before-payment-badge,
  body > main.page > .product-details-section,
  body > main.page > .how-to-use-section,
  body > main.page > .customer-reviews-section,
  body > main.page > .related-products-section,
  body > main.page > .faq-section { width: calc(100% - 24px); }
  body > main.page .buy-more-section { padding: 12px 8px 10px; }
  body > main.page .bundle-card { grid-template-columns: 16px minmax(0,1fr) 90px; gap: 6px; padding: 9px 7px; }
  body > main.page .bundle-name { font-size: 12px; }
  body > main.page .bundle-qty { font-size: 9px; }
  body > main.page .bundle-badge { font-size: 8px; }
  body > main.page .bundle-save { font-size: 9.5px; }
  body > main.page .bundle-total { font-size: 14px; }
  body > main.page .bundle-old, body > main.page .bundle-unit { font-size: 9px; }
  body > main.page .product-details-toggle { grid-template-columns: 40px minmax(0,1fr) 21px; gap: 9px; padding: 14px 11px; }
  body > main.page .product-details-icon { width: 40px; height: 40px; }
}


/* Keep the payment-opening note in the purchase column on desktop. On phones,
   show the same note after Product Details to match the requested reading order. */
.mobile-open-before-payment { display: none; }
@media (max-width: 1023px) {
  body > main.page .desktop-open-before-payment { display: none !important; }
  body > main.page .mobile-open-before-payment { display: flex !important; }
}
@media (min-width: 1024px) {
  body > main.page .desktop-open-before-payment { display: flex; }
  body > main.page .mobile-open-before-payment { display: none !important; }
}

/* Premium desktop FAQ refinement — intentionally scoped to desktop/tablet-width screens.
   The existing mobile FAQ layout and sizing rules remain unchanged. */
@media (min-width: 761px) {
  body > main.page > .faq-section {
    margin-top: 42px;
    padding: 40px 0 52px;
  }
  body > main.page .faq-divider {
    margin-bottom: 22px;
    background: rgba(95,112,134,.16);
  }
  body > main.page .faq-heading-wrap {
    max-width: 760px;
  }
  body > main.page .faq-title {
    font-size: clamp(28px, 2.35vw, 34px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -.032em;
  }
  body > main.page .faq-subtitle {
    margin-top: 10px;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.5;
    letter-spacing: -.005em;
  }
  body > main.page .faq-list {
    width: min(100%, 920px);
    max-width: 920px;
    gap: 12px;
    margin: 30px auto 0;
  }
  body > main.page .faq-item {
    margin-bottom: 0;
    border-width: 1px;
    border-color: #F4E2EA;
    border-radius: 17px;
    box-shadow: 0 5px 18px rgba(15,53,105,.035);
  }
  body > main.page .faq-item.is-open {
    border-color: #EEDDE5;
    box-shadow: 0 8px 22px rgba(15,53,105,.055);
  }
  body > main.page .faq-question {
    padding: 18px 22px;
    gap: 18px;
  }
  body > main.page .faq-question-text {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -.008em;
  }
  body > main.page .faq-toggle-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  body > main.page .faq-toggle-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.9;
  }
  body > main.page .faq-answer-inner {
    padding: 0 22px;
    font-size: 14px;
    line-height: 1.72;
    font-weight: 450;
  }
  body > main.page .faq-item.is-open .faq-answer-inner {
    padding-bottom: 19px;
  }
}

/* Use the exact tracking/account header icon artwork and sizing on the product page. */
body > main.page .tracking-button .tracking-icon { width: 31px; height: 31px; }
body > main.page .account-button svg { width: 26px; height: 26px; }
@media (max-width: 360px) {
  body > main.page .tracking-button .tracking-icon { width: 30px; height: 30px; }
  body > main.page .account-button svg { width: 25px; height: 25px; }
}

/* Resilient review and optional featured-image states added during the production repair. */
.related-product-image-link.image-unavailable{background:#f7f5f5}
.related-product-image-link img[hidden]{display:none!important}
.reviews-empty-state{margin:0;padding:18px 14px;border:1px dashed #e7dee6;border-radius:12px;color:#64758d;background:#fff;font-size:13px;line-height:1.55}
