/* ===///=== Vánoční formátování ===///=== */

/* === ROX – vánoční sada - detail produktu === */

.rox-christmas-set {
  background: #fff8eb;
  border: 1px solid #e8dcc5;
  border-radius: 10px;
  padding: clamp(20px, 4vw, 48px);
  margin: 0;
}

.rox-christmas-set .rox-description-text {
  min-width: 0;
}

.rox-christmas-set .rox-description-text h2 {
  margin: 0 0 1rem;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
}

.rox-christmas-set .rox-christmas-set__label {
  display: block;
  margin: 0 0 10px;
  color: var(--color-primary, #e51b23);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.rox-christmas-set .rox-description-text > p:last-child {
  margin-bottom: 0;
}

.rox-christmas-set .rox-benefits {
  margin: 1.5rem 0 0;
  line-height: 1.6;
}

.rox-christmas-set .rox-benefits h3 {
  margin: 0 0 1rem;
}

.rox-christmas-set .rox-benefits li {
  position: relative;
  padding-left: 32px;
}

.rox-christmas-set .rox-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-primary, #e51b23) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") 50% / 16px 16px no-repeat;
}

.rox-christmas-set .rox-description-block > img {
  display: block;
  aspect-ratio: auto;
}

.rox-christmas-exchange {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e8dcc5;
}

.rox-christmas-exchange > .rox-christmas-exchange__header {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  list-style: none;
  cursor: pointer;
}

.rox-christmas-exchange > summary::-webkit-details-marker {
  display: none;
}

.rox-christmas-exchange > summary:focus-visible {
  outline: 2px solid #a72a27;
  outline-offset: 6px;
  border-radius: 3px;
}

.rox-christmas-exchange__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1e5d0;
  color: #a72a27;
}

.rox-christmas-exchange__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.rox-christmas-exchange__text {
  flex: 1;
  min-width: 0;
}

.rox-christmas-exchange__title {
  display: block;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.rox-christmas-exchange__chevron {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 4px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: translateY(-2px) rotate(45deg);
}

.rox-christmas-exchange[open] > summary .rox-christmas-exchange__chevron {
  transform: translateY(2px) rotate(225deg);
}

.rox-christmas-exchange__content {
  margin: 20px 0 0 60px;
  line-height: 1.65;
}

.rox-christmas-exchange__content > p {
  margin: 0 0 1rem;
}

.rox-christmas-exchange__content > .rox-christmas-exchange__date {
  margin: 1rem 0 0;
  color: #a72a27;
  font-weight: 700;
}

.rox-christmas-exchange__date time {
  white-space: nowrap;
}

.rox-christmas-exchange__content > ul {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
}

.rox-christmas-exchange__content li {
  margin-bottom: .75rem;
  padding-left: .25rem;
}

.rox-christmas-exchange__content li:last-child {
  margin-bottom: 0;
}

.rox-christmas-exchange__content li::marker {
  color: #a72a27;
}

@media (max-width: 768px) {
  .rox-christmas-exchange > .rox-christmas-exchange__header {
    gap: 12px;
  }

  .rox-christmas-exchange__content {
    margin-left: 0;
  }
}



/* ---------------------------------- */


/* Vánoce v hlavním menu */
.navigation-in > ul > li.menu-item-990 > a,
.navigation-in > ul > li.menu-item-990 > a:hover {
    padding-right: 0 !important;
}

.menu-item-990 b {
    position: relative; 
    background-color: #24543C;
    color: #FFF8E8;
    padding: 6px 12px !important;
    font-weight: 700 !important;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

/* Animované podtržení */
.menu-item-990 b::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 1px;
    background-color: currentColor;
    border-radius: 2px;
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

.menu-item-990:hover b,
.menu-item-990 > a:focus-visible b {
    background-color: #193F2C;
    text-decoration: none;
}

.menu-item-990:hover b::after,
.menu-item-990 > a:focus-visible b::after {
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    .menu-item-990 b,
    .menu-item-990 b::after {
        transition: none;
    }
}

/* Úvod kategorie: skutečné jehličí a světla jsou v obrázku pozadí. */
.rox-category-xmas-intro {
  --rox-xmas-bg: url('/user/documents/upload/Kategorie/Vanocni-Kategorie/rox-vanoce-pozadi-V2.jpg');
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  background-color: #fff8eb;
  /* Světlá vrstva chrání text před tmavší částí fotografie. */
  background-image: var(--rox-xmas-bg);
  background-size: cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
.rox-category-xmas-intro,
.rox-category-xmas-intro * {
  box-sizing: border-box;
}
.rox-category-xmas-intro-text {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 36px 0 36px 32px;
}
/* Zachovává původní mechanismus vložení názvu do title-slot. */
.rox-category-xmas-intro .category-title {
  margin: 0 0 16px;
  color: #24543c;
  text-align: left;
  font-weight: 600;
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.18;
}
.rox-category-xmas-intro h2 {
  margin: 0 0 20px;
  color: #252820;
  font-size: clamp(20px, 1.8vw, 25px);
  line-height: 1.35;
  font-weight: 500;
}
.rox-category-xmas-intro p {
  margin: 0 0 14px;
  line-height: 1.6;
  color: #55504c;
}
.rox-category-xmas-intro p:last-child {
  margin-bottom: 0;
}
.rox-category-xmas-intro-art {
  position: relative;
  min-width: 0;
  padding: 54px 24px 36px 14px;
}
.rox-category-xmas-intro .rox-category-xmas-intro-image {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 8px 12px rgb(15 40 25 / 12%));
}

/* Skládání podle skutečné šířky bloku, nejen šířky obrazovky. */
@supports (container-type: inline-size) {
  .rox-category-xmas-intro { container-type: inline-size; }
  @container (max-width: 660px) {
    .rox-category-xmas-intro-text {
      grid-column: 1 / -1;
      padding: 26px 24px;
      background: #fff8eb;
    }
    .rox-category-xmas-intro-art {
      grid-column: 1 / -1;
      padding: 48px 24px 24px;
      background: #24543c var(--rox-xmas-bg) right center / auto 100% no-repeat;
    }
    .rox-category-xmas-intro .rox-category-xmas-intro-image {
      max-width: 480px;
      margin-inline: auto;
    }
  }
}
@media (max-width: 767px) {
  .rox-category-xmas-intro {
    grid-template-columns: minmax(0, 1fr);
    background-image: none;
  }
  .rox-category-xmas-intro-text {
    padding: 26px 22px;
    background: #fff8eb;
  }
  .rox-category-xmas-intro .category-title { font-size: 30px; }
  .rox-category-xmas-intro h2 { font-size: 21px; }
  .rox-category-xmas-intro-art {
    padding: 48px 22px 24px;
    background: #24543c var(--rox-xmas-bg) right center / auto 100% no-repeat;
  }
  .rox-category-xmas-intro .rox-category-xmas-intro-image {
    max-width: 480px;
    margin-inline: auto;
  }
}

/* Popis pod produkty */
.rox-category-xmas-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #e4dcc6;
}
.rox-category-xmas-bottom h2 {
  margin: 0 0 16px;
  color: #24543c;
}
.rox-category-xmas-bottom p {
  margin: 0 0 14px;
  color: #55504c;
  line-height: 1.7;
}
.rox-category-xmas-bottom p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .menu-item-990 b { transition: none; }
  .menu-item-990 > a:hover b { transform: none; }
  .menu-item-990 b::after { display: none; }
}
