/* Baokbah storefront redesign — 14 Nov 2026 */
:root{--ba-red:#a91824;--ba-ink:#242121;--ba-paper:#f7f5f1;--ba-line:#e7e0d8}
body{background:var(--ba-paper);color:var(--ba-ink)}
.store-header .top-navbar,.store-header #mainnav,.store-header #mainnav .inner{background:var(--ba-red)!important;color:#fff}
.store-header .top-navbar a,.store-header .root-level>a,.store-header .header-btn__icon,.store-header .s-cart-summary-total,.store-header .mburger i{color:#fff!important}
.store-header .navbar-brand{background:#fff;padding:10px 14px;border-radius:3px}
.store-header .navbar-brand img{max-height:62px;object-fit:contain}
.store-header .sub-menu{background:white;color:#242121;border:1px solid var(--ba-line)}
.store-header .sub-menu a{color:#242121!important}
.store-header .s-search-input{background:#fff!important;color:#222!important}
.store-header .top-navbar{border-bottom:1px solid #ffffff24}
.store-footer{background:#272323!important;color:#fff}
.store-footer .store-footer__inner{background:#272323!important}
.store-footer a,.store-footer h3{color:inherit}
.s-block{margin-top:48px}
.s-block--fixed-banner:first-child{margin-top:0}
.s-block--fixed-banner:first-child .container{max-width:100%;padding:0}
.s-block--fixed-banner:first-child img{border-radius:0}
.s-block--features{background:white;border-block:1px solid var(--ba-line);padding:30px 20px}
.s-block--features h2{font-size:20px}
.s-block__title h2{font-size:28px;font-weight:750;color:#292323}
.s-product-card-entry{background:#fff;border:1px solid var(--ba-line);border-radius:4px!important;box-shadow:none;transition:box-shadow .2s,transform .2s;overflow:hidden}
.s-product-card-image{background:#fff;min-height:220px}
.s-product-card-image img{object-fit:contain;padding:14px}
.s-product-card-content{padding:18px}
.s-product-card-content-title{font-size:15px;line-height:1.7;min-height:52px}
.s-product-card-price,.s-product-card-sale-price h4{font-size:22px;font-weight:750;color:var(--ba-red)}
.s-product-card-entry .s-button-btn{border-radius:3px}
.s-product-card-entry .s-product-card-content-footer .s-button-element{background:var(--ba-red);color:white;border-color:var(--ba-red);min-height:44px;border-radius:3px}
.product-single .container--product-details{padding-top:25px}
.product-single .main-content{background:#fff;border-top:2px solid #b99d71;padding:28px;position:static!important;overflow:visible!important;border-radius:4px}
.product-single .main-content>h1{font-size:28px;line-height:1.6;font-weight:700}
.product-single .main-content{display:flex;flex-direction:column}
.product-single .main-content>.product__description{order:20;border-top:1px solid var(--ba-line);margin-top:28px;padding:24px 0 0}
.product-single .product__description h2,.product-single .product__description h3{margin:24px 0 12px;line-height:1.6}
.product-single .product__description article{line-height:1.95}
.product-single .product-form .s-button-primary{background:var(--ba-red);border-color:var(--ba-red);border-radius:3px;min-height:52px}
.product-single .product-form section{padding-inline:0}
.product-single .details-slider{background:#fff;border-radius:4px;border:1px solid var(--ba-line)}
.ba-about{max-width:1280px;margin:56px auto;display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;padding:30px}
.ba-about h2{font-size:34px;font-weight:800;margin:12px 0 18px}
.ba-about p{line-height:1.9;color:#555}
.ba-about a{display:inline-block;background:var(--ba-red);color:#fff;padding:14px 30px;margin-top:20px;border-radius:3px}
.ba-about img{width:100%;border-radius:4px}
@media(min-width:1024px){
#mainnav .inner>.container>div{min-height:138px;padding-bottom:48px}
#mainnav .navbar-brand{position:absolute;right:50%;transform:translateX(50%);top:10px;width:230px;height:66px;display:flex;align-items:center;justify-content:center}
#mainnav custom-main-menu{position:absolute;bottom:0;left:0;right:0;width:100%}
#mainnav .main-menu{display:flex;justify-content:center;gap:8px}
#mainnav .root-level>a{padding:12px 14px;font-weight:500}
#mainnav .sub-menu{top:100%}
.store-header .header-search{max-width:300px}
.product-single [id^="product-"].md\:flex-row{flex-direction:row-reverse;gap:32px}
.product-single .sidebar{margin:0!important;width:55%!important;top:180px}
.product-single .main-content{width:45%!important}
}
@media(max-width:767px){
.s-block{margin-top:30px}
.s-block__title h2{font-size:22px}
.s-product-card-image{min-height:160px}
.s-product-card-content{padding:12px}
.s-product-card-content-title{font-size:13px;min-height:64px}
.s-product-card-price,.s-product-card-sale-price h4{font-size:19px}
.product-single .main-content{padding:20px 16px}
.product-single .main-content>h1{font-size:23px}
.store-header .navbar-brand{padding:6px;max-width:160px}
.ba-about{grid-template-columns:1fr;padding:20px;gap:22px;margin:30px auto}
.ba-about h2{font-size:27px}
}
@media(prefers-reduced-motion:reduce){.s-product-card-entry{transition:none}.s-product-card-entry:hover{transform:none}}








/* Final layout refinements */
[component-id="315403247"]{margin-top:0!important}
[component-id="315403247"]>.container{max-width:none;padding:0}
[component-id="315403247"] .banner{border-radius:0}
.store-header salla-user-menu img{width:34px!important;height:34px!important;object-fit:cover;border-radius:50%}
@media(max-width:767px){.store-header .navbar-brand{max-width:138px}.store-header .top-navbar{padding-block:8px}.s-product-card-content-footer .s-button-element{font-size:12px}}
/* Store refinement */
:root{--ba-paper:#faf9f7;--ba-red:#aa1725;--ba-line:#ebe6e1}
.container{max-width:1280px}
.s-block{margin-top:56px}
.store-header .top-navbar{background:#8f1420!important;font-size:12px}
.store-header #mainnav{box-shadow:none}
.store-header .navbar-brand{border-radius:8px}
[component-id="315403247"]{margin:24px auto 0!important;max-width:1280px;padding:0 24px}
[component-id="315403247"] .banner{border-radius:18px!important;box-shadow:0 12px 36px #39131a0b}
.s-block--fixed-banner:not([component-id="315403247"]){max-width:1180px;margin-left:auto;margin-right:auto;padding:0 24px}
.s-block--fixed-banner .banner{border-radius:16px!important}
.s-block__title{margin-bottom:24px;align-items:center}
.s-block__title h2{font-size:27px;line-height:1.5;letter-spacing:-.5px}
.s-block__title .right-side{border-inline-start:4px solid var(--ba-red);padding-inline-start:14px}
.s-product-card-entry{border-radius:14px!important;border-color:#eee9e5;box-shadow:0 3px 12px #30161603}
.s-product-card-image{height:240px;min-height:0;background:#fff}
.s-product-card-image img{height:100%;padding:20px}
.s-product-card-content-title{font-weight:600;line-height:1.7}
.s-product-card-content-footer .s-button-element{border-radius:8px!important;min-height:44px}
.s-product-card-wishlist-btn{opacity:1}
.s-block--features{border:1px solid var(--ba-line);border-radius:14px;max-width:1232px;margin-top:24px;padding:20px}
.s-block--features__item{padding:8px;background:transparent!important;box-shadow:none!important}
.s-block--features .feature-icon{width:36px;height:36px;margin:0 auto 10px;background:#fbedef;color:var(--ba-red);font-size:22px}
.s-block--features h2{font-size:17px;margin-bottom:5px}
.s-block--features p{font-size:12px;color:#777}
.ba-departments{max-width:1280px;padding:0 24px;margin:0 auto}
.ba-eyebrow{display:block;color:var(--ba-red);font-size:12px;font-weight:700;letter-spacing:1px;margin-bottom:10px}
.ba-section-heading h2{font-size:28px;font-weight:750;margin:0 0 24px}
.ba-dept-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ba-dept-grid>a{position:relative;background:white;border:1px solid var(--ba-line);padding:24px;border-radius:14px;transition:border-color .2s,transform .2s}
.ba-dept-grid>a:hover{border-color:var(--ba-red);transform:translateY(-3px)}
.ba-dept-number{font-size:12px;color:#a98d90;letter-spacing:2px}
.ba-dept-grid h3{font-size:21px;font-weight:750;margin:16px 0 8px}
.ba-dept-grid p{font-size:13px;color:#777;margin:0}
.ba-dept-arrow{position:absolute;top:24px;left:24px;color:var(--ba-red);font-size:24px}
.ba-film{max-width:1232px;margin:auto;display:grid;grid-template-columns: .85fr 1.15fr;align-items:center;gap:40px;background:#f1ece7;border-radius:18px;padding:36px;overflow:hidden}
.ba-film h2{font-size:42px;line-height:1.3;font-weight:800;margin:12px 0 20px}
.ba-film p{font-size:15px;line-height:1.9;color:#625b56;margin-bottom:22px}
.ba-film video{width:100%;aspect-ratio:16/9;border-radius:12px;background:#241d1e}
.ba-cta{display:inline-flex;align-items:center;gap:20px;padding:14px 20px;background:var(--ba-red);color:white;border-radius:8px;font-size:14px;font-weight:700}
.ba-about-refined{background:white;border:1px solid var(--ba-line);border-radius:18px;padding:40px;max-width:1232px;gap:60px;margin:0 auto}
.ba-about-refined h2{font-size:38px;line-height:1.4}
.ba-about-details{background:#2c2425;color:white;border-radius:14px;padding:40px}
.ba-about-details h3{font-size:32px;line-height:1.5;margin:20px 0;font-weight:700}
.ba-about-details>span{color:#e6c6b8;font-size:13px}
.ba-about-details p{color:#dacdcc;line-height:2.2}
.ba-about-details a{background:white;color:#382326}
[component-id="1963007987"]>div>section,[component-id="1963007987"] section{max-width:940px!important}
.store-footer{margin-top:64px;border-top:4px solid var(--ba-red)}
.store-footer h3{font-size:18px;margin-bottom:20px}
a:focus-visible,button:focus-visible{outline:3px solid #cc9b54;outline-offset:4px}
@media(min-width:1024px){#mainnav .inner>.container>div{min-height:120px;padding-bottom:42px}#mainnav .navbar-brand{height:58px;top:8px;width:210px}#mainnav .root-level>a{padding:10px 13px}.s-block--features>.grid{grid-template-columns:repeat(3,minmax(0,1fr))}[component-id="3325986"] .s-products-list-wrapper{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;margin:auto}}
@media(max-width:767px){.s-block{margin-top:32px}.store-header .top-navbar{padding:7px 0}.store-header .navbar-brand{max-width:142px}.store-header .navbar-brand img{max-height:38px}[component-id="315403247"]{margin-top:12px!important;padding:0 12px}[component-id="315403247"] .banner{border-radius:14px!important}.s-block--fixed-banner:not([component-id="315403247"]){padding:0 12px}.s-block__title h2{font-size:21px}.s-block__title{margin-bottom:18px}.s-product-card-image{height:170px}.s-product-card-image img{padding:10px}.s-product-card-content{padding:12px}.s-product-card-content-title{font-size:13px;min-height:65px}.s-block--features{margin:16px 12px 0;width:calc(100% - 24px);padding:12px}.s-block--features>.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.s-block--features__item:last-child{grid-column:auto!important}.s-block--features__item{padding:4px}.s-block--features h2{font-size:13px}.s-block--features p{font-size:10px;line-height:1.6}.ba-departments{padding:0 16px}.ba-dept-grid{grid-template-columns:repeat(2,1fr);gap:10px}.ba-dept-grid>a{padding:18px 14px}.ba-dept-grid h3{font-size:18px}.ba-dept-grid p{font-size:11px}.ba-dept-arrow{top:14px;left:14px}.ba-section-heading h2{font-size:23px}.ba-film{margin:0 12px;grid-template-columns:1fr;padding:24px 18px;gap:24px}.ba-film h2{font-size:32px}.ba-film p{font-size:14px}.ba-about-refined{margin:0 12px;padding:24px 18px;gap:25px}.ba-about-refined h2{font-size:29px}.ba-about-details{padding:24px}.ba-about-details h3{font-size:26px}.store-footer{margin-top:40px}.product-single .main-content{border-radius:12px}}
@media(prefers-reduced-motion:reduce){.ba-dept-grid>a{transition:none}.ba-dept-grid>a:hover{transform:none}}


.s-block--features .feature-icon i{color:#aa1725!important;font-size:22px!important;line-height:1}.s-block--features .feature-icon{display:flex;align-items:center;justify-content:center}


.s-block--features .s-block--features__item{grid-column:auto!important}


/* Desktop dropdown continuity fix */
@media(min-width:1024px){
#mainnav .main-menu>.root-level.has-children{position:relative}
#mainnav .main-menu>.root-level.has-children>.sub-menu{top:100%!important;margin-top:0!important;transform:none!important;z-index:60}
#mainnav .main-menu>.root-level.has-children:hover>.sub-menu,
#mainnav .main-menu>.root-level.has-children:focus-within>.sub-menu{visibility:visible!important;opacity:1!important;pointer-events:auto!important}
}

/* Product page: clear purchasing hierarchy */
.product-single .container--breadcrumbs{padding-block:18px;font-size:12px;color:#777}
.product-single .container--product-details>.flex{gap:28px}
.product-single .container--product-details .sidebar{margin:0!important;min-width:0;border:1px solid #ece8e5;border-radius:18px;background:#fff;padding:12px}
.product-single .container--product-details .main-content{display:flex;flex-direction:column;min-width:0;position:static!important;overflow:visible!important;background:white;border:1px solid #ece8e5;border-top:3px solid #aa1725;border-radius:18px;padding:24px;box-shadow:0 8px 28px #22111105}
.product-single .main-content>h1{order:1;font-size:25px;line-height:1.7;margin:0 0 18px;color:#242121}
.product-single .main-content>.product-brand{order:0;margin-bottom:12px;width:70px}
.product-single .main-content>.product-brand img{max-height:42px;object-fit:contain}
.product-single .main-content>.flex.whitespace-nowrap{order:2;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #eee}
.product-single .main-content>.product-form{order:3;border:1px solid #eee5e3;border-radius:12px;background:#fdfbf9;padding:14px;margin:0 0 16px}
.product-single .product-form>section{background:transparent;padding:10px 0;margin-bottom:8px}
.product-single .product-form .total-price{font-size:28px;color:#aa1725}
.product-single .product-form .before-price{font-size:14px}
.product-single .sticky-product-bar__quantity{margin-bottom:12px}
.product-single .product-form .s-quantity-input-container{border-radius:9px;min-height:44px;background:#fff}
.product-single .product-form .s-add-product-button-main .s-button-element{min-height:50px;border-radius:10px;font-size:16px;font-weight:700}
.product-single .product-form .s-add-product-button-mini-checkout{border-radius:10px;min-height:50px}
.product-single .main-content>salla-installment{order:4;margin-bottom:16px}
.product-single .main-content>.product-barcode-wrapper{order:5;color:#777;font-size:12px;padding:10px 0;border-bottom:1px solid #eee}
.product-single .main-content>.flex.space-x-3{order:6;margin-bottom:18px}
.product-single .main-content>.product__description{order:10!important;padding:22px 0 0!important;margin:0;border-top:1px solid #ece8e5;font-size:15px;line-height:1.95;color:#494545;max-height:none!important}
.product-single .product__description h1,.product-single .product__description h2,.product-single .product__description h3{font-size:21px!important;line-height:1.65!important;margin:22px 0 12px!important;color:#242121}
.product-single .product__description p{margin:0 0 14px}
.product-single .product__description li{margin-bottom:9px}
.product-single .product__description table{width:100%!important;border-collapse:collapse;font-size:14px}
.product-single .product__description td,.product-single .product__description th{padding:12px;border:1px solid #ece8e5}
.product-single .product__description tr:nth-child(even){background:#faf9f7}
.product-single .main-content>div:has(.dohour-faq){order:11;margin-top:20px}
.product-single .main-content>salla-verified-review{order:13;margin-top:24px}
.product-single .main-content>salla-bought-together{order:12}
.product-single .main-content>salla-quick-order{order:7}
.product-single .details-slider{border-radius:12px;overflow:hidden}
.product-single .details-slider .s-slider-container .swiper-slide{height:440px!important;background:#fff}
.product-single .details-slider .s-slider-container .swiper-slide>img{height:100%!important;object-fit:contain!important}
@media(min-width:768px){.product-single .container--product-details .sidebar{width:calc(50% - 14px)!important;top:24px}.product-single .container--product-details .main-content{width:calc(50% - 14px)!important}}
@media(max-width:767px){.product-single .container--breadcrumbs{padding-block:12px;line-height:1.8}.product-single .container--product-details{padding-inline:12px}.product-single .container--product-details>.flex{gap:16px}.product-single .container--product-details .sidebar{padding:8px;margin-bottom:0!important;border-radius:14px}.product-single .details-slider .s-slider-container .swiper-slide{height:310px!important}.product-single .container--product-details .main-content{padding:18px 14px;border-radius:14px}.product-single .main-content>h1{font-size:21px;line-height:1.65;margin-bottom:14px}.product-single .product-form .total-price{font-size:25px}.product-single .main-content>.product__description{font-size:14px}.product-single .product__description h1,.product-single .product__description h2,.product-single .product__description h3{font-size:19px!important}.product-single .product-form .sticky-product-bar{padding:12px}.product-single .product-form .sticky-product-bar__btn{margin-top:10px}}

@media(max-width:767px){.product-single .product-form .sticky-product-bar{position:static!important;width:auto!important;box-shadow:none!important;transform:none!important}.product-single .product-form .sticky-product-bar__quantity{display:flex!important}.product-single .product-form .sticky-product-bar__btn{width:100%!important}}

@media(max-width:767px){.product-single .product-form salla-add-product-button{display:block!important}.product-single .product-form .s-add-product-button-main{display:flex!important;flex-direction:column;gap:10px;width:100%!important}.product-single .product-form .s-add-product-button-main>salla-button,.product-single .product-form .s-add-product-button-mini-checkout{width:100%!important}.product-single .product-form .s-add-product-button-main .s-button-text{font-size:16px!important}.product-single .product-form .s-add-product-button-main .s-button-text:before{display:none!important}.product-single .product-form salla-quick-buy{display:block;margin-top:10px;width:100%}}
/* Nested machine menus: continuous pointer path */
@media(min-width:1024px){
#mainnav .sub-menu .has-children{position:relative;overflow:visible}
#mainnav .sub-menu .has-children>.sub-menu{top:0!important;inset-inline-start:100%!important;inset-inline-end:auto!important;margin:0!important;transform:none!important;z-index:70}
#mainnav .sub-menu .has-children:hover>.sub-menu,
#mainnav .sub-menu .has-children:focus-within>.sub-menu{visibility:visible!important;opacity:1!important;pointer-events:auto!important}

/* Free Shipping - JIM 8700 Only */

#product-1548694785 [data-testid="store-product-price"] {
  flex-wrap: wrap !important;
  row-gap: 8px;
}

#product-1548694785 [data-testid="store-product-price"]::after {
  content: "شحن مجاني";
  display: block;
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  background-color: #fff1f2;
  color: #c62032;
  border-inline-start: 3px solid #c62032;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  text-align: start;
}
}

/* Baokbah storefront finishing – framed product photography and motion */
body.theme-raed {
  --ba-polish-edge: #ead9d6;
  --ba-polish-accent: #962d43;
  --ba-polish-frame: radial-gradient(ellipse at 48% 36%, #fff 18%, #faf1ee 100%);
}
body.theme-raed .store-header { box-shadow: 0 2px 12px #39111b14; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry {
  background: #fff;
  border: 1px solid var(--ba-polish-edge);
  border-radius: 18px !important;
  box-shadow: 0 11px 29px -23px #56162685;
  transform: none;
  transition: none;
}
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image {
  position: relative;
  isolation: isolate;
  margin: 10px 10px 0;
  width: auto;
  overflow: hidden;
  border-radius: 13px;
  background: var(--ba-polish-frame);
  box-shadow: inset 0 0 0 1px var(--ba-polish-edge);
}
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #aa65742e;
  border-radius: 9px;
  pointer-events: none;
}
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image > a > img { mix-blend-mode: multiply; transition: none; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image :is(salla-button,.s-product-card-wishlist-btn) { z-index: 2; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image:has(> a:focus-visible)::after {
  border-color: var(--ba-polish-accent);
  box-shadow: inset 0 0 0 1px #aa607633;
}
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry:has(:focus-visible) {
  outline: 2px solid var(--ba-polish-accent);
  outline-offset: -2px;
}
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-content { border-block-start: 0; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-content-title { line-height: 1.55; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-content-sub { font-variant-numeric: tabular-nums; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-content-footer .s-button-element { border-radius: 9px; }
body.theme-raed #main-content #product-filter { border-radius: 10px; border-color: var(--ba-polish-edge); }
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider {
  border: 1px solid var(--ba-polish-edge);
  border-radius: 18px;
  background: var(--ba-polish-frame);
  box-shadow: 0 13px 32px -25px #5616268c;
}
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider .homeslider__slide { background: var(--ba-polish-frame); }
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider .homeslider__slide > img { mix-blend-mode: multiply; }
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider:focus-within { border-color: var(--ba-polish-accent); }
@media (hover: hover) and (pointer: fine) {
  body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider:hover { border-color: #bd7789; }
}
@media (max-width: 520px) {
  body.theme-raed #main-content custom-salla-product-card.s-product-card-entry { border-radius: 14px !important; }
  body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image { margin: 7px 7px 0; border-radius: 10px; }
  body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image::after { inset: 4px; border-radius: 7px; }
  body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-content-footer .s-button-element { padding-inline: 8px; }
  body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-sale-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
  body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-sale-price > :is(h4,span) { white-space: nowrap; }
  body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider { border-radius: 14px; }
}
@keyframes ba-polish-photo-in {
  from { opacity: .8; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; }
}
@keyframes ba-polish-section-in {
  from { opacity: .82; transform: translateY(9px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {

  body.theme-raed #main-content:not(:has(#ba-cin-off:checked)) custom-salla-product-card.s-product-card-entry .s-product-card-image, body.theme-raed #main-content:not(:has(#ba-cin-off:checked)) .container--product-details salla-slider.details-slider {
    transition: background .24s ease, box-shadow .24s ease, border-color .24s ease;
  }
  @supports (animation-timeline: view()) {
    body.theme-raed #main-content:not(:has(#ba-cin-off:checked)) custom-salla-product-card.s-product-card-entry .s-product-card-image > a > img {
      animation: ba-polish-photo-in linear both; animation-timeline: view(); animation-range: entry 0% cover 34%;
    }
    body.theme-raed #main-content:not(:has(#ba-cin-off:checked)) custom-salla-product-card.s-product-card-entry:nth-child(even) .s-product-card-image > a > img { animation-range: entry 4% cover 39%; }
    body.theme-raed #main-content:not(:has(#ba-cin-off:checked)) :is(#page-main-title, .container--product-details salla-slider.details-slider,
      .s-block--features h2, .s-block--custom-testimonials h1, .s-block--categories .s-block__title) {
      animation: ba-polish-section-in linear both; animation-timeline: view(); animation-range: entry 0% cover 28%;
    }
  }

}

  body.theme-raed #main-content:has(#ba-cin-run:checked) custom-salla-product-card.s-product-card-entry .s-product-card-image, body.theme-raed #main-content:has(#ba-cin-run:checked) .container--product-details salla-slider.details-slider {
    transition: background .24s ease, box-shadow .24s ease, border-color .24s ease;
  }
  @supports (animation-timeline: view()) {
    body.theme-raed #main-content:has(#ba-cin-run:checked) custom-salla-product-card.s-product-card-entry .s-product-card-image > a > img {
      animation: ba-polish-photo-in linear both; animation-timeline: view(); animation-range: entry 0% cover 34%;
    }
    body.theme-raed #main-content:has(#ba-cin-run:checked) custom-salla-product-card.s-product-card-entry:nth-child(even) .s-product-card-image > a > img { animation-range: entry 4% cover 39%; }
    body.theme-raed #main-content:has(#ba-cin-run:checked) :is(#page-main-title, .container--product-details salla-slider.details-slider,
      .s-block--features h2, .s-block--custom-testimonials h1, .s-block--categories .s-block__title) {
      animation: ba-polish-section-in linear both; animation-timeline: view(); animation-range: entry 0% cover 28%;
    }
  }

/* End Baokbah storefront finishing */

/* Baokbah 3D showroom layer */
body.theme-raed {
  --ba-depth-wine: #48182d;
  --ba-depth-ink: #321423;
  --ba-depth-rose: #b97988;
  --ba-depth-paper: #fff9f3;
}
body.theme-raed .store-header > .top-navbar {
  background-image: linear-gradient(100deg, #4f1b31, #681f34 78%, #581b2e) !important;
}
body.theme-raed .store-header > #mainnav {
  background-image: linear-gradient(115deg, #6e263e, #83283e 55%, #9c374a) !important;
  box-shadow: 0 11px 24px -16px #381322be;
}
body.theme-raed #main-content > section[component-id="253557819"] {
  position: relative;
  isolation: isolate;
  border-radius: 24px;
  border-color: #986073;
  background: radial-gradient(ellipse at 80% 4%, #884462, transparent 67%), linear-gradient(125deg,#28101d,#541d35);
  box-shadow: 0 25px 39px -29px #4f162c9e, inset 0 1px 0 #ffd5cc35;
}
body.theme-raed #main-content > section[component-id="253557819"]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: repeating-linear-gradient(138deg, transparent 0 43px, #ffe2d309 44px 45px, transparent 46px 56px);
}
body.theme-raed #main-content > section[component-id="253557819"] .s-block__title h2 { color: #fff7ef; }
body.theme-raed #main-content > section[component-id="253557819"] .s-block__title .right-side { border-color: #edb1aa; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry {
  background: linear-gradient(150deg, #fff, #fffbf7);
  border-color: #e5d2cf;
  box-shadow: 0 2px 0 #dcbab64d, 0 16px 26px -20px #5b20396d;
}
body.theme-raed #main-content > section[component-id="253557819"] custom-salla-product-card.s-product-card-entry { box-shadow: 0 3px 0 #dfb9ae, 0 14px 21px -14px #2b071c; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image {
  perspective: 620px;
  background: radial-gradient(ellipse at 52% 19%, #fff 7%, #fffaf4 48%, #f2e0db 100%);
  box-shadow: inset 0 1px 0 #fff9, inset 0 0 0 1px #e3c9c4;
}
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image::before {
  content: '';
  position: absolute;
  z-index: 0;
  inset: auto 15% 5%;
  height: 21%;
  border-radius: 50%;
  opacity: .62;
  transform: rotateX(58deg);
  background: radial-gradient(ellipse, #78415248 8%, #bb879034 42%, transparent 72%);
  pointer-events: none;
}
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image > a > img { position: relative; z-index: 1; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image::after { z-index: 2; border-color: #b67b892f; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image :is(salla-button,.s-product-card-wishlist-btn) { z-index: 3; }
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image:has(> a:focus-visible)::after { border-color: var(--ba-depth-rose); }
body.theme-raed #main-content .ba-shop-section-card {
  border-color: #ead5cf;
  box-shadow: 0 2px 0 #e6cbc5, 0 13px 23px -20px #73364c8b;
}
body.theme-raed #main-content .ba-shop-section-name { background: linear-gradient(135deg, #fff6ec, #f7e9e4); }
body.theme-raed #main-content .ba-shop-sections h2, body.theme-raed #main-content .s-block__title h2, body.theme-raed #main-content #page-main-title { letter-spacing: .005em; }
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider {
  border-color: #e4c6c2;
  box-shadow: 0 3px 0 #e7cbc5, 0 20px 33px -25px #6a244467;
}
@media (hover: hover) and (pointer: fine) {
  body.theme-raed #main-content .ba-shop-section-card:hover { box-shadow: 0 2px 0 #d4a0ac, 0 14px 23px -17px #73364c92; }
}
@media (max-width: 520px) {
  body.theme-raed #main-content > section[component-id="253557819"] { border-radius: 17px; }
  body.theme-raed #main-content > section[component-id="253557819"] .s-block__title h2 { font-size: clamp(1.05rem, 4.9vw, 1.45rem); line-height: 1.4; }
  body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image::before { opacity: .5; }
}
/* End Baokbah 3D showroom layer */

/* Baokbah product photos: neutral frames and background-only transparency. */
body.theme-raed #main-content {
  --ba-photo-frame: radial-gradient(ellipse at 48% 24%, #f7f6f4 5%, #efedea 100%);
  --ba-photo-thumb: #f2f0ee;
}
body.theme-raed #main-content :is(custom-salla-product-card.s-product-card-entry, salla-product-card) .s-product-card-image,
body.theme-raed #main-content .ba-shop-section-photo,
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider,
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider > .s-slider-container,
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider .s-slider-container .homeslider__slide,
body.theme-raed #main-content .ba-cin-gallery :is(.ba-cin-art, .ba-depth-stage) {
  background: var(--ba-photo-frame);
}
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider .s-slider-thumbs-container .swiper-slide {
  background: var(--ba-photo-thumb);
}
body.theme-raed #main-content .ba-cin-gallery .ba-depth-floor {
  background: radial-gradient(ellipse, #ebe6e2, #d9d1cb 80%, transparent);
}
body.theme-raed #main-content :is(custom-salla-product-card.s-product-card-entry, salla-product-card) .s-product-card-image > a,
body.theme-raed #main-content :is(custom-salla-product-card.s-product-card-entry, salla-product-card) .s-product-card-image picture,
body.theme-raed #main-content .ba-cin-gallery .ba-depth-photo {
  background: transparent;
  isolation: auto;
  mix-blend-mode: normal;
}
body.theme-raed #main-content custom-salla-product-card.s-product-card-entry .s-product-card-image > a > img,
body.theme-raed #main-content :is(custom-salla-product-card.s-product-card-entry, salla-product-card) .s-product-card-image img,
body.theme-raed #main-content .ba-shop-section-photo img,
body.theme-raed.product-single #main-content .container--product-details salla-slider.details-slider :is(.homeslider__slide, .s-slider-thumbs-container .swiper-slide) img,
body.theme-raed #main-content .ba-cin-gallery .ba-depth-photo img {
  background: transparent;
  mix-blend-mode: normal;
  filter: none;
  -webkit-mask-image: var(--ba-photo-cutout, none);
  mask-image: var(--ba-photo-cutout, none);
  -webkit-mask-origin: content-box;
  mask-origin: content-box;
  -webkit-mask-clip: content-box;
  mask-clip: content-box;
  -webkit-mask-size: var(--ba-photo-mask-size, contain);
  mask-size: var(--ba-photo-mask-size, contain);
  -webkit-mask-position: var(--ba-photo-mask-position, center);
  mask-position: var(--ba-photo-mask-position, center);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
@media (max-width: 760px), (pointer: coarse) {
  body.theme-raed #main-content :is(custom-salla-product-card.s-product-card-entry, salla-product-card) .s-product-card-image { perspective: none; }
}

/* Baokbah storefront backdrop and product-card interaction. */
body.theme-raed {
  --ba-wine-stripes: repeating-linear-gradient(138deg, transparent 0 43px, #ffe2d309 44px 45px, transparent 46px 56px);
  --ba-wine-glow: radial-gradient(ellipse at 80% 4%, #884462, transparent 67%);
  --ba-wine-base: linear-gradient(125deg, #28101d, #541d35);
  --ba-wine-text: #fff7ef;
  --ba-wine-muted: #f2d9d5;
  --ba-wine-accent: #edb1aa;
  background-color: #351424;
  background-image: var(--ba-wine-stripes), var(--ba-wine-glow), var(--ba-wine-base);
  background-size: auto, 100% clamp(720px, 130vh, 1140px), 100% 100%;
  background-repeat: repeat, no-repeat, no-repeat;
}
body.theme-raed #main-content > section[component-id="253557819"] {
  background: var(--ba-wine-glow), var(--ba-wine-base);
  border-color: #b3768a;
}
body.theme-raed #main-content > section[component-id="253557819"]::before { background: var(--ba-wine-stripes); }

/* Cream headings on exposed background, dark text on reading and purchase surfaces. */
body.theme-raed #main-content :is(.s-block__title h2, .s-block__title .s-block__display-all, .ba-all-offers, .ba-shop-sections > h2, .s-reviews-header),
body.theme-raed.product-index #main-content #page-main-title {
  color: var(--ba-wine-text);
}
body.theme-raed #main-content :is(.s-block__title .right-side, .ba-shop-sections > h2) { border-inline-start-color: var(--ba-wine-accent); }
body.theme-raed #main-content :is(.s-block__title .s-block__display-all, .ba-all-offers):is(:hover, :focus-visible) { color: #ffd2c9; }
body.theme-raed #main-content .s-infinite-scroll-status,
body.theme-raed #main-content .s-infinite-scroll-status :is(p, span),
body.theme-raed:is(.product-index, .product-single) #main-content .container--breadcrumbs,
body.theme-raed:is(.product-index, .product-single) #main-content .breadcrumbs :is(li, a, span) { color: var(--ba-wine-muted); }
body.theme-raed:is(.product-index, .product-single) #main-content .breadcrumbs a:hover { color: var(--ba-wine-text); }
body.theme-raed:is(.product-index, .product-single) #main-content .breadcrumbs svg { fill: var(--ba-wine-muted); }

body.theme-raed:not(.index, .product-index, .product-single) #main-content > .container:not(.container--breadcrumbs) {
  width: calc(100% - 24px);
  margin-block-start: clamp(14px, 3vw, 32px);
  padding: clamp(14px, 2.2vw, 30px);
  border-radius: 18px;
  background: #fffaf7;
  box-shadow: 0 12px 40px #210a1840;
}
body.theme-raed .store-footer {
  border-top-color: #b67989;
  background: linear-gradient(112deg, #28101d, #451c30) !important;
}
body.theme-raed .store-footer .store-footer__inner { background: transparent !important; }

body.theme-raed #main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry {
  position: relative;
  transform: none;
}
body.theme-raed #main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry:has(:focus-visible) {
  outline: 2px solid #963d58;
  outline-offset: -2px;
}
body.theme-raed #main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry:has(:focus-visible) .s-product-card-image::after {
  border-color: #b97988;
}

@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  body.theme-raed #main-content:has(#ba-cin-run:checked) { --ba-card-motion: 1; }
  @media (prefers-reduced-motion: no-preference) {
    body.theme-raed #main-content:not(:has(#ba-cin-off:checked)) { --ba-card-motion: 1; }
  }
  body#app.theme-raed .app-inner main#main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry {
    transition: translate calc(.28s * var(--ba-card-motion, 0)) cubic-bezier(.2,.7,.25,1),
      box-shadow calc(.26s * var(--ba-card-motion, 0)) ease, border-color calc(.26s * var(--ba-card-motion, 0)) ease;
  }
  body#app.theme-raed .app-inner main#main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry .s-product-card-image img {
    transition: scale calc(.36s * var(--ba-card-motion, 0)) cubic-bezier(.2,.7,.25,1);
  }
  body#app.theme-raed .app-inner main#main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry .s-product-card-image::after {
    transition: border-color calc(.26s * var(--ba-card-motion, 0)) ease, box-shadow calc(.26s * var(--ba-card-motion, 0)) ease;
  }
  body#app.theme-raed .app-inner main#main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry:hover {
    z-index: 1;
    border-color: #c78798;
    box-shadow: 0 2px 0 #d6a6a4, 0 15px 28px -13px #200812b3;
    translate: 0 calc(-5px * var(--ba-card-motion, 0));
  }
  body#app.theme-raed .app-inner main#main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry:hover .s-product-card-image img {
    scale: calc(1 + .04 * var(--ba-card-motion, 0));
  }
  body#app.theme-raed .app-inner main#main-content :is(custom-salla-product-card, salla-product-card).s-product-card-entry:hover .s-product-card-image::after {
    border-color: #b97988;
    box-shadow: inset 0 0 0 1px #f6d9d680;
  }
}

/* Layered storefront scenes driven by viewport position. */
body.theme-raed #main-content {
  --ba-depth-distance: 12px;
  --ba-depth-tilt: 3deg;
  --ba-depth-photo-distance: 10px;
}
body.theme-raed #main-content .ba-cin-gallery .ba-cin-head .ba-cin-tabs { margin: 0; }
body.theme-raed #main-content .ba-cin-gallery .ba-cin-head { align-items: center; }

body.theme-raed #main-content > section[component-id="253557819"]::after {
  content: "";
  position: absolute;
  inset: auto 3% 0;
  height: 48%;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 35px, #f2b6aa18 36px 37px),
    repeating-linear-gradient(90deg, transparent 0 55px, #f2b6aa20 56px 57px);
  transform: perspective(560px) rotateX(47deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(transparent, #0009);
}
body.theme-raed #main-content > section[component-id="253557819"] {
  box-shadow: 0 26px 44px -32px #160610d9, inset 0 1px 0 #ffdbd348;
}
body.theme-raed #main-content .s-block--fixed-banner .banner,
body.theme-raed #main-content .ba-cinema-clip__media {
  box-shadow: 0 2px 0 #dfa1ad38, 0 18px 35px -22px #170810e6;
}

body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="offers"]::after {
  transform: perspective(560px) rotateX(calc(47deg + var(--ba-depth-progress, 0) * 8deg));
  translate: 0 calc(var(--ba-depth-progress, 0) * -6px);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="product"] .s-product-card-image {
  perspective: 800px;
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="product"] .s-product-card-image img,
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="category"] .ba-shop-section-photo img {
  translate: 0 calc(var(--ba-depth-progress, 0) * var(--ba-depth-photo-distance) * -1);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="product"] .s-product-card-image img {
  rotate: x calc(var(--ba-depth-progress, 0) * var(--ba-depth-tilt) * .7);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="product"] .s-product-card-image::before {
  scale: calc(1 - var(--ba-depth-progress, 0) * .12);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="banner"],
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="film"] .ba-cinema-clip__media,
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="showroom"] .ba-cin-art {
  transform: perspective(1050px) rotateX(calc(var(--ba-depth-progress, 0) * var(--ba-depth-tilt)));
  translate: 0 calc(var(--ba-depth-progress, 0) * var(--ba-depth-distance) * -1);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="showroom"] .ba-depth-floor {
  scale: calc(1 - var(--ba-depth-progress, 0) * .08);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="details"] .homeslider__slide > img {
  translate: 0 calc(var(--ba-depth-progress, 0) * var(--ba-depth-photo-distance) * -.6);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="tile"] {
  translate: 0 calc(var(--ba-depth-progress, 0) * var(--ba-depth-distance) * -.45);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] [data-ba-depth-scene="heading"] > .right-side {
  translate: calc(var(--ba-depth-progress, 0) * var(--ba-depth-distance) * .35) 0;
}

@media (max-width: 760px), (pointer: coarse) {
  body.theme-raed #main-content {
    --ba-depth-distance: 7px;
    --ba-depth-tilt: 1.8deg;
    --ba-depth-photo-distance: 6px;
  }
  body.theme-raed #main-content .ba-cin-gallery .ba-cin-head { gap: 9px; }
  body.theme-raed #main-content .ba-cin-gallery .ba-cin-head .ba-cin-tabs { width: 100%; }
  body.theme-raed #main-content .ba-cin-gallery .ba-cin-mode-row { flex-wrap: wrap; }
}

/* Circular machine stage, built around the existing offers catalogue. */
#main-content .ba-machine-rail[hidden],
#main-content .ba-machine-rail [hidden] { display: none; }

#main-content .ba-machine-rail {
position: relative;
display: grid;
grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
align-items: stretch;
gap: 0;
margin: 0 0 clamp(19px, 3vw, 38px);
border: 1px solid #b17785;
border-radius: clamp(15px, 2vw, 24px);
background: radial-gradient(ellipse at 0 0, #753b56, transparent 78%), #321625;
box-shadow: 0 23px 48px -26px #190b14;
color: #fff7ef;
overflow: hidden;
}
#main-content .ba-rail-stage {
--ba-orbit-depth: 205px;
position: relative;
display: grid;
grid-template-rows: 1fr auto;
min-width: 0;
min-height: clamp(300px, 27vw, 392px);
padding: 0 clamp(10px, 2vw, 28px) 13px;
isolation: isolate;
overflow: hidden;
touch-action: pan-y pinch-zoom;
color: #431a31;
background: radial-gradient(ellipse at 50% 30%, #fffefa 9%, #f0eae4 68%, #e6dbd5);
}
#main-content .ba-rail-stage[data-rail-interactive="true"] { cursor: grab; }
#main-content .ba-rail-stage[data-rail-dragging="true"] { cursor: grabbing; user-select: none; }
#main-content .ba-rail-stage:focus-visible { outline: 2px solid #763957; outline-offset: -4px; }
#main-content .ba-rail-stage::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
opacity: .53;
pointer-events: none;
background-image:
  repeating-linear-gradient(0deg, transparent 0 35px, #80485a18 36px 37px),
  repeating-linear-gradient(90deg, transparent 0 35px, #80485a18 36px 37px);
mask-image: radial-gradient(ellipse at center, transparent 20%, #000 97%);
}
#main-content .ba-rail-track {
position: absolute;
inset: 39% 7% 4%;
z-index: -1;
border: 1px solid #a3677877;
border-radius: 50%;
background: radial-gradient(ellipse, #f9f4ef88 50%, #dbc2c474 96%);
box-shadow: inset 0 0 0 8px #f7f2edb0, inset 0 0 0 9px #ac74845c, 0 18px 20px -15px #793d5559;
transform: perspective(640px) rotateX(57deg);
pointer-events: none;
}
#main-content .ba-rail-track::after {
content: "";
position: absolute;
inset: auto 24% 20%;
height: 54%;
border-radius: 50%;
background: radial-gradient(ellipse, #92496543, transparent 68%);
}
body.theme-raed #main-content[data-ba-depth-motion="on"] .ba-rail-track {
transform: perspective(640px) rotateX(calc(57deg + var(--ba-depth-progress, 0) * 6deg));
}
body.theme-raed #main-content[data-ba-depth-motion="on"] .ba-rail-figures {
translate: 0 calc(var(--ba-depth-progress, 0) * -6px);
}

#main-content .ba-rail-figures {
position: relative;
min-height: 235px;
perspective: 900px;
perspective-origin: 50% 56%;
transform-style: preserve-3d;
}
#main-content .ba-rail-product {
--ba-orbit-back: 0;
position: absolute;
inset-block: clamp(19px, 3.5vw, 43px) 5%;
left: 50%;
width: min(60%, 415px);
display: grid;
place-items: center;
transform:
  translate3d(calc(-50% + var(--ba-orbit-x, 0%)), calc(var(--ba-orbit-back) * -20%), calc(var(--ba-orbit-back) * var(--ba-orbit-depth) * -1))
  rotateY(var(--ba-orbit-yaw, 0deg))
  scale(calc(1 - var(--ba-orbit-back) * .49));
transform-origin: center 62%;
border-radius: 15px;
outline-offset: -2px;
cursor: inherit;
user-select: none;
-webkit-tap-highlight-color: transparent;
}
#main-content .ba-rail-product[data-rail-position="away"] { visibility: hidden; pointer-events: none; }
#main-content .ba-rail-product:focus-visible { outline: 2px solid #793d55; }
#main-content .ba-rail-product img {
display: block;
height: 100%;
width: 100%;
min-height: 0;
object-fit: contain;
user-select: none;
mask-image: var(--ba-photo-cutout, none);
-webkit-mask-image: var(--ba-photo-cutout, none);
mask-size: contain;
-webkit-mask-size: contain;
mask-position: center;
-webkit-mask-position: center;
mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat;
}

#main-content .ba-rail-gesture {
margin: 5px 0 0;
color: #6a3b50;
text-align: center;
font-size: .77rem;
font-weight: 700;
user-select: none;
pointer-events: none;
}

#main-content .ba-rail-copy {
align-self: center;
min-width: 0;
padding: clamp(16px, 2.4vw, 34px) clamp(18px, 3.7vw, 56px);
border-inline-start: 1px solid #ffe0d22d;
}
#main-content .ba-rail-copy h3 {
margin: 0;
color: #fff7ef;
font-size: clamp(1.35rem, 2.8vw, 2.48rem);
font-weight: 820;
line-height: 1.35;
text-wrap: balance;
overflow-wrap: anywhere;
}
#main-content .ba-rail-shipping {
display: inline-flex;
margin: 0 0 12px;
padding: 4px 10px;
border: 1px solid #9eb1a6;
border-radius: 6px;
background: #3d6758;
color: #fff;
font-size: .77rem;
font-weight: 700;
}
#main-content .ba-rail-price { margin-block: 14px 18px; }
#main-content .ba-rail-price:not(:has(*)):not(:empty) { color: #fff7ef; font-size: 1.35rem; font-weight: 800; }
#main-content .ba-rail-price :is(.s-product-card-sale-price, .s-product-card-price) { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; }
#main-content .ba-rail-price :is(h4, .s-product-card-price) { color: #fff7ef; font-size: clamp(1.35rem, 2.5vw, 1.9rem); font-weight: 800; }
#main-content .ba-rail-price .s-product-card-sale-price > h4 { color: #fff7ef !important; }
#main-content .ba-rail-price .s-product-card-sale-price > span { color: #efd2d2; }
#main-content .ba-rail-details {
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 18px;
min-height: 46px;
padding: 8px 17px;
border: 1px solid #f0c6c2;
border-radius: 9px;
background: #fff4ec;
color: #492034;
font-weight: 800;
}
#main-content .ba-rail-details:is(:hover, :focus-visible) { background: #f6dcd5; color: #492034; text-decoration: underline; }
html[dir="ltr"] .ba-machine-rail .ba-rail-details span { transform: scaleX(-1); }

#main-content .ba-rail-compact { margin-block-end: clamp(14px, 2vw, 24px); }
#main-content .ba-rail-compact .ba-rail-stage { min-height: clamp(260px, 22vw, 325px); }
#main-content .ba-rail-compact .ba-rail-figures { min-height: 205px; }
#main-content .ba-rail-compact .ba-rail-copy { padding-block: clamp(14px, 2vw, 26px); }
#main-content .ba-rail-compact .ba-rail-copy h3 { font-size: clamp(1.13rem, 2.1vw, 1.82rem); }
body.theme-raed #main-content .ba-showroom-orbit > .ba-machine-rail { margin-block: 14px 0; }
body.theme-raed #main-content .ba-showroom-orbit > .ba-cin-views { display: none; }

@media (max-width: 760px) {
#main-content .ba-machine-rail { grid-template-columns: minmax(0, 1fr); }
#main-content .ba-rail-stage { --ba-orbit-depth: 123px; min-height: 0; padding-block-end: 10px; }
#main-content .ba-rail-figures { min-height: clamp(190px, 56vw, 270px); perspective: 590px; }
#main-content .ba-rail-product { width: 67%; }
#main-content .ba-rail-copy { padding: 16px; border-inline-start: 0; border-block-start: 1px solid #ffe0d22d; }
#main-content .ba-rail-copy h3 { font-size: clamp(1.12rem, 4.8vw, 1.45rem); }
#main-content .ba-rail-price { margin-block: 10px 12px; }
#main-content .ba-rail-compact .ba-rail-stage { min-height: 0; }
#main-content .ba-rail-compact .ba-rail-figures { min-height: clamp(165px, 46vw, 215px); }
#main-content .ba-rail-compact .ba-rail-copy h3 { font-size: clamp(1.02rem, 4.4vw, 1.3rem); }
}