/* Architecture: top-of-page composition (silver_new) */

:root {
  --xl-container: 1480px;
  --xl-gap-section: 48px;
  --xl-teal: #0e8a96;
  --xl-teal-soft: #eef8f9;
}

/* Wider page, dominant center */
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 neutralized -> xl-unity */ width: 100% !important; max-width: var(--xl-shell-max, 1400px) !important;
  max-width: var(--xl-container) !important;
}
@media (min-width: 901px) {
  body.xl-redesign table#middle {
    table-layout: fixed !important;
  }
  body.xl-redesign table#middle td.one {
    width: 210px !important;
    padding: 0 16px 0 0 !important;
  }
  body.xl-redesign table#middle td.three {
    width: 250px !important;
    padding: 0 0 0 16px !important;
  }
  body.xl-redesign table#middle td.two {
    width: auto !important;
  }
}
@media (min-width: 1600px) {
  :root { --xl-container: 1560px; }
}
@media (min-width: 1920px) {
  :root { --xl-container: 1640px; }
}

/* 16+ */
body.xl-redesign .xl-age--header {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 40px !important;
  width: 40px !important;
  height: 40px !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;
}

/* Orange ONLY for primary actions */
body.xl-redesign .xl-cta,
body.xl-redesign .xl-btn--primary,
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 dt.itemImage a.button,
body.xl-redesign .xl-nav__foot-cta {
  background: var(--xl-orange-500) !important;
  color: #fff !important;
}
body.xl-redesign .xl-catalog,
body.xl-redesign .xl-mmenu {
  background: var(--xl-graphite-900) !important;
}
/* demote orange elsewhere */
body.xl-redesign #right #boxBestsellersContent .BestsellersContentRight span {
  color: var(--xl-text) !important;
}
body.xl-redesign .xl-section__link {
  color: var(--xl-teal) !important;
}
body.xl-redesign #left .boxStyle ul li a:hover {
  background: var(--xl-teal-soft) !important;
  color: var(--xl-teal) !important;
}

/* Rhythm */
body.xl-redesign .xl-header { margin-bottom: 32px !important; }
body.xl-redesign .xl-hero { margin-bottom: var(--xl-gap-section) !important; }
body.xl-redesign .xl-section { margin-bottom: var(--xl-gap-section) !important; }
body.xl-redesign .xl-promo { margin: 12px 0 var(--xl-gap-section) !important; }
body.xl-redesign .social,
body.xl-redesign .xl-follow { margin-bottom: var(--xl-gap-section) !important; }
body.xl-redesign .xl-section__title {
  font-size: 30px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}
body.xl-redesign #content > h1 {
  font-size: 28px !important;
  font-weight: 800 !important;
  margin: 0 0 20px !important;
  color: var(--xl-text) !important;
}

/* ===== HERO: real fireworks ===== */
body.xl-redesign .xl-hero {
  min-height: 460px !important;
  padding: 64px 56px !important;
  border-radius: 24px !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  background-color: #0b1220 !important;
  background-image:
    linear-gradient(105deg, rgba(8,12,22,.92) 0%, rgba(8,12,22,.72) 40%, rgba(8,12,22,.25) 70%, rgba(8,12,22,.1) 100%),
    url("../img/hero-fireworks.jpg") !important;
  background-size: cover !important;
  background-position: center right !important;
  box-shadow: 0 22px 50px rgba(8, 12, 22, 0.25) !important;
}
body.xl-redesign .xl-hero__eyebrow {
  font-size: 13px !important;
  letter-spacing: .12em !important;
  color: #f0d59a !important;
  margin-bottom: 16px !important;
}
body.xl-redesign .xl-hero__title {
  max-width: 760px !important;
  font-size: 56px !important;
  line-height: 1.02 !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.035em !important;
  text-shadow: 0 4px 24px rgba(0,0,0,.35);
}
body.xl-redesign .xl-hero__text {
  max-width: 560px !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  margin: 0 0 30px !important;
  color: rgba(255,255,255,.9) !important;
}
body.xl-redesign .xl-hero__actions .xl-btn {
  height: 54px !important;
  padding: 0 28px !important;
  font-size: 15px !important;
  border-radius: 12px !important;
}
body.xl-redesign .xl-hero__actions .xl-btn--ghost {
  border-color: rgba(255,255,255,.55) !important;
  color: #fff !important;
  background: rgba(255,255,255,.06) !important;
}

/* ===== Categories premium ===== */
body.xl-redesign #icSet2.catalog {
  gap: 20px !important;
}
body.xl-redesign #icSet2 a {
  min-height: 220px !important;
  padding: 28px 16px 22px !important;
  border-radius: 20px !important;
  border: 1px solid #ebe4da !important;
  background: #fff !important;
  box-shadow: 0 8px 22px rgba(32,29,26,.04) !important;
}
body.xl-redesign #icSet2 a:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(14,138,150,.35) !important;
  box-shadow: 0 18px 36px rgba(32,29,26,.12) !important;
}
body.xl-redesign #icSet2 img {
  width: 120px !important;
  height: 120px !important;
  transition: transform .22s ease !important;
}
body.xl-redesign #icSet2 a:hover img {
  transform: scale(1.1) translateY(-3px) !important;
}
body.xl-redesign #icSet2 span {
  font-size: 15px !important;
  font-weight: 800 !important;
  margin-top: 8px;
}

