/* R-models Theme Manager layout variants */
.rm-theme-sortable{display:flex;flex-direction:column}
.rm-product-section-stack{display:flex;flex-direction:column}
.rm-c1{display:flex;flex-direction:column}
.rm-c1-service{order:10}.rm-c1-main{order:20}.rm-c1-search-row{order:30}.rm-c1-navigation{order:40}
.rm-header-catalog_first .rm-c1-navigation{order:30}
.rm-header-catalog_first .rm-c1-search-row{order:40}
.rm-header-compact .rm-c1-service{order:10}
.rm-header-compact .rm-c1-main{order:20}
.rm-header-compact .rm-c1-search-row{order:30}
.rm-header-compact .rm-c1-navigation{order:40}
.rm-header-compact .rm-c1-search-copy,
.rm-header-compact .rm-c1-quick-wrap{display:none}
.rm-header-compact .rm-c1-main{padding-top:10px;padding-bottom:10px}
.rm-header-compact .rm-c1-search-inner{padding-top:8px;padding-bottom:8px}

.rm-hero-full .rm-h1-hero{position:relative;min-height:470px;overflow:hidden;display:block}
.rm-hero-full .rm-h1-copy{position:relative;z-index:2;max-width:620px;padding:56px}
.rm-hero-full .rm-h1-hero figure{position:absolute;inset:0;margin:0}
.rm-hero-full .rm-h1-hero figure:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.86) 42%,rgba(255,255,255,.08) 78%)}
.rm-hero-full .rm-h1-hero figure img{width:100%;height:100%;object-fit:cover}
.rm-hero-compact .rm-h1-hero{min-height:auto}
.rm-hero-compact .rm-h1-copy{padding-top:26px;padding-bottom:26px}
.rm-hero-compact .rm-h1-copy p{margin-bottom:16px}
.rm-hero-image-left .rm-h1-hero figure{order:-1}
.rm-hero-image-center .rm-h1-hero figure img{object-position:center}
.rm-hero-image-left .rm-h1-hero figure img{object-position:left center}
.rm-hero-image-right .rm-h1-hero figure img{object-position:right center}

.rm-home-density-compact .rm-h1-shell{gap:18px}
.rm-home-density-compact .rm-h1-products,
.rm-home-density-compact .rm-h1-category-section,
.rm-home-density-compact .rm-care,
.rm-home-density-compact .rm-h1-curations,
.rm-home-density-compact .rm-h1-manufacturers,
.rm-home-density-compact .rm-h1-editorial,
.rm-home-density-compact .rm-h1-community{margin-top:18px;margin-bottom:18px}

.rm-product-card-compact{padding:12px}
.rm-product-card-compact .rm-h1-image{min-height:190px}
.rm-product-card-compact .rm-h1-dispatch-long{display:none}
.rm-product-card-compact .rm-h1-name{font-size:14px}
.rm-product-card-retail{box-shadow:0 8px 24px rgba(15,23,42,.08)}
.rm-product-card-retail .rm-h1-price strong{font-size:22px}
.rm-product-card-retail .rm-h1-button{font-weight:700}

.rm-product-top--sticky .rm-product-buy{position:sticky;top:16px;align-self:start}
.rm-product-top--gallery_focus{grid-template-columns:minmax(0,1.35fr) minmax(340px,.65fr)}
.rm-product-top--gallery_focus .rm-product-photo img{max-height:720px}

.rm-f1--compact .rm-f1-service{display:none}
.rm-f1--compact .rm-f1-main{padding-top:28px;padding-bottom:28px}
.rm-f1--compact .rm-f1-help{display:none}

.rm-catalog-layout-top .rm-cat-layout{grid-template-columns:1fr}
.rm-catalog-layout-top .rm-cat-filters{position:static}
.rm-catalog-layout-top .rm-cat-filter-body{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}
.rm-catalog-layout-top .rm-cat-filter-body>button,
.rm-catalog-layout-top .rm-cat-filter-body>.rm-cat-reset{align-self:end}

