/* One fixed desktop template for the storefront carousel and its CMS preview. */
:is(#storeApp,.shop-banner-preview) .shop-banner-template{
  --banner-height:320px;
  --banner-inset:44px;
  position:relative;isolation:isolate;display:flex;align-items:flex-start;
  box-sizing:border-box;height:var(--banner-height);min-height:var(--banner-height);
  padding:32px var(--banner-inset) 60px;border-radius:12px;overflow:hidden;
  background:#1649c9;color:#fff;font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-banner-copy{
  position:relative;z-index:2;box-sizing:border-box;width:54%;max-width:560px;min-width:0;
  display:grid;grid-template-rows:80px 44px;row-gap:12px;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-banner-copy h2{
  margin:0;padding:0;font-size:28px;line-height:40px;font-weight:800;letter-spacing:0;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-banner-copy h2 span{
  display:block;white-space:normal;overflow-wrap:anywhere;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-banner-action{height:44px}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-banner-link{
  display:inline-flex;box-sizing:border-box;align-items:center;justify-content:center;
  height:44px;min-width:112px;max-width:100%;padding:0 22px;border:0;border-radius:8px;
  background:#fff;color:#2460ff;font-family:inherit;font-size:14px;line-height:22px;
  font-weight:600;text-decoration:none;white-space:nowrap;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-banner-art{
  position:absolute;inset:0 0 0 32%;z-index:0;display:block;width:auto;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-banner-art img{
  display:block;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;filter:none;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,#1649c9 0%,#1649c9 25%,rgba(22,73,201,.92) 38%,rgba(22,73,201,.12) 75%,rgba(22,73,201,.04));
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-banner-controls{
  position:absolute;z-index:3;left:50%;bottom:18px;transform:translateX(-50%);
  display:flex;align-items:center;gap:8px;height:24px;padding:0;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-carousel-dot{
  display:block;box-sizing:border-box;min-width:0;width:8px;height:8px;border:0;padding:0;
  background:#ffffff75;border-radius:8px;font-size:0;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-carousel-dot.active{width:26px;background:#fff}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-carousel-toggle{
  display:grid;place-items:center;box-sizing:border-box;min-width:24px;width:24px;height:24px;
  margin-left:5px;padding:0;border:0;background:#173f9e60;border-radius:50%;color:#fff;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-carousel-toggle svg{width:12px;height:12px;fill:currentColor}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-carousel-arrow{
  position:absolute;top:50%;z-index:3;display:grid;place-items:center;box-sizing:border-box;
  width:34px;height:50px;padding:0;transform:translateY(-50%);border:1px solid #ffffff45;
  border-radius:8px;background:#113a8c33;color:#fff;opacity:.5;
}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-carousel-arrow--prev{left:8px}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-carousel-arrow--next{right:8px}
:is(#storeApp,.shop-banner-preview) .shop-banner-template .cn-carousel-arrow svg{
  width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
