/* 3031 only: illustrations sit behind the unchanged source cards and copy. */
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
  .ragbet-how__step {
    overflow: hidden !important;
    isolation: isolate;
  }
  .ragbet-how__step > * { position: relative; z-index: 2; }
  .ragbet-how__step::before,
  .ragbet-how__step::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
    border: 0 !important;
    border-radius: inherit !important;
    box-shadow: none !important;
    pointer-events: none;
  }
  .ragbet-how__step::before {
    z-index: 1;
    background: linear-gradient(180deg, #ffffffed 0%, #ffffffdb 38%, #ffffffb8 70%, #ffffff45 100%) !important;
  }
  .ragbet-how__step::after {
    z-index: 0;
    background: center / cover no-repeat url('/sites/shop/generated-process/choose.webp') !important;
  }
  .ragbet-how__step:nth-child(2)::after { background-image: url('/sites/shop/generated-process/apply.webp') !important; }
  .ragbet-how__step:nth-child(3)::after { background-image: url('/sites/shop/generated-process/approve.webp') !important; }
  .ragbet-how__step:nth-child(4)::after { background-image: url('/sites/shop/generated-process/installments.webp') !important; }
}

/* A quiet payment strip; the original wallet symbol and copy remain intact. */
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
  .ragbet-how__footer {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;
    background: linear-gradient(105deg, #eef7f4 0%, #f5faf8 55%, #f1f4ef 100%) !important;
    border-radius: 20px !important;
  }
  .ragbet-how__footer::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: 255px;
    background: center 55% / cover no-repeat url('/sites/shop/generated-process/approve.webp');
    mask-image: linear-gradient(90deg, transparent, #000 45%);
    opacity: .75;
    pointer-events: none;
  }
  .ragbet-how__footer > * { position: relative; z-index: 1; }
  .ragbet-how__footer > svg {
    width: 42px !important;
    height: 42px !important;
    padding: 10px !important;
    box-sizing: border-box;
    color: #237457 !important;
    background: #ffffffb8 !important;
    border: 0 !important;
    border-radius: 13px !important;
    box-shadow: 0 2px 6px #214d3910 !important;
  }
  .ragbet-how__footer > div { max-width: calc(100% - 270px); }
  .ragbet-how__footer p { color: #515e58 !important; }
}
@media (max-width: 767px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
    .ragbet-how__footer > div { max-width: none; }
    .ragbet-how__footer::after { width: 175px; opacity: .16; }
    .ragbet-how__footer > svg { width: 27px !important; height: 27px !important; padding: 5px !important; border-radius: 8px !important; }
  }
}

