/* Composition layer: scale, rhythm, color roles, columns */

:root {
  --xl-container: 1440px;
  --xl-teal: #0e8a96;
  --xl-teal-soft: #e7f6f7;
  --xl-section-gap: 40px;
}

/* Wider shell */
body.xl-redesign .xl-wrap,
body.xl-redesign .xl-footer__main,
body.xl-redesign .xl-footer__bottom-inner,
body.xl-redesign .xl-nav__panel-inner {
  width: min(100% - 48px, var(--xl-container)) !important;
  max-width: var(--xl-container) !important;
}
body.xl-redesign table#middle {
  width: min(100% - 48px, var(--xl-container)) !important;
  max-width: var(--xl-container) !important;
}
@media (min-width: 1600px) {
  :root { --xl-container: 1520px; }
  body.xl-redesign .xl-wrap,
  body.xl-redesign table#middle,
  body.xl-redesign .xl-footer__main,
  body.xl-redesign .xl-footer__bottom-inner,
  body.xl-redesign .xl-nav__panel-inner {
    width: min(100% - 64px, 1520px) !important;
  }
}
@media (min-width: 1920px) {
  :root { --xl-container: 1600px; }
  body.xl-redesign .xl-wrap,
  body.xl-redesign table#middle,
  body.xl-redesign .xl-footer__main,
  body.xl-redesign .xl-footer__bottom-inner,
  body.xl-redesign .xl-nav__panel-inner {
    width: min(100% - 80px, 1600px) !important;
  }
}

/* Color roles */
body.xl-redesign .xl-catalog,
body.xl-redesign .xl-mmenu {
  background: var(--xl-graphite-900) !important;
}
body.xl-redesign .xl-btn--primary,
body.xl-redesign .xl-cta,
body.xl-redesign .xl-hero__actions .xl-btn--primary,
body.xl-redesign .xl-product-grid dt.itemImage a.button,
body.xl-redesign #content dl.itemNewProductsDefault a.button,
body.xl-redesign .xl-nav__foot-cta {
  background: var(--xl-orange-500) !important;
  color: #fff !important;
}
body.xl-redesign .xl-btn--primary:hover,
body.xl-redesign .xl-cta:hover,
body.xl-redesign .xl-product-grid dt.itemImage a.button:hover {
  background: #d45512 !important;
}
body.xl-redesign .xl-svc,
body.xl-redesign .xl-trust__item {
  border-color: #d5e8ea !important;
}
body.xl-redesign .xl-svc--accent {
  background: linear-gradient(135deg, var(--xl-teal-soft), #fff) !important;
  border-color: rgba(14, 138, 150, .28) !important;
}
body.xl-redesign .xl-svc--accent .xl-svc__t {
  color: var(--xl-teal) !important;
}
body.xl-redesign #left #boxCategories p.hD {
  background: var(--xl-teal) !important;
}

/* 16+ badge — clear and present */
body.xl-redesign .xl-age--header {
  display: inline-flex !important;
  min-width: 38px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #111 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #111;
  flex: 0 0 38px !important;
}

/* Vertical rhythm */
body.xl-redesign .xl-header {
  margin-bottom: 28px !important;
}
body.xl-redesign .xl-hero {
  margin-bottom: var(--xl-section-gap) !important;
}
body.xl-redesign .xl-section {
  margin-bottom: var(--xl-section-gap) !important;
}
body.xl-redesign #icSet2.catalog {
  margin-bottom: 8px !important;
}
body.xl-redesign .xl-promo {
  margin: 8px 0 var(--xl-section-gap) !important;
  gap: 16px !important;
}
body.xl-redesign .social,
body.xl-redesign .xl-follow {
  margin-bottom: var(--xl-section-gap) !important;
}
body.xl-redesign .xl-trust {
  margin-bottom: 12px !important;
  gap: 16px !important;
}
body.xl-redesign .xl-seo {
  margin-top: var(--xl-section-gap) !important;
}
body.xl-redesign .xl-section__head {
  margin-bottom: 20px !important;
}
body.xl-redesign .xl-section__title {
  font-size: 28px !important;
  letter-spacing: -0.02em;
}

