/*
 * Ruby Luxe Studio custom Builder theme — exact source palette & responsive geometry.
 * Selected ONLY when Builder template.id === ruby_luxe on store ruby-luxe-studio.
 * Original brand reference: brinnovatefuture/rubyluxe (Next.js).
 * Real NX Plug catalog and payment flows remain authoritative.
 */
/* Nunito and Playfair Display are supplied by the local storefront font sheet. */

body[data-store-template="ruby_luxe"]{
  --merchant-primary:#be5179;
  --merchant-accent:#be5179;
  --merchant-background:#fff9fc;
  --merchant-text:#2f2733;
  --merchant-button-bg:#be5179;
  --merchant-button-text:#ffffff;
  --merchant-button-radius:999px;
  --merchant-card-bg:#ffffff;
  --merchant-card-text:#2f2733;
  --merchant-card-radius:16px;
  --ruby:#8e2542;
  --ruby-ink:#2f2733;
  --ruby-sub:#635a68;
  --ruby-primary:#be5179;
  --ruby-primary-dark:#a53c60;
  --ruby-gold:#c9a24b;
  --ruby-surface:#ffffff;
  --ruby-soft:#fdf1f7;
  --ruby-line:#eedce6;
  background:#fff9fc!important;
  color:#2f2733!important;
  font-family:Nunito, "PingFang SC","Microsoft YaHei",sans-serif!important;
  -webkit-font-smoothing:antialiased;
}
body[data-store-template="ruby_luxe"] :is(h1,h2,h3,.merchant-theme-heading){
  font-family:"Playfair Display","Songti SC",serif!important;
  color:var(--ruby)!important;
}
body[data-store-template="ruby_luxe"] :focus-visible{
  outline:2px solid var(--ruby-primary-dark)!important;
  outline-offset:2px;
}
body[data-store-template="ruby_luxe"] [data-storefront-header]{
  background:var(--nxh-bg,rgba(255,255,255,.96))!important;
  color:var(--nxh-fg,var(--ruby-ink))!important;
  border-bottom:1px solid var(--ruby-line);
  padding-block:0!important;
  backdrop-filter:blur(14px);
  box-shadow:0 2px 10px rgba(142,37,66,.04);
}
body[data-store-template="ruby_luxe"] [data-storefront-header] :is(a,button){
  color:var(--ruby-ink);
}
body[data-store-template="ruby_luxe"] [data-storefront-header] :is(a:hover,button:hover){
  color:var(--ruby-primary-dark)!important;
}
body[data-store-template="ruby_luxe"] [data-storefront-header] [data-store-header-logo] img{
  height:52px!important;
  max-width:min(var(--nxh-logo-width,190px),34vw)!important;
  object-fit:contain;
}
body[data-store-template="ruby_luxe"] [data-storefront-header] [data-store-header-logo] > span:not([data-design-logo-fallback]){
  display:none;
}
body[data-store-template="ruby_luxe"] [data-storefront-header] .store-header-row{
  min-height:68px;
}
body[data-store-template="ruby_luxe"] .merchant-store-bg{
  background:var(--merchant-background);
  color:var(--ruby-ink);
}
body[data-store-template="ruby_luxe"] .merchant-card{
  background:#fff;
  border:1px solid var(--ruby-line)!important;
  border-radius:16px!important;
  box-shadow:0 6px 28px rgba(142,37,66,.08)!important;
}
body[data-store-template="ruby_luxe"] .merchant-card:hover{
  box-shadow:0 12px 30px rgba(142,37,66,.13)!important;
  border-color:#e3c2d2!important;
}
body[data-store-template="ruby_luxe"] .merchant-product-image{
  background:#fdf1f7!important;
  border-radius:12px!important;
}
body[data-store-template="ruby_luxe"] .commerce-product-card [class*="font-mono"]{
  font-family:Nunito,"PingFang SC",sans-serif!important;
}
body[data-store-template="ruby_luxe"] .merchant-card-text{
  color:var(--ruby-ink)!important;
}
body[data-store-template="ruby_luxe"] .merchant-accent{
  color:var(--ruby-primary-dark)!important;
}
body[data-store-template="ruby_luxe"] .merchant-accent-bg,
body[data-store-template="ruby_luxe"] .merchant-site-button{
  background-color:var(--ruby-primary)!important;
  color:white!important;
}
body[data-store-template="ruby_luxe"] .merchant-site-button{
  border-radius:999px!important;
}
body[data-store-template="ruby_luxe"] .merchant-footer{
  background:#fdf1f7!important;
  color:var(--ruby-ink)!important;
  border-top:1px solid var(--ruby-line)!important;
}
body[data-store-template="ruby_luxe"] .merchant-footer :is(h2,h3){
  color:var(--ruby)!important;
}
body[data-store-template="ruby_luxe"] .merchant-footer :is(p,li,a,span){
  color:#635a68!important;
}
body[data-store-template="ruby_luxe"] .merchant-footer a:hover{
  color:var(--ruby-primary-dark)!important;
}
body[data-store-template="ruby_luxe"] .merchant-footer [data-footer-logo-fallback]{
  background:var(--ruby-primary)!important;
  color:#fff!important;
}
body[data-store-template="ruby_luxe"] nav.merchant-safe-tabs{
  background:rgba(255,255,255,.96)!important;
  border-top:1px solid var(--ruby-line)!important;
  box-shadow:0 -5px 18px rgba(142,37,66,.08)!important;
}
body[data-store-template="ruby_luxe"] nav.merchant-safe-tabs :is(a,span,svg){
  color:var(--ruby-primary-dark)!important;
}
/* Ruby Luxe original home sections. */
.ruby-luxe-home{overflow:hidden;background:#fff9fc;color:#2f2733}
.ruby-luxe-home .ruby-container{max-width:1280px;margin-inline:auto;padding-inline:16px}
.ruby-luxe-home .ruby-display{font-family:"Playfair Display","Songti SC",serif!important;color:#8e2542!important}
.ruby-luxe-home .ruby-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(130deg,#fce8f0 0%,#fff9fc 55%,#fdf1f7 100%);
}
.ruby-luxe-home .ruby-hero::before,.ruby-luxe-home .ruby-hero::after{
  content:"";position:absolute;border-radius:50%;filter:blur(55px);pointer-events:none
}
.ruby-luxe-home .ruby-hero::before{width:340px;height:340px;right:-90px;top:-100px;background:rgba(251,220,232,.55)}
.ruby-luxe-home .ruby-hero::after{width:290px;height:290px;left:-100px;bottom:-100px;background:rgba(185,167,248,.15)}
.ruby-luxe-home .ruby-hero-inner{display:grid;gap:40px;align-items:center;position:relative;z-index:1;padding-block:56px}
.ruby-luxe-home .ruby-hero-copy{text-align:center}
.ruby-luxe-home .ruby-hero-pill{
  display:inline-flex;align-items:center;gap:8px;border:1px solid #e3c2d2;
  border-radius:999px;background:rgba(255,255,255,.75);
  padding:7px 16px;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#8e2542
}
.ruby-luxe-home .ruby-hero h1{
  font-size:clamp(36px,6vw,60px);line-height:1.18;font-weight:700;margin:12px 0 0;
}
.ruby-luxe-home .ruby-hero p.ruby-hero-lede{font-size:15px;line-height:1.65;color:#635a68;max-width:460px;margin:16px auto 0}
.ruby-luxe-home .ruby-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:28px}
.ruby-luxe-home .ruby-button{
  display:inline-flex;justify-content:center;align-items:center;min-height:44px;
  padding:12px 28px;border:2px solid #be5179;border-radius:999px;
  font-size:14px;font-weight:800;text-align:center;line-height:1.35;transition:background .2s,color .2s
}
.ruby-luxe-home .ruby-button-primary{color:white;background:#be5179}
.ruby-luxe-home .ruby-button-primary:hover{background:#a53c60;border-color:#a53c60}
.ruby-luxe-home .ruby-button-secondary{color:#a53c60;background:transparent}
.ruby-luxe-home .ruby-button-secondary:hover{color:white;background:#be5179}
.ruby-luxe-home .ruby-hero-art{
  position:relative;background:rgba(255,255,255,.62);border:1px solid #eedce6;
  border-radius:32px;padding:32px;box-shadow:0 6px 28px rgba(142,37,66,.1);
  min-width:0;max-width:580px;margin-inline:auto;width:100%
}
.ruby-luxe-home .ruby-hero-logo{display:block;max-width:100%;max-height:235px;width:auto;height:auto;object-fit:contain;margin-inline:auto}
.ruby-luxe-home .ruby-hero-wordmark{text-align:center;font-size:clamp(30px,5vw,48px);letter-spacing:.08em}
.ruby-luxe-home .ruby-category-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.ruby-luxe-home .ruby-mini-tile{display:block;aspect-ratio:1;border:1px solid #eedce6;border-radius:16px;overflow:hidden;background:#fdf1f7}
.ruby-luxe-home .ruby-mini-tile img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.ruby-luxe-home .ruby-mini-tile:hover img{transform:scale(1.05)}
/* Source-matched two-up editorial promos: real merchant Banners take priority. */
.ruby-luxe-home .ruby-promo-section{padding:24px 0 0;background:#fff9fc}
.ruby-luxe-home .ruby-promo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ruby-luxe-home .ruby-promo-card{position:relative;isolation:isolate;display:flex;align-items:center;min-width:0;min-height:188px;padding:32px;border-radius:24px;border:1px solid #f1d6e4;background:#fbe9f2;overflow:hidden;text-decoration:none;box-shadow:0 6px 18px rgba(142,37,66,.04);transition:transform .2s ease,box-shadow .2s ease}
.ruby-luxe-home .ruby-promo-card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(142,37,66,.09)}
.ruby-luxe-home .ruby-promo-media{position:absolute;inset:0;z-index:0}
.ruby-luxe-home .ruby-promo-media img{display:block;width:100%;height:100%;object-fit:cover;opacity:.22}
.ruby-luxe-home .ruby-promo-card:has(.ruby-promo-media)::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,#fce9f2 0%,rgba(252,233,242,.92) 43%,rgba(252,233,242,.12) 100%)}
.ruby-luxe-home .ruby-promo-content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:7px;max-width:100%;min-width:0}
.ruby-luxe-home .ruby-promo-title{font-family:"Playfair Display","Songti SC",serif;font-size:clamp(1.35rem,2.2vw,2rem);line-height:1.22;font-weight:700;color:#8e2542}
.ruby-luxe-home .ruby-promo-subtitle{font-size:.87rem;line-height:1.5;color:#635a68}
.ruby-luxe-home .ruby-promo-cta{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin-top:7px;padding:6px 22px;border-radius:999px;background:#be5179;color:white;font-size:.78rem;font-weight:700}
.ruby-luxe-home .ruby-promo-card:focus-visible{outline:3px solid #be5179;outline-offset:3px}
@media(max-width:640px){
 .ruby-luxe-home .ruby-promo-grid{grid-template-columns:1fr;gap:12px}
 .ruby-luxe-home .ruby-promo-card{padding:24px;min-height:156px;border-radius:20px}
 .ruby-luxe-home .ruby-promo-cta{min-height:38px}
}
.ruby-luxe-home .ruby-section{padding-block:48px}
.ruby-luxe-home .ruby-section-white{background:#fff}
.ruby-luxe-home .ruby-section-pink{background:#fce8f065}
.ruby-luxe-home .ruby-section-heading{
  font-family:"Playfair Display","Songti SC",serif!important;
  font-weight:700;font-size:clamp(25px,3vw,32px);line-height:1.25;color:#8e2542
}
.ruby-luxe-home .ruby-heading-row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.ruby-luxe-home .ruby-view-all{display:inline-flex;align-items:center;gap:5px;min-height:44px;white-space:nowrap;font-size:14px;color:#a53c60;font-weight:800}
.ruby-luxe-home .ruby-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:30px}
.ruby-luxe-home .ruby-category-item{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;color:#2f2733;font-weight:800;font-size:13px;text-transform:uppercase;letter-spacing:.1em}
.ruby-luxe-home .ruby-category-image{display:block;width:100%;aspect-ratio:5/4;border:2px solid #eedce6;border-radius:28px;overflow:hidden;background:#fdf1f7;box-shadow:0 4px 20px rgba(216,92,138,.08)}
.ruby-luxe-home .ruby-category-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
.ruby-luxe-home .ruby-category-item:hover .ruby-category-image img{transform:scale(1.05)}
.ruby-luxe-home .ruby-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:24px}
.ruby-luxe-home .ruby-product-grid .commerce-product-card{height:100%}
.ruby-luxe-home .ruby-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.ruby-luxe-home .ruby-feature{text-align:center;font-size:12px;color:#635a68;line-height:1.55}
.ruby-luxe-home .ruby-feature-icon{display:grid;place-items:center;background:#fbdce8;color:#a53c60;border-radius:50%;width:48px;height:48px;margin:0 auto 12px;font-size:20px}
.ruby-luxe-home .ruby-feature strong{display:block;font-size:13px;color:#2f2733}
.ruby-luxe-home .ruby-soft-note{color:#635a68;line-height:1.65;font-size:15px}
.ruby-luxe-home .ruby-sparkle{color:#c9a24b}
.ruby-luxe-home .ruby-banners{display:grid;gap:14px}
.ruby-luxe-home .ruby-banner{background:#fff;border:1px solid #eedce6;border-radius:22px;padding:28px;text-align:center}
@media(min-width:640px){
 .ruby-luxe-home .ruby-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .ruby-luxe-home .ruby-features{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:768px){
 .ruby-luxe-home .ruby-container{padding-inline:24px}
 .ruby-luxe-home .ruby-hero-inner{grid-template-columns:repeat(2,minmax(0,1fr));padding-block:80px}
 .ruby-luxe-home .ruby-hero-copy{text-align:left}
 .ruby-luxe-home .ruby-hero-lede{margin-left:0!important}
 .ruby-luxe-home .ruby-actions{justify-content:flex-start}
 .ruby-luxe-home .ruby-section{padding-block:64px}
 .ruby-luxe-home .ruby-category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
}
@media(min-width:1024px){
 .ruby-luxe-home .ruby-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .ruby-luxe-home .ruby-features{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:767px){
 body[data-store-template="ruby_luxe"] [data-storefront-header] [data-store-header-logo] img{max-width:min(var(--nxh-logo-width,140px),100%)!important;height:44px!important}
 .ruby-luxe-home .ruby-hero-inner{padding-block:48px}
 .ruby-luxe-home .ruby-hero-art{padding:24px;border-radius:24px}
}
@media(max-width:360px){
 .ruby-luxe-home .ruby-button{padding-inline:18px;font-size:13px}
 .ruby-luxe-home .ruby-heading-row{flex-wrap:wrap}
 .ruby-luxe-home .ruby-container{padding-inline:14px}
 .ruby-luxe-home .ruby-category-grid{gap:12px}
}
@media(prefers-reduced-motion:reduce){
 .ruby-luxe-home *, .ruby-luxe-home *::before, .ruby-luxe-home *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}

/* BR-24: original collection circles and hero decorative assets. */
body[data-store-template="ruby_luxe"] .ruby-hero-decor{position:absolute;z-index:2;pointer-events:none;object-fit:contain;width:36px;height:36px}
body[data-store-template="ruby_luxe"] .ruby-hero-decor--bow{left:-12px;top:-20px;width:48px;height:48px;transform:rotate(-12deg)}
body[data-store-template="ruby_luxe"] .ruby-hero-decor--sparkle{right:-8px;top:24px;width:28px;height:28px}
body[data-store-template="ruby_luxe"] .ruby-hero-decor--star{display:none;left:-20px;bottom:64px;width:24px;height:24px}
body[data-store-template="ruby_luxe"] .ruby-hero-decor--butterfly{bottom:-16px;right:32px;width:36px;height:36px;transform:rotate(6deg)}
body[data-store-template="ruby_luxe"] .ruby-collection-section{background:#fdf1f7}
body[data-store-template="ruby_luxe"] .ruby-collection-heading{text-align:center}
body[data-store-template="ruby_luxe"] .ruby-collection-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:32px}
body[data-store-template="ruby_luxe"] .ruby-collection-tile{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;font-size:12px;font-weight:800;color:#2f2733;min-width:0}
body[data-store-template="ruby_luxe"] .ruby-collection-image{display:block;width:100%;aspect-ratio:1;overflow:hidden;border:2px solid #eedce6;border-radius:50%;background:#fff;box-shadow:0 4px 20px rgba(216,92,138,.08)}
body[data-store-template="ruby_luxe"] .ruby-collection-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
body[data-store-template="ruby_luxe"] .ruby-collection-tile:hover{color:#be5179}
body[data-store-template="ruby_luxe"] .ruby-collection-tile:hover img{transform:scale(1.05)}
@media(min-width:768px){body[data-store-template="ruby_luxe"] .ruby-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-store-template="ruby_luxe"] .ruby-hero-decor--bow{width:64px;height:64px}body[data-store-template="ruby_luxe"] .ruby-hero-decor--sparkle{width:36px;height:36px}body[data-store-template="ruby_luxe"] .ruby-hero-decor--star{display:block}body[data-store-template="ruby_luxe"] .ruby-hero-decor--butterfly{width:40px;height:40px}}
@media(min-width:1024px){body[data-store-template="ruby_luxe"] .ruby-collection-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Ruby Luxe source social & consent form, scoped to the custom theme. */
body[data-store-template="ruby_luxe"] .ruby-social{border-top:1px solid #eedce6;background:#fdf1f7;text-align:center}
body[data-store-template="ruby_luxe"] .ruby-social-copy{max-width:576px;margin:12px auto 0;color:#635a68;font-size:15px;line-height:1.55}
body[data-store-template="ruby_luxe"] .ruby-social-cta{display:inline-flex;margin-top:16px}
body[data-store-template="ruby_luxe"] .ruby-social-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:32px}
body[data-store-template="ruby_luxe"] .ruby-social-grid a{display:block;aspect-ratio:1;border-radius:16px;overflow:hidden;border:1px solid #eedce6;background:#fff}
body[data-store-template="ruby_luxe"] .ruby-social-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s}
body[data-store-template="ruby_luxe"] .ruby-social-grid a:hover img{transform:scale(1.08)}
body[data-store-template="ruby_luxe"] .ruby-social-contact{color:#635a68;font-size:12px;margin-top:24px}
body[data-store-template="ruby_luxe"] .ruby-newsletter{padding:56px 16px;text-align:center;scroll-margin-top:96px}
body[data-store-template="ruby_luxe"] .ruby-newsletter .ruby-container{max-width:768px}
body[data-store-template="ruby_luxe"] .ruby-newsletter-form{max-width:448px;margin:24px auto 0}
body[data-store-template="ruby_luxe"] .ruby-newsletter-row{display:flex;flex-direction:column;gap:10px}
body[data-store-template="ruby_luxe"] .ruby-newsletter-row input{width:100%;min-width:0;flex:1;border:1px solid #e9c2d2;border-radius:999px;padding:12px 20px;background:white;font-size:14px;color:#2f2733}
body[data-store-template="ruby_luxe"] .ruby-newsletter-row button:disabled{opacity:.55}
body[data-store-template="ruby_luxe"] .ruby-newsletter-consent{display:flex;align-items:flex-start;justify-content:center;gap:8px;text-align:left;margin-top:12px;color:#635a68;font-size:12px}
body[data-store-template="ruby_luxe"] .ruby-newsletter-consent input{accent-color:#be5179;min-width:16px;min-height:16px;margin-top:2px}
body[data-store-template="ruby_luxe"] .ruby-newsletter-contact{font-size:11px;margin-top:12px;color:#635a68}
body[data-store-template="ruby_luxe"] .ruby-newsletter-contact a{text-decoration:underline;overflow-wrap:anywhere}
body[data-store-template="ruby_luxe"] .ruby-newsletter [role="status"]{margin-top:12px;color:#25633d;font-size:14px;font-weight:700}
body[data-store-template="ruby_luxe"] .ruby-newsletter [role="alert"]{margin-top:12px;color:#982d47;font-size:14px;font-weight:700}
@media(min-width:640px){body[data-store-template="ruby_luxe"] .ruby-newsletter-row{flex-direction:row}body[data-store-template="ruby_luxe"] .ruby-newsletter-row button{flex-shrink:0}}
@media(min-width:768px){body[data-store-template="ruby_luxe"] .ruby-newsletter{padding-block:80px}body[data-store-template="ruby_luxe"] .ruby-social-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}

/* Ruby Luxe source header: visible icon, real search form and light announcement. */
body[data-store-template="ruby_luxe"] .store-announcement {
  background:#f9dce8!important;color:#8e2542!important;min-height:32px;
  font-weight:600;
}
body[data-store-template="ruby_luxe"] [data-storefront-header] > div {
  max-width:1232px;margin-inline:auto;
}
body[data-store-template="ruby_luxe"] .store-desktop-nav :is(.store-nav-link,.store-nav-summary){
  text-transform:uppercase;letter-spacing:.035em;font-size:var(--nxh-navigation-font-size,12px)!important;
}
body[data-store-template="ruby_luxe"] .ruby-header-search{position:relative;min-width:44px;width:44px;height:44px}
body[data-store-template="ruby_luxe"] .ruby-header-search-toggle{
  display:grid;place-items:center;width:44px;height:44px;cursor:pointer;
  list-style:none;border-radius:8px;color:var(--nxh-fg,var(--ruby-ink))!important;
}
body[data-store-template="ruby_luxe"] .ruby-header-search-toggle::-webkit-details-marker{display:none}
body[data-store-template="ruby_luxe"] .ruby-header-search[open] .ruby-header-search-panel{
  position:absolute;top:calc(100% + 6px);right:0;z-index:200;
  display:flex;gap:6px;width:min(320px,calc(100vw - 24px));
  padding:8px;background:white;border:1px solid var(--ruby-line);
  box-shadow:0 10px 24px rgba(142,37,66,.12);border-radius:12px;
}
body[data-store-template="ruby_luxe"] .ruby-header-search-panel input{
  flex:1;min-width:0;width:100%;padding:9px 10px;border:1px solid var(--ruby-line)!important;
  color:var(--ruby-ink)!important;background:white!important;border-radius:8px;font:inherit;
}
body[data-store-template="ruby_luxe"] .ruby-header-search-panel button{
  padding:9px 12px;border-radius:8px;background:var(--ruby-primary);color:white!important;
  font-weight:700;flex-shrink:0;
}

/* Ruby Luxe storefront polish: default catalogue geometry, purchase surfaces and
   accessible controls. Explicit Design Library variants remain merchant-owned. */
body[data-store-template="ruby_luxe"] :is([data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"],[data-commerce-cart],[data-storefront-checkout]:not([data-source-checkout])){
  background:var(--merchant-background,#fff9fc)!important;color:var(--ruby-ink);
}
body[data-store-template="ruby_luxe"] [data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"] :is(.shop-filter-panel,[data-shop-product-card],[data-shop-empty]){
  border-color:var(--ruby-line)!important;box-shadow:0 4px 18px rgba(142,37,66,.055);
}
body[data-store-template="ruby_luxe"] [data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"] .shop-products-grid{
  gap:clamp(10px,1.5vw,20px);
}
body[data-store-template="ruby_luxe"] [data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"] [data-shop-product-card] > a > div{
  aspect-ratio:1;background:var(--ruby-soft);
}
body[data-store-template="ruby_luxe"] [data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"] [data-shop-product-card] > a img{
  object-fit:contain;object-position:center;background:#fff;
}
body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-card-body{
  padding:clamp(12px,1.5vw,20px);min-height:164px;
}
body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-product-name{
  overflow-wrap:anywhere;line-height:1.4;color:var(--ruby-ink);
}
body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-price{
  color:var(--ruby);line-height:1.35;overflow-wrap:anywhere;
}
body[data-store-template="ruby_luxe"] [data-storefront-shop] .ruby-sale-filter{
  display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;
  padding-top:12px;margin-top:12px;border-top:1px solid var(--ruby-line);
  font-size:13px;color:var(--ruby-ink);
}
body[data-store-template="ruby_luxe"] [data-storefront-shop] .ruby-sale-filter input{
  width:18px;height:18px;accent-color:var(--ruby-primary-dark);flex-shrink:0;
}
body[data-store-template="ruby_luxe"] :is([data-commerce-cart] [data-price-list-panel],[data-commerce-cart] [data-cart-item],[data-commerce-cart] [data-cart-summary],[data-storefront-checkout]:not([data-source-checkout]) :is([data-checkout-customer],[data-checkout-summary])){
  border-color:var(--ruby-line)!important;box-shadow:0 5px 22px rgba(142,37,66,.055);
}
body[data-store-template="ruby_luxe"] [data-commerce-cart] [data-price-list-panel] form:first-child button[type="submit"]{
  background:var(--ruby-primary-dark)!important;border-radius:999px;
}
body[data-store-template="ruby_luxe"] [data-commerce-cart] .commerce-cart-empty{
  border-color:var(--ruby-line)!important;padding-block:clamp(48px,6vw,80px);
}
body[data-store-template="ruby_luxe"] [data-commerce-cart] .commerce-cart-empty a{min-height:44px;align-items:center;border-radius:999px}
body[data-store-template="ruby_luxe"] [data-commerce-product-detail] [data-product-main-image]{
  border:1px solid var(--ruby-line);border-radius:20px;background:#fff;overflow:hidden;
}
/* A centered, overflowing flex strip hides its leading thumbnails at scrollLeft=0.
   Safe alignment centers short galleries and starts at the first image when overflowing. */
body[data-store-template="ruby_luxe"] [data-commerce-product-detail] .commerce-gallery-thumbnails{
  justify-content:flex-start;justify-content:safe center;overflow-x:auto;
}
body[data-store-template="ruby_luxe"] [data-commerce-product-detail] .commerce-gallery-thumbnail{
  border-color:var(--ruby-line);border-radius:10px;min-width:44px;min-height:44px;
}
body[data-store-template="ruby_luxe"] [data-commerce-product-detail] .commerce-gallery-thumbnail:is(.is-active,[aria-pressed="true"]){
  border-color:var(--ruby-primary-dark)!important;box-shadow:0 0 0 1px var(--ruby-primary-dark);
}
body[data-store-template="ruby_luxe"] [data-commerce-product-detail] [data-product-selling-price]{color:var(--ruby)!important}
body[data-store-template="ruby_luxe"] .ruby-luxe-home :is(#ruby-collections,#categories){scroll-margin-top:112px}
body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-heading-row{align-items:center;gap:8px}
body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-heading-row .ruby-section-heading{min-width:0;overflow-wrap:anywhere}
body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-newsletter-row input{min-height:48px;font-size:16px}
body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-newsletter-consent{font-size:13px;line-height:1.6}
body[data-store-template="ruby_luxe"] :is(.ruby-button-primary,.ruby-promo-cta,.merchant-site-button){background-color:var(--ruby-primary-dark)!important;color:#fff!important}
body[data-store-template="ruby_luxe"] :is(.ruby-button-primary,.ruby-promo-cta,.merchant-site-button):hover{background-color:var(--ruby)!important}
body[data-store-template="ruby_luxe"] .merchant-footer a{overflow-wrap:anywhere}
@media(max-width:639px){
  body[data-store-template="ruby_luxe"] [data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"] .shop-products-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;
  }
  body[data-store-template="ruby_luxe"] [data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"] [data-shop-product-card]{
    border-radius:12px;
  }
  body[data-store-template="ruby_luxe"] [data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"] [data-shop-product-card] > a > div > span{
    top:7px;left:7px;max-width:calc(100% - 14px);padding:4px 7px;font-size:10px;overflow-wrap:anywhere;
  }
  body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-card-body{padding:10px;min-height:152px}
  body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-product-name{font-size:13px;line-height:1.45}
  body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-price{font-size:14px}
  body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-card-body .merchant-site-button{
    padding:7px 6px;font-size:12px;line-height:1.35;gap:4px;white-space:normal;overflow-wrap:anywhere;text-align:center;
  }
  body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-card-body .merchant-site-button svg{display:none}
  body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-section{padding-block:36px}
  body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-product-grid{gap:10px}
  body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-promo-card{min-height:146px}
  body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-heading-row .ruby-view-all{font-size:12px}
  body[data-store-template="ruby_luxe"] nav.merchant-safe-tabs a{min-height:44px;justify-content:center}
}
@media(max-width:359px){
  body[data-store-template="ruby_luxe"] [data-storefront-shop][data-shop-layout="catalog-classic"][data-shop-filter="filter-default"] .shop-products-grid{gap:8px}
  body[data-store-template="ruby_luxe"] [data-shop-product-card] .ruby-shop-card-body{padding:9px}
  body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-hero h1{font-size:32px}
  body[data-store-template="ruby_luxe"] .ruby-luxe-home .ruby-hero-art{padding:16px}
}
@media(prefers-reduced-motion:reduce){
  body[data-store-template="ruby_luxe"] :is([data-shop-product-card],.commerce-gallery-thumbnail,.merchant-site-button){transition:none!important;transform:none!important}
}
