/* Apparition au défilement */
.ht-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.ht-reveal.ht-revealed {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .ht-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Section programmée */
.ht-scheduled-section {
    clear: both;
    width: 100%;
    padding: 30px 0;
}
.ht-scheduled-content {
    text-align: center;
}
.ht-scheduled-title {
    margin-bottom: 12px;
}
.ht-scheduled-text {
    margin-bottom: 16px;
}
.ht-scheduled-text img {
    max-width: 100%;
    height: auto;
}
.ht-countdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16px;
}
.ht-countdown-label {
    font-weight: 600;
}
.ht-countdown-units {
    display: inline-flex;
    gap: 8px;
}
.ht-cd-unit {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    min-width: 58px;
    padding: 6px 8px;
    border-radius: 6px;
    background-color: #222;
    color: #fff;
    line-height: 1.1;
}
.ht-cd-unit b {
    font-size: 1.5em;
    font-variant-numeric: tabular-nums;
}
.ht-cd-unit small {
    font-size: .7em;
    text-transform: uppercase;
    opacity: .85;
}

/* Fond de la section programmée : neutre, plein ou saisonnier */
.ht-sched-bg-neutral,
.ht-sched-bg-solid,
.ht-sched-bg-seasonal {
    position: relative;
    overflow: hidden;
    padding: 45px 0;
    color: var(--seasonal-text-color);
    text-shadow: var(--seasonal-text-shadow, none);
}
.ht-sched-bg-neutral {
    --seasonal-text-color: #1f1f23;
    background-color: #fff;
}
.ht-sched-bg-neutral .ht-scheduled-title,
.ht-sched-bg-solid .ht-scheduled-title,
.ht-sched-bg-seasonal .ht-scheduled-title,
.ht-sched-bg-solid .ht-scheduled-text,
.ht-sched-bg-solid .ht-scheduled-text *,
.ht-sched-bg-seasonal .ht-scheduled-text,
.ht-sched-bg-seasonal .ht-scheduled-text * {
    color: var(--seasonal-text-color);
}
.ht-sched-bg-solid .ht-scheduled-text a,
.ht-sched-bg-seasonal .ht-scheduled-text a {
    text-decoration: underline;
}
.ht-sched-bg-solid .ht-countdown .ht-cd-unit,
.ht-sched-bg-seasonal .ht-countdown .ht-cd-unit {
    background-color: var(--seasonal-accent-color) !important;
    color: var(--seasonal-accent-text) !important;
    text-shadow: none;
}
.ht-sched-bg-seasonal > .container {
    position: relative;
    z-index: 1;
}
.ht-seasonal-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.ht-sched-bg-seasonal.ht-seasonal-protect .ht-scheduled-content {
    display: inline-block;
    padding: 18px 28px;
    border-radius: 12px;
    background-color: var(--seasonal-protect-color, rgba(0, 0, 0, .35));
}
.ht-sched-bg-seasonal .container {
    text-align: center;
}

