/**
 * HostMafiya - pure_comparison order form (product group page)
 * Replaces the stock style.css for this template. Works together with
 * templates/six/css/custom.css (dark page background, header, footer, icon variables).
 */

:root {
    --s-red: #D90429;
    --s-red-dark: #8B0015;
    --s-gold: #FFD21F;
    --s-ink: #1a1a1a;
}

/* ---- White shell: sidebar + content ------------------------------------- */
.hm-store-shell {
    position: relative;
    padding: 16px;
    color: #333;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.hm-store-grid {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    left: 0;
}
.hm-store-side { position: static; display: block; width: auto; }
.hm-store-main { min-width: 0; }
#order-pure_comparison { width: 100%; margin: 0; padding: 0; line-height: 1.45; font-size: 14px; color: #333; }
.hm-sidebar-toggle { display: none; margin: 0 0 14px; }

/* ---- Sidebar (Six panels, restyled) -------------------------------------- */
.hm-store-side .panel-sidebar {
    margin: 0 0 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
}
.hm-store-side .panel-sidebar > .panel-heading {
    padding: 13px 16px;
    background: linear-gradient(180deg, #d90429, #a50020);
    border: 0;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 12px rgba(217, 4, 41, .25);
    user-select: none;
}
.hm-store-side .panel-sidebar:has(.panel-minimise.minimised) > .panel-heading { border-radius: 10px; }
.hm-store-side .panel-sidebar .panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}
.hm-store-side .panel-sidebar .panel-title > i:first-child { display: none; }
.hm-store-side .panel-sidebar .panel-title::before {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    background-color: #fff;
    -webkit-mask: var(--hm-i-th-large) center / contain no-repeat;
            mask: var(--hm-i-th-large) center / contain no-repeat;
}
.hm-store-side .panel-sidebar:nth-of-type(2) .panel-title::before { -webkit-mask-image: var(--hm-i-bolt); mask-image: var(--hm-i-bolt); }
.hm-store-side .panel-sidebar:nth-of-type(3) .panel-title::before { -webkit-mask-image: var(--hm-i-sync-alt); mask-image: var(--hm-i-sync-alt); }
.hm-store-side .panel-sidebar .panel-title .panel-minimise,
.hm-store-side .panel-sidebar .panel-minimise {
    margin-left: auto;
    color: #fff;
    opacity: .9;
}
.hm-store-side .panel-sidebar .list-group {
    margin: 0;
    background: #fff;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}
.hm-store-side .panel-sidebar .list-group-item {
    padding: 10px 14px;
    color: #2a2a2a;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
}
.hm-store-side .panel-sidebar .list-group-item:last-child { border-bottom: 0; }
.hm-store-side .panel-sidebar .list-group-item i:not(.no-transform) { color: #b9b9b9; }
.hm-store-side .panel-sidebar a.list-group-item:hover,
.hm-store-side .panel-sidebar a.list-group-item:focus { color: var(--s-red); background: #fff5f6; }
.hm-store-side .panel-sidebar .list-group-item.active,
.hm-store-side .panel-sidebar .list-group-item.active:hover,
.hm-store-side .panel-sidebar .list-group-item.active:focus {
    color: #fff;
    background: linear-gradient(180deg, #d90429, #b00022);
    border-color: transparent;
}
.hm-store-side .panel-sidebar .list-group-item.active i { color: #fff; }
.hm-store-side .panel-sidebar .panel-body {
    padding: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}
.hm-store-side select.form-control { border-radius: 6px; }

/* category list: chevron at the right of every item */
.hm-store-side .panel-sidebar:first-of-type a.list-group-item { display: flex; align-items: center; justify-content: space-between; }
.hm-store-side .panel-sidebar:first-of-type a.list-group-item::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-left: 8px;
    background-color: #b5b5b5;
    -webkit-mask: var(--hm-i-chevron-right) center / contain no-repeat;
            mask: var(--hm-i-chevron-right) center / contain no-repeat;
}
.hm-store-side .panel-sidebar:first-of-type a.list-group-item.active::after { background-color: #fff; }

/* ---- Breadcrumb + title ---------------------------------------------------- */
.hm-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 6px;
    font-size: 14px;
    font-weight: 600;
}
.hm-crumbs .hm-ic { width: 15px; height: 15px; color: #222; }
.hm-crumbs a { color: #222; text-decoration: none; }
.hm-crumbs a:hover { color: var(--s-red); }
.hm-crumb-sep { color: #999; }
.hm-crumb-cur { color: var(--s-red); }
#order-pure_comparison .txt-center { padding: 0; text-align: left; }
#order-pure_comparison h3#headline {
    margin: 0 0 6px;
    color: var(--s-ink);
    font-family: "Open Sans", Arial, sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.15;
}
#order-pure_comparison h3#headline .hm-red { color: var(--s-red); }
#order-pure_comparison h5#tagline { margin: 0 0 14px; color: #666; font-size: 15px; font-weight: 400; }
#order-pure_comparison .alert { margin: 14px 0; padding: 14px 16px; border-radius: 10px; }

/* ---- Plan cards slider ----------------------------------------------------------
   4 per row when the area is wide enough, otherwise 3 / 2 / 1; any extra cards
   scroll (arrows on desktop, swipe on touch).                                      */
#products.hm-slider {
    position: relative;
    padding: 0;
    margin: 0;
    container-type: inline-size;
    container-name: hmslider;
}
.hm-track {
    padding: 6px 4px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.hm-track::-webkit-scrollbar { display: none; }
#order-pure_comparison .price-table-container ul.hm-cards {
    display: flex;
    align-items: stretch;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
#order-pure_comparison .price-table-container ul.hm-cards > li {
    display: flex;
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
    background: none;
}
@container hmslider (min-width: 520px) {
    #order-pure_comparison .price-table-container ul.hm-cards > li { flex-basis: calc((100% - 16px) / 2); }
}
@container hmslider (min-width: 780px) {
    #order-pure_comparison .price-table-container ul.hm-cards > li { flex-basis: calc((100% - 32px) / 3); }
}
@container hmslider (min-width: 1040px) {
    #order-pure_comparison .price-table-container ul.hm-cards > li { flex-basis: calc((100% - 48px) / 4); }
}

#order-pure_comparison .price-table-container .price-table {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .09);
    transform: none;
    transition: box-shadow .25s, transform .25s;
}
#order-pure_comparison .price-table-container .price-table:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(217, 4, 41, .2); }
#order-pure_comparison .price-table-container .price-table.active { margin: 0; border-color: var(--s-gold); box-shadow: 0 10px 26px rgba(255, 210, 31, .35); transform: none; }
#order-pure_comparison .price-table-container .price-table .top-head {
    background: linear-gradient(180deg, #d90429, #a50020);
    border-radius: 0;
}
#order-pure_comparison .price-table-container .price-table .top-head .top-area { padding: 24px 10px 14px; border: 0; text-align: center; }
#order-pure_comparison .price-table-container .price-table .top-head .top-area h4 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
}
#order-pure_comparison .price-table-container .price-table .top-head .top-area p { margin: 4px 0 0; color: rgba(255, 255, 255, .9); font-size: 13px; }

.hm-pricebox { padding: 16px 12px 6px; text-align: center; }
.hm-pricebox .price { padding: 0; color: var(--s-ink); font-size: 14px; }
.hm-amount { color: var(--s-ink); font-size: 34px; font-weight: 800; line-height: 1.1; }
.hm-per { color: #444; font-size: 18px; font-weight: 700; }
.hm-from { display: block; color: #777; font-size: 12px; text-transform: uppercase; }
.hm-setup { color: #888; font-size: 12px; }
/* "Featured" flag = small gold tab hanging from the top edge of the card */
.hm-pricebox .popular-plan { position: absolute; top: 0; left: 50%; width: auto; height: auto; margin: 0; transform: translateX(-50%); }
.hm-pricebox .popular-plan .plan-container { position: static; width: auto; height: auto; background: none; }
.hm-pricebox .popular-plan .txt-container {
    display: block;
    width: auto;
    height: auto;
    padding: 3px 14px 4px;
    color: #1a1a1a;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    white-space: nowrap;
    background: var(--s-gold);
    border-radius: 0 0 8px 8px;
    box-shadow: none;
    text-shadow: none;
}

#order-pure_comparison .price-table-container .price-table ul.hm-feat {
    flex: 1 1 auto;
    margin: 8px 0 0;
    padding: 12px 18px;
    list-style: none;
    border-top: 1px solid #f0f0f0;
}
#order-pure_comparison .price-table-container .price-table ul.hm-feat li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    width: auto;
    padding: 5px 0;
    color: #333;
    font-size: 13.5px;
    line-height: 1.35;
    text-align: left;
    border: 0;
}
.hm-feat .hm-ic { flex: none; width: 13px; height: 13px; margin-top: 3px; color: var(--s-red); }
.hm-feat li > span.hm-feat-tx > span { font-weight: 600; }

#order-pure_comparison .price-table-container .price-area { padding: 6px 14px 16px; background: none; border-radius: 0; }
#order-pure_comparison .price-table-container .order-button,
#order-pure_comparison .price-table-container .order-button:hover {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    text-shadow: none;
    background: linear-gradient(180deg, #d90429, #a50020);
    border: 0;
    border-radius: 6px;
    filter: none;
}
#order-pure_comparison .price-table-container .order-button:hover { filter: brightness(1.12); }
#order-pure_comparison .price-table-container .order-button .hm-ic { width: 14px; height: 14px; }
#order-pure_comparison .price-table-container .order-button.unavailable,
#order-pure_comparison .price-table-container .order-button.unavailable:hover { background: #6b6b6b; cursor: not-allowed; filter: none; }

/* slider arrows (only when there are more cards than fit) */
.hm-arrow {
    position: absolute;
    top: 46%;
    z-index: 3;
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    color: var(--s-red);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}
.hm-arrow .hm-ic { width: 14px; height: 14px; }
.hm-arrow:hover:not(:disabled) { color: #fff; background: var(--s-red); border-color: var(--s-red); }
.hm-arrow:disabled { opacity: .35; cursor: default; }
.hm-prev { left: -14px; }
.hm-next { right: -14px; }
#products.hm-has-overflow .hm-arrow { display: flex; }

/* ---- "Included with every plan" strip (only printed when the group has feature text) ---- */
#order-pure_comparison .includes-features {
    max-width: none;
    margin: 6px 0 0;
    padding: 18px 22px 16px;
    background: #fbf6f6;
    border: 1px solid #f1dcdc;
    border-radius: 12px;
}
#order-pure_comparison .includes-features .row { margin: 0; }
#order-pure_comparison .includes-features .col-md-12 { padding: 0; }
#order-pure_comparison .includes-features .head-area { margin: 0 0 12px; text-align: left; background: none; }
#order-pure_comparison .includes-features .head-area span {
    display: inline-block;
    padding: 6px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(180deg, #d90429, #a50020);
    border-radius: 999px;
}
#order-pure_comparison .includes-features ul.list-features { display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0; padding: 0; list-style: none; }
#order-pure_comparison .includes-features ul.list-features li {
    position: relative;
    display: block;
    width: 33.33%;
    margin: 0;
    padding: 0 10px 0 26px;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    background: none;
}
#order-pure_comparison .includes-features ul.list-features li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 14px;
    height: 14px;
    background-color: var(--s-red);
    -webkit-mask: var(--hm-i-check-circle) center / contain no-repeat;
            mask: var(--hm-i-check-circle) center / contain no-repeat;
}

/* ---- Responsive ------------------------------------------------------------------ */
@media (max-width: 991px) {
    .hm-store-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .hm-sidebar-toggle { display: inline-block; }
    .hm-store-side { display: none; margin-bottom: 14px; }
    .hm-store-shell.hm-side-open .hm-store-side { display: block; }
    .hm-prev { left: -8px; }
    .hm-next { right: -8px; }
    #order-pure_comparison .includes-features ul.list-features li { width: 50%; }
}
@media (max-width: 767px) {
    .hm-store-shell { padding: 12px; border-radius: 16px; }
    #order-pure_comparison .includes-features ul.list-features li { width: 100%; }
}