@media(max-width:991px){
 .rm-hero-full .rm-h1-copy{padding:34px}
 .rm-product-top--sticky .rm-product-buy{position:static}
 .rm-product-top--gallery_focus{grid-template-columns:1fr}
 .rm-catalog-layout-top .rm-cat-filter-body{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:767px){
 .rm-mobile-hide-service .rm-c1-service{display:none!important}
 .rm-mobile-hide-quick .rm-c1-quick-wrap{display:none!important}
 .rm-mobile-show-search-copy .rm-c1-search-copy{display:flex!important}
 .rm-cards-mobile-2 .rm-cat-grid,
 .rm-cards-mobile-2 .rm-h1-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rm-cards-mobile-2 .rm-h1-product{min-width:0}
 .rm-mobile-sticky-buy #button-cart{position:sticky;bottom:10px;z-index:25}
 .rm-mobile-compact-footer .rm-f1-service,
 .rm-mobile-compact-footer .rm-f1-help{display:none!important}
 .rm-mobile-compact-footer .rm-f1-mobile{padding-top:20px;padding-bottom:20px}
 .rm-hero-full .rm-h1-hero{min-height:390px}
 .rm-hero-full .rm-h1-copy{padding:28px 22px}
 .rm-hero-full .rm-h1-hero figure:after{background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 58%,rgba(255,255,255,.15) 100%)}
 .rm-catalog-layout-top .rm-cat-filter-body{grid-template-columns:1fr}
}

/* Global visual controls */
.rm-c1-container,.rm-h1-shell,.rm-f1-container,.rm-cat-shell,.rm-product{max-width:var(--rm-content-width)!important;margin-left:auto;margin-right:auto}
.rm-theme-sortable{gap:var(--rm-section-gap)}
.rm-shadow-none .rm-h1-product,
.rm-shadow-none .rm-h1-panel,
.rm-shadow-none .rm-product-section,
.rm-shadow-none .rm-care-card{box-shadow:none!important}
.rm-shadow-strong .rm-h1-product,
.rm-shadow-strong .rm-h1-panel,
.rm-shadow-strong .rm-product-section,
.rm-shadow-strong .rm-care-card{box-shadow:0 14px 36px rgba(15,23,42,.14)!important}
.rm-font-compact{font-size:14px}
.rm-font-large{font-size:16.5px}

/* Secondary page variants */
.rm-cart-page-compact .rm-cart-item{padding:14px}
.rm-cart-page-compact .rm-cart-photo{width:120px}
.rm-cart-page-compact .rm-cart-details h2{font-size:16px}
.rm-cart-page-compact .rm-cart-discounts{padding:14px}

.rm-checkout-wrap--focused .rm-checkout{max-width:980px!important;margin-left:auto;margin-right:auto}
.rm-checkout-page-focused #accordion>.panel{margin-bottom:10px}
.rm-checkout-page-focused .panel-heading{padding:14px 18px}

.rm-account-page-compact{max-width:980px!important}
.rm-account-page-compact .rm-profile-layout,
.rm-account-page-compact .rm-order-grid{grid-template-columns:1fr}
.rm-account-page-compact .rm-account-card{padding:18px}

.rm-content-page-wide .rm-content-article{max-width:var(--rm-content-width)!important}
.rm-content-page-wide .rm-content-shell,
.rm-content-page-wide .rm-store-info-shell{max-width:var(--rm-content-width)!important}