.ht-sched-bg-seasonal[data-season="christmas"] {
    --seasonal-background-color: #12402f;
    --seasonal-text-color: #fffdf7;
    --seasonal-accent-color: #c8102e;
    --seasonal-accent-text: #fff;
    --seasonal-text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
    background-color: var(--seasonal-background-color);
    background-image: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 236, 179, .16), rgba(255, 236, 179, 0) 70%), linear-gradient(165deg, #0f3d2e 0%, #17603f 55%, #0b2a20 100%);
}
.ht-sched-bg-seasonal[data-season="newyear"] {
    --seasonal-background-color: #141838;
    --seasonal-text-color: #fdf8e8;
    --seasonal-accent-color: #d4af37;
    --seasonal-accent-text: #15120a;
    --seasonal-text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    background-color: var(--seasonal-background-color);
    background-image: radial-gradient(ellipse 50% 60% at 80% 10%, rgba(212, 175, 55, .22), rgba(212, 175, 55, 0) 70%), linear-gradient(165deg, #0d1028 0%, #1d2252 60%, #0a0c1f 100%);
}
.ht-sched-bg-seasonal[data-season="winter"] {
    --seasonal-background-color: #e3eef8;
    --seasonal-text-color: #16304d;
    --seasonal-accent-color: #2f6db5;
    --seasonal-accent-text: #fff;
    --seasonal-text-shadow: 0 1px 2px rgba(255, 255, 255, .7);
    --seasonal-protect-color: rgba(255, 255, 255, .6);
    background-color: var(--seasonal-background-color);
    background-image: linear-gradient(170deg, #f4f8fc 0%, #dbe9f6 55%, #c9dcef 100%);
}
.ht-sched-bg-seasonal[data-season="valentine"] {
    --seasonal-background-color: #ffd3de;
    --seasonal-text-color: #5a0f24;
    --seasonal-accent-color: #c2185b;
    --seasonal-accent-text: #fff;
    --seasonal-text-shadow: 0 1px 2px rgba(255, 255, 255, .6);
    --seasonal-protect-color: rgba(255, 255, 255, .6);
    background-color: var(--seasonal-background-color);
    background-image: linear-gradient(165deg, #ffe8ee 0%, #ffc6d4 60%, #ffdbe4 100%);
}
.ht-sched-bg-seasonal[data-season="spring"] {
    --seasonal-background-color: #eaf6e4;
    --seasonal-text-color: #1f3d1f;
    --seasonal-accent-color: #c2457c;
    --seasonal-accent-text: #fff;
    --seasonal-text-shadow: 0 1px 2px rgba(255, 255, 255, .6);
    --seasonal-protect-color: rgba(255, 255, 255, .6);
    background-color: var(--seasonal-background-color);
    background-image: linear-gradient(165deg, #f5fbf1 0%, #e0f2d8 55%, #fdeef5 100%);
}
.ht-sched-bg-seasonal[data-season="easter"] {
    --seasonal-background-color: #f6f1fb;
    --seasonal-text-color: #352c4f;
    --seasonal-accent-color: #6f5aa8;
    --seasonal-accent-text: #fff;
    --seasonal-text-shadow: 0 1px 2px rgba(255, 255, 255, .6);
    --seasonal-protect-color: rgba(255, 255, 255, .6);
    background-color: var(--seasonal-background-color);
    background-image: linear-gradient(165deg, #fff8e6 0%, #eef5ff 55%, #f5ecff 100%);
}
.ht-sched-bg-seasonal[data-season="summer"] {
    --seasonal-background-color: #ffe2a8;
    --seasonal-text-color: #3a2706;
    --seasonal-accent-color: #c45f0a;
    --seasonal-accent-text: #fff;
    --seasonal-text-shadow: 0 1px 2px rgba(255, 255, 255, .55);
    --seasonal-protect-color: rgba(255, 255, 255, .55);
    background-color: var(--seasonal-background-color);
    background-image: linear-gradient(170deg, #fff6dc 0%, #ffe0a3 50%, #a8dcea 100%);
}
.ht-sched-bg-seasonal[data-season="autumn"] {
    --seasonal-background-color: #4a2610;
    --seasonal-text-color: #fff3e3;
    --seasonal-accent-color: #e07a2e;
    --seasonal-accent-text: #1e0f05;
    --seasonal-text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    background-color: var(--seasonal-background-color);
    background-image: radial-gradient(ellipse 60% 70% at 20% 0%, rgba(255, 170, 80, .2), rgba(255, 170, 80, 0) 70%), linear-gradient(165deg, #3a1f0f 0%, #6b3410 55%, #2b170b 100%);
}
.ht-sched-bg-seasonal[data-season="halloween"] {
    --seasonal-background-color: #1f1429;
    --seasonal-text-color: #fbf6ff;
    --seasonal-accent-color: #ff7518;
    --seasonal-accent-text: #1a0d02;
    --seasonal-text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    background-color: var(--seasonal-background-color);
    background-image: linear-gradient(165deg, #17101f 0%, #2c173a 55%, #120c18 100%);
}
.ht-sched-bg-seasonal[data-season="blackfriday"] {
    --seasonal-background-color: #111;
    --seasonal-text-color: #fbf7ea;
    --seasonal-accent-color: #d4af37;
    --seasonal-accent-text: #111;
    --seasonal-text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    background-color: var(--seasonal-background-color);
    background-image: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(212, 175, 55, .16), rgba(212, 175, 55, 0) 70%), linear-gradient(165deg, #0a0a0a 0%, #1e1e1e 60%, #000 100%);
}


/* BizKick RC12 — avis produits : palette dynamique par boutique. */
body#product .product-comments-additional-info {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start;
  gap: 12px 20px; margin: 20px 0; padding: 16px 0;
  border: 0; border-top: 1px solid var(--bk-review-border, rgba(35,35,35,.12)); border-radius: 0; background: none;
}
body#product .product-comments-additional-info .comments-note { margin: 0; }
body#product .product-comments-additional-info .link-comment.post-product-comment { margin: 0; border-left: 0; }
body#product .product-comments-additional-info .post-product-comment,
body#product #empty-product-comment .post-product-comment,
body#product #product-comments-list-footer .post-product-comment,
body#product #product-comments-list-header .post-product-comment,
body#product #product-comments-list .post-product-comment {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  box-sizing: border-box; width: auto; max-width: 100%; height: auto; min-height: 44px;
  margin: 0; padding: 10px 18px; border: 1px solid var(--bk-review-accent, currentColor) !important;
  border-radius: 6px !important; background: var(--bk-review-accent, #fff) !important; color: var(--bk-review-on-accent, #222) !important;
  box-shadow: none !important; filter: none !important; text-shadow: none;
  font-family: inherit; font-size: 14px; font-weight: 500; line-height: 1.4;
  letter-spacing: .01em; text-transform: none; text-align: center; white-space: normal;
  text-decoration: none; cursor: pointer;
  transition: background-color .24s ease, color .24s ease, border-color .24s ease, box-shadow .24s ease;
}
body#product .product-comments-additional-info .post-product-comment .material-icons,
body#product #empty-product-comment .post-product-comment .material-icons,
body#product #product-comments-list-footer .post-product-comment .material-icons,
body#product #product-comments-list-header .post-product-comment .material-icons,
body#product #product-comments-list .post-product-comment .material-icons { font-size: 18px; line-height: 1; margin: 0; color: inherit; }
body#product .product-comments-additional-info .post-product-comment:hover,
body#product #empty-product-comment .post-product-comment:hover,
body#product #product-comments-list-footer .post-product-comment:hover,
body#product #product-comments-list-header .post-product-comment:hover,
body#product #product-comments-list .post-product-comment:hover {
  background: var(--bk-review-hover, #eee) !important; color: var(--bk-review-on-hover, #222) !important; border-color: var(--bk-review-hover, currentColor) !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.09) !important;
}
body#product .product-comments-additional-info .post-product-comment:focus-visible,
body#product #empty-product-comment .post-product-comment:focus-visible,
body#product #product-comments-list-footer .post-product-comment:focus-visible,
body#product #product-comments-list-header .post-product-comment:focus-visible,
body#product #product-comments-list .post-product-comment:focus-visible { outline: 2px solid var(--bk-review-focus, currentColor); outline-offset: 3px; }
body#product #product-comments-list-header {
  clear: both; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 12px; padding: 16px 0; margin: 24px 0 0;
  border-bottom: 1px solid var(--bk-review-border, rgba(35,35,35,.15)); text-align: left; color: inherit;
}
body#product #product-comments-list-header .comments-nb { padding: 0; font-size: 16px; font-weight: 600; color: inherit; }
body#product #product-comments-list { display: block; width: 100%; max-width: 100%; }
body#product #empty-product-comment { padding: 24px 0; margin: 0 0 12px; border: 0; border-radius: 0; box-shadow: none; background: transparent; text-align: left; }
body#product #product-comments-list .product-comment-list-item {
  box-sizing: border-box; padding: 20px; margin: 16px 0; border: 1px solid var(--bk-review-border, #e8e5e7);
  border-radius: 8px; box-shadow: none; background: var(--bk-review-surface, #fff); color: var(--bk-review-ink, #222);
}
body#product #product-comments-list .comment-infos { height: auto; min-height: 0; color: var(--bk-review-ink, #625e63); }
body#product #product-comments-list .comment-content h4 { height: auto; margin: 0 0 10px; }
body#product #product-comments-list .comment-content p { overflow-wrap: anywhere; }
body#product #product-comments-list-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0 24px; margin-top: 12px; border-top: 1px solid var(--bk-review-border, rgba(35,35,35,.12)); }
body#product #product-comments-list-pagination { position: static; height: auto; margin: 0; }
body#product #product-comments-list-pagination ul { flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
body#product #product-comments-list-pagination ul li span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; width: auto; height: 34px; padding: 0 8px; border: 1px solid var(--bk-review-border, #dedade); border-radius: 5px; background: var(--bk-review-surface, #fff); color: var(--bk-review-ink, #222); }
body#product #product-comments-list-pagination ul li.active span { background: var(--bk-review-accent, #222); border-color: var(--bk-review-accent, #222); color: var(--bk-review-on-accent, #fff); }
@media (max-width: 575px) {
  body#product #product-comments-list-footer { align-items: flex-start; flex-direction: column; }
  body#product #product-comments-list .product-comment-list-item { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  body#product .product-comments-additional-info .post-product-comment,
  body#product #empty-product-comment .post-product-comment,
  body#product #product-comments-list-footer .post-product-comment,
  body#product #product-comments-list-header .post-product-comment,
  body#product #product-comments-list .post-product-comment { transition: none; }
}

/* Review form controls use the same palette; no impact on other buttons. */
body#product .product-comment-modal .btn-comment:not(.btn-comment-inverse) {
  background: var(--bk-review-accent, #fff) !important;
  color: var(--bk-review-on-accent, #222) !important;
  border: 1px solid var(--bk-review-accent, currentColor) !important;
  border-radius: 6px; min-height: 44px; height: auto; padding: 10px 18px;
  filter: none !important; box-shadow: none; line-height: 1.4; white-space: normal;
  transition: background-color .24s ease, color .24s ease, border-color .24s ease;
}
body#product .product-comment-modal .btn-comment:not(.btn-comment-inverse):hover {
  background: var(--bk-review-hover, #eee) !important;
  color: var(--bk-review-on-hover, #222) !important;
  border-color: var(--bk-review-hover, currentColor) !important;
}
body#product .product-comment-modal .btn-comment-inverse {
  background: var(--bk-review-surface, #fff) !important;
  color: var(--bk-review-ink, #222) !important;
  border: 1px solid var(--bk-review-border, #ddd) !important;
  border-radius: 6px; min-height: 44px; height: auto; padding: 10px 18px;
  filter: none !important; box-shadow: none; line-height: 1.4; white-space: normal;
}
body#product .product-comment-modal .btn-comment:focus-visible,
body#product .product-comment-modal .btn-comment-inverse:focus-visible {
  outline: 2px solid var(--bk-review-focus, currentColor); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  body#product .product-comment-modal .btn-comment { transition: none; }
}
