html { scroll-behavior: smooth; }
body { background: var(--fashion-bg); color: var(--fashion-text); }
html, body, #app { max-width: 100%; overflow-x: clip; }
ui-motion .youcan-section,
ui-motion [ui-motion="custom"] { transform-origin: center top; }
ui-motion .youcan-section:not([data-motion="in-view"]),
ui-motion [ui-motion="custom"]:not([data-motion="in-view"]) {
  transform: translateY(28px) !important;
  opacity: 0;
}
ui-motion .youcan-section[data-motion="in-view"],
ui-motion [ui-motion="custom"][data-motion="in-view"] {
  transform: translateY(0) !important;
  opacity: 1;
}
body #app > main [ui-section^=fashion-] { padding-inline: 0; }
body #app > main [ui-section^="fashion-"] {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0 !important;
}
body :focus-visible { outline: 2px solid var(--fashion-accent); outline-offset: 3px; }
button, a { -webkit-tap-highlight-color: transparent; }
.fashion-wrap { width: min(1440px, calc(100% - 64px)); margin-inline: auto; }
.fashion-announcement { overflow: hidden; height: 31px; background: var(--fashion-notice-bg); color: var(--fashion-notice-text); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.fashion-announcement__track { display: flex; align-items: center; gap: 64px; width: max-content; min-height: 31px; white-space: nowrap; animation: fashion-marquee var(--fashion-marquee-duration) linear infinite; }
.fashion-announcement:hover .fashion-announcement__track, .fashion-announcement:focus-within .fashion-announcement__track { animation-play-state: paused; }
.fashion-announcement__track > * { flex: 0 0 auto; color: inherit; text-decoration: none; }
@keyframes fashion-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fashion-announcement__track { animation: none; } }
[ui-layout=navbar] { background: var(--fashion-header-bg); color: var(--fashion-text); padding: 14px max(32px, calc((100vw - 1440px)/2)); min-height: 76px; gap: 20px; }
[ui-layout=navbar] .logo .name, [ui-layout=footer] .logo .name { font-family: var(--font-heading-family); font-size: 25px; font-weight: 700; letter-spacing: 0; color: var(--fashion-text); }
[ui-layout=navbar] .links { gap: 25px; }
[ui-layout=navbar] .links a { font-size: 12px; font-weight: 500; text-transform: uppercase; color: var(--fashion-text); }
[ui-layout=navbar] .actions { justify-content: flex-end; }
[ui-layout=navbar] .sub-links { border: 1px solid var(--fashion-border); border-radius: 0 !important; box-shadow: none !important; }
[ui-layout=footer] { background: var(--fashion-footer-bg); color: var(--fashion-text); }
[ui-layout=footer] .main-area, [ui-layout=footer] .secondary-area { max-width: 1440px; margin-inline: auto; }
[ui-layout=footer] .main-area { width: 100%; }
[ui-layout=footer] .fashion-newsletter { width: min(300px, 100%); }
[ui-layout=footer] .fashion-newsletter h4 { margin: 0 0 12px; font-size: 17px; }
[ui-layout=footer] .fashion-newsletter p { margin: 0 0 14px; color: var(--fashion-muted); font-size: 12px; line-height: 1.5; }
[ui-layout=footer] .fashion-newsletter label { display: block; margin-bottom: 5px; font-size: 11px; }
[ui-layout=footer] .fashion-newsletter form > div { display: flex; border-bottom: 1px solid var(--fashion-text); }
[ui-layout=footer] .fashion-newsletter input { width: 100%; min-width: 0; padding: 10px 0; background: transparent; color: var(--fashion-text); font-size: 12px; }
[ui-layout=footer] .fashion-newsletter button { padding: 10px; color: var(--fashion-text); font-size: 12px; }
.fashion-footer-instagram { color: var(--fashion-text); font-size: 13px; text-decoration: none; }
.fashion-section { padding-block: 53px 58px; }
.fashion-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 26px; }
.fashion-section-head h2 { margin: 0; font-family: var(--font-heading-family); font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: 0; }
.fashion-section-head a { color: var(--fashion-text); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.fashion-grid { display: grid; grid-template-columns: repeat(var(--fashion-columns), minmax(0, 1fr)); gap: 32px 14px; padding: 0; margin: 0; list-style: none; }
.fashion-grid [ui-block=product], [ui-section=single-collection] [ui-block=product] { gap: 8px; border: 0; border-radius: 0; background: transparent; }
[ui-block=product] .media { position: relative; overflow: hidden; border-radius: 0; background: var(--fashion-footer-bg); aspect-ratio: 3/4; }
[ui-block=product] .media > a { display: block; width: 100%; height: 100%; }
[ui-block=product] .media > a img { display: block; width: 100%; height: 100%; object-fit: cover; filter: none !important; }
[ui-block=product] .media > a img.fashion-card-hover { position: absolute; inset: 0; opacity: 0; transition: opacity .25s ease; }
@media (hover: hover) { [ui-block=product]:hover .media > a img.fashion-card-hover { opacity: 1; } }
[ui-block=product] .content { display: flex; flex-direction: column; gap: 5px; padding: 0; text-align: left; }
[ui-block=product] .content .title { display: block; min-height: 0; color: var(--fashion-text); font-family: var(--font-family); font-size: 13px; font-weight: 500; line-height: 1.4; white-space: normal; }
[ui-block=product] .content .price { display: flex; flex-direction: row; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 600; }
[ui-block=product] .content .price .compare-at-price { order: -1; color: var(--fashion-muted); font-weight: 400; opacity: 1; }
[ui-block=product] .content .price:has(.compare-at-price) .original-price { color: var(--fashion-sale); }
[ui-block=product] .badge { width: max-content; height: max-content; margin: 10px; padding: 4px 7px; border-radius: 0; background: var(--fashion-sale); color: var(--fashion-accent-text); font-size: 11px; }
[ui-block=product] .ruby-product-rating { display: none; }
[ui-block=product] .media > [ui-slot=button], [ui-block=product] .media > ui-shop-button { display: none !important; }
[ui-block=product]:not(:has(.fashion-card-action)) .media > ui-shop-button:last-of-type,
[ui-block=product]:not(:has(.fashion-card-action)) .media > [ui-slot=button]:last-of-type { display: block !important; visibility: visible; opacity: 1; position: absolute; left: 10px; right: auto; bottom: 10px; transform: none; }
.fashion-card-action { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 10px; pointer-events: none; }
.fashion-card-action__toggle { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 0; background: var(--fashion-bg); color: var(--fashion-text); font-size: 21px; line-height: 1; text-decoration: none; cursor: pointer; pointer-events: auto; }
.fashion-card-action__options { display: none; align-items: center; flex-wrap: wrap; gap: 3px; max-width: 100%; margin-top: 5px; padding: 7px; background: var(--fashion-bg); color: var(--fashion-text); box-shadow: 0 1px 8px color-mix(in srgb, var(--fashion-text) 10%, transparent); pointer-events: auto; }
.fashion-card-action__options span { padding-inline: 2px 5px; font-size: 11px; }
.fashion-card-action__options button { min-width: 29px; min-height: 28px; padding: 2px 5px; border: 1px solid transparent; background: transparent; color: var(--fashion-text); font-size: 11px; cursor: pointer; }
.fashion-card-action__options button:hover, .fashion-card-action__options button:focus-visible { border-color: var(--fashion-accent); }
.fashion-card-action__options a { color: var(--fashion-text); font-size: 11px; text-decoration: none; white-space: pre; }
@media (hover: hover) { [ui-block=product]:hover .fashion-card-action__options, [ui-block=product]:focus-within .fashion-card-action__options { display: flex; } }
.fashion-grid--demo { margin-top: 0; }
.fashion-demo-product .badge { position: absolute; top: 0; left: 0; }
.fashion-banner { position: relative; width: 100%; }
.fashion-banner__link, .fashion-banner picture { display: block; position: relative; }
.fashion-banner picture img { display: block; width: 100%; height: min(50vw, calc(100vh - 150px)); min-height: 430px; object-fit: cover; }
.fashion-banner__copy { position: absolute; left: 5%; right: 5%; bottom: 12%; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; color: var(--banner-text-color, #ffffff); text-align: left; text-shadow: 0 1px 8px rgb(0 0 0 / 18%); }
.fashion-banner__copy[data-align=center] { align-items: center; text-align: center; }
.fashion-banner__copy[data-align=right] { align-items: flex-end; text-align: right; }
.fashion-banner__copy strong { max-width: 100%; font-family: var(--font-heading-family); font-size: clamp(30px, 3.6vw, 68px); font-weight: 700; line-height: 1.08; }
.fashion-banner__button { display: grid; place-items: center; min-width: 245px; min-height: 52px; padding: 4px 20px; border: 1px solid var(--banner-button-border, #ffffff); font-size: 27px; line-height: 1.1; font-weight: 400; text-shadow: none; }
.fashion-banner__link:hover .fashion-banner__button, .fashion-banner__link:focus-visible .fashion-banner__button { background: var(--banner-text-color, #ffffff); color: var(--fashion-text); }
.fashion-message { padding-block: 56px; border-block: 1px solid var(--fashion-border); text-align: center; }
.fashion-message__eyebrow { display: block; color: var(--fashion-muted); font-size: 11px; }
.fashion-message p { max-width: 760px; margin: 15px auto 0; font-family: var(--font-heading-family); font-size: clamp(22px, 3vw, 36px); line-height: 1.3; }
.fashion-social__track, .fashion-reviews__track { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; }
.fashion-reel { flex: 0 0 min(240px, 62vw); min-width: 0; scroll-snap-align: start; }
.fashion-reel__media { aspect-ratio: 3/4; position: relative; overflow: hidden; background: var(--fashion-footer-bg); }
.fashion-reel__media img, .fashion-reel__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.fashion-reel__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--fashion-bg); color: var(--fashion-text); cursor: pointer; }
.fashion-reel__play.is-playing { left: auto; right: 10px; top: 10px; transform: none; width: 32px; height: 32px; font-size: 12px; opacity: .8; }
.fashion-reel__details { display: flex; align-items: center; gap: 8px; padding-top: 10px; }
.fashion-reel__details img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.fashion-reel__details div { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.fashion-reel__details strong, .fashion-reel__details span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fashion-reel__details span { color: var(--fashion-muted); }
.fashion-reel__details a { color: var(--fashion-text); text-decoration: none; font-size: 16px; }
.fashion-review { flex: 0 0 min(335px, 82vw); scroll-snap-align: start; border: 1px solid var(--fashion-border); background: var(--fashion-bg); }
.fashion-review__photo { display: block; width: 100%; height: 180px; object-fit: cover; }
.fashion-review__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; }
.fashion-review__stars { color: var(--fashion-sale); font-size: 15px; }
.fashion-review blockquote { margin: 0; font-size: 13px; line-height: 1.55; }
.fashion-review strong { font-size: 12px; }
.fashion-review small { color: var(--fashion-muted); }
.fashion-review a { color: var(--fashion-text); font-size: 11px; text-decoration: underline; }
.fashion-product-video video { display: block; width: min(440px, 100%); max-height: 680px; margin-inline: auto; object-fit: cover; background: var(--fashion-footer-bg); }
[ui-section=single-product] .core { max-width: 1440px; }
[ui-section=single-product] .content { color: var(--fashion-text); }
[ui-section=single-product] .fashion-product-purchase { margin-block: 24px; }
[ui-section=single-product] .fashion-product-cart-actions { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
[ui-section=single-product] .fashion-product-cart-actions > ui-shop-button { min-width: 170px; flex: 1; }
[ui-section=single-product] .fashion-product-cart-actions > ui-shop-button [ui-slot=button] { width: 100%; min-height: 48px; border-radius: 0; background: var(--fashion-accent); color: var(--fashion-accent-text); }
[ui-section=single-product] .ruby-product-assurance { display: flex; align-items: center; gap: 8px; margin-block: 14px; color: var(--fashion-muted); font-size: 12px; }
[ui-section=single-product] .ruby-product-description { max-width: 1440px; margin: 70px auto 0; border-top: 1px solid var(--fashion-border); padding-top: 30px; }
[ui-section=single-product] .ruby-product-description__intro h2 { font-size: 28px; }
[ui-section=single-product] .ruby-product-description__body { max-width: 860px; line-height: 1.65; }
[ui-section=single-product] .ruby-product-sticky { position: fixed; z-index: 30; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--fashion-border); background: var(--fashion-bg); }
[ui-section=single-product] .ruby-product-sticky a { padding: 10px 16px; background: var(--fashion-accent); color: var(--fashion-accent-text); text-decoration: none; }
[ui-section=single-product] .ruby-product-sticky > div { display: flex; flex-direction: column; font-size: 12px; }
[ui-section=reviews] .ruby-reviews__heading { color: var(--fashion-text); }
@media (max-width: 800px) {
  .fashion-wrap { width: calc(100% - 28px); }
  [ui-layout=navbar] { min-height: 60px; padding: 9px 14px; }
  [ui-layout=navbar] .logo .name { font-size: 20px; }
  .fashion-section { padding-block: 32px 38px; }
  .fashion-section-head { margin-bottom: 16px; }
  .fashion-section-head h2 { font-size: 21px; }
  .fashion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 8px; }
  [ui-block=product] .content .title, [ui-block=product] .content .price { font-size: 12px; }
  .fashion-card-action__options { display: none; }
  .fashion-banner picture img { height: min(126vw, calc(100vh - 130px)); min-height: 480px; object-position: 24% center; }
  .fashion-banner__copy { left: 5%; right: 5%; bottom: 7%; gap: 12px; }
  .fashion-banner__copy strong { font-size: clamp(28px, 7vw, 44px); }
  .fashion-banner__button { min-width: 145px; min-height: 42px; font-size: 17px; }
  .fashion-message { padding-block: 40px; }
}

/* Home campaign: navigation sits on the image and the notice follows it. */
body.fashion-home > .notice-bar { display: none !important; }
body.fashion-home { margin: 0 !important; padding-top: 0 !important; }
body.fashion-home #app { position: relative; }
body.fashion-home #app,
body.fashion-home #app > main { margin-top: 0 !important; padding-top: 0 !important; }
body.fashion-home #app > #youcan-section--announcement-bar,
body.fashion-home #app > :has([ui-section="announcement-bar"]) { display: none !important; }
body.fashion-home #app > #youcan-section--navbar,
body.fashion-home #app > :has([ui-layout="navbar"]) { position: fixed !important; inset: 0 0 auto; z-index: 60; height: auto; transform: none !important; opacity: 1 !important; }
body.fashion-home #app > main [ui-section="fashion-banner"] { padding: 0 !important; }
body.fashion-home [ui-layout="navbar"] { display: grid; grid-template-areas: "logo menu actions" !important; grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr) !important; align-items: center; min-height: 64px; padding: 10px 3% !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--fashion-home-header-text, #ffffff) !important; transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
body.fashion-home [ui-layout="navbar"] .logo { justify-self: start; }
body.fashion-home [ui-layout="navbar"] .logo .name { color: var(--fashion-home-header-text, #ffffff) !important; font-family: var(--fashion-wordmark-font); font-size: var(--fashion-wordmark-size); font-weight: 300; line-height: 1; white-space: nowrap; }
body.fashion-home [ui-layout="navbar"] .links { justify-content: center; gap: 23px; }
body.fashion-home [ui-layout="navbar"] .links a { padding: 0; color: var(--fashion-home-header-text, #ffffff) !important; font-size: 10px; font-weight: 400; line-height: 1.3; text-transform: uppercase; white-space: nowrap; }
body.fashion-home [ui-layout="navbar"] .actions { justify-self: end; align-items: center; gap: 10px; }
body.fashion-home [ui-layout="navbar"] .actions > a,
body.fashion-home [ui-layout="navbar"] .actions > button,
body.fashion-home [ui-layout="navbar"] .menu > button { display: grid; place-items: center; width: 25px; height: 25px; min-width: 25px; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--fashion-home-header-text, #ffffff) !important; }
body.fashion-home [ui-layout="navbar"] .actions i,
body.fashion-home [ui-layout="navbar"] .menu i { font-size: 17px; color: var(--fashion-home-header-text, #ffffff) !important; }
body.fashion-home [ui-layout="navbar"] .actions [ui-slot="badge"] { display: none !important; }
body.fashion-home [ui-layout="navbar"] .sub-links { background: var(--fashion-header-bg); }
body.fashion-home [ui-layout="navbar"] .sub-links a { color: var(--fashion-text) !important; }
body.fashion-home.fashion-home-header-solid [ui-layout="navbar"] { background: var(--fashion-header-bg, #ffffff) !important; color: var(--fashion-text, #171717) !important; box-shadow: 0 1px 0 var(--fashion-border, #e5e5e5) !important; }
body.fashion-home.fashion-home-header-solid [ui-layout="navbar"] .logo .name,
body.fashion-home.fashion-home-header-solid [ui-layout="navbar"] .links a,
body.fashion-home.fashion-home-header-solid [ui-layout="navbar"] .actions > a,
body.fashion-home.fashion-home-header-solid [ui-layout="navbar"] .actions > button,
body.fashion-home.fashion-home-header-solid [ui-layout="navbar"] .menu > button,
body.fashion-home.fashion-home-header-solid [ui-layout="navbar"] .actions i,
body.fashion-home.fashion-home-header-solid [ui-layout="navbar"] .menu i { color: var(--fashion-text) !important; }
body.fashion-home .fashion-banner__link,
body.fashion-home .fashion-banner picture { display: block; width: 100%; }
body.fashion-home .fashion-banner picture img { display: block; width: 100%; height: calc(var(--fashion-hero-desktop, 100svh) - var(--fashion-home-notice-height, 32px)); min-height: 0; max-height: none; object-fit: cover; object-position: center; }
body.fashion-home .fashion-banner:not(:has(.fashion-hero-announcement)) picture img { height: var(--fashion-hero-desktop, 100svh); }
body.fashion-home .fashion-banner__copy { position: absolute; inset: auto 4.8% 8.2% 4.8%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 0; color: var(--fashion-hero-text, #ffffff) !important; text-align: left; text-shadow: none; }
body.fashion-home .fashion-banner__copy[data-align="center"] { align-items: center; text-align: center; }
body.fashion-home .fashion-banner__copy[data-align="right"] { align-items: flex-end; text-align: right; }
body.fashion-home .fashion-banner__copy strong { max-width: 100%; color: inherit; font-family: var(--font-heading-family); font-size: clamp(34px, 3.5vw, 50px); font-weight: 400; line-height: 1.08; }
body.fashion-home .fashion-banner__button { display: grid; place-items: center; width: 176px; min-width: 0; min-height: 36px; padding: 2px 12px; border: 1px solid var(--fashion-hero-border, #ffffff); color: inherit; font-size: 19px; font-weight: 400; line-height: 1; }
body.fashion-home .fashion-hero-announcement { overflow: hidden; height: var(--fashion-home-notice-height, 32px); background: var(--fashion-home-notice-bg); color: var(--fashion-home-notice-text); font-size: 16px; font-weight: 400; }
body.fashion-home .fashion-hero-announcement__track { display: flex; align-items: center; gap: 32px; width: max-content; height: 100%; white-space: nowrap; animation: fashion-marquee var(--fashion-home-notice-speed, 26s) linear infinite; }
body.fashion-home .fashion-hero-announcement__track > * { flex: 0 0 auto; color: inherit; text-decoration: none; }
body.fashion-home .fashion-hero-announcement:hover .fashion-hero-announcement__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { body.fashion-home .fashion-hero-announcement__track { animation: none; } }
@media (max-width: 800px) {
  body.fashion-home [ui-layout="navbar"] { grid-template-areas: "menu logo actions" !important; grid-template-columns: 1fr auto 1fr !important; min-height: 60px; padding: 10px 14px !important; }
  body.fashion-home [ui-layout="navbar"] .logo { justify-self: center; }
  body.fashion-home [ui-layout="navbar"] .logo .name { font-size: 27px; }
  body.fashion-home [ui-layout="navbar"] .links { display: none; }
  body.fashion-home [ui-layout="navbar"] .menu { display: flex; }
  body.fashion-home .fashion-banner picture img { height: calc(var(--fashion-hero-mobile, 100svh) - var(--fashion-home-notice-height, 32px)); object-position: 24% center; }
  body.fashion-home .fashion-banner:not(:has(.fashion-hero-announcement)) picture img { height: var(--fashion-hero-mobile, 100svh); }
  body.fashion-home .fashion-banner__copy { inset: auto 5% 8% 5%; }
  body.fashion-home .fashion-banner__copy strong { font-size: clamp(28px, 7vw, 42px); }
  body.fashion-home .fashion-banner__button { width: 146px; min-height: 40px; font-size: 17px; }
  body.fashion-home .fashion-hero-announcement { font-size: 13px; }
}
@media (max-width: 420px) { body.fashion-home [ui-layout="navbar"] .actions .account { display: none; } }

/* Reference storefront density: full-width product walls and compact cards. */
body.fashion-home,
body.fashion-home [ui-layout="navbar"],
body.fashion-home [ui-section^="fashion-"] { direction: ltr; }
body.fashion-home #app > #youcan-section--navbar,
body.fashion-home #app > :has([ui-layout="navbar"]) { top: 0 !important; margin: 0 !important; padding: 0 !important; }
.fashion-collection { width: 100%; padding-block: 34px 42px; }
.fashion-collection .fashion-wrap { width: 100%; max-width: none; }
.fashion-collection .fashion-section-head { padding-inline: 32px; }
.fashion-collection .fashion-grid { width: 100%; grid-template-columns: repeat(var(--fashion-columns), minmax(0, 1fr)); gap: 34px 0; }
.fashion-collection [ui-block="product"] { min-width: 0; gap: 0; }
.fashion-collection [ui-block="product"] .media { aspect-ratio: 4 / 5; }
.fashion-collection [ui-block="product"] .content { gap: 3px; padding: 7px 8px 0; }
.fashion-collection [ui-block="product"] .content .title { color: var(--fashion-text); font-size: 10px; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
.fashion-collection [ui-block="product"] .content .price { gap: 5px; font-size: 10px; line-height: 1.3; }
.fashion-card-swatches { display: flex; align-items: center; gap: 5px; min-height: 14px; margin-top: 2px; }
.fashion-card-swatch { display: block; width: 10px; height: 10px; min-width: 10px; padding: 0; border: 1px solid rgb(0 0 0 / 16%); border-radius: 50%; background: var(--fashion-swatch, #171717); box-shadow: 0 0 0 1px var(--fashion-bg); cursor: pointer; }
.fashion-card-swatch:hover,
.fashion-card-swatch:focus-visible { outline: 1px solid var(--fashion-text); outline-offset: 2px; }
.fashion-card-swatch--image { overflow: hidden; }
.fashion-card-swatch--image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fashion-card-swatches > a { color: var(--fashion-muted); font-size: 10px; line-height: 1; text-decoration: none; }
.fashion-collection .fashion-card-action,
[ui-section="single-collection"] .fashion-card-action { inset: auto 0 0; align-items: stretch; padding: 0; }
.fashion-collection .fashion-card-action__toggle,
[ui-section="single-collection"] .fashion-card-action__toggle { position: absolute; right: 8px; bottom: 8px; left: auto; width: 28px; height: 28px; background: rgb(255 255 255 / 88%); font-size: 18px; }
.fashion-collection .fashion-card-action__options,
[ui-section="single-collection"] .fashion-card-action__options { justify-content: center; width: 100%; min-height: 40px; margin: 0; padding: 6px 10px; background: rgb(235 235 235 / 88%); box-shadow: none; backdrop-filter: blur(4px); }
.fashion-collection .fashion-card-action__options span,
[ui-section="single-collection"] .fashion-card-action__options span { margin-right: 8px; font-weight: 600; }
.fashion-collection .fashion-card-action__options button,
[ui-section="single-collection"] .fashion-card-action__options button { min-width: 31px; min-height: 26px; }
@media (hover: hover) {
  .fashion-collection [ui-block="product"]:hover .fashion-card-action:has(.fashion-card-action__options) .fashion-card-action__toggle,
  [ui-section="single-collection"] [ui-block="product"]:hover .fashion-card-action:has(.fashion-card-action__options) .fashion-card-action__toggle { display: none; }
}
[ui-section="single-collection"] { direction: ltr; gap: 24px !important; padding: 24px 0 44px !important; }
[ui-section="single-collection"] > [ui-slot="breadcrumb"],
[ui-section="single-collection"] > [ui-slot="head"],
[ui-section="single-collection"] > .sub-collections-area,
[ui-section="single-collection"] > [ui-slot="divider"],
[ui-section="single-collection"] .core-area > .controller,
[ui-section="single-collection"] .core-area > :not(.items) { margin-inline: 32px; }
[ui-section="single-collection"] .core-area { gap: 20px; }
[ui-section="single-collection"] .core-area .items { grid-template-columns: repeat(var(--nbr-columns-desktop), minmax(0, 1fr)); gap: 34px 0; }
[ui-section="single-collection"] [ui-block="product"] { gap: 0; }
[ui-section="single-collection"] [ui-block="product"] .media { aspect-ratio: 4 / 5; }
[ui-section="single-collection"] [ui-block="product"] .content { gap: 3px; padding: 7px 8px 0; }
[ui-section="single-collection"] [ui-block="product"] .content .title { font-size: 10px; font-weight: 600; line-height: 1.25; text-transform: uppercase; }
[ui-section="single-collection"] [ui-block="product"] .content .price { gap: 5px; font-size: 10px; line-height: 1.3; }
body:not(.fashion-home) [ui-layout="navbar"] { direction: ltr; min-height: 56px; padding: 10px 3%; }
body:not(.fashion-home) [ui-layout="navbar"] .logo .name { font-family: var(--fashion-wordmark-font); font-size: var(--fashion-wordmark-size); font-weight: 300; }
@media (max-width: 800px) {
  .fashion-collection { padding-block: 24px 30px; }
  .fashion-collection .fashion-section-head { padding-inline: 10px; }
  .fashion-collection .fashion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
  .fashion-collection [ui-block="product"] .content,
  [ui-section="single-collection"] [ui-block="product"] .content { padding-inline: 6px; }
  [ui-section="single-collection"] { padding-inline: 0 !important; }
  [ui-section="single-collection"] > [ui-slot="breadcrumb"],
  [ui-section="single-collection"] > [ui-slot="head"],
  [ui-section="single-collection"] > .sub-collections-area,
  [ui-section="single-collection"] > [ui-slot="divider"],
  [ui-section="single-collection"] .core-area > .controller,
  [ui-section="single-collection"] .core-area > :not(.items) { margin-inline: 10px; }
  [ui-section="single-collection"] .core-area .items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 0; }
}

/* Full-bleed storefront on narrow screens, including YouCan preview frames. */
@media (max-width: 800px) {
  body #app > main .youcan-section:has(> [ui-section^="fashion-"]),
  body #app > main [ui-motion="custom"]:has(> [ui-section^="fashion-"]) {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-inline: 0 !important;
  }
  body #app > main [ui-section="fashion-banner"],
  body #app > main [ui-section="fashion-collection"] {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    padding-inline: 0 !important;
  }
  body.fashion-home .fashion-banner,
  body.fashion-home .fashion-banner__link,
  body.fashion-home .fashion-banner picture,
  body.fashion-home .fashion-banner picture img,
  .fashion-collection,
  .fashion-collection .fashion-wrap,
  .fashion-collection .fashion-grid,
  .fashion-collection [ui-block="product"],
  .fashion-collection [ui-block="product"] .media,
  .fashion-collection [ui-block="product"] .media > a,
  .fashion-collection [ui-block="product"] .media > a > img {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
  }
  body.fashion-home .fashion-banner picture img {
    object-fit: cover !important;
  }
  .fashion-collection .fashion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 0 !important;
  }
  .fashion-collection [ui-block="product"] {
    overflow: visible;
  }
  .fashion-collection [ui-block="product"] .media {
    aspect-ratio: 3 / 4;
  }
  .fashion-collection [ui-block="product"] .content {
    min-width: 0;
    padding: 7px 6px 0;
  }
  .fashion-card-swatches {
    display: flex !important;
    visibility: visible !important;
    min-height: 16px;
    opacity: 1 !important;
  }
  .fashion-card-swatch {
    width: 11px;
    height: 11px;
    min-width: 11px;
  }
}

/* Editorial Instagram reels and boutique spotlight. */
.fashion-social--editorial {
  overflow: hidden;
  padding-block: 58px 64px;
  background: var(--social-bg, #fff8f8);
  color: var(--social-text, #d22f3c);
}
.fashion-social__inner { width: 100%; }
.fashion-social__heading {
  width: min(1100px, calc(100% - 64px));
  margin: 0 auto 34px;
  text-align: center;
}
.fashion-social__heading h2 {
  margin: 0;
  color: inherit;
  font-family: var(--font-heading-family);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
}
.fashion-social__heading p { margin: 9px auto 0; color: var(--fashion-text); font-size: 13px; }
.fashion-social__heading a { display: inline-block; margin-top: 12px; color: inherit; font-size: 12px; text-underline-offset: 4px; }
.fashion-social--editorial .fashion-social__track {
  gap: 14px;
  padding: 0 max(32px, calc((100vw - 1440px) / 2)) 12px;
  scrollbar-color: color-mix(in srgb, var(--social-text) 35%, transparent) transparent;
}
.fashion-social--editorial .fashion-reel { flex-basis: min(var(--social-card-width, 250px), 76vw); }
.fashion-social--editorial .fashion-reel__media { aspect-ratio: 3 / 4; border-radius: var(--social-radius, 6px); }
.fashion-social--editorial .fashion-reel__media > a { display: block; width: 100%; height: 100%; }
.fashion-social--editorial .fashion-reel__placeholder-play {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  background: rgb(255 255 255 / 86%);
  color: var(--fashion-text);
  font-size: 14px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.fashion-social--editorial .fashion-reel__details { color: var(--fashion-text); }

.fashion-boutique {
  padding-block: 58px 72px;
  background: var(--boutique-bg, #fff8f8);
}
.fashion-boutique__inner { width: min(1000px, calc(100% - 64px)); margin-inline: auto; }
.fashion-boutique__intro {
  margin: 0 0 34px;
  color: var(--boutique-heading, #d22f3c);
  font-family: var(--font-heading-family);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}
.fashion-boutique__media {
  position: relative;
  overflow: hidden;
  height: var(--boutique-height, 560px);
  border-radius: var(--boutique-radius, 6px);
  background: var(--fashion-footer-bg);
}
.fashion-boutique__media picture,
.fashion-boutique__media img { display: block; width: 100%; height: 100%; }
.fashion-boutique__media img { object-fit: cover; object-position: center; }
.fashion-boutique__shade { position: absolute; inset: 0; background: rgb(0 0 0 / var(--boutique-overlay, .25)); }
.fashion-boutique__copy {
  position: absolute;
  z-index: 1;
  inset: 50% 8% auto;
  color: var(--boutique-text, #ffffff);
  text-align: center;
  transform: translateY(-50%);
}
.fashion-boutique__copy h3 {
  margin: 0;
  color: inherit;
  font-family: var(--font-heading-family);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 600;
  line-height: 1.05;
}
.fashion-boutique__copy p { max-width: 620px; margin: 16px auto 0; color: inherit; font-size: 16px; line-height: 1.5; }
.fashion-boutique__copy a {
  display: inline-grid;
  place-items: center;
  min-width: 124px;
  min-height: 42px;
  margin-top: 22px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--boutique-button-bg, #ffffff);
  color: var(--boutique-button-text, #d22f3c);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}
.fashion-boutique__copy a:hover,
.fashion-boutique__copy a:focus-visible { filter: brightness(.94); }
@media (max-width: 800px) {
  .fashion-social--editorial { padding-block: 40px 46px; }
  .fashion-social__heading { width: calc(100% - 28px); margin-bottom: 22px; }
  .fashion-social--editorial .fashion-social__track { padding-inline: 14px; }
  .fashion-boutique { padding-block: 40px 48px; }
  .fashion-boutique__inner { width: calc(100% - 28px); }
  .fashion-boutique__intro { margin-bottom: 22px; }
  .fashion-boutique__media { height: var(--boutique-mobile-height, 460px); }
  .fashion-boutique__copy { inset-inline: 7%; }
  .fashion-boutique__copy p { font-size: 14px; }
}

/* Product quick view: compact fashion drawer with every option visible. */
.product-drawer[popover] {
  --sheet-width: 560px;
  --sheet-background: var(--fashion-bg);
  width: min(calc(var(--sheet-width) + var(--spring-width-offset)), 100vw);
  max-width: 100vw;
  color: var(--fashion-text);
  box-shadow: -18px 0 50px rgb(0 0 0 / 10%);
}
.product-drawer[popover]:not(:popover-open) { visibility: hidden; pointer-events: none; }
.product-drawer[popover]:popover-open::backdrop {
  background: rgb(0 0 0 / 36%);
  backdrop-filter: none;
}
.product-drawer > [ui-slot="sheet-header"] {
  flex: 0 0 auto;
  min-height: 64px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--fashion-border);
  background: var(--fashion-bg);
}
.product-drawer > [ui-slot="sheet-header"] > [ui-slot="button"] {
  width: 40px;
  height: 40px;
  border: 1px solid var(--fashion-border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--fashion-text) !important;
}
.product-drawer > [ui-slot="sheet-body"] {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  gap: 0;
  padding: 0 18px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--fashion-muted) transparent;
}
.product-drawer > [ui-slot="sheet-body"] .media-area {
  --item-size: 100% !important;
  display: grid;
  gap: 10px;
  margin: 0 -18px;
}
.product-drawer > [ui-slot="sheet-body"] .media-area:has(.images .image:nth-child(2)) { --item-size: 100% !important; }
.product-drawer > [ui-slot="sheet-body"] .media-area .images {
  height: min(52vh, 540px);
  max-height: 540px;
  gap: 0 !important;
  scroll-snap-type: x mandatory;
}
.product-drawer > [ui-slot="sheet-body"] .media-area .images .image {
  flex: 0 0 100%;
  width: 100%;
  border-radius: 0;
  scroll-snap-align: start;
}
.product-drawer > [ui-slot="sheet-body"] .media-area .images .image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-drawer > [ui-slot="sheet-body"] .media-area .markers { min-height: 22px; padding-inline: 18px; }
.product-drawer > [ui-slot="sheet-body"] .media-area .markers [ui-carousel="marker"] { width: 18px; height: 18px; }
.product-drawer > [ui-slot="sheet-body"] .media-area .markers [ui-carousel="marker"]::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fashion-border);
}
.product-drawer > [ui-slot="sheet-body"] .media-area .markers [ui-carousel="marker"][aria-selected="true"] { width: 36px; }
.product-drawer > [ui-slot="sheet-body"] .media-area .markers [ui-carousel="marker"][aria-selected="true"]::before {
  width: 30px;
  border-radius: 999px;
  background: var(--fashion-text);
}
.product-drawer > [ui-slot="sheet-body"] .content-area {
  display: flex;
  gap: 14px;
  padding-top: 22px;
}
.product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="title"] {
  margin: 0;
  color: var(--fashion-text);
  font-family: var(--font-family);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}
.product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="rating"] { gap: 7px; color: var(--fashion-muted); font-size: 12px; }
.product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="rating"] [ui-slot="rating-review"] { color: var(--fashion-text); }
.product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="rating"] svg { width: 16px; height: 16px; }
.product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="price"] {
  gap: 8px;
  color: var(--fashion-text);
  font-family: var(--font-family);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}
.product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="price"] .compare-at-price { color: var(--fashion-muted); font-size: 14px; font-weight: 400; }
.product-drawer ui-variants {
  gap: 18px;
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--fashion-border);
}
.product-drawer ui-variants [ui-variant] { gap: 10px; }
.product-drawer ui-variants [ui-variant] .label {
  color: var(--fashion-text);
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.product-drawer ui-variants [ui-variant] .options { gap: 8px; }
.product-drawer ui-variants [ui-variant="textual_buttons"] .options .opt {
  justify-content: center;
  min-width: 44px;
  height: 40px;
  padding-inline: 12px;
  border-color: var(--fashion-border);
  border-radius: 0;
  background: transparent;
  color: var(--fashion-text);
  font-size: 12px;
}
.product-drawer ui-variants [ui-variant="textual_buttons"] .options .opt:hover { border-color: var(--fashion-text); }
.product-drawer ui-variants [ui-variant="textual_buttons"] .options .opt:has(> input[type="radio"]:checked) {
  border-color: var(--fashion-accent);
  background: var(--fashion-accent);
  color: var(--fashion-accent-text);
}
.product-drawer ui-variants [ui-variant="color_base_buttons"] .options .opt {
  width: 34px;
  height: 34px;
  border: 2px solid var(--fashion-bg);
  border-radius: 50%;
  outline: 1px solid var(--fashion-border);
  box-shadow: none;
}
.product-drawer ui-variants [ui-variant="color_base_buttons"] .options .opt:has(> input[type="radio"]:checked) {
  border-color: var(--fashion-bg);
  outline: 2px solid var(--fashion-text);
  outline-offset: 2px;
}
.product-drawer ui-variants [ui-variant="image_based_buttons"] .options .opt .image {
  width: 70px;
  height: 88px;
  border-radius: 0;
  outline-color: var(--fashion-border);
}
.product-drawer ui-variants [ui-variant="image_based_buttons"] .options .opt .image > img { border-radius: 0; }
.product-drawer ui-variants [ui-variant="radio_buttons"] .options { gap: 10px; }
.product-drawer ui-variants select[ui-slot="input"] { width: 100%; min-height: 44px; border-radius: 0; }
.product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="controller"] {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 10px;
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--fashion-border);
}
.product-drawer [ui-block="controller"] ui-quantity {
  justify-content: space-between;
  width: 116px;
  min-height: 48px;
  padding: 2px 4px;
  border-color: var(--fashion-border);
  border-radius: 0;
}
.product-drawer [ui-block="controller"] ui-quantity [ui-slot="button"] { border-radius: 0; color: var(--fashion-text); }
.product-drawer [ui-block="controller"] > ui-shop-button > [ui-slot="button"] {
  min-height: 48px;
  border: 1px solid var(--fashion-accent) !important;
  border-radius: 0 !important;
  background: var(--fashion-accent) !important;
  color: var(--fashion-accent-text) !important;
  font-size: 12px;
  font-weight: 600;
}
.product-drawer [ui-block="controller"] > ui-shop-button:nth-of-type(2) { grid-column: 1 / -1; }
.product-drawer [ui-block="controller"] > ui-shop-button:nth-of-type(2) > [ui-slot="button"] {
  background: transparent !important;
  color: var(--fashion-accent) !important;
}
.product-drawer > [ui-slot="sheet-footer"] {
  flex: 0 0 auto;
  padding: 0 !important;
  border-top: 1px solid var(--fashion-border);
  background: var(--fashion-bg);
}
.product-drawer > [ui-slot="sheet-footer"] > [ui-slot="button"] {
  min-height: 54px;
  padding: 12px 20px !important;
  color: var(--fashion-text) !important;
  font-size: 12px;
  font-weight: 500;
}
@media (max-width: 769px) {
  .product-drawer[popover] { --sheet-width: 100%; box-shadow: none; }
  .product-drawer > [ui-slot="sheet-header"] { min-height: 58px; padding: 8px 12px; }
  .product-drawer > [ui-slot="sheet-header"] > [ui-slot="button"] { width: 38px; height: 38px; }
  .product-drawer > [ui-slot="sheet-body"] { padding: 0 14px 20px; }
  .product-drawer > [ui-slot="sheet-body"] .media-area { margin-inline: -14px; }
  .product-drawer > [ui-slot="sheet-body"] .media-area .images { height: min(48vh, 480px); }
  .product-drawer > [ui-slot="sheet-body"] .content-area { gap: 12px; padding-top: 18px; }
  .product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="title"] { font-size: 22px; }
  .product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="price"] { font-size: 18px; }
  .product-drawer ui-variants { gap: 16px; padding-top: 16px; }
  .product-drawer > [ui-slot="sheet-body"] .content-area [ui-block="controller"] { grid-template-columns: 106px minmax(0, 1fr); }
  .product-drawer [ui-block="controller"] ui-quantity { width: 106px; }
}

/* Conversion-focused clothing product page. */
[ui-section="single-product"] {
  width: 100%;
  gap: 22px;
  padding: 18px 3.5% 72px !important;
  background: var(--fashion-bg);
  color: var(--fashion-text);
}
[ui-section="single-product"] > [ui-slot="breadcrumb"] { width: min(1440px, 100%); margin-inline: auto; color: var(--fashion-muted); font-size: 11px; }
[ui-section="single-product"] .core {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(390px, .85fr) !important;
  gap: clamp(28px, 4vw, 72px) !important;
  width: min(1440px, 100%);
  margin-inline: auto;
  overflow: visible !important;
}
[ui-section="single-product"] .core > .content {
  position: sticky;
  top: 76px;
  align-self: start;
  gap: 14px;
  min-width: 0;
  color: var(--fashion-text);
}
[ui-section="single-product"] .core .media[data-layout="carousel"] [ui-slot="carousel"].main-media {
  aspect-ratio: var(--ruby-media-ratio, 4 / 5);
  border-radius: 0;
  background: var(--ruby-product-tint);
}
[ui-section="single-product"] .core .media[data-layout="carousel"] .main-media [ui-slot="carousel-item"],
[ui-section="single-product"] .core .media[data-layout="carousel"] .main-media img { width: 100%; height: 100%; }
[ui-section="single-product"] .core .media[data-layout="carousel"] .main-media img,
[ui-section="single-product"] .core .media[data-layout="grid"] .image > img { object-fit: var(--ruby-media-fit, cover); object-position: center; }
[ui-section="single-product"] .core .media[data-layout="carousel"] .arrow {
  width: 38px;
  height: 38px;
  border: 1px solid rgb(0 0 0 / 10%) !important;
  border-radius: 50%;
  background: rgb(255 255 255 / 88%);
  color: var(--fashion-text);
}
[ui-section="single-product"] .core .media[data-layout="carousel"] [ui-slot="carousel"].markers { gap: 6px; scrollbar-width: thin; }
[ui-section="single-product"] .core .media[data-layout="carousel"] [ui-slot="carousel"].markers .marker {
  flex-basis: 72px;
  width: 72px;
  min-width: 72px;
  height: 90px;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--ruby-product-tint);
}
[ui-section="single-product"] .core .media[data-layout="carousel"] [ui-slot="carousel"].markers .marker img { width: 100%; height: 100%; object-fit: cover; }
[ui-section="single-product"] .core .media[data-layout="carousel"] [ui-slot="carousel"].markers .marker[aria-selected="true"] { border-color: var(--ruby-product-accent); }
[ui-section="single-product"] .core .media[data-layout="grid"] { gap: 8px; }
[ui-section="single-product"] .core .media[data-layout="grid"] .image {
  aspect-ratio: var(--ruby-media-ratio, 4 / 5);
  border-radius: 0;
  background: var(--ruby-product-tint);
}
[ui-section="single-product"] .core .content [ui-block="title"][data-size] {
  margin: 0;
  color: var(--fashion-text);
  font-family: var(--font-heading-family);
  font-size: clamp(28px, 2.5vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}
[ui-section="single-product"] .core .content [ui-block="rating"] { min-height: 22px; gap: 8px; color: var(--fashion-muted); font-size: 12px; }
[ui-section="single-product"] .core .content [ui-block="rating"] [ui-slot="rating-review"] { color: var(--ruby-product-accent); }
[ui-section="single-product"] .ruby-first-review { color: var(--fashion-muted); font-size: 12px; text-underline-offset: 4px; }
[ui-section="single-product"] .core .content [ui-block="price"][data-size] {
  flex-wrap: wrap;
  gap: 7px 10px;
  color: var(--fashion-text);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
[ui-section="single-product"] .core .content [ui-block="price"] .compare-at-price { color: var(--fashion-muted); font-size: 15px; font-weight: 400; opacity: 1; }
[ui-section="single-product"] .ruby-price-percent { padding: 4px 7px; background: var(--fashion-sale); color: var(--fashion-accent-text); font-size: 10px; font-weight: 700; }
[ui-section="single-product"] .ruby-price-saving { flex-basis: 100%; color: var(--fashion-sale); font-size: 11px; font-weight: 500; }
[ui-section="single-product"] .ruby-product-tag { margin: 0; color: var(--fashion-muted); font-size: 10px; font-weight: 600; text-transform: uppercase; }
[ui-section="single-product"] .ruby-product-benefit,
[ui-section="single-product"] .ruby-product-assurance { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--fashion-muted); font-size: 12px; line-height: 1.45; }
[ui-section="single-product"] .ruby-product-benefit span,
[ui-section="single-product"] .ruby-product-assurance span { color: var(--ruby-product-accent); }

[ui-section="single-product"] ui-variants {
  display: grid;
  gap: 20px;
  margin-top: 6px;
  padding-block: 18px;
  border-block: 1px solid var(--fashion-border);
}
[ui-section="single-product"] ui-variants [ui-variant] { gap: 10px; }
[ui-section="single-product"] .ruby-variant-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
[ui-section="single-product"] .ruby-variant-heading .label { color: var(--fashion-text); font-size: 12px; font-weight: 600; }
[ui-section="single-product"] .ruby-size-guide-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--fashion-text);
  font-size: 11px;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
[ui-section="single-product"] ui-variants [ui-variant] .options { gap: 8px; }
[ui-section="single-product"] ui-variants [ui-variant="textual_buttons"] .options .opt,
[ui-section="single-product"] ui-variants [ui-variant="radio_buttons"] .options .opt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 42px;
  padding: 7px 13px;
  border: 1px solid var(--fashion-border);
  border-radius: 0;
  background: transparent;
  color: var(--fashion-text);
  font-size: 12px;
  cursor: pointer;
}
[ui-section="single-product"] ui-variants [ui-variant="radio_buttons"] .options { display: flex; flex-wrap: wrap; gap: 8px; }
[ui-section="single-product"] ui-variants [ui-variant="radio_buttons"] .options .opt > input { position: absolute; scale: 0; opacity: 0; }
[ui-section="single-product"] ui-variants [ui-variant="textual_buttons"] .options .opt:hover,
[ui-section="single-product"] ui-variants [ui-variant="radio_buttons"] .options .opt:hover { border-color: var(--ruby-product-accent); }
[ui-section="single-product"] ui-variants [ui-variant="textual_buttons"] .options .opt:has(input:checked),
[ui-section="single-product"] ui-variants [ui-variant="radio_buttons"] .options .opt:has(input:checked) {
  border-color: var(--ruby-product-accent);
  background: var(--ruby-product-accent);
  color: var(--fashion-accent-text);
}
[ui-section="single-product"][data-variant-style="pill"] ui-variants [ui-variant="textual_buttons"] .options .opt,
[ui-section="single-product"][data-variant-style="pill"] ui-variants [ui-variant="radio_buttons"] .options .opt { border-radius: 999px; }
[ui-section="single-product"][data-variant-style="underline"] ui-variants [ui-variant="textual_buttons"] .options .opt,
[ui-section="single-product"][data-variant-style="underline"] ui-variants [ui-variant="radio_buttons"] .options .opt {
  min-width: 40px;
  min-height: 36px;
  padding: 5px 7px;
  border: 0;
  border-bottom: 1px solid var(--fashion-border);
}
[ui-section="single-product"][data-variant-style="underline"] ui-variants [ui-variant="textual_buttons"] .options .opt:has(input:checked),
[ui-section="single-product"][data-variant-style="underline"] ui-variants [ui-variant="radio_buttons"] .options .opt:has(input:checked) {
  border-bottom: 2px solid var(--ruby-product-accent);
  background: transparent;
  color: var(--fashion-text);
}
[ui-section="single-product"][data-variant-style="soft"] ui-variants [ui-variant="textual_buttons"] .options .opt,
[ui-section="single-product"][data-variant-style="soft"] ui-variants [ui-variant="radio_buttons"] .options .opt {
  border-color: transparent;
  border-radius: 6px;
  background: var(--ruby-product-tint);
}
[ui-section="single-product"][data-variant-style="soft"] ui-variants [ui-variant="textual_buttons"] .options .opt:has(input:checked),
[ui-section="single-product"][data-variant-style="soft"] ui-variants [ui-variant="radio_buttons"] .options .opt:has(input:checked) { background: var(--ruby-product-accent); color: var(--fashion-accent-text); }
[ui-section="single-product"] ui-variants .opt:has(input:disabled),
[ui-section="single-product"] ui-variants .opt[data-ruby-unavailable] { opacity: .38; text-decoration: line-through; pointer-events: none; }
[ui-section="single-product"] ui-variants [ui-variant="color_base_buttons"] .options { gap: 12px; }
[ui-section="single-product"] ui-variants [ui-variant="color_base_buttons"] .options .opt {
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  min-width: 42px;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
[ui-section="single-product"] ui-variants [ui-variant="color_base_buttons"] .options .opt > i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--fashion-bg);
  border-radius: 50%;
  outline: 1px solid var(--fashion-border);
  background: var(--color-value);
  color: transparent;
}
[ui-section="single-product"] ui-variants [ui-variant="color_base_buttons"] .options .opt:has(input:checked) > i {
  outline: 2px solid var(--ruby-product-accent);
  outline-offset: 2px;
  color: white;
}
[ui-section="single-product"] .ruby-color-label { max-width: 70px; overflow: hidden; color: var(--fashion-muted); font-size: 9px; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
[ui-section="single-product"] ui-variants [ui-variant="image_based_buttons"] .options .opt .image { width: 72px; height: 92px; border-radius: 0; }
[ui-section="single-product"] ui-variants [ui-variant="image_based_buttons"] .options .opt .image img { border-radius: 0; object-fit: cover; }

[ui-section="single-product"] .fashion-product-purchase { margin: 8px 0 0; scroll-margin-top: 90px; }
[ui-section="single-product"] .fashion-product-cart-actions { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 10px; }
[ui-section="single-product"] .fashion-product-cart-actions ui-quantity,
[ui-section="single-product"] .ruby-inline-checkout .actions ui-quantity {
  justify-content: space-between;
  width: 116px;
  min-height: 50px;
  border-color: var(--fashion-border);
  border-radius: 0;
}
[ui-section="single-product"] .fashion-product-cart-actions > ui-shop-button { min-width: 0; }
[ui-section="single-product"] .fashion-product-cart-actions > ui-shop-button:nth-of-type(2) { grid-column: 1 / -1; }
[ui-section="single-product"] .fashion-product-cart-actions > ui-shop-button [ui-slot="button"],
[ui-section="single-product"] .ruby-inline-checkout .actions ui-shop-button [ui-slot="button"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--ruby-product-accent) !important;
  border-radius: 0 !important;
  background: var(--ruby-product-accent) !important;
  color: var(--fashion-accent-text) !important;
  font-size: 12px;
  font-weight: 600;
}
[ui-section="single-product"] .fashion-product-cart-actions > ui-shop-button:nth-of-type(2) [ui-slot="button"] { background: transparent !important; color: var(--ruby-product-accent) !important; }
.ruby-inline-checkout {
  padding: 22px;
  border: 1px solid var(--fashion-border);
  border-radius: 0;
  background: var(--ruby-product-tint);
}
.ruby-inline-checkout__header { margin-bottom: 20px; }
.ruby-inline-checkout__header > span { color: var(--fashion-muted); font-size: 9px; font-weight: 700; }
.ruby-inline-checkout__header h2 { margin: 5px 0 0; color: var(--fashion-text); font-size: 20px; font-weight: 600; line-height: 1.2; }
.ruby-inline-checkout__header p { margin: 7px 0 0; color: var(--fashion-muted); font-size: 11px; line-height: 1.45; }
.ruby-inline-checkout .express-checkout-default { gap: 18px; }
.ruby-inline-checkout ui-express-checkout { gap: 12px; }
.ruby-inline-checkout ui-express-checkout [ui-slot="label"] { color: var(--fashion-text); font-size: 11px; font-weight: 600; }
.ruby-inline-checkout ui-express-checkout [ui-slot="input"],
.ruby-inline-checkout ui-express-checkout [ui-slot="textarea"] {
  min-height: 46px;
  border: 1px solid var(--fashion-border);
  border-radius: 0;
  background: var(--fashion-bg);
  color: var(--fashion-text);
}
.ruby-inline-checkout ui-express-checkout [ui-slot="textarea"] { min-height: 88px; padding: 12px; }
.ruby-inline-checkout ui-phone-validation [ui-phone-validator="input-wrapper"] { height: 46px; border: 1px solid var(--fashion-border); border-radius: 0; background: var(--fashion-bg); }
.ruby-inline-checkout .actions { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 10px; }
.ruby-inline-checkout__trust { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; color: var(--fashion-muted); font-size: 9px; }
[ui-section="single-product"] .ruby-product-accordion { margin: 0; border-top: 1px solid var(--fashion-border); }
[ui-section="single-product"] .ruby-product-accordion:last-of-type { border-bottom: 1px solid var(--fashion-border); }
[ui-section="single-product"] .ruby-product-accordion summary { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; }
[ui-section="single-product"] .ruby-product-accordion summary::-webkit-details-marker { display: none; }
[ui-section="single-product"] .ruby-product-accordion[open] summary span { transform: rotate(45deg); }
[ui-section="single-product"] .ruby-product-accordion > div { padding: 0 0 16px; color: var(--fashion-muted); font-size: 12px; line-height: 1.6; }
[ui-section="single-product"] .ruby-product-accordion > div p { margin: 0; }

/* Four selectable product-page compositions. */
[ui-section="single-product"][data-product-style="boutique"] .core { gap: 0 !important; }
[ui-section="single-product"][data-product-style="boutique"] .core > .content { padding: clamp(24px, 4vw, 54px); background: var(--ruby-product-tint); }
[ui-section="single-product"][data-product-style="boutique"] .ruby-inline-checkout { background: var(--fashion-bg); }
[ui-section="single-product"][data-product-style="minimal"] .core { grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr) !important; max-width: 1280px; }
[ui-section="single-product"][data-product-style="minimal"] .core > .content { gap: 11px; }
[ui-section="single-product"][data-product-style="minimal"] .core .content [ui-block="title"][data-size] { font-family: var(--font-family); font-size: clamp(25px, 2vw, 34px); }
[ui-section="single-product"][data-product-style="minimal"] .ruby-inline-checkout { padding: 0; border: 0; border-top: 1px solid var(--fashion-border); background: transparent; padding-top: 20px; }
[ui-section="single-product"][data-product-style="compact"] .core { grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr) !important; max-width: 1220px; gap: 30px !important; }
[ui-section="single-product"][data-product-style="compact"] .core > .content { gap: 10px; }
[ui-section="single-product"][data-product-style="compact"] .core .content [ui-block="title"][data-size] { font-size: clamp(24px, 2vw, 32px); }
[ui-section="single-product"][data-product-style="compact"] ui-variants { gap: 13px; padding-block: 13px; }
[ui-section="single-product"][data-product-style="compact"] .ruby-inline-checkout { padding: 18px; }

.ruby-size-guide[popover] {
  width: min(720px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 28px));
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: var(--fashion-bg);
  color: var(--fashion-text);
  box-shadow: 0 22px 70px rgb(0 0 0 / 18%);
}
.ruby-size-guide[popover]::backdrop { background: rgb(0 0 0 / 46%); backdrop-filter: none; }
.ruby-size-guide__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--fashion-border); }
.ruby-size-guide__header span { color: var(--fashion-muted); font-size: 9px; font-weight: 700; }
.ruby-size-guide__header h2 { margin: 4px 0 0; font-size: 25px; font-weight: 500; }
.ruby-size-guide__header > button { width: 38px; height: 38px; border: 1px solid var(--fashion-border) !important; border-radius: 0 !important; background: transparent !important; color: var(--fashion-text) !important; }
.ruby-size-guide__body { padding: 24px; }
.ruby-size-guide__body > p:first-child { margin: 0 0 18px; color: var(--fashion-muted); font-size: 12px; line-height: 1.5; }
.ruby-size-guide__table-wrap { overflow-x: auto; }
.ruby-size-guide table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 12px; text-align: center; }
.ruby-size-guide th, .ruby-size-guide td { padding: 13px 10px; border-bottom: 1px solid var(--fashion-border); }
.ruby-size-guide thead th { background: var(--ruby-product-tint, var(--fashion-footer-bg)); font-size: 10px; text-transform: uppercase; }
.ruby-size-guide tbody th { text-align: left; }
.ruby-size-guide__unit { margin: 12px 0 0; color: var(--fashion-muted); font-size: 10px; }
.ruby-size-guide__help { margin-top: 20px; padding: 16px; background: var(--fashion-footer-bg); color: var(--fashion-muted); font-size: 11px; line-height: 1.6; }
.ruby-size-guide__help p { margin: 0; }
[ui-section="single-product"] .ruby-product-sticky { display: none; }

@media (max-width: 800px) {
  [ui-section="single-product"] { gap: 14px; padding: 12px 14px 72px !important; }
  [ui-section="single-product"] .core,
  [ui-section="single-product"][data-product-style="minimal"] .core,
  [ui-section="single-product"][data-product-style="compact"] .core { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
  [ui-section="single-product"] .core > .content { position: static; gap: 12px; }
  [ui-section="single-product"] .core .media[data-layout="carousel"] { width: calc(100% + 28px); margin-inline: -14px; }
  [ui-section="single-product"] .core .media[data-layout="carousel"] [ui-slot="carousel"].main-media { border-radius: 0; }
  [ui-section="single-product"] .core .media[data-layout="carousel"] [ui-slot="carousel"].markers { padding-inline: 14px; }
  [ui-section="single-product"] .core .media[data-layout="carousel"] [ui-slot="carousel"].markers .marker { flex-basis: 56px; width: 56px; min-width: 56px; height: 70px; }
  [ui-section="single-product"] .core .content [ui-block="title"][data-size] { font-size: 27px; }
  [ui-section="single-product"][data-product-style="boutique"] .core > .content { margin-inline: -14px; padding: 22px 14px; }
  [ui-section="single-product"] ui-variants { gap: 16px; padding-block: 16px; }
  [ui-section="single-product"] ui-variants [ui-variant="textual_buttons"] .options .opt,
  [ui-section="single-product"] ui-variants [ui-variant="radio_buttons"] .options .opt { min-width: 44px; min-height: 42px; padding-inline: 11px; }
  .ruby-inline-checkout { margin-inline: -1px; padding: 18px 14px; }
  .ruby-inline-checkout ui-express-checkout { grid-template-columns: 1fr; }
  .ruby-inline-checkout .actions { grid-template-columns: 104px minmax(0, 1fr); }
  [ui-section="single-product"] .ruby-inline-checkout .actions ui-quantity { width: 104px; }
  .ruby-inline-checkout__trust { flex-direction: column; gap: 5px; }
  .ruby-size-guide__header { padding: 18px 16px; }
  .ruby-size-guide__body { padding: 18px 16px; }
  [ui-section="single-product"] .ruby-product-sticky:not([hidden]) {
    display: flex;
    z-index: 48;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 28px rgb(0 0 0 / 8%);
  }
  [ui-section="single-product"] .ruby-product-sticky > div { min-width: 0; }
  [ui-section="single-product"] .ruby-product-sticky strong { overflow: hidden; max-width: 52vw; text-overflow: ellipsis; white-space: nowrap; }
  [ui-section="single-product"] .ruby-product-sticky a { min-width: 126px; padding: 12px 14px; text-align: center; }
}