/* All four steps stay in reading order: four, two, then one column. */
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
  .ragbet-how__steps {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    margin: 0 !important;
    padding: 10px 0 20px !important;
    gap: 20px !important;
    cursor: auto !important;
    touch-action: auto !important;
  }
  .ragbet-how__step {
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
  }
  #ragbet-media-1 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
    color: #1d1d1f !important;
  }
  #ragbet-media-1::before, #ragbet-media-1::after,
  #ragbet-media-1 .tm35pc-media-section::before,
  #ragbet-media-1 .tm35pc-media-section::after,
  #ragbet-media-1 .tm35pc-gallery::before,
  #ragbet-media-1 .tm35pc-gallery::after { display: none !important; }
  #ragbet-media-1 .tm35pc-media-section {
    min-width: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  #ragbet-media-1 .tm35pc-media-heading {
    display: flex !important;
    align-items: baseline !important;
    gap: 12px !important;
    font-size: 24px !important;
    margin: 0 0 16px !important;
    color: #1d1d1f !important;
  }
  #ragbet-media-1 .tm35pc-media-heading > span {
    margin: 0 !important;
    padding: 0 !important;
    color: #86868b !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  #ragbet-media-1 .tm35pc-media-track {
    display: flex !important;
    justify-content: flex-start !important;
    gap: 14px !important;
    padding: 0 0 12px !important;
    margin: 0 !important;
    scroll-padding: 0 !important;
  }
  #ragbet-media-1 :is(.tm35pc-photo-card,.tm35pc-video-card) {
    flex: 0 0 240px !important;
    width: 240px !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    background: #f5f5f7 !important;
    margin: 0 !important;
  }
  #ragbet-media-1 :is(.tm35pc-media-frame,.tm35pc-video-frame) {
    height: 290px !important;
    border: 0 !important;
    border-radius: 20px !important;
    background: #f5f5f7 !important;
    box-shadow: none !important;
  }
  #ragbet-media-1 .tm35pc-video-launch {
    border: 0 !important;
    border-radius: 20px !important;
    background: #f5f5f7 !important;
    box-shadow: none !important;
    color: white !important;
    padding: 0 !important;
  }
  #ragbet-media-1 .tm35pc-video-launch::before { display: none !important; }
  #ragbet-media-1 .tm35pc-video-launch::after {
    background: linear-gradient(transparent 50%, #00000055) !important;
    border: 0 !important;
  }
  #ragbet-media-1 .tm35pc-play {
    position: absolute !important;
    top: 50% !important; left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: grid !important; place-items: center !important;
    width: 52px !important; height: 52px !important;
    padding: 0 !important; border-radius: 50% !important;
    border: 1px solid #ffffff70 !important;
    background: #ffffffd9 !important;
    color: #1d1d1f !important;
    box-shadow: 0 4px 14px #00000012 !important;
    backdrop-filter: blur(14px);
    transition: background .2s ease, scale .2s ease;
  }
  #ragbet-media-1 .tm35pc-play svg { width: 26px !important; height: 26px !important; stroke: none !important; border: 0 !important; padding: 0 !important; background: none !important; }
  #ragbet-media-1 .tm35pc-video-launch:hover .tm35pc-play { background: #fff !important; scale: 1.04; }
  #ragbet-media-1 .tm35pc-video-metadata {
    top: auto !important; bottom: 16px !important; left: 16px !important; right: 16px !important;
    display: flex !important; justify-content: space-between !important;
    background: none !important; border: 0 !important; padding: 0 !important;
  }
  #ragbet-media-1 :is(.tm35pc-video-kind,.tm35pc-video-duration) {
    background: #00000042 !important; color: #fff !important;
    border: 1px solid #ffffff33 !important; border-radius: 8px !important;
    padding: 4px 8px !important; font-size: 11px !important;
    backdrop-filter: blur(12px);
  }
  #ragbet-media-1 .tm35pc-video-launch-label { display: none !important; }
  #ragbet-media-1 .tm35pc-gallery-controls { gap: 10px !important; margin: 4px 0 0 !important; }
  #ragbet-media-1 .tm35pc-round-button {
    flex: 0 0 36px !important;
    background: #f0f0f3 !important; color: #424245 !important;
    transition: background .2s ease;
  }
  #ragbet-media-1 .tm35pc-round-button:hover { background: #e5e5ea !important; color: #1d1d1f !important; }
  #ragbet-media-1 .tm35pc-round-button svg {
    width: 36px !important; height: 36px !important; fill: currentColor !important; stroke: none !important;
    background: none !important; padding: 0 !important; border: 0 !important;
  }
  #ragbet-media-1 :is(button,input):focus-visible { outline: 3px solid #0071e3 !important; outline-offset: 4px !important; }
  #ragbet-media-1 .tm35pc-inline-controls { background: #1d1d1fe6 !important; border: 0 !important; color: white !important; }
  #ragbet-media-1 .tm35pc-inline-controls button { background: #ffffff20 !important; border: 0 !important; color: white !important; }
  #ragbet-media-1 input[type="range"] { accent-color: #f5f5f7 !important; }
}
@media (max-width: 1100px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content .ragbet-how__steps { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 600px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
    .ragbet-how__steps { grid-template-columns: minmax(0,1fr) !important; gap: 16px !important; }
    .ragbet-how__step { min-height: 290px !important; }
    #ragbet-media-1 { gap: 24px !important; }
    #ragbet-media-1 .tm35pc-media-section { padding: 0 !important; }
    #ragbet-media-1 .tm35pc-media-heading { font-size: 24px !important; }
    #ragbet-media-1 :is(.tm35pc-photo-card,.tm35pc-video-card) { flex-basis: 224px !important; width: 224px !important; }
    #ragbet-media-1 :is(.tm35pc-media-frame,.tm35pc-video-frame) { height: 270px !important; }
  }
}
@media (prefers-reduced-motion: reduce) {
  body.ss-visual-demo #ragbet-media-1 .tm35pc-play { transition: none !important; }
}