/* ===== Products: commodity focus ===== */
body.xl-redesign .xl-product-grid .pageItem,
body.xl-redesign #content .page .pageItem {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
@media (min-width: 1400px) {
  body.xl-redesign .xl-product-grid .pageItem,
  body.xl-redesign #content .page .pageItem {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
body.xl-redesign .xl-product-grid dl.itemNewProductsDefault {
  padding: 0 0 18px !important;
  border-radius: 20px !important;
  border: 1px solid #ebe4da !important;
  box-shadow: 0 10px 28px rgba(32,29,26,.05) !important;
}
body.xl-redesign .xl-product-grid dt.itemImage {
  min-height: 300px !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 0 16px !important;
  padding: 20px !important;
  background: linear-gradient(180deg, #f4f0ea, #fff) !important;
}
body.xl-redesign .xl-product-grid dd.itemDescription,
body.xl-redesign .xl-product-grid dd.itemDescriptionPrice {
  padding-left: 18px !important;
  padding-right: 18px !important;
}
body.xl-redesign .xl-product-grid dd.itemDescription > a {
  font-size: 16px !important;
  font-weight: 800 !important;
  min-height: 3.8em !important;
}
body.xl-redesign .xl-product-grid dd.itemDescriptionPrice {
  font-size: 28px !important;
  margin-top: 12px !important;
  color: #171513 !important;
}
body.xl-redesign .xl-product-grid dt.itemImage a.button {
  height: 44px !important;
  padding: 0 18px !important;
  font-size: 14px !important;
  box-shadow: 0 8px 18px rgba(232,102,34,.35) !important;
}
body.xl-redesign .xl-product-grid dt.itemImage input[name="products_qty"] {
  height: 44px !important;
  width: 52px !important;
}

/* ===== Left: light + collapsed filters ===== */
body.xl-redesign #left .boxStyle {
  margin: 0 0 6px !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: 40px !important;
  background: transparent !important;
  color: #6a635c !important;
  border: 0 !important;
  border-bottom: 1px solid #ece6de !important;
  border-radius: 0 !important;
  font-size: 11px !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  padding: 0 !important;
  cursor: pointer;
}
body.xl-redesign #left .boxStyle.active p.hD {
  color: #171513 !important;
  border-bottom-color: var(--xl-teal) !important;
  box-shadow: none !important;
}
body.xl-redesign #left .bPg {
  background: transparent !important;
}
body.xl-redesign #left .bPg::after {
  border-color: #9a928a !important;
}
/* collapse filter bodies by default; open with .active / .xl-open */
body.xl-redesign #boxHolidays > div,
body.xl-redesign #boxPrices > div,
body.xl-redesign #boxZalp > div {
  display: none !important;
}
body.xl-redesign #boxHolidays.active > div,
body.xl-redesign #boxHolidays.xl-open > div,
body.xl-redesign #boxPrices.active > div,
body.xl-redesign #boxPrices.xl-open > div,
body.xl-redesign #boxZalp.active > div,
body.xl-redesign #boxZalp.xl-open > div {
  display: block !important;
  border: 0 !important;
  background: transparent !important;
  padding: 8px 0 12px !important;
  margin: 0 !important;
}
body.xl-redesign #left .boxStyle ul li a {
  font-size: 13px !important;
  padding: 7px 8px !important;
  color: #454039 !important;
}
body.xl-redesign #left #boxCategories p.hD {
  background: var(--xl-graphite-900) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  padding: 0 14px !important;
  height: 44px !important;
  margin-bottom: 8px !important;
}
body.xl-redesign #left #boxCategories > div {
  display: block !important;
  background: #fff !important;
  border: 1px solid #ece6de !important;
  border-radius: 12px !important;
  padding: 8px !important;
}
body.xl-redesign #left #boxCategories .bPg::after {
  border-color: #fff !important;
}

/* ===== Right: unified modern cards ===== */
body.xl-redesign #right .xl-svc {
  border: 1px solid #e5eef0 !important;
  background: #fff !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  margin-bottom: 12px !important;
}
body.xl-redesign #right .xl-svc--accent {
  background: var(--xl-teal-soft) !important;
  border-color: #d2e7ea !important;
}
body.xl-redesign #right .xl-svc--accent .xl-svc__t {
  color: var(--xl-teal) !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 #e5eef0 !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: 46px !important;
  background: #fff !important;
  color: #171513 !important;
  border: 0 !important;
  border-bottom: 1px solid #eef2f3 !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,
body.xl-redesign #right .boxStyle > div {
  padding: 14px 16px 16px !important;
  border: 0 !important;
  background: #fff !important;
}
body.xl-redesign #right #boxWhatsNewContent img,
body.xl-redesign #right .boxStyle img[src*="reviews"] {
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 12px;
}
body.xl-redesign #right #boxWhatsNewContent a,
body.xl-redesign #right #boxBestsellersContent a {
  color: #171513 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
}
body.xl-redesign #right #boxBestsellersContent .BestsellersContentRight {
  border-bottom: 1px solid #f0f3f4;
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
}
body.xl-redesign #right #vk_groups { display: block !important; }

@media (max-width: 1100px) {
  body.xl-redesign .xl-hero {
    min-height: 340px !important;
    padding: 40px 24px !important;
  }
  body.xl-redesign .xl-hero__title { font-size: 36px !important; }
}