/* Theme Manager v4 — extended design tokens */
body.rmodels-theme.rm-advanced-design{
  font-size:var(--rm-base-font-size);
  line-height:var(--rm-line-height);
}
body.rmodels-theme.rm-advanced-design.rm-font-family-system{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.rmodels-theme.rm-advanced-design.rm-font-family-arial{font-family:Arial,Helvetica,sans-serif}
body.rmodels-theme.rm-advanced-design.rm-font-family-georgia{font-family:Georgia,"Times New Roman",serif}
body.rmodels-theme.rm-advanced-design.rm-font-family-verdana{font-family:Verdana,Geneva,sans-serif}

.rmodels-theme.rm-advanced-design h1,.rmodels-theme.rm-advanced-design .rm-h1 h1{font-size:var(--rm-h1-size)}
.rmodels-theme.rm-advanced-design h2{font-size:var(--rm-h2-size)}
.rmodels-theme.rm-advanced-design h3{font-size:var(--rm-h3-size)}

.rmodels-theme.rm-advanced-design .rm-c1{background:var(--rm-header-bg)}
.rmodels-theme.rm-advanced-design footer,.rmodels-theme.rm-advanced-design .rm-f1{background:var(--rm-footer-bg)}
.rmodels-theme.rm-advanced-design.rm-header-shadow-none .rm-c1{box-shadow:none}
.rmodels-theme.rm-advanced-design.rm-header-shadow-soft .rm-c1{box-shadow:0 4px 18px rgba(15,23,42,.08)}
.rmodels-theme.rm-advanced-design.rm-header-shadow-strong .rm-c1{box-shadow:0 8px 28px rgba(15,23,42,.16)}

.rmodels-theme.rm-advanced-design .btn,
.rmodels-theme.rm-advanced-design button,
.rmodels-theme.rm-advanced-design [class*="rm-"][class*="button"],
.rmodels-theme.rm-advanced-design [class*="rm-"][class*="btn"]{
  min-height:var(--rm-button-height);
  border-radius:var(--rm-button-radius);
}
.rmodels-theme.rm-advanced-design input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.rmodels-theme.rm-advanced-design select{
  min-height:var(--rm-input-height);
  border-radius:var(--rm-input-radius);
  border-width:var(--rm-border-width);
}
.rmodels-theme.rm-advanced-design textarea{
  border-radius:var(--rm-input-radius);
  border-width:var(--rm-border-width);
}
.rmodels-theme.rm-advanced-design .fa{font-size:var(--rm-icon-size)}

.rmodels-theme.rm-advanced-design .rm-h1-product,
.rmodels-theme.rm-advanced-design .rm-account-card,
.rmodels-theme.rm-advanced-design .rm-cart-item,
.rmodels-theme.rm-advanced-design .rm-blog-card,
.rmodels-theme.rm-advanced-design .rm-first-card,
.rmodels-theme.rm-advanced-design .rm-home-card,
.rmodels-theme.rm-advanced-design .rm-set-card,
.rmodels-theme.rm-advanced-design .rm-info-card,
.rmodels-theme.rm-advanced-design .rm-benefit{
  background:var(--rm-card-bg);
  border-radius:var(--rm-card-radius);
  border-width:var(--rm-border-width);
}
.rmodels-theme.rm-advanced-design .rm-h1-product img,
.rmodels-theme.rm-advanced-design .rm-first-card img,
.rmodels-theme.rm-advanced-design .rm-blog-card img,
.rmodels-theme.rm-advanced-design .rm-set-card img,
.rmodels-theme.rm-advanced-design .rm-info-card img{
  border-radius:var(--rm-image-radius);
}
.rmodels-theme.rm-advanced-design .rm-products-grid,
.rmodels-theme.rm-advanced-design .rm-first-grid,
.rmodels-theme.rm-advanced-design .rm-blog-related-grid,
.rmodels-theme.rm-advanced-design .rm-home-grid{
  gap:var(--rm-card-gap);
}
.rmodels-theme.rm-advanced-design .rm-c1-container,
.rmodels-theme.rm-advanced-design main#content,
.rmodels-theme.rm-advanced-design .container{
  padding-left:max(var(--rm-page-padding),15px);
  padding-right:max(var(--rm-page-padding),15px);
}
.rmodels-theme.rm-advanced-design .price,
.rmodels-theme.rm-advanced-design .rm-price,
.rmodels-theme.rm-advanced-design [class*="price"] strong{color:var(--rm-price-color)}
.rmodels-theme.rm-advanced-design .btn-primary,
.rmodels-theme.rm-advanced-design .rm-product-buy,
.rmodels-theme.rm-advanced-design [class*="rm-"][class*="primary"]{
  color:var(--rm-button-text);
}
.rmodels-theme.rm-advanced-design .rm-selection-summary,
.rmodels-theme.rm-advanced-design .rm-product-selection-summary{border-color:var(--rm-accent)}
.rmodels-theme.rm-advanced-design .text-success,.rmodels-theme.rm-advanced-design .rm-success{color:var(--rm-success)}
.rmodels-theme.rm-advanced-design .text-danger,.rmodels-theme.rm-advanced-design .rm-danger{color:var(--rm-danger)}


/* Theme Manager v4 — opt-in block styles */
.rmodels-theme.rm-custom-header .rm-c1{
  background:var(--rm-b-header-bg);
  border-color:var(--rm-b-header-border);
}
.rmodels-theme.rm-custom-header .rm-c1-search,
.rmodels-theme.rm-custom-header .rm-c1-search input{
  background:var(--rm-b-header-search-bg);
  border-radius:var(--rm-b-header-search-radius);
}
.rmodels-theme.rm-custom-header .rm-c1-navigation{background:var(--rm-b-header-nav-bg)}

.rmodels-theme.rm-custom-hero .rm-h1-hero{
  background:var(--rm-b-hero-bg);
  color:var(--rm-b-hero-text);
  border-radius:var(--rm-b-hero-radius);
  min-height:var(--rm-b-hero-min-height);
}
.rmodels-theme.rm-custom-hero .rm-h1-hero h1,
.rmodels-theme.rm-custom-hero .rm-h1-hero p,
.rmodels-theme.rm-custom-hero .rm-h1-hero span{color:inherit}

.rmodels-theme.rm-custom-categories .rm-h1-category-card{
  background:var(--rm-b-category-bg);
  border-color:var(--rm-b-category-border);
  border-radius:var(--rm-b-category-radius);
}
.rmodels-theme.rm-custom-categories.rm-category-hover-none .rm-h1-category-card:hover{transform:none;box-shadow:none}
.rmodels-theme.rm-custom-categories.rm-category-hover-lift .rm-h1-category-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(15,23,42,.12)}
.rmodels-theme.rm-custom-categories.rm-category-hover-outline .rm-h1-category-card:hover{transform:none;box-shadow:0 0 0 2px var(--rm-primary)}