/* One control family shared by products, gallery, brands and editorial rails. */
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
  :is(.tm35pc-round-button,.nsc-brand-showcase__button,.ss-rail-controls button) {
    display: grid !important; place-items: center !important;
    width: 36px !important; height: 36px !important; min-width: 36px !important;
    padding: 0 !important; border: 0 !important; border-radius: 50% !important;
    background: #e8e8ed !important; color: #424245 !important;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease;
  }
  :is(.tm35pc-round-button,.nsc-brand-showcase__button,.ss-rail-controls button):hover:not(:disabled) { background: #dedee4 !important; color: #1d1d1f !important; }
  :is(.tm35pc-round-button,.nsc-brand-showcase__button,.ss-rail-controls button):disabled { opacity: .35 !important; cursor: default !important; }
  :is(.tm35pc-round-button,.nsc-brand-showcase__button,.ss-rail-controls button) svg {
    width: 36px !important; height: 36px !important;
    fill: currentColor !important; stroke: none !important;
    border: 0 !important; padding: 0 !important; background: none !important;
  }
  .ss-photo-expand {
    position: absolute !important; right: 12px !important; bottom: 12px !important; z-index: 3;
    display: grid !important; place-items: center !important;
    width: 36px !important; height: 36px !important; padding: 0 !important;
    border: 1px solid #ffffff70 !important; border-radius: 50% !important;
    background: #ffffffe6 !important; color: #424245 !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 10px #00000012 !important;
    cursor: pointer;
    transition: background .2s ease, scale .2s ease;
  }
  .ss-photo-expand:hover { background: #fff !important; scale: 1.04; }
  .ss-photo-expand svg { width: 20px !important; height: 20px !important; fill: none !important; stroke: currentColor !important; border: 0 !important; background: none !important; padding: 0 !important; }
  .nsc-brand-showcase { --yc-primary: #0071e3; --yc-accent-soft: #f5f5f7; }
  .nsc-brand-showcase::before,.nsc-brand-showcase::after { display: none !important; }
  .nsc-brand-showcase__header { margin-bottom: 18px !important; align-items: baseline !important; }
  .nsc-brand-showcase__header h2 { color: #1d1d1f !important; font-size: 28px !important; }
  .nsc-brand-showcase__all { color: #0066cc !important; background: none !important; border: 0 !important; font-size: 14px !important; }
  .nsc-brand-showcase__track { display: flex !important; gap: 14px !important; margin: 0 !important; padding: 4px 0 14px !important; scroll-padding: 0 !important; }
  .nsc-brand-showcase__item { flex: 0 0 164px !important; min-width: 0 !important; }
  .nsc-brand-showcase__card {
    display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;
    gap: 8px !important; height: 150px !important; padding: 20px 16px !important;
    border: 0 !important; border-radius: 20px !important; background: #fff !important;
    color: #1d1d1f !important; box-shadow: 0 2px 8px #00000005 !important;
    transition: transform .3s cubic-bezier(0,0,.5,1), box-shadow .3s cubic-bezier(0,0,.5,1);
  }
  .nsc-brand-showcase__card:hover { background: #fff !important; transform: scale(1.015); box-shadow: 0 4px 14px #0000000c !important; }
  .nsc-brand-showcase__logo { display: grid !important; place-items: center !important; width: 100% !important; height: 52px !important; padding: 0 !important; background: none !important; border: 0 !important; }
  .nsc-brand-showcase__image { max-width: 92px !important; max-height: 38px !important; object-fit: contain !important; }
  .nsc-brand-showcase__name { color: #1d1d1f !important; font-size: 14px !important; font-weight: 600 !important; }
  .nsc-brand-showcase__count { color: #86868b !important; font-size: 11px !important; }
  .nsc-brand-showcase__controls { margin-top: 0 !important; }
  .nsc-brand-showcase__position { display: none !important; }
  .nsc-brand-showcase__buttons { display: flex !important; gap: 10px !important; margin-left: auto !important; }
  :is(.yc-home-more,.yc-home-blog-more) { color: #0066cc !important; background: transparent !important; border: 0 !important; }
  .yc-story-card { box-shadow: 0 2px 12px #00000006 !important; }
  .yc-story-media { background: #eaeaec !important; }
  .yc-story-media::before,.yc-story-media::after { display: none !important; }
  .yc-story-media img { object-fit: cover !important; }
  .yc-story-stars { background: #ffffffe8 !important; color: #9c6a16 !important; border: 0 !important; border-radius: 10px !important; padding: 6px 8px !important; backdrop-filter: blur(10px); }
  .yc-story-person strong { color: #1d1d1f !important; }
  .yc-story-text { color: #515154 !important; font-size: 14px !important; line-height: 1.55 !important; }
  .yc-review-purchase-badge { color: #6e6e73 !important; }
  .yc-story-product { background: #f5f5f7 !important; color: #515154 !important; }
  .yc-home-why-item {
    position: relative; isolation: isolate; overflow: hidden !important;
    background: #fff url('/sites/shop/generated-why-backgrounds/clarity.webp') center / cover no-repeat !important;
  }
  .yc-home-why-item:nth-child(2) { background-image: url('/sites/shop/generated-why-backgrounds/choice.webp') !important; }
  .yc-home-why-item:nth-child(3) { background-image: url('/sites/shop/generated-why-backgrounds/care.webp') !important; }
  .yc-home-why-item:nth-child(4) { background-image: url('/sites/shop/generated-why-backgrounds/value.webp') !important; }
  .yc-home-why-item::before,.yc-home-why-item::after { display: none !important; }
  .yc-home-why-icon { background: none !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .yc-home-why-icon svg { background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .yc-home-newsletter {
    display: grid !important; grid-template-columns: minmax(0,1fr) minmax(300px,.8fr) !important;
    align-items: center !important; gap: 28px !important;
    padding: 32px !important; border-radius: 24px !important;
    background: #eaf0f8 !important; box-shadow: none !important;
  }
  .yc-home-newsletter::before,.yc-home-newsletter::after { display: none !important; }
  .yc-home-newsletter h2 { font-size: 26px !important; margin: 0 0 10px !important; }
  .yc-home-newsletter p { max-width: 540px !important; margin: 0 !important; line-height: 1.5 !important; }
  .yc-home-newsletter-form { display: flex !important; flex-wrap: nowrap !important; gap: 10px !important; min-width: 0 !important; margin: 0 !important; }
  .yc-home-newsletter input[type="email"] { min-width: 0 !important; flex: 1 1 auto !important; width: 100% !important; border-color: #d2d9e3 !important; border-radius: 12px !important; font-size: 14px !important; padding: 0 15px !important; }
  .yc-home-newsletter button { flex: 0 0 auto !important; border: 0 !important; border-radius: 12px !important; font-size: 14px !important; min-height: 47px !important; padding: 0 20px !important; box-shadow: none !important; }
  .yc-home-newsletter button:hover { background: #0077ed !important; color: #fff !important; }
}
body.ss-visual-demo .ss-photo-viewer {
  position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none;
  margin: 0; padding: 20px 28px; border: 0; color: #1d1d1f; background: #f5f5f7f5;
  backdrop-filter: blur(24px); box-sizing: border-box;
}
body.ss-visual-demo .ss-photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0,1fr) auto; gap: 14px; }
.ss-photo-viewer::backdrop { background: #f5f5f7; }
.ss-photo-viewer__header { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 16px; font-weight: 600; }
.ss-photo-viewer__header span span { color: #6e6e73; font-size: 13px; margin-left: 12px; font-weight: 400; }
.ss-photo-viewer__stage { display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; }
.ss-photo-viewer__stage img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.ss-photo-viewer__controls { display: flex; justify-content: center; gap: 10px; }
body.ss-visual-demo .ss-photo-viewer button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; background: #e8e8ed; color: #424245; border: 0; border-radius: 50%; cursor: pointer; }
body.ss-visual-demo .ss-photo-viewer button:disabled { opacity: .35; cursor: default; }
body.ss-visual-demo .ss-photo-viewer button:hover:not(:disabled) { background: #dedee4; }
.ss-photo-viewer__controls svg { width: 36px; height: 36px; fill: currentColor; stroke: none; }
.ss-photo-viewer__close svg { width: 24px; height: 24px; }
body.ss-visual-demo :is(.ss-photo-viewer,.nsc-brand-showcase,.yc-home-newsletter) :focus-visible { outline: 3px solid #0071e3 !important; outline-offset: 3px !important; }
@media (max-width: 900px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content .yc-home-newsletter { grid-template-columns: minmax(0,1fr) !important; gap: 22px !important; }
}
@media (max-width: 767px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
    .nsc-brand-showcase__item { flex-basis: 136px !important; }
    .nsc-brand-showcase__card { height: 140px !important; }
    .yc-home-newsletter { padding: 26px !important; }
    .yc-home-newsletter h2 { font-size: 24px !important; }
    .yc-home-newsletter-form { gap: 8px !important; }
    .yc-home-newsletter input[type="email"] { padding-inline: 12px !important; font-size: 13px !important; }
    .yc-home-newsletter button { padding-inline: 14px !important; font-size: 13px !important; }
  }
  body.ss-visual-demo .ss-photo-viewer { padding: 14px 16px; padding-top: max(14px,env(safe-area-inset-top)); padding-bottom: max(14px,env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  body.ss-visual-demo :is(.nsc-brand-showcase__card,.ss-photo-expand) { transition: none !important; }
}
/* Keep review photography edge-to-edge and remove inherited accent arrows. */
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
  .yc-story-media > a { display: block !important; width: 100% !important; height: 100% !important; }
  .yc-story-media > a > img { display: block !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
  .yc-story-product > svg { color: #6e6e73 !important; }
  .yc-home-blog-card h3 a { color: #1d1d1f !important; }
  .yc-home-blog-card h3 a:hover { color: #0066cc !important; }
}
/* Photo and video chrome use the same frosted neutral material as finish controls. */
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
  #ragbet-media-1 :is(.ss-photo-expand,.tm35pc-play) {
    background: #e8e8edb8 !important; color: #424245 !important;
    border: 0 !important; backdrop-filter: blur(16px) saturate(1.3) !important;
    box-shadow: 0 2px 10px #00000008 !important;
  }
  #ragbet-media-1 :is(.ss-photo-expand:hover,.tm35pc-video-launch:hover .tm35pc-play) { background: #eeeef1dc !important; }
  #ragbet-media-1 .tm35pc-video-metadata {
    left: 12px !important; right: auto !important; bottom: 12px !important;
    gap: 9px !important; padding: 7px 10px !important; border-radius: 24px !important;
    background: #e8e8edb8 !important; backdrop-filter: blur(16px) saturate(1.3) !important;
  }
  #ragbet-media-1 :is(.tm35pc-video-kind,.tm35pc-video-duration) {
    padding: 0 !important; min-height: 0 !important; border: 0 !important;
    border-radius: 0 !important; background: none !important; backdrop-filter: none !important;
    color: #424245 !important; font-size: 10px !important; line-height: 1.4 !important;
  }
  #ragbet-media-1 .tm35pc-video-duration { color: #6e6e73 !important; font-variant-numeric: tabular-nums; }
  .yc-builder-fold { padding: 0 !important; border: 0 !important; background: none !important; }
  .yc-builder-fold-content { color: #6e6e73 !important; font-size: 13px !important; line-height: 1.6 !important; }
  .yc-builder-fold-button {
    display: inline-flex !important; align-items: center !important; justify-content: center !important;
    width: auto !important; gap: 6px !important; margin-top: 16px !important; padding: 8px 14px !important;
    border: 0 !important; border-radius: 20px !important; background: #e8e8ed !important;
    color: #424245 !important; font-size: 12px !important; box-shadow: none !important;
  }
  .yc-builder-fold-button:hover { background: #dedee4 !important; color: #1d1d1f !important; }
  .ss-fold-chevron { display: inline-flex; transform: rotate(90deg); }
  .yc-builder-fold-button[aria-expanded="true"] .ss-fold-chevron { transform: rotate(-90deg); }
  .ss-fold-chevron svg { width: 22px !important; height: 22px !important; fill: currentColor !important; stroke: none !important; background: none !important; border: 0 !important; }
}
body.ss-visual-demo .ss-photo-viewer {
  background: transparent !important; backdrop-filter: none !important; padding: 30px !important;
}
body.ss-visual-demo .ss-photo-viewer::backdrop { background: #d8d8dd66 !important; backdrop-filter: blur(28px) saturate(1.3) !important; }
body.ss-visual-demo .ss-photo-viewer[open] { display: block !important; }
.ss-photo-viewer__stage { width: 100%; height: 100%; }
.ss-photo-viewer__frame { position: relative; display: flex; max-width: 100%; max-height: 100%; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 70px #0000001c; }
.ss-photo-viewer__frame > img { max-width: calc(100vw - 60px); max-height: calc(100dvh - 60px); border-radius: 18px; object-fit: contain; }
.ss-photo-viewer__header { position: absolute; z-index: 2; left: 14px; top: 14px; right: 14px; }
.ss-photo-viewer__header > span { background: #e8e8edba; backdrop-filter: blur(16px) saturate(1.3); padding: 9px 13px; border-radius: 22px; font-size: 12px; }
.ss-photo-viewer__header span span { margin-left: 7px; font-size: 11px; }
.ss-photo-viewer__controls { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 5px; gap: 5px; border-radius: 28px; background: #e8e8ed99; backdrop-filter: blur(16px) saturate(1.3); }
body.ss-visual-demo .ss-photo-viewer button { background: #e8e8edb8; backdrop-filter: blur(16px) saturate(1.3); }
body.ss-visual-demo .ss-photo-viewer button:hover:not(:disabled) { background: #eeeef1dc; }
body.ss-visual-demo .drn-reference-footer {
  background: #f5f5f7 !important; color: #6e6e73 !important;
  border: 0 !important; border-top: 1px solid #d2d2d7 !important; padding-top: 36px !important;
  --mc-footer-bg: #f5f5f7 !important; --mc-footer-panel: transparent !important;
  --mc-footer-text: #1d1d1f !important; --mc-footer-muted: #6e6e73 !important; --mc-footer-line: #d2d2d7 !important;
}
body.ss-visual-demo .drn-reference-footer::before,body.ss-visual-demo .drn-reference-footer::after { display: none !important; }
body.ss-visual-demo .drn-reference-footer .drn-reference-container { width: calc(100% - 56px) !important; max-width: none !important; margin-inline: auto !important; }
body.ss-visual-demo .drn-reference-footer-grid { display: grid !important; grid-template-columns: 1.6fr repeat(3,1fr) !important; gap: 36px !important; padding: 0 0 28px !important; background: none !important; border: 0 !important; }
body.ss-visual-demo .drn-reference-footer :is(section,h2,ul,li) { background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.ss-visual-demo .drn-reference-footer h2 { font-size: 12px !important; font-weight: 600 !important; color: #1d1d1f !important; margin-bottom: 14px !important; }
body.ss-visual-demo .drn-reference-footer :is(p,a,small,.sepetsarayi-contact-placeholder) { font-size: 12px !important; line-height: 1.6 !important; color: #6e6e73 !important; }
body.ss-visual-demo .drn-reference-footer a:hover { color: #1d1d1f !important; text-decoration: underline; }
body.ss-visual-demo .drn-reference-footer li { margin-bottom: 8px !important; }
body.ss-visual-demo .drn-reference-footer :is(.drn-footer-security-chip,.drn-footer-security-icon) { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #6e6e73 !important; }
body.ss-visual-demo .drn-reference-footer :is(.drn-reference-footer-merchant,.drn-reference-footer-bottom) { background: transparent !important; border: 0 !important; border-top: 1px solid #d2d2d7 !important; }
body.ss-visual-demo .drn-reference-footer .sepetsarayi-wordmark { font-size: 24px !important; color: #1d1d1f !important; }
@media (max-width: 767px) {
  body.ss-visual-demo .ss-photo-viewer { padding: 12px !important; }
  .ss-photo-viewer__frame > img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .ss-photo-viewer__header { left: 9px; top: 9px; right: 9px; }
  .ss-photo-viewer__controls { right: 9px; bottom: 9px; }
  body.ss-visual-demo .drn-reference-footer .drn-reference-container { width: calc(100% - 44px) !important; }
  body.ss-visual-demo .drn-reference-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 26px 20px !important; }
  body.ss-visual-demo .drn-reference-footer-brand { grid-column: 1 / -1; }
}
body.ss-visual-demo .ss-globalnav { gap: 24px; }
body.ss-visual-demo .ss-navlinks { gap: clamp(12px,1.45vw,24px); }
body.ss-visual-demo .ss-navlinks a { font-size: 12px; }
@media (min-width: 768px) and (max-width: 1240px) {
  body.ss-visual-demo .ss-navlinks { display: none; }
  body.ss-visual-demo .ss-header-actions { margin-left: auto; }
  body.ss-visual-demo .ss-menu-toggle { display: inline-flex; }
  body.ss-visual-demo .ss-mobile-menu { display: flex; flex-direction: column; padding: 12px 28px 24px; gap: 0; background: #fafafc; }
  body.ss-visual-demo .ss-mobile-menu > a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 18px; color: #1d1d1f; }
}
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview .drn-reference-footer {
  .drn-reference-container { width: calc(100% - 56px) !important; max-width: none !important; margin-inline: 28px !important; }
  .drn-reference-footer-grid { grid-template-columns: 1.4fr repeat(4,minmax(0,1fr)) !important; gap: 28px !important; }
  :is(.drn-footer-security-chip,.drn-footer-security-icon,.drn-reference-footer-logo,.drn-reference-footer-logo .yc-logo) { background: transparent !important; border: 0 !important; box-shadow: none !important; }
  .drn-reference-footer-logo .yc-logo { padding: 0 !important; }
  :is(.drn-footer-security-icon svg,.drn-reference-footer-logo) { color: #6e6e73 !important; }
  .drn-footer-security-chip { padding: 6px 12px !important; }
}
@media (max-width: 1000px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview .drn-reference-footer .drn-reference-footer-grid { grid-template-columns: repeat(4,minmax(0,1fr)) !important; }
  body.ss-visual-demo .drn-reference-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview .drn-reference-footer {
    .drn-reference-container { width: calc(100% - 44px) !important; margin-inline: 22px !important; }
    .drn-reference-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 26px 20px !important; }
  }
}
/* Gift campaign: stable composition independent of the heading's height. */
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content #ss-new-year {
  display: grid; grid-template-columns: minmax(0,.75fr) minmax(0,1.25fr);
  align-items: center; gap: 20px; padding: 35px 50px; min-height: 360px;
  h2 { font-size: 44px !important; line-height: 1.05 !important; letter-spacing: -1.7px !important; font-weight: 600 !important; }
  > div:first-child { max-width: 360px; }
  .ss-editorial-products { position: relative; inset: auto; width: 100%; max-width: 650px; height: 300px; justify-self: end; }
  .ss-editorial-products img { object-fit: contain !important; filter: drop-shadow(0 14px 12px #471e491a); }
  .ss-editorial-products .ss-gift-phone { left: 31%; right: auto; top: -5px; width: 245px !important; height: 310px !important; transform: rotate(-9deg); z-index: 2; }
  .ss-editorial-products .ss-gift-watch { left: auto; right: -10px; top: 5px; width: 245px !important; height: 300px !important; transform: rotate(12deg); z-index: 3; }
  .ss-editorial-products .ss-gift-package { left: -10px; right: auto; top: auto; bottom: 12px; width: 235px !important; height: 250px !important; transform: rotate(-6deg); z-index: 1; }
}
@media (max-width: 900px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content #ss-new-year {
    grid-template-columns: minmax(0,1fr); gap: 8px; padding: 28px 25px 15px; min-height: 0;
    h2 { font-size: 35px !important; letter-spacing: -1px !important; }
    > div:first-child { max-width: 400px; }
    p { max-width: 340px; }
    .ss-editorial-products { justify-self: center; width: 100%; max-width: 380px; height: 265px; }
    .ss-editorial-products .ss-gift-phone { left: 23%; top: 5px; width: 51% !important; height: 250px !important; }
    .ss-editorial-products .ss-gift-watch { right: -16px; top: 20px; width: 49% !important; height: 240px !important; }
    .ss-editorial-products .ss-gift-package { left: -14px; bottom: 24px; width: 43% !important; height: 200px !important; }
  }
}
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
  .nsc-brand-showcase__track { scrollbar-width: none !important; -ms-overflow-style: none; }
  .nsc-brand-showcase__track::-webkit-scrollbar { display: none !important; width: 0; height: 0; }
  .ss-shelf-title { position: relative; }
  .ss-holiday-strip {
    position: absolute; left: var(--holiday-left); width: var(--holiday-width); top: 50%; transform: translateY(-50%);
    height: 34px; min-width: 0; overflow: hidden; isolation: isolate;
    border-radius: 8px; background: #e3eaf6; color: #253454; text-decoration: none;
  }
  .ss-holiday-strip > img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: right center; mask-image: linear-gradient(90deg,transparent,#000 65%); }
  .ss-holiday-strip__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 3px 10px; }
  .ss-holiday-strip__copy > strong { font-size: 11px; line-height: 1.15; font-weight: 600; letter-spacing: -.1px; }
  .ss-holiday-strip__copy > strong br { display: none; }
  .ss-holiday-strip__copy > span { display: none; }
  .ss-holiday-strip:focus-visible { outline: 3px solid #0071e3 !important; outline-offset: 3px; }
}
.ss-holiday-snow { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: hidden; container-type: size; }
.ss-holiday-snow i { position: absolute; top: -6px; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: 0; animation: ss-holiday-snowfall 7s linear infinite; }
@keyframes ss-holiday-snowfall { 0% { transform: translate3d(0,-6px,0); opacity: 0; } 12% { opacity: .65; } 85% { opacity: .4; } 100% { transform: translate3d(8px,calc(100cqh + 12px),0); opacity: 0; } }
@media (max-width: 767px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
    .ss-shelf-title > h2 { visibility: hidden; }
    .ss-holiday-strip { left: 0; width: 100%; top: 0; transform: none; height: 100%; border-radius: 10px; }
    .ss-holiday-strip__copy { padding: 4px 12px; }
    .ss-holiday-strip__copy > strong { font-size: 16px; max-width: 65%; }
    .ss-holiday-strip__copy > strong br { display: block; }
  }
}
@media (prefers-reduced-motion: reduce) { .ss-holiday-snow { display: none !important; } }
@media (min-width: 768px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
    .ss-holiday-strip {
      left: calc(var(--holiday-left) + var(--holiday-width) / 2);
      width: min(220px,var(--holiday-width));
      height: 44px;
      transform: translate(-50%,-50%);
      border-radius: 9px;
    }
    .ss-holiday-strip__copy { padding: 4px 9px; }
    .ss-holiday-strip__copy > strong { max-width: 65%; font-size: 11px; line-height: 1.2; }
    .ss-holiday-strip__copy > strong br { display: block; }
    .ss-holiday-strip > img { mask-image: linear-gradient(90deg,transparent,#000 48%); }
  }
}
@media (min-width: 1024px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
    .ss-holiday-strip {
      width: min(440px,var(--holiday-width)); height: 106px;
      top: auto; bottom: 0; transform: translateX(-50%);
      border-radius: 14px;
    }
    .ss-holiday-strip__copy { padding: 12px 18px; }
    .ss-holiday-strip__copy > strong { max-width: 60%; font-size: 21px; line-height: 1.1; letter-spacing: -.4px; }
    .ss-holiday-strip__copy > span { display: block; margin-top: 7px; font-size: 9px; }
  }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content {
    .ss-holiday-strip { height: 44px; }
    .ss-holiday-strip__copy { padding: 4px 9px; }
    .ss-holiday-strip__copy > strong { font-size: 11px; }
    .ss-holiday-strip__copy > span { display: none; }
  }
}

/* Whole lines only: a shared title area keeps every product aligned. */
html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content .yc-card .yc-card-title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.2 !important;
  height: 2lh !important;
  min-height: 2lh !important;
  max-height: 2lh !important;
  flex-shrink: 0;
  overflow: hidden;
}
@media (max-width: 600px) {
  html body.ss-visual-demo.drn-reference-global.nsc-baklava.shop-storefront.shop-ios-preview #main-content .yc-card .yc-card-title {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    height: 3lh !important;
    min-height: 3lh !important;
    max-height: 3lh !important;
  }
}