/* ===== HERO: dominant first screen ===== */
body.xl-redesign .xl-hero {
  min-height: 420px !important;
  padding: 56px 56px !important;
  border-radius: 24px !important;
  background-color: #0f0e0d !important;
  background-image:
    linear-gradient(100deg, rgba(15,14,13,.94) 0%, rgba(15,14,13,.78) 38%, rgba(15,14,13,.28) 72%, rgba(15,14,13,.15) 100%),
    url("/images/zvezdopad.jpg") !important;
  background-size: cover !important;
  background-position: 70% center !important;
  box-shadow: 0 20px 50px rgba(15, 14, 13, 0.22) !important;
}
body.xl-redesign .xl-hero__eyebrow {
  font-size: 13px !important;
  margin-bottom: 14px !important;
  color: #f2d28a !important;
}
body.xl-redesign .xl-hero__title {
  max-width: 720px !important;
  font-size: 52px !important;
  line-height: 1.05 !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.03em;
}
body.xl-redesign .xl-hero__text {
  max-width: 560px !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  margin: 0 0 28px !important;
}
body.xl-redesign .xl-hero__actions {
  gap: 12px !important;
}
body.xl-redesign .xl-hero__actions .xl-btn {
  height: 52px !important;
  padding: 0 28px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
}
@media (max-width: 1100px) {
  body.xl-redesign .xl-hero {
    min-height: 320px !important;
    padding: 36px 28px !important;
  }
  body.xl-redesign .xl-hero__title { font-size: 36px !important; }
}

/* ===== Category cards: character ===== */
body.xl-redesign #icSet2.catalog {
  gap: 18px !important;
}
body.xl-redesign #icSet2 a {
  min-height: 200px !important;
  padding: 22px 14px 18px !important;
  border-radius: 18px !important;
  background: #fff !important;
  border: 1px solid #ebe4da !important;
  box-shadow: 0 6px 18px rgba(32,29,26,.04) !important;
  position: relative;
  overflow: hidden;
}
body.xl-redesign #icSet2 a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: transparent;
  transition: background .2s ease;
}
body.xl-redesign #icSet2 a:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(232,102,34,.45) !important;
  box-shadow: 0 16px 32px rgba(32,29,26,.12) !important;
}
body.xl-redesign #icSet2 a:hover::after {
  background: linear-gradient(90deg, var(--xl-orange-500), var(--xl-teal));
}
body.xl-redesign #icSet2 img {
  width: 110px !important;
  height: 110px !important;
  margin-bottom: 4px;
  transition: transform .22s ease !important;
}
body.xl-redesign #icSet2 a:hover img {
  transform: scale(1.08) translateY(-4px) !important;
}
body.xl-redesign #icSet2 span {
  font-size: 14px !important;
  font-weight: 800 !important;
}
/* variety: tint some cards */
body.xl-redesign #icSet2 tr:nth-child(1) td:nth-child(1) a { background: linear-gradient(180deg, #fff7f0, #fff) !important; }
body.xl-redesign #icSet2 tr:nth-child(1) td:nth-child(2) a { background: linear-gradient(180deg, #f3faf8, #fff) !important; }
body.xl-redesign #icSet2 tr:nth-child(2) td:nth-child(1) a { background: linear-gradient(180deg, #fff8f2, #fff) !important; }
body.xl-redesign #icSet2 tr:nth-child(3) td:nth-child(1) a { background: linear-gradient(180deg, #f7f4ff, #fff) !important; }

/* ===== Product cards: modern / premium ===== */
body.xl-redesign .xl-product-grid .pageItem,
body.xl-redesign #content .page .pageItem {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
@media (max-width: 1279px) {
  body.xl-redesign .xl-product-grid .pageItem,
  body.xl-redesign #content .page .pageItem {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
body.xl-redesign .xl-product-grid dl.itemNewProductsDefault,
body.xl-redesign #content .page .pageItem dl.itemNewProductsDefault {
  padding: 0 0 16px !important;
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid #ebe4da !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(32,29,26,.05) !important;
}
body.xl-redesign .xl-product-grid dl.itemNewProductsDefault:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(32,29,26,.12) !important;
  border-color: rgba(232,102,34,.35) !important;
}
body.xl-redesign .xl-product-grid dt.itemImage,
body.xl-redesign #content dl.itemNewProductsDefault dt.itemImage {
  aspect-ratio: 1 / 1 !important;
  min-height: 260px !important;
  margin: 0 0 14px !important;
  border-radius: 0 !important;
  background: #f6f2eb !important;
  padding: 16px !important;
  box-sizing: border-box;
}
body.xl-redesign .xl-product-grid dt.itemImage a.f_image {
  height: calc(100% - 48px);
}
body.xl-redesign .xl-product-grid dt.itemImage img {
  max-width: 100% !important;
  max-height: 100% !important;
}
body.xl-redesign .xl-product-grid dd.itemDescription,
body.xl-redesign .xl-product-grid dd.itemDescriptionPrice {
  padding-left: 16px !important;
  padding-right: 16px !important;
}
body.xl-redesign .xl-product-grid dd.itemDescription > a {
  font-size: 15px !important;
  min-height: 3.6em !important;
  font-weight: 700 !important;
}
body.xl-redesign .xl-product-grid dd.itemDescriptionPrice {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 26px !important;
  font-weight: 800 !important;
  margin-top: 10px !important;
  color: #171513 !important;
}
/* buy controls sit under image — restyle as bar */
body.xl-redesign .xl-product-grid dt.itemImage input[name="products_qty"] {
  position: absolute;
  left: 16px;
  bottom: 12px;
  width: 48px !important;
  height: 40px !important;
  margin: 0 !important;
  background: #fff !important;
  border-radius: 10px !important;
  z-index: 2;
}
body.xl-redesign .xl-product-grid dt.itemImage {
  position: relative !important;
}
body.xl-redesign .xl-product-grid dt.itemImage a.button,
body.xl-redesign #content dl.itemNewProductsDefault dt.itemImage a.button {
  position: absolute !important;
  right: 16px;
  bottom: 12px;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(232,102,34,.35);
}