.rmodels-theme.rm-custom-product-card .rm-h1-product{
  background:var(--rm-b-product-card-bg);
  border-color:var(--rm-b-product-card-border);
  border-radius:var(--rm-b-product-card-radius);
}
.rmodels-theme.rm-custom-product-card .rm-h1-product-image,
.rmodels-theme.rm-custom-product-card .rm-h1-product-media{background:var(--rm-b-product-image-bg)}
.rmodels-theme.rm-custom-product-card.rm-product-image-fit-contain .rm-h1-product img{object-fit:contain}
.rmodels-theme.rm-custom-product-card.rm-product-image-fit-cover .rm-h1-product img{object-fit:cover}
.rmodels-theme.rm-custom-product-card.rm-product-card-hover-none .rm-h1-product:hover{transform:none;box-shadow:none}
.rmodels-theme.rm-custom-product-card.rm-product-card-hover-lift .rm-h1-product:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(15,23,42,.13)}
.rmodels-theme.rm-custom-product-card.rm-product-card-hover-outline .rm-h1-product:hover{transform:none;box-shadow:0 0 0 2px var(--rm-primary)}

.rmodels-theme.rm-custom-product-page .rm-product-gallery{background:var(--rm-b-gallery-bg);border-radius:var(--rm-b-product-panel-radius)}
.rmodels-theme.rm-custom-product-page .rm-product-buy{background:var(--rm-b-buy-bg);border-radius:var(--rm-b-product-panel-radius)}
.rmodels-theme.rm-custom-product-page .rm-product-section{background:var(--rm-b-info-bg);border-radius:var(--rm-b-product-panel-radius)}

.rmodels-theme.rm-custom-companion .rm-product-accessory{background:var(--rm-b-companion-bg)}
.rmodels-theme.rm-custom-companion .rm-product-accessory:has(input:checked){background:var(--rm-b-companion-selected-bg);border-color:var(--rm-b-companion-accent)}
.rmodels-theme.rm-custom-companion .rm-product-selection-bar{background:var(--rm-b-companion-summary-bg);border-color:var(--rm-b-companion-accent)}

.rmodels-theme.rm-custom-cart .rm-cart-item{background:var(--rm-b-cart-item-bg);border-radius:var(--rm-b-cart-radius)}
.rmodels-theme.rm-custom-cart .rm-cart-totals{background:var(--rm-b-cart-summary-bg);border-radius:var(--rm-b-cart-radius)}

.rmodels-theme.rm-custom-account .rm-account-card{background:var(--rm-b-account-bg);border-radius:var(--rm-b-account-radius)}

.rmodels-theme.rm-custom-footer .rm-f1{background:var(--rm-b-footer-bg);color:var(--rm-b-footer-text)}
.rmodels-theme.rm-custom-footer .rm-f1-service-card{background:var(--rm-b-footer-service-bg);color:var(--rm-b-footer-text)}
.rmodels-theme.rm-custom-footer .rm-f1 a{color:var(--rm-b-footer-link)}
