/*
 * Footer information band (template/hipnoonline/footer/info.phtml): reviews, payment methods, contact.
 * Linked with ?v=<mtime> by the template itself (HipnoOnline_Content_Block_Footer::getCssUrl).
 *
 * Layout: row 1 is the reviews carousel at full width (3 cards per view from 980px, 2 from 600px, 1
 * below); row 2 is payment and contact, two equal cards stretched to the same height.
 *
 * Literal colours on purpose: the --hp-* tokens of hipno-theme.css theme only the listening surfaces
 * (player, offline page) and turn dark with the player's dark scheme, while the storefront around
 * this band stays light.
 *
 * Palette: page #f4f4f2 / line #e7e5e1 (theme), ink #322c29 (theme brown), soft ink #5c5550,
 * lime #a8df00 only as a background behind dark type (lime text on light fails contrast).
 */
.hipno-foot {
    background: #f4f4f2;
    border-top: 1px solid #ececea;
    padding: 56px 0 52px;
    color: #322c29;
    font-size: 14px;
    line-height: 1.55;
}
.hipno-foot *,
.hipno-foot *::before,
.hipno-foot *::after { box-sizing: border-box; }
.hipno-foot p { margin: 0; }

.hipno-foot__inner { display: flex; flex-direction: column; gap: 28px; }
.hipno-foot__inner::before,
.hipno-foot__inner::after { content: none; display: none; } /* .row clearfix pseudo-elements would be flex items */

.hipno-foot .hipno-foot__title {
    position: relative;
    margin: 0;
    padding: 0 0 12px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #322c29;
}
.hipno-foot .hipno-foot__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: #a8df00;
}

/* ---- Row 1: reviews ------------------------------------------------------------------ */
.hipno-foot__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
    margin-bottom: 22px;
}
.hipno-foot__summary { display: flex; align-items: center; gap: 14px; }
.hipno-foot__score {
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -.02em;
    color: #322c29;
}
.hipno-foot__summary-body { display: flex; flex-direction: column; gap: 4px; }
.hipno-foot__count { font-size: 13px; color: #5c5550; }

.hipno-stars {
    position: relative;
    display: inline-block;
    line-height: 0;
    white-space: nowrap;
    vertical-align: middle;
}
.hipno-stars svg { width: 16px; height: 16px; margin-right: 2px; }
.hipno-stars--lg svg { width: 20px; height: 20px; }
.hipno-stars__base svg { fill: #dcd9d4; }
.hipno-stars__fill { position: absolute; top: 0; left: 0; overflow: hidden; }
.hipno-stars__fill svg { fill: #f2b01e; }

.hipno-reviews__track {
    --gap: 20px;
    --per: 3;
    display: flex;
    gap: var(--gap);
    margin: 0;
    padding: 2px 2px 6px;
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.hipno-reviews__track::-webkit-scrollbar { display: none; }
.hipno-reviews__track:focus-visible { outline: 2px solid #322c29; outline-offset: 4px; border-radius: 14px; }
.hipno-foot .hipno-review {
    flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
    display: flex;
    margin: 0;
    padding: 22px 24px 20px;
    list-style: none;
    background: #fff;
    border: 1px solid #e7e5e1;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    scroll-snap-align: start;
    line-height: 1.55;
}
.hipno-foot .hipno-review::before { content: none; display: none; }
.hipno-review__fig { display: flex; flex-direction: column; width: 100%; margin: 0; }
.hipno-foot .hipno-review__title {
    margin: 12px 0 6px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #322c29;
}
.hipno-foot .hipno-review__text {
    flex: 1 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    quotes: none;
    font-size: 14.5px;
    font-style: normal;
    line-height: 1.6;
    color: #4a4541;
}
.hipno-foot .hipno-review__text::before,
.hipno-foot .hipno-review__text::after { content: none; }
.hipno-foot .hipno-review__text p { margin: 0; }
.hipno-review__who {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #efedea;
    font-size: 13px;
    color: #5c5550;
}
.hipno-review__name { font-weight: 700; color: #322c29; }
.hipno-foot .hipno-review__about a {
    color: #4a5a20;
    text-decoration: underline;
    text-decoration-color: rgba(74, 90, 32, .35);
    text-underline-offset: 2px;
}
.hipno-foot .hipno-review__about a:hover { color: #322c29; text-decoration-color: currentColor; }

.hipno-foot__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: 16px;
}
/* Trustpilot badge: the official logo, unaltered, on white (Trustpilot's brand rules). */
.hipno-foot a.hipno-foot__tp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid #e7e5e1;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    color: #5c5550;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.hipno-foot a.hipno-foot__tp img { display: block; width: 94px; height: 23px; }
.hipno-foot a.hipno-foot__tp:hover { border-color: #00b67a; box-shadow: 0 2px 8px rgba(0, 182, 122, .18); }
.hipno-foot a.hipno-foot__tp:focus-visible { outline: 2px solid #322c29; outline-offset: 3px; }

.hipno-reviews__nav { display: flex; align-items: center; gap: 10px; }
.hipno-reviews__nav[hidden] { display: none; }
.hipno-reviews__pos { min-width: 64px; text-align: center; font-size: 13px; color: #5c5550; font-variant-numeric: tabular-nums; }
.hipno-reviews__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;
    border: 1px solid #d9d6d1;
    border-radius: 50%;
    background: #fff;
    color: #322c29;
    cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.hipno-reviews__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hipno-reviews__btn:hover { background: #a8df00; border-color: #a8df00; color: #11131a; }
.hipno-reviews__btn:focus-visible { outline: 2px solid #322c29; outline-offset: 2px; }

/* ---- Row 2: payment and contact, equal width and height ------------------------------ */
.hipno-foot__pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.hipno-foot__box {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 28px;
    background: #fff;
    border: 1px solid #e7e5e1;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}
.hipno-foot .hipno-payment-icons { gap: 8px !important; }
.hipno-foot .hipno-payment-icons img { border-radius: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.hipno-foot .hipno-foot__note { margin-top: auto; font-size: 13px; color: #5c5550; }
.hipno-foot .hipno-foot__lead { color: #4a4541; font-size: 14.5px; }
.hipno-foot a.hipno-foot__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px 22px;
    border-radius: 999px;
    background: #a8df00;
    color: #11131a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .15s, color .15s;
}
.hipno-foot a.hipno-foot__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linejoin: round; }
.hipno-foot a.hipno-foot__cta:hover { background: #322c29; color: #fff; }
.hipno-foot a.hipno-foot__cta:focus-visible { outline: 2px solid #322c29; outline-offset: 3px; }

.hipno-foot .hipno-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ---- Narrower screens ---------------------------------------------------------------- */
@media (max-width: 979px) {
    .hipno-reviews__track { --per: 2; }
}
@media (max-width: 600px) {
    .hipno-foot { padding: 40px 0 36px; }
    .hipno-foot__inner { padding: 0 16px; gap: 24px; }
    .hipno-reviews__track { --per: 1; --gap: 14px; }
    .hipno-foot .hipno-review { padding: 18px 18px 16px; }
    .hipno-foot__pair { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .hipno-foot__box { padding: 20px; }
    .hipno-foot__score { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    .hipno-reviews__track { scroll-behavior: auto; }
}
