/* Product-only styles; home header/footer, steps and media retain their shared styles. */
html body.drn-reference-global.nsc-baklava.shop-ios-preview #main-content.ss-product-page {
  background: #f5f5f7 !important; color: #1d1d1f;
  --sp-blue: #0071e3; --sp-muted: #6e6e73; --sp-border: #d2d2d7;
  .sp-product, .sp-information { width: 100%; max-width: none; margin-inline: auto; padding-inline: clamp(28px, 3.2vw, 64px); box-sizing: border-box; }
  :is(.sp-product,.sp-information) :is(h1,h2,h3,p,fieldset,legend,dl,dd) { margin: 0; padding: 0; border: 0; }
  :is(.sp-product,.sp-information) button { font: inherit; cursor: pointer; color: inherit; }
  :is(.sp-product,.sp-information) a { text-decoration: none; }
  :is(.sp-product,.sp-information) :is(a,button,summary,[tabindex]):focus-visible { outline: 3px solid #0071e3; outline-offset: 4px; }
  .sp-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; padding: 40px 0 36px; }
  .sp-page-heading h1 { font-size: clamp(30px,3.2vw,44px); line-height: 1.08; font-weight: 650; letter-spacing: -1.6px; color: #1d1d1f; max-width: 650px; }
  .sp-heading-price { display: grid; gap: 4px; flex-shrink: 0; text-align: right; font-size: 13px; line-height: 1.5; }
  .sp-heading-price strong { font-size: 18px; font-weight: 600; letter-spacing: -.4px; }
  .sp-heading-price small { font-size: 12px; color: #6e6e73; }
  .sp-configurator { display: grid; grid-template-columns: minmax(0,1fr) clamp(328px,27vw,460px); gap: clamp(32px,4.2vw,80px); align-items: start; padding-bottom: 65px; }
  .sp-gallery-column { min-width: 0; height: 100%; }
  .sp-gallery { position: sticky; top: 24px; }
  .sp-gallery-stage { touch-action: pan-y; position: relative; border-radius: 26px; background: #fff; height: clamp(280px, min(70vw, calc(100svh - 176px)), 800px); aspect-ratio: auto; overflow: hidden; }
  .sp-gallery-stage > img { display: block; width: 100%; height: 100%; object-fit: contain; padding: 28px 36px; box-sizing: border-box; user-select: none; }
  .sp-gallery-paddles { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding-inline: 18px; pointer-events: none; }
  .sp-gallery-paddles button { pointer-events: auto; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #e8e8edb8; backdrop-filter: blur(12px); color: #535357; transition: background .2s; }
  .sp-gallery-paddles button:hover { background: #d2d2d7; }
  .sp-gallery-paddles button:disabled { opacity: .35; cursor: default; }
  .sp-gallery-paddles svg { width: 36px; height: 36px; fill: currentColor; }
  .sp-image-position { position: absolute; left: 22px; bottom: 25px; font-size: 12px; color: #6e6e73; }
  .sp-thumbnails { display: flex; justify-content: flex-start; gap: 9px; overflow-x: auto; scrollbar-width: none; padding: 17px 3px 7px; scroll-snap-type: x proximity; }
  .sp-thumbnails::-webkit-scrollbar { display: none; }
  .sp-thumbnails button { flex: 0 0 56px; width: 56px; height: 60px; padding: 4px; border: 1px solid transparent; border-bottom: 2px solid transparent; border-radius: 9px; background: #fff; scroll-snap-align: start; transition: border-color .2s; }
  .sp-thumbnails button[aria-pressed=true] { border-bottom-color: #0071e3; }
  .sp-thumbnails img { width: 100%; height: 100%; object-fit: contain; }
  .sp-gallery-services { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 21px; padding-inline: 8px; }
  .sp-gallery-services span { display: flex; align-items: center; gap: 6px; color: #6e6e73; font-size: 11px; line-height: 1.4; }
  .sp-gallery-services svg { width: 18px; height: 18px; color: #515154; }
  .sp-options { min-width: 0; }
  .sp-selection-intro { padding: 7px 0 28px; }
  .sp-overline { color: #6e6e73; font-size: 12px; font-weight: 600; margin-bottom: 9px !important; }
  .sp-selection-intro h2 { font-size: 29px; line-height: 1.15; letter-spacing: -.8px; font-weight: 600; }
  .sp-selection-intro h2 > span { color: #6e6e73; }
  .sp-rating-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 15px; font-size: 12px; color: #0071e3; }
  .sp-rating-link > span:first-child { color: #6e6e73; }
  .sp-rating-link > span:last-child { color: #6e6e73; }
  .sp-fieldset { min-width: 0; margin-bottom: 30px !important; }
  .sp-fieldset legend, .sp-payment > h2 { font-size: 18px; line-height: 1.35; letter-spacing: -.4px; font-weight: 600; margin-bottom: 17px; }
  .sp-fieldset legend span, .sp-payment > h2 > span { color: #6e6e73; }
  .sp-color-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; }
  .sp-color-options button { display: flex; align-items: center; flex-direction: column; gap: 11px; padding: 6px 0; border: 0; background: none; font-size: 11px; }
  .sp-swatch { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 2px 3px #0002; outline: 2px solid transparent; outline-offset: 4px; transition: outline-color .2s,transform .2s; }
  .sp-color-options button[aria-pressed=true] .sp-swatch { outline-color: #0071e3; }
  .sp-color-options button:hover .sp-swatch { transform: scale(1.06); }
  .sp-capacities { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .sp-capacities button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 78px; gap: 6px; background: #fff; border: 1px solid #86868b; border-radius: 12px; padding: 12px; transition: border-color .2s,box-shadow .2s; }
  .sp-capacities button strong { font-size: 17px; font-weight: 600; }
  .sp-capacities button > span { font-size: 11px; color: #6e6e73; }
  .sp-capacities button[aria-pressed=true] { border-color: #0071e3; box-shadow: inset 0 0 0 1px #0071e3; }
  .sp-capacities button:hover { border-color: #0071e3; }
  .sp-payment { padding-top: 4px; }
  .sp-payment-switch { display: flex; gap: 4px; padding: 4px; border-radius: 11px; background: #e8e8ed; }
  .sp-payment-switch button { flex: 1; border: 0; border-radius: 8px; padding: 10px 6px; background: transparent; color: #6e6e73; font-size: 13px; font-weight: 500; transition: background .2s,color .2s,box-shadow .2s; }
  .sp-payment-switch button[aria-pressed=true] { color: #1d1d1f; background: #fff; box-shadow: 0 1px 5px #00000012; }
  .sp-payment-caption { font-size: 12px; color: #6e6e73; line-height: 1.5; margin: 17px 0 !important; }
  .sp-payment-summary { display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px; padding: 21px 18px; background: #eaf2fc; margin-bottom: 22px; }
  .sp-payment-summary > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
  .sp-payment-summary > div + div { padding-left: 18px; border-left: 1px solid #c9d7e8; }
  .sp-payment-summary span { font-size: 12px; color: #515154; }
  .sp-payment-summary strong { font-size: clamp(22px,2.2vw,29px); line-height: 1.1; font-weight: 600; letter-spacing: -.8px; color: #1d1d1f; white-space: nowrap; }
  .sp-payment-summary small { font-size: 10px; color: #6e6e73; line-height: 1.4; }
  .sp-terms { margin-bottom: 14px !important; }
  .sp-terms legend { font-size: 13px; margin-bottom: 10px; }
  .sp-terms > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
  .sp-terms button { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 4px; border-radius: 11px; background: #fff; border: 1px solid #d2d2d7; }
  .sp-terms button[aria-pressed=true] { border-color: #0071e3; box-shadow: inset 0 0 0 1px #0071e3; }
  .sp-terms strong { font-size: 16px; font-weight: 600; }
  .sp-terms button > span { font-size: 11px; white-space: nowrap; }
  .sp-terms button small { font-size: 9px; color: #6e6e73; }
  .sp-plan-details { font-size: 12px; padding: 7px 0 15px; }
  .sp-plan-details summary { display: flex; align-items: center; justify-content: space-between; color: #0071e3; cursor: pointer; list-style: none; padding: 5px 0; }
  .sp-plan-details summary::-webkit-details-marker { display: none; }
  .sp-plan-details > p { color: #6e6e73; line-height: 1.6; font-size: 11px; margin-top: 12px; }
  .sp-table-wrap { overflow-x: auto; margin-top: 12px; }
  .sp-table-wrap table { border-collapse: collapse; width: 100%; font-size: 11px; text-align: left; }
  .sp-table-wrap caption { text-align: left; margin-bottom: 12px; color: #6e6e73; }
  .sp-table-wrap :is(th,td) { padding: 10px 5px; border-bottom: 1px solid #d2d2d7; white-space: nowrap; }
  .sp-table-wrap thead th { color: #6e6e73; font-weight: 400; }
  .sp-table-wrap tbody th { font-weight: 500; }
  .sp-table-wrap button { font-size: 11px; border: 0; padding: 5px; color: #0071e3; background: transparent; }
  .sp-table-wrap tr[data-selected=true] { background: #eaf2fc; }
  .sp-order-summary { padding: 18px 0; border-top: 1px solid #d2d2d7; }
  .sp-order-summary > p { font-size: 12px; color: #6e6e73; margin-bottom: 9px; }
  .sp-order-summary > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12px; }
  .sp-order-summary strong { font-size: 21px; letter-spacing: -.5px; font-weight: 600; }
  .sp-product .sp-primary { width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; background: #0071e3; border: 0; border-radius: 12px; padding: 14px 16px; min-height: 48px; color: #fff; font-size: 15px; font-weight: 500; transition: background .2s,transform .2s; }
  .sp-primary:hover { background: #0077ed; }
  .sp-primary:active { transform: scale(.99); }
  .sp-primary svg { width: 20px; height: 20px; }
  .sp-payment-note { font-size: 11px; line-height: 1.6; color: #6e6e73; text-align: center; margin-top: 12px; }
  .sp-cash-summary { display: grid; gap: 10px; padding: 26px 0; }
  .sp-cash-summary > p:first-child { font-size: 13px; color: #0071e3; }
  .sp-cash-summary del { font-size: 14px; color: #6e6e73; }
  .sp-cash-summary > strong { font-size: 36px; line-height: 1; letter-spacing: -1px; font-weight: 600; }
  .sp-cash-summary > span,.sp-cash-summary > p:last-child { font-size: 12px; color: #6e6e73; }
  .sp-help-link { display: flex; align-items: center; gap: 13px; border-top: 1px solid #d2d2d7; margin-top: 24px; padding-top: 20px; font-size: 13px; color: #1d1d1f; }
  .sp-help-link > span { display: grid; gap: 6px; flex: 1; }
  .sp-help-link small { font-size: 11px; color: #6e6e73; }
  .sp-help-link > svg:last-child { color: #6e6e73; width: 18px; }
  .sp-notice { font-size: 12px; padding: 13px; margin-top: 12px !important; background: #eaf2fc; border-radius: 9px; line-height: 1.6; }
  .sp-notice button { border: 0; background: none; padding: 0 4px; color: #0071e3; }
  .ss-product-shared { padding-top: 30px; }
  .sp-information { padding-block: 30px 80px; }
  .sp-content-nav { display: flex; gap: 24px; border-bottom: 1px solid #d2d2d7; overflow-x: auto; scrollbar-width: none; padding: 18px 0; font-size: 13px; }
  .sp-content-nav a { color: #515154; white-space: nowrap; }
  .sp-content-nav a:hover { color: #0071e3; }
  .sp-information > section { padding: 54px 0; scroll-margin-top: 24px; }
  .sp-section-heading { margin-bottom: 26px; }
  .sp-section-heading h2 { font-size: 30px; line-height: 1.15; letter-spacing: -.8px; font-weight: 600; color: #1d1d1f; }
  .sp-section-heading h2 > span { color: #6e6e73; }
  .sp-description > p { max-width: 820px; font-size: 19px; line-height: 1.55; letter-spacing: -.2px; color: #515154; }
  .sp-feature-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 30px; }
  .sp-feature-facts > div { padding: 28px; background: #fff; border-radius: 20px; }
  .sp-feature-facts > div > span { display: block; color: #6e6e73; font-size: 12px; margin-bottom: 12px; }
  .sp-feature-facts strong { font-size: 34px; font-weight: 600; letter-spacing: -1px; }
  .sp-feature-facts p { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #6e6e73; }
  .sp-specs dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 40px; }
  .sp-specs dl > div { padding: 18px 0; border-bottom: 1px solid #d2d2d7; }
  .sp-specs dt { font-size: 13px; font-weight: 600; margin-bottom: 9px; }
  .sp-specs dd { font-size: 14px; line-height: 1.55; color: #6e6e73; }
  .sp-reviews .sp-section-heading > p { font-size: 14px; margin-top: 16px; color: #6e6e73; }
  .sp-reviews .sp-section-heading > p strong { font-size: 20px; color: #1d1d1f; }
  .sp-stars { color: #6e6e73; font-size: 14px; letter-spacing: 1px; }
  .sp-source-note { color: #6e6e73; font-size: 12px; margin-top: -10px !important; }
  .sp-review-photos { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 22px 0; }
  .sp-review-photos button { width: 100px; height: 110px; flex: 0 0 100px; padding: 0; border: 0; border-radius: 13px; overflow: hidden; background: #e8e8ed; }
  .sp-review-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
  .sp-review-photos button:hover img { transform: scale(1.035); }
  .sp-review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
  .sp-review-grid article { position: relative; padding: 24px; border-radius: 20px; background: #fff; }
  .sp-review-avatar { display: grid; place-items: center; width: 32px; height: 32px; background: #e8e8ed; border-radius: 50%; color: #6e6e73; font-size: 13px; margin-bottom: 16px; }
  .sp-review-grid h3 { font-size: 13px; font-weight: 600; }
  .sp-review-grid p { font-size: 13px; line-height: 1.65; color: #6e6e73; margin-top: 12px; }
  .sp-more { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 26px auto 0; border: 0; border-radius: 999px; padding: 11px 18px; background: #e8e8ed; color: #515154; font-size: 13px; }
  .sp-more svg { width: 16px; height: 16px; }
  .sp-faq details { border-bottom: 1px solid #d2d2d7; }
  .sp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; font-size: 17px; font-weight: 600; line-height: 1.4; list-style: none; cursor: pointer; }
  .sp-faq summary::-webkit-details-marker { display: none; }
  .sp-faq summary svg { flex: 0 0 22px; color: #6e6e73; transition: transform .2s; }
  .sp-faq details[open] summary svg { transform: rotate(45deg); }
  .sp-faq details > p { max-width: 850px; padding-bottom: 23px; font-size: 14px; color: #6e6e73; line-height: 1.65; }
  .sp-contact-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 25px; color: #0071e3; font-size: 14px; }
}
.sp-application.source-popup { background: #f5f5f7; text-align: center; }
.sp-application.source-popup .sp-overline { color: #6e6e73; font-size: 13px; margin: 5px 0 12px; }
.sp-application.source-popup h2 { color: #1d1d1f; font-size: 29px; letter-spacing: -.8px; line-height: 1.1; }
.sp-application.source-popup > img { width: 130px; height: 130px; object-fit: contain; mix-blend-mode: multiply; }
.sp-application.source-popup h3 { font-size: 17px; margin: 14px 0 8px; }
.sp-application.source-popup p { font-size: 13px; line-height: 1.55; color: #6e6e73; }
.sp-application-plan { display: flex; justify-content: center; gap: 25px; padding: 20px 0; }
.sp-application-plan span { display: grid; gap: 9px; color: #6e6e73; font-size: 12px; }
.sp-application-plan strong { color: #1d1d1f; font-size: 17px; }
.sp-demo-note { color: #6e6e73; font-size: 12px; line-height: 1.6; background: #e8e8ed; border-radius: 10px; padding: 12px; }
.sp-application .sp-primary { display: block; width: 100%; padding: 14px; background: #0071e3; border: 0; border-radius: 12px; color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.sp-cart-items { padding: 0; list-style: none; }
.sp-cart-items li { display: flex; align-items: flex-start; gap: 16px; padding: 20px 0; border-bottom: 1px solid #d2d2d7; }
.sp-cart-items li > img { width: 72px; height: 90px; object-fit: contain; mix-blend-mode: multiply; }
.sp-cart-items li > div { display: grid; gap: 8px; font-size: 13px; }
.sp-cart-items a { color: #1d1d1f; text-decoration: none; font-weight: 600; }
.sp-cart-items p { color: #6e6e73; font-size: 12px; margin: 0; }
.sp-cart-items small { color: #6e6e73; font-size: 11px; }
.sp-cart-items button { justify-self: start; border: 0; padding: 0; background: none; color: #0071e3; cursor: pointer; font: inherit; font-size: 12px; }
@media (max-width: 1000px) {
  html body.drn-reference-global.nsc-baklava.shop-ios-preview #main-content.ss-product-page {
    .sp-product, .sp-information { padding-inline: 26px; }
    .sp-configurator { grid-template-columns: minmax(0,1fr) minmax(300px,.85fr); gap: 28px; }
    .sp-page-heading h1 { font-size: 34px; max-width: 410px; }
    .sp-heading-price { font-size: 11px; }
    .sp-selection-intro h2 { font-size: 25px; }
    .sp-fieldset legend, .sp-payment > h2 { font-size: 16px; }
    .sp-payment-summary { padding: 18px 12px; }
    .sp-payment-summary > div + div { padding-left: 12px; }
    .sp-payment-summary strong { font-size: 22px; }
    .sp-review-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  }
}
@media (max-width: 767px) {
  html body.drn-reference-global.nsc-baklava.shop-ios-preview #main-content.ss-product-page {
    .sp-product, .sp-information { padding-inline: 20px; }
    .sp-page-heading { display: block; padding: 27px 0 24px; }
    .sp-page-heading h1 { font-size: 32px; max-width: 370px; letter-spacing: -1.1px; }
    .sp-heading-price { margin-top: 15px; text-align: left; display: flex; gap: 4px 8px; flex-wrap: wrap; align-items: baseline; }
    .sp-heading-price strong { font-size: 13px; letter-spacing: -.1px; }
    .sp-heading-price > small { flex-basis: 100%; font-size: 10px; }
    .sp-configurator { display: block; padding-bottom: 35px; }
    /* The image stays visible during selection and releases at the configurator end. */
    .sp-gallery-column { position: sticky; top: 0; z-index: 5; height: auto; margin-inline: -20px; padding: 8px 20px 12px; background: #f5f5f7; border-bottom: 1px solid #d2d2d780; }
    .sp-gallery { position: static; }
    .sp-gallery-stage { height: clamp(170px,30svh,250px); border-radius: 18px; }
    .sp-gallery-stage > img { padding: 14px 32px; }
    .sp-gallery-paddles { padding-inline: 12px; }
    .sp-gallery-paddles button { width: 30px; height: 30px; }
    .sp-gallery-paddles svg { width: 30px; height: 30px; }
    .sp-image-position { left: 15px; bottom: 18px; font-size: 10px; }
    .sp-gallery-services { gap: 7px 13px; margin-top: 8px; padding-inline: 0; }
    .sp-gallery-services span { font-size: 9px; }
    .sp-gallery-services svg { width: 14px; height: 14px; }
    .sp-thumbnails { gap: 8px; padding-top: 9px; padding-bottom: 4px; }
    .sp-thumbnails button { flex-basis: 40px; width: 40px; height: 42px; }
    .sp-options :is(button,a,summary), .sp-selection-intro { scroll-margin-top: calc(clamp(170px,30svh,250px) + 112px); }
    .sp-selection-intro { padding: 28px 0 26px; }
    .sp-selection-intro h2 { font-size: 28px; }
    .sp-selection-intro h2 br { display: none; }
    .sp-selection-intro h2 span::before { content: ' '; }
    .sp-fieldset { margin-bottom: 28px !important; }
    .sp-fieldset legend,.sp-payment > h2 { font-size: 19px; }
    .sp-color-options button { font-size: 11px; }
    .sp-capacities button { min-height: 80px; }
    .sp-payment-summary { padding: 23px 18px; }
    .sp-payment-summary > div + div { padding-left: 19px; }
    .sp-payment-summary strong { font-size: 27px; }
    .sp-terms legend { font-size: 13px; }
    .sp-terms button > span { font-size: 12px; }
    .sp-section-heading h2 { font-size: 26px; }
    .sp-information { padding-top: 15px; padding-bottom: 30px; }
    .sp-information > section { padding: 36px 0; }
    .sp-content-nav { gap: 20px; font-size: 12px; margin-inline: -20px; padding-inline: 20px; }
    .sp-description > p { font-size: 17px; }
    .sp-feature-facts { grid-template-columns: 1fr; gap: 12px; }
    .sp-feature-facts > div { padding: 24px; }
    .sp-feature-facts strong { font-size: 30px; }
    .sp-specs dl { grid-template-columns: 1fr; }
    .sp-review-grid { grid-template-columns: 1fr; }
    .sp-faq summary { font-size: 16px; padding-block: 20px; }
  }
}
@media (max-width: 359px) {
  html body.drn-reference-global.nsc-baklava.shop-ios-preview #main-content.ss-product-page {
    .sp-product,.sp-information { padding-inline: 16px; }
    .sp-gallery-column { margin-inline: -16px; padding-inline: 16px; }
    .sp-page-heading h1 { font-size: 29px; }
    .sp-payment-summary { padding-inline: 13px; }
    .sp-payment-summary strong { font-size: 23px; }
    .sp-terms button > span { font-size: 10px; }
    .sp-payment-summary small { font-size: 9px; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .ss-product-page *, .ss-product-page *::before, .ss-product-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
