/* Optional Double 11 presentation layer. Load after palettes.css / mobile.css.
   Remove the link and campaign-mobile.js to restore the original storefront.
   Product prices, stock, order actions and company copyright remain owned by
   the application. This file supplies no calculated or fabricated prices. */

body[data-campaign="double11"] {
  --d11-red: #dc1647;
  --d11-deep: #870d38;
  --d11-orange: #ff702d;
  --d11-gold: #ffe596;
  --d11-cream: #fff8ed;
  --d11-soft: #fff0ee;
  --d11-ink: #38252b;
  --d11-line: #ffd6c8;
}
body[data-campaign="double11"][data-storefront="njmxykj.cn"],
body[data-campaign="double11"][data-company-domain="njmxykj.cn"] {
  --d11-red: #dd1766;
  --d11-deep: #870d43;
  --d11-orange: #ff713c;
  --d11-soft: #fff0f5;
}
body[data-campaign="double11"][data-storefront="njqyf.cn"],
body[data-campaign="double11"][data-company-domain="njqyf.cn"] {
  --d11-red: #e53924;
  --d11-deep: #991c34;
  --d11-orange: #ff922d;
}
body[data-campaign="double11"][data-storefront="njznskj.cn"],
body[data-campaign="double11"][data-company-domain="njznskj.cn"] {
  --d11-red: #e3451e;
  --d11-deep: #98233d;
  --d11-orange: #ff982f;
  --d11-soft: #fff2e8;
}
body[data-campaign="double11"][data-storefront="njqlq.cn"],
body[data-campaign="double11"][data-company-domain="njqlq.cn"] {
  --d11-red: #ce175b;
  --d11-deep: #80123f;
  --d11-orange: #ff8540;
}