/* ===== Left column: light & quiet ===== */
body.xl-redesign table#middle td.one {
  width: 232px !important;
  padding-right: 20px !important;
}
body.xl-redesign #left .boxStyle {
  margin-bottom: 8px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.xl-redesign #left .boxStyle p.hD,
body.xl-redesign #left .boxStyle h5 {
  height: 38px !important;
  background: transparent !important;
  color: #5c564f !important;
  border: 0 !important;
  border-bottom: 1px solid #ece6de !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0 2px !important;
}
body.xl-redesign #left .boxStyle.active p.hD {
  color: var(--xl-text) !important;
  box-shadow: none !important;
  border-bottom-color: var(--xl-orange-500) !important;
}
body.xl-redesign #left .boxStyle > div,
body.xl-redesign #left .boxStyle .boxcontent {
  border: 0 !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 6px 0 10px !important;
  border-radius: 0 !important;
}
body.xl-redesign #left .boxStyle ul li {
  border-bottom: 0 !important;
}
body.xl-redesign #left .boxStyle ul li a,
body.xl-redesign #left #CatNavi li a {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #3f3a35 !important;
  padding: 6px 8px !important;
  border-radius: 8px !important;
}
body.xl-redesign #left .boxStyle ul li a:hover {
  background: #fff4ec !important;
  color: var(--xl-orange-500) !important;
}
body.xl-redesign #left #boxCategories p.hD {
  background: var(--xl-teal) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 0 12px !important;
  margin-bottom: 6px !important;
  height: 42px !important;
}
body.xl-redesign #left #boxCategories > div {
  background: #fff !important;
  border: 1px solid #e4eef0 !important;
  border-radius: 12px !important;
  padding: 8px !important;
}

/* ===== Right column: redesigned service cards ===== */
body.xl-redesign table#middle td.three {
  width: 280px !important;
  padding-left: 20px !important;
}
body.xl-redesign #right .xl-svc {
  margin-bottom: 12px !important;
  padding: 16px !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid #e4eef0 !important;
  box-shadow: none !important;
}
body.xl-redesign #right .xl-svc__t {
  font-size: 14px !important;
}
body.xl-redesign #right .boxStyle,
body.xl-redesign #right #boxWhatsNew,
body.xl-redesign #right #boxBestsellers,
body.xl-redesign #right #boxReviews,
body.xl-redesign #right .xl-side-card {
  border: 1px solid #e4eef0 !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  background: #fff !important;
  margin-bottom: 14px !important;
  overflow: hidden;
}
body.xl-redesign #right .boxWhatsNewHeader,
body.xl-redesign #right #boxBestsellers h5,
body.xl-redesign #right #boxReviews h5,
body.xl-redesign #right .boxStyle h5,
body.xl-redesign #right .boxStyle p.hD {
  height: 48px !important;
  background: var(--xl-teal-soft) !important;
  color: #0b5f68 !important;
  border: 0 !important;
  border-bottom: 1px solid #d5e8ea !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  padding: 0 16px !important;
  text-align: left !important;
  filter: none !important;
  background-image: none !important;
}
body.xl-redesign #right #boxWhatsNewContent,
body.xl-redesign #right #boxBestsellersContent,
body.xl-redesign #right #boxReviewsContent {
  padding: 14px 16px 16px !important;
}
body.xl-redesign #right #boxWhatsNewContent img {
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(32,29,26,.08);
}
body.xl-redesign #right #boxWhatsNewContent a,
body.xl-redesign #right #boxBestsellersContent a {
  color: #171513 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.35;
}
body.xl-redesign #right #boxBestsellersContent p {
  margin: 0 !important;
}
body.xl-redesign #right #boxBestsellersContent > p:nth-child(3n+1) {
  margin-top: 4px !important;
  font-size: 12px;
  color: var(--xl-muted);
}
body.xl-redesign #right #boxBestsellersContent .BestsellersContentRight {
  margin: 4px 0 14px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid #eef3f4;
}
body.xl-redesign #right #boxBestsellersContent .BestsellersContentRight span {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: var(--xl-orange-500) !important;
}
body.xl-redesign #right #vk_groups,
body.xl-redesign #right script + #vk_groups {
  display: none !important;
}

/* Center content breathing */
body.xl-redesign #content {
  padding-top: 4px !important;
}
body.xl-redesign #wrapper {
  background: transparent !important;
}
