/* Royal Ice applied to the original core component contract. v13/v15 reference.
   Opt-in root attribute; no Studio selectors and no copied widget markup. */
html[data-widget-theme=royal]{
  --ri-accent:#1644bd;--ri-action:#1644d2;--ri-action-hover:#1034ac;--ri-action-ink:#fff;
  --ri-paper:#fff;--ri-mist:#f0f5fd;--ri-ink:#071e42;--ri-muted:#526782;--ri-line:#d9e4f5;--ri-soft:#e8f1ff;--ri-ice:#a8d3ff;--ri-focus:#1649e8;
  --ri-radius:4px;--ri-body:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--ri-display:Arial,Helvetica,sans-serif;
  --bs-body-bg:var(--ri-paper);--bs-body-color:var(--ri-ink);--bs-body-color-rgb:7,30,66;--bs-secondary-color:var(--ri-muted);--bs-primary:var(--ri-accent);--bs-primary-rgb:22,68,189;
  --bs-tertiary-bg:var(--ri-mist);--bs-border-color:var(--ri-line);--bs-border-radius:var(--ri-radius);--bs-link-color:var(--ri-accent);--bs-link-hover-color:var(--ri-action-hover);--bs-font-sans-serif:var(--ri-body);
  color-scheme:light;
}
html[data-widget-theme=royal][data-bs-theme=dark]{--ri-accent:#a8ceff;--ri-action:#315ee8;--ri-action-hover:#2452d6;--ri-paper:#061630;--ri-mist:#0a2043;--ri-ink:#f0f6ff;--ri-muted:#adc0df;--ri-line:#253f68;--ri-soft:#102c58;--ri-focus:#a8d3ff;--bs-body-color-rgb:240,246,255;--bs-primary-rgb:168,206,255;color-scheme:dark}
html[data-widget-theme=royal] body{background:var(--ri-paper);color:var(--ri-ink);font-family:var(--ri-body)}
html[data-widget-theme=royal] :is(h1,h2,h3,h4){font-family:var(--ri-display);color:var(--ri-ink);letter-spacing:-.025em}
html[data-widget-theme=royal] :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--ri-focus);outline-offset:3px;box-shadow:none}
html[data-widget-theme=royal] .btn{border-radius:var(--ri-radius);font-weight:650;box-shadow:none;transition:background-color .15s,border-color .15s}
html[data-widget-theme=royal] :is(.btn-primary,.btn-cart){--bs-btn-color:var(--ri-action-ink);--bs-btn-bg:var(--ri-action);--bs-btn-border-color:var(--ri-action);--bs-btn-hover-color:#fff;--bs-btn-hover-bg:var(--ri-action-hover);--bs-btn-hover-border-color:var(--ri-action-hover);--bs-btn-active-color:#fff;--bs-btn-active-bg:var(--ri-action-hover);--bs-btn-active-border-color:var(--ri-action-hover);--bs-btn-disabled-color:var(--ri-action-ink);--bs-btn-disabled-bg:var(--ri-action);--bs-btn-disabled-border-color:var(--ri-action);--bs-btn-disabled-opacity:.5}
html[data-widget-theme=royal] .product-card{--product-card-bg:var(--ri-paper);--product-card-placeholder-bg:var(--ri-mist);--product-card-title-color:var(--ri-ink);--product-card-wish-list-color:var(--ri-muted);border-color:var(--ri-line);border-radius:var(--ri-radius);overflow:hidden;box-shadow:0 3px 14px #00102e05}
html[data-widget-theme=royal] .product-card__header{background:var(--ri-mist)}
html[data-widget-theme=royal] .product-card__image{aspect-ratio:1;object-fit:cover;width:100%;height:auto}
html[data-widget-theme=royal] .product-card__body{padding:17px;gap:0}
html[data-widget-theme=royal] .product-card__title{font-size:15px;font-weight:700;line-height:1.4;min-height:2.8em;margin-bottom:12px;letter-spacing:-.02em}
html[data-widget-theme=royal] .product-card__separator{border-color:var(--ri-line);opacity:1;margin:0 0 13px}
html[data-widget-theme=royal] .product-card__price{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:baseline;gap:4px 9px;font-size:18px;font-weight:750;line-height:1.4;letter-spacing:-.035em;margin-bottom:15px;color:var(--ri-ink)}
html[data-widget-theme=royal] .product-card__price-old{font-size:12px;font-weight:450;color:var(--ri-muted);text-decoration:line-through}
html[data-widget-theme=royal] .product-card__price-new{color:var(--ri-accent)}
html[data-widget-theme=royal] .product-card__flags{top:12px;left:12px;right:auto;gap:5px;justify-content:flex-start}
html[data-widget-theme=royal] .product-card__flag{padding:5px 8px;font-size:10px;line-height:1.2;font-weight:750;border-radius:2px;background:var(--ri-action);color:#fff}
html[data-widget-theme=royal] .product-card__flag--discount{background:#ab243c}html[data-widget-theme=royal] .product-card__flag--bestseller{background:#071e42}html[data-widget-theme=royal] .product-card__flag--coming-soon{background:var(--ri-soft);color:var(--ri-ink)}
html[data-widget-theme=royal] .product-card__draft{background:var(--ri-paper);color:var(--ri-muted);font-size:11px;font-weight:600}
html[data-widget-theme=royal] .product-card__actions{align-items:center;gap:10px}
html[data-widget-theme=royal] .product-card__actions-primary{flex:1;min-width:0}
html[data-widget-theme=royal] .product-card__actions .btn-cart{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:38px;padding:9px 8px;font-size:11px;line-height:1.3;white-space:normal}
html[data-widget-theme=royal] .product-card__actions .btn-cart svg{width:14px;height:14px;flex-shrink:0}
html[data-widget-theme=royal] .product-card__actions .btn-cart .ms-1{margin-left:0!important}
html[data-widget-theme=royal] .product-card__actions-wish-list{display:flex;align-items:center;justify-content:center;min-width:24px;min-height:38px;font-size:18px;color:var(--ri-muted)}
html[data-widget-theme=royal] :is(.filter__container--background,.shop-filters){background:var(--ri-mist);border-color:var(--ri-line)}
html[data-widget-theme=royal] .filter__header-link{color:var(--ri-ink);font-family:var(--ri-display);font-size:12px;font-weight:750}
html[data-widget-theme=royal] .filter__filter-link{color:var(--ri-muted);font-size:12px}
html[data-widget-theme=royal] :is(.filter__filter-link:hover,.filter__filter-link.active){color:var(--ri-accent)}
html[data-widget-theme=royal] .filter__filter-checkbox{font-size:12px;color:var(--ri-ink)}
html[data-widget-theme=royal] :is(.form-control,.form-select){background-color:var(--ri-paper);border:1px solid var(--ri-line);border-radius:var(--ri-radius);color:var(--ri-ink);font:13px/1.6 var(--ri-body);min-height:44px}
html[data-widget-theme=royal] .form-control::placeholder{color:var(--ri-muted);opacity:.8}
html[data-widget-theme=royal] .form-control:focus{border-color:var(--ri-accent);background:var(--ri-paper);color:var(--ri-ink);box-shadow:0 0 0 3px var(--ri-soft)}
html[data-widget-theme=royal] :is(.form-label,.form-floating label,.form-check-label){color:var(--ri-ink);font-size:12px;line-height:1.7}
html[data-widget-theme=royal] .form-floating>label::after{background:var(--ri-paper)!important}
html[data-widget-theme=royal] .form-check-input{background-color:var(--ri-paper);border-color:var(--ri-muted)}
html[data-widget-theme=royal] .form-check-input:checked{background-color:var(--ri-action);border-color:var(--ri-action)}
html[data-widget-theme=royal] :is(.form-control:disabled,.form-select:disabled){background:var(--ri-mist);color:var(--ri-muted);opacity:.65}
html[data-widget-theme=royal] :is(.form-control.is-invalid,.form-select.is-invalid){border-color:#bc3450}html[data-widget-theme=royal] .invalid-feedback{color:#bc3450}
html[data-widget-theme=royal][data-bs-theme=dark] :is(.form-control.is-invalid,.form-select.is-invalid){border-color:#ff9aaf}html[data-widget-theme=royal][data-bs-theme=dark] .invalid-feedback{color:#ff9aaf}
html[data-widget-theme=royal] body[data-widget=shop-cart-customercheckout] .box{background:var(--ri-paper)!important;border-color:var(--ri-line)!important}
html[data-widget-theme=royal] .splide__arrow{background:var(--ri-paper);color:var(--ri-accent);border:1px solid var(--ri-line);opacity:1;box-shadow:0 3px 12px #00102e12}
html[data-widget-theme=royal] .splide__arrow svg{fill:var(--ri-accent)}
html[data-widget-theme=royal] body[data-widget=shop-collectionslider] .widget-example>.bg-white{background:var(--ri-mist)!important;border:1px solid var(--ri-line);box-shadow:none!important;border-radius:var(--ri-radius)!important}
html[data-widget-theme=royal] :is(.shop-intro h1,.shop-help h2){font-family:var(--ri-display);text-transform:uppercase;letter-spacing:-.045em;font-weight:750}
html[data-widget-theme=royal] .shop-intro{background:var(--ri-mist)}html[data-widget-theme=royal] .shop-brand{color:var(--ri-ink)}html[data-widget-theme=royal] .shop-brand img{filter:drop-shadow(0 1px 0 #1649e811)}
html[data-widget-theme=royal] .shop-header{border-bottom-color:var(--ri-line)}html[data-widget-theme=royal] .shop-help{border-top-color:var(--ri-line)}
@media(max-width:600px){html[data-widget-theme=royal] .product-card__body{padding:12px 10px}html[data-widget-theme=royal] .product-card__title{font-size:13px;margin-bottom:10px}html[data-widget-theme=royal] .product-card__price{font-size:15px;gap:3px 6px;margin-bottom:12px}html[data-widget-theme=royal] .product-card__price-old{font-size:10px}html[data-widget-theme=royal] .product-card__actions{gap:5px}html[data-widget-theme=royal] .product-card__actions .btn-cart{font-size:10px;padding:8px 5px;min-height:40px}html[data-widget-theme=royal] .product-card__actions-wish-list{min-width:20px;font-size:16px}}
@media(max-width:600px){html[data-widget-theme=royal] :is(.form-control,.form-select){font-size:16px}}