/* Desktop: campaign copy belongs in .hero-slide [data-campaign-main]. */
[data-campaign-main][hidden] {
  display: none !important;
}
body[data-storefront]:not([data-campaign="double11"]) [data-campaign-main] {
  display: none;
}
body[data-storefront][data-campaign="double11"] {
  background: radial-gradient(ellipse at 50% 8%, #ffe0cb 0, #fff3ec 30%, #fff8f4 67%);
}
body[data-storefront][data-campaign="double11"] .topbar {
  color: #fff6d9;
  background: linear-gradient(100deg, var(--d11-deep), var(--d11-red) 65%, #ee4935);
}
body[data-storefront][data-campaign="double11"] .topbar a,
body[data-storefront][data-campaign="double11"] .topbar button,
body[data-storefront][data-campaign="double11"] .topbar .welcome {
  color: #fff6d9;
}
body[data-storefront][data-campaign="double11"] .brand-text strong {
  color: var(--d11-deep);
}
body[data-storefront][data-campaign="double11"] .search-form {
  border-color: var(--d11-red);
  border-radius: 24px;
}
body[data-storefront][data-campaign="double11"] .search-form button {
  color: #fff;
  background: linear-gradient(110deg, var(--d11-red), #ed2855);
}
body[data-storefront][data-campaign="double11"] .header-cart {
  border-color: #f3ca84;
  border-radius: 24px;
  color: var(--d11-deep);
  background: #fff7df;
}
body[data-storefront][data-campaign="double11"] .nav-border {
  border-bottom-color: var(--d11-red);
}
body[data-storefront][data-campaign="double11"] .all-categories,
body[data-storefront][data-campaign="double11"] .category-panel {
  color: #fff8df !important;
  background: linear-gradient(160deg, var(--d11-deep), #cf1747 75%, var(--d11-red));
}
body[data-storefront][data-campaign="double11"] .category-panel .load-message {
  color: #fff8df;
}
body[data-storefront][data-campaign="double11"] .category-panel a:hover {
  color: var(--d11-deep);
  background: #fff0c2;
}
body[data-storefront][data-campaign="double11"] .primary-nav .nav-home,
body[data-storefront][data-campaign="double11"] .hotwords a:hover {
  color: var(--d11-red);
}
body[data-storefront][data-campaign="double11"] .hero-carousel {
  isolation: isolate;
  border-radius: 0 0 20px 20px;
  background: var(--d11-deep);
}
body[data-storefront][data-campaign="double11"] .hero-slide img {
  object-fit: cover;
  object-position: 72% center;
}
body[data-storefront][data-campaign="double11"] .hero-slide [data-campaign-main] {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px 7%;
  color: #fff9e5;
  background: linear-gradient(90deg, #650a34d9, #8d1436a6 38%, #9c17301a 76%, transparent);
  pointer-events: none;
}
body[data-storefront][data-campaign="double11"] .campaign-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 12px;
  border: 1px solid #ffe5969c;
  border-radius: 20px;
  color: var(--d11-gold);
  background: #6d092b66;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
body[data-storefront][data-campaign="double11"] .campaign-title {
  max-width: 80%;
  margin: 0;
  color: #fff9e5;
  font-size: clamp(28px, 3.15vw, 49px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.8px;
  text-shadow: 0 3px 14px #690d3266;
}
body[data-storefront][data-campaign="double11"] .campaign-discount {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 7px;
  color: var(--d11-gold);
  font-size: 29px;
  font-weight: 750;
  line-height: 1;
}
body[data-storefront][data-campaign="double11"] .campaign-discount strong {
  color: var(--d11-gold);
  font-family: Arial, "Microsoft YaHei", sans-serif;
  font-size: clamp(72px, 7.6vw, 112px);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -6px;
  line-height: 1;
}
body[data-storefront][data-campaign="double11"] .campaign-period {
  margin: 13px 0 16px;
  color: #fff3d5;
  font-size: 12px;
  letter-spacing: .5px;
}
body[data-storefront][data-campaign="double11"] [data-campaign-main] .campaign-cta,
body[data-storefront][data-campaign="double11"] [data-campaign-main] [data-campaign-cta] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 22px;
  border: 1px solid #ffedb2;
  border-radius: 24px;
  color: #7f1834;
  background: linear-gradient(110deg, #fff4bd, #ffd36a);
  box-shadow: 0 4px 0 #9b17383b;
  font-size: 14px;
  font-weight: 750;
}
body[data-storefront][data-campaign="double11"] .carousel-dots button.is-active {
  background: var(--d11-gold);
}
body[data-storefront][data-campaign="double11"] .member-panel {
  border-color: var(--d11-line);
  border-radius: 0 0 18px 18px;
}
body[data-storefront][data-campaign="double11"] .member-welcome {
  background: linear-gradient(#fff0e6, #fff);
}
body[data-storefront][data-campaign="double11"] .member-actions a {
  border-color: var(--d11-red);
  color: var(--d11-deep);
}
body[data-storefront][data-campaign="double11"] .member-actions a.solid {
  color: #fff;
  background: var(--d11-red);
}
body[data-storefront][data-campaign="double11"] #page-content .floor {
  padding: 0 0 10px;
}
body[data-storefront][data-campaign="double11"] #page-content .section-heading h2 {
  color: var(--d11-deep);
  font-weight: 750;
}
body[data-storefront][data-campaign="double11"] #page-content .section-heading h2:before {
  border-radius: 3px;
  background: linear-gradient(var(--d11-orange), var(--d11-red));
}
body[data-storefront][data-campaign="double11"] .product-card {
  border-color: #ffe0d5;
  border-radius: 14px;
  color: var(--d11-ink);
  background: #fff;
  box-shadow: 0 4px 15px #a5243310;
}
body[data-storefront][data-campaign="double11"] .product-card:hover {
  border-color: var(--d11-red);
  color: var(--d11-ink);
}
body[data-storefront][data-campaign="double11"] .product-image {
  background: #fff;
}
body[data-storefront][data-campaign="double11"] .price {
  color: #cc1642;
}
body[data-storefront][data-campaign="double11"] .floor-promo {
  border-radius: 16px;
  background: linear-gradient(155deg, #ffdfba, #ffe8e6 60%, #ffeecd);
}
body[data-storefront][data-campaign="double11"] .floor-title-overlay strong,
body[data-storefront][data-campaign="double11"] .floor-title-overlay b {
  color: var(--d11-deep);
}
body[data-storefront][data-campaign="double11"] .floor-banner {
  border: 1px solid #f0bf6c;
  border-radius: 18px;
  color: var(--d11-deep);
  background: linear-gradient(110deg, #fff1bf, #ffe0ca, #ffdbe8);
}
body[data-storefront][data-campaign="double11"] .floor-banner p,
body[data-storefront][data-campaign="double11"] .floor-banner > a {
  color: var(--d11-deep);
}
body[data-storefront][data-campaign="double11"] .right-rail {
  background: linear-gradient(var(--d11-red), var(--d11-deep));
}
body[data-storefront][data-campaign="double11"] .right-rail a,
body[data-storefront][data-campaign="double11"] .right-rail button {
  color: #fff2cd;
}

/* Mobile: every selector is confined to the native home page. */
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .content {
  background: #fff4ee;
}
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .company-site-brand {
  padding-bottom: 16px;
  border-bottom: 0;
  background: linear-gradient(110deg, #fff1dc, #fff 72%);
}
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .company-site-brand__company {
  color: var(--d11-deep);
}
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .company-site-brand__platform {
  color: #76544e;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px 12px;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 12px 13px;
  padding: 16px 17px 14px;
  border: 1px solid #ffd68a;
  border-radius: 17px;
  color: #fff6d9;
  background: radial-gradient(ellipse at 100% 0, #ff9d3a66, transparent 58%), linear-gradient(110deg, var(--d11-deep), var(--d11-red));
  box-shadow: 0 5px 13px #ac21421c;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__copy {
  min-width: 0;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__kicker {
  display: block;
  margin-bottom: 5px;
  color: #ffdf94;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.3px;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__title {
  display: block;
  margin: 0;
  color: #fff8e3;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.4px;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__period {
  margin: 6px 0 0;
  color: #ffecc5;
  font-size: 10px;
  line-height: 1.5;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__offer {
  display: flex;
  align-items: baseline;
  color: #ffe7a0;
  font-size: 18px;
  font-weight: 750;
  white-space: nowrap;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__offer strong {
  margin: 0 2px 0 0;
  color: #ffe7a0;
  font-family: Arial, sans-serif;
  font-size: 65px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -4px;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__note {
  margin: 0;
  color: #ffecc5;
  font-size: 10px;
  line-height: 1.5;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar [data-campaign-cta] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  padding: 4px 11px;
  border: 1px solid #fff0bd;
  border-radius: 19px;
  color: #871638;
  background: linear-gradient(110deg, #fff3bb, #ffd16e);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
}
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .swiper-c {
  overflow: hidden;
  border-radius: 14px;
}
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .swiper-c uni-swiper-item,
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .swiper-c .uni-swiper-item {
  overflow: hidden;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-slide-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  box-sizing: border-box;
  padding: 15px 6%;
  color: #fff4d6;
  background: linear-gradient(90deg, #72082bbf, #8e183d70 43%, transparent 78%);
  pointer-events: none;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-slide-copy__title {
  display: block;
  margin: 0;
  color: #fff9e8;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: .5px;
  text-shadow: 0 2px 8px #61052e55;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-slide-copy__discount {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #ffe39a;
  font-size: 17px;
  font-weight: 750;
  line-height: 1;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-slide-copy__discount strong {
  color: #ffe39a;
  font-family: Arial, sans-serif;
  font-size: 57px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
}
body[data-company-domain][data-campaign="double11"] .campaign-mobile-slide-copy__period {
  margin-top: 3px;
  color: #fff3d3;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.5;
}
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .goods-item-c {
  box-sizing: border-box;
  border: 1px solid #ffe1d6;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 3px 12px #b3253610;
}
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .goods-name {
  color: #38252b;
}
body[data-company-domain][data-campaign="double11"] uni-page[data-page="pages/index/index"] .goods-price {
  color: #cc1642;
}

/* Optional server-field presentation hooks. No price values are created here. */
body[data-campaign="double11"] [data-campaign-price-note] {
  display: inline-block;
  color: #bb1743;
  font-size: 11px;
  line-height: 1.5;
}
body[data-campaign="double11"] [data-campaign-original-price] {
  color: #89747b;
  font-size: 11px;
  text-decoration: line-through;
}
body[data-campaign="double11"] [data-campaign-cta]:focus-visible {
  outline: 3px solid #fff0ad;
  outline-offset: 3px;
}
@media (max-width: 1300px) {
  body[data-storefront][data-campaign="double11"] .hero-slide [data-campaign-main] { padding: 25px 7%; }
  body[data-storefront][data-campaign="double11"] .campaign-title { font-size: 34px; }
  body[data-storefront][data-campaign="double11"] .campaign-discount strong { font-size: 88px; }
}
@media (max-width: 767px) {
  body[data-storefront][data-campaign="double11"] .hero-slide [data-campaign-main] { padding: 18px 7%; }
  body[data-storefront][data-campaign="double11"] .campaign-kicker { margin-bottom: 8px; font-size: 10px; }
  body[data-storefront][data-campaign="double11"] .campaign-title { max-width: 95%; font-size: 27px; }
  body[data-storefront][data-campaign="double11"] .campaign-discount { margin-top: 7px; font-size: 20px; }
  body[data-storefront][data-campaign="double11"] .campaign-discount strong { font-size: 66px; }
  body[data-storefront][data-campaign="double11"] .campaign-period { margin: 9px 0 12px; font-size: 10px; }
  body[data-storefront][data-campaign="double11"] [data-campaign-main] .campaign-cta,
  body[data-storefront][data-campaign="double11"] [data-campaign-main] [data-campaign-cta] { min-height: 30px; padding: 4px 15px; font-size: 11px; }
}
@media (max-width: 350px) {
  body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar { margin-right: 9px; margin-left: 9px; padding: 14px 12px; gap: 6px 8px; }
  body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__title { font-size: 20px; }
  body[data-company-domain][data-campaign="double11"] .campaign-mobile-bar__offer strong { font-size: 57px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-storefront][data-campaign="double11"] .product-card { transition: none; }
  body[data-storefront][data-campaign="double11"] .product-card:hover { transform: none; }
}
