/* Catalog redesign - scoped to /products/websitesCatalog only */

body.websitesCatalog {
    --cx-ink: #1B1630;
    --cx-ink-soft: #4A4560;
    --cx-muted: #7C7891;
    --cx-bg: #FFFFFF;
    --cx-bg-soft: #F8F7FC;
    --cx-line: #ECEAF4;
    --cx-purple: #6C2BB9;
    --cx-blue: #1E9FE0;
    --cx-primary: #027ACA;
    --cx-green: #1FB457;
    --cx-grad-btn: linear-gradient(135deg, #027ACA, #6C2BB9);
    --cx-shadow-sm: 0 1px 3px rgba(28, 22, 48, 0.06), 0 1px 2px rgba(28, 22, 48, 0.04);
    --cx-shadow: 0 12px 34px rgba(28, 22, 48, 0.09);
    --cx-shadow-lg: 0 30px 70px rgba(28, 22, 48, 0.14);
    background: var(--cx-bg-soft);
    color: var(--cx-ink);
}

body.websitesCatalog .websiteContainer {
    background: var(--cx-bg-soft);
}

/* The whole catalog is sized border-box (as the design reference is), so borders and
   padding never push an element past the width/height it was given. Scoped to the
   catalog section so the top menu, side menu and footer keep their own box model. */
body.websitesCatalog section.products,
body.websitesCatalog section.products *,
body.websitesCatalog section.products *::before,
body.websitesCatalog section.products *::after {
    box-sizing: border-box;
}

body.websitesCatalog section.products {
    text-align: right;
    background: transparent;
    background-image: none;
    padding: 24px 22px 60px;
    position: relative;
    width: 100%;
    max-width: 1320px;
    min-width: 0;
    margin-inline: auto;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-family: 'Assistant', system-ui, sans-serif;
}

body.websitesCatalog .catalogVisuallyHidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Title */
body.websitesCatalog .cx-titlebar {
    padding: 30px 0 6px;
}

body.websitesCatalog .cx-titlebar h1 {
    font-size: 2.05rem;
    font-weight: 800;
    color: var(--cx-ink);
    letter-spacing: -0.6px;
    line-height: 1.2;
}

/* Tabs */
body.websitesCatalog .cx-tabsbar {
    padding-top: 18px;
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog .productsCategoryButtons {
    display: none;
}

body.websitesCatalog .productsCategoryButtons .categoryButton {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--cx-line);
    border-bottom: 0;
    border-radius: 13px 13px 0 0;
    padding: 11px 19px 12.5px;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--cx-ink-soft);
    cursor: pointer;
    transition: 0.15s;
    white-space: nowrap;
    background: #fff;
    margin: 0;
    overflow: visible;
    flex-basis: auto;
    min-height: 0;
    line-height: 1.6;
}

body.websitesCatalog .productsCategoryButtons .categoryButton:hover {
    color: var(--cx-purple);
    background: rgba(108, 43, 185, 0.06);
}

body.websitesCatalog .productsCategoryButtons .categoryButton.active {
    background: rgba(108, 43, 185, 0.1);
    color: var(--cx-purple);
    border-color: rgba(108, 43, 185, 0.22);
    padding: 11px 19px 17px;
    font-weight: 800;
    min-height: 0;
}

body.websitesCatalog .productsCategoryButtons .categoryButton.salesButton {
    background: linear-gradient(135deg, #F59E0B, #E0790A);
    border-color: transparent;
    color: #fff;
}

body.websitesCatalog .productsCategoryButtons .categoryButton.salesButton:hover {
    filter: brightness(1.06);
}

body.websitesCatalog .productsCategoryButtons .categoryButton.salesButton.active {
    background: linear-gradient(135deg, #F59E0B, #E0790A);
    color: #fff;
    padding-bottom: 17px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

body.websitesCatalog .productsCategoryButtons .categoryButton.packagesTab {
    background: var(--cx-grad-btn);
    border-color: transparent;
    color: #fff;
    text-decoration: none;
}

body.websitesCatalog .productsCategoryButtons .categoryButton.packagesTab:hover {
    filter: brightness(1.08);
    color: #fff;
}

body.websitesCatalog .productsCategoryButtons .categoryButton.favoritesTabBtn {
    padding: 12px 17px;
}

body.websitesCatalog .productsCategoryButtons .categoryButton.favoritesTabBtn img {
    width: 19px;
    height: 19px;
    filter: invert(60%) sepia(90%) saturate(500%) hue-rotate(5deg) brightness(100%);
}

body.websitesCatalog .productsCategoryButtons .categoryButton i {
    font-size: 18px;
}

body.websitesCatalog .productsCategoryButtons.stickyMenu {
    position: fixed;
    top: 80px;
    z-index: 99;
    background: var(--cx-bg-soft);
    box-shadow: none;
    padding-top: 8px;
}

/* Mobile category + actions */
body.websitesCatalog .cx-mpanel {
    display: flex;
    flex-direction: column;
    gap: 9px;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 16px;
    box-shadow: var(--cx-shadow-sm);
    padding: 11px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog .productsCategoryButtonsMobile {
    display: block;
    position: relative;
    background: #fff;
    border: 1.5px solid var(--cx-line);
    border-radius: 13px;
    margin: 0;
    font-size: 0.97rem;
}

body.websitesCatalog .mobileCategorySelected {
    font-weight: 800;
    color: var(--cx-ink);
    padding: 15px 16px;
    width: 100%;
    text-align: right;
}

body.websitesCatalog .mobileCategorySelected.salesButton {
    background: linear-gradient(135deg, #F59E0B, #E0790A);
    color: #fff;
    border-radius: 12px;
}

body.websitesCatalog .mobileCategoryArrow {
    color: var(--cx-purple);
    position: absolute;
    top: 14px;
    left: 14px;
}

body.websitesCatalog .mobileCategoryDropdown {
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 14px;
    z-index: 30;
}

body.websitesCatalog .mobileCategoryItem {
    width: 100%;
    padding: 13px 14px;
    text-align: right;
    color: var(--cx-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

body.websitesCatalog .mobileCategoryItem:hover {
    background: var(--cx-bg-soft);
    color: var(--cx-purple);
}

body.websitesCatalog .mact-acc-wrap {
    position: relative;
}

body.websitesCatalog .mact-acc-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff;
    color: var(--cx-ink);
    border: 1.5px solid var(--cx-line);
    border-radius: 13px;
    padding: 15px 16px;
    font-weight: 800;
    font-size: 0.97rem;
    cursor: pointer;
}

body.websitesCatalog .mact-acc-btn .material-icons {
    color: var(--cx-primary);
}

body.websitesCatalog .mact-acc-menu {
    margin-top: 8px;
    display: none;
    flex-direction: column;
    gap: 7px;
}

body.websitesCatalog .mact-acc-menu.open {
    display: flex;
}

body.websitesCatalog .mact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    background: var(--cx-bg-soft);
    border: 1px solid var(--cx-line);
    border-radius: 11px;
    padding: 13px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--cx-ink);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

body.websitesCatalog .mact-item .material-icons {
    color: var(--cx-primary);
    font-size: 18px;
}

body.websitesCatalog .mact-item:hover {
    background: #fff;
    border-color: var(--cx-primary);
}

/* Filters */
body.websitesCatalog .productsGalleryContainer {
    display: none;
    background: transparent;
    border-radius: 0;
    border-top: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: auto;
}

body.websitesCatalog .productsGalleryContainer.show {
    display: block;
}

body.websitesCatalog .productsGalleryContainer .productsFilters {
    position: relative;
    z-index: 4;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--cx-shadow-sm);
    padding: 20px;
    margin-bottom: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filtersRow {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filtersRow .filterColumn {
    margin-bottom: 0;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput {
    display: flex;
    flex-direction: column;
    margin: 0;
    color: var(--cx-ink);
}

body.websitesCatalog .fl-search {
    flex: 0 1 260px;
    min-width: 190px;
    position: relative;
}

body.websitesCatalog .fl-search .material-icons {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cx-muted);
    pointer-events: none;
    font-size: 20px;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .fl-search input,
body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput input,
body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput select,
body.websitesCatalog .productsFilters .productsSort select {
    width: 100%;
    border: 1.5px solid var(--cx-line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 0.95rem;
    background: #fff;
    color: var(--cx-ink);
    box-shadow: none;
    margin: 0;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .fl-search input {
    padding-inline-start: 42px;
}

/* The sort control sits in an auto-width column, so a percentage width here would
   resolve against an indefinite container and blow the column across the row. */
body.websitesCatalog .productsFilters .productsSort select {
    width: auto;
    max-width: 100%;
    cursor: pointer;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput input:focus,
body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput select:focus,
body.websitesCatalog .productsFilters .productsSort select:focus {
    outline: 0;
    border-color: var(--cx-primary);
}

body.websitesCatalog .tp-wrap {
    flex: 1 1 200px;
    min-width: 150px;
    max-width: none;
    position: relative;
}

body.websitesCatalog #tpLabel {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 1 auto;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput.topicFilter .selectDiv,
body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput .selectDiv {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    border: 1.5px solid var(--cx-line);
    border-radius: 11px;
    padding: 9px 12px;
    background: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--cx-ink-soft);
    cursor: pointer;
    box-shadow: none;
    margin: 0;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput .selectDiv:hover {
    border-color: var(--cx-primary);
}

body.websitesCatalog .topicFilter .inputDropdown {
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-start: 0;
    z-index: 30;
    width: min(420px, 86vw);
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 14px;
    box-shadow: 0 24px 50px -20px rgba(20, 16, 40, 0.4);
    padding: 12px;
    display: none;
}

body.websitesCatalog .topicFilter .inputDropdown.open {
    display: block;
}

body.websitesCatalog .tp-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    max-height: 270px;
    overflow: auto;
    direction: rtl;
}

body.websitesCatalog .tp-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 9px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--cx-ink);
    direction: rtl;
    min-width: 0;
    width: 100%;
    white-space: nowrap;
}

body.websitesCatalog .tp-item:hover {
    background: var(--cx-bg-soft);
}

body.websitesCatalog .tp-item input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    accent-color: var(--cx-primary);
    margin: 0;
    order: 0;
}

body.websitesCatalog .tp-item span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

body.websitesCatalog .tp-foot {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

body.websitesCatalog .tp-foot button {
    flex: 1;
    border: 0;
    border-radius: 9px;
    padding: 9px;
    font-weight: 800;
    cursor: pointer;
    font-size: 0.85rem;
}

body.websitesCatalog #tpClear {
    background: var(--cx-bg-soft);
    color: var(--cx-ink-soft);
    border: 1px solid var(--cx-line);
}

body.websitesCatalog #tpApply {
    background: var(--cx-grad-btn);
    color: #fff;
}

body.websitesCatalog .fl-sortf,
body.websitesCatalog .fl-promo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    position: relative;
}

body.websitesCatalog .fl-sortf {
    white-space: nowrap;
    z-index: 1;
}

body.websitesCatalog .productsFilters .productsSort {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: auto;
    color: var(--cx-ink-soft);
}

body.websitesCatalog .productsFilters .productsSort .title {
    font-weight: 800;
    font-size: 0.9rem;
}

body.websitesCatalog .productsGalleryContainer .filterByDomainButton button#filterByDomainButton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0B2A45;
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 13px 22px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    max-width: 100%;
}

body.websitesCatalog .productsGalleryContainer .filterByDomainButton {
    margin-right: 0;
}

body.websitesCatalog .productsGalleryContainer .filterAndTooltip {
    align-items: center;
    gap: 8px;
    min-width: 0;
}

body.websitesCatalog .productsGalleryContainer .filterAndTooltip .questionMark {
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--cx-primary);
    box-shadow: none;
    border: 0;
    color: #fff;
    font-weight: 800;
    font-size: 0.82rem;
    margin: 0;
}

body.websitesCatalog .productsGalleryContainer .filterAndTooltip .questionMark .material-icons {
    font-size: 15px;
}

body.websitesCatalog .cancelMultipleWebsites,
body.websitesCatalog .productsGalleryContainer .filterByDomainButton button.cancelFilterByDomain {
    flex: none;
    width: 26px;
    height: 26px;
    top: auto;
    left: auto;
    margin: 0;
    padding: 0;
    background: rgba(18, 122, 59, 0.12);
    color: #127a3b;
    border: 0;
    box-shadow: none;
    border-radius: 7px;
    font-size: 0.95rem;
    font-weight: 800;
}

body.websitesCatalog .filterButtonsRow.domainsFilter {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
}

body.websitesCatalog .filterButtonsRow button {
    margin: 0;
}

body.websitesCatalog .filterByDomainsTopicsBtn {
    border-radius: 12px;
}

/* Advanced filters */
body.websitesCatalog .fl-adv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog #expandFiltersButton {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    color: var(--cx-purple);
    font-weight: 800;
    font-size: 0.9rem;
    border-radius: 0;
    cursor: pointer;
    padding: 2px;
}

body.websitesCatalog #expandFiltersButton .material-icons {
    transition: transform 0.2s;
}

body.websitesCatalog #expandFiltersButton.open .material-icons {
    transform: rotate(180deg);
}

body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters {
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    max-height: 0;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters.open {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px dashed var(--cx-line);
    overflow: visible;
    pointer-events: auto;
    max-height: none;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters .filtersRow,
body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters.open .filtersRow,
body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters.open .filtersRow.secondRow,
body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters.open .filtersRow.marginTop {
    opacity: 1;
    height: auto;
    overflow: visible;
    margin-top: 0;
}

body.websitesCatalog .fl-adv-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    width: 100%;
}

body.websitesCatalog .fl-lbl {
    display: block;
    font-weight: 800;
    font-size: 0.82rem;
    color: var(--cx-ink);
    margin-bottom: 6px;
}

body.websitesCatalog .fl-two {
    display: flex;
    gap: 8px;
}

body.websitesCatalog .fl-two input {
    width: 100%;
    min-width: 0;
}

body.websitesCatalog .fl-checks {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 16px;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput.checkbox label {
    margin-right: 0;
    font-weight: 700;
    color: var(--cx-ink-soft);
    font-size: 0.86rem;
    white-space: normal;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filterInput.checkbox input {
    width: 17px;
    height: 17px;
    accent-color: var(--cx-primary);
}

body.websitesCatalog .citySearchDropdown {
    border: 1px solid var(--cx-line);
    border-radius: 12px;
}

body.websitesCatalog .citySearchDropdown button {
    color: var(--cx-ink);
}

body.websitesCatalog .citySearchDropdown button:hover {
    background: var(--cx-bg-soft);
    color: var(--cx-purple);
}

/* Toolbar */
body.websitesCatalog .productsGalleryContainer .productsGalleryInfo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0 0 16px;
    padding: 0;
}

body.websitesCatalog .productsGalleryContainer .productsGalleryInfo .rightColumn,
body.websitesCatalog .productsGalleryContainer .productsGalleryInfo .websiteQty {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--cx-ink-soft);
}

body.websitesCatalog .productsGalleryContainer .productsGalleryInfo .websiteQty .text {
    width: auto;
    font-weight: 700;
    font-size: 0.95rem;
}

body.websitesCatalog .productsGalleryContainer .productsGalleryInfo #websitesQty {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cx-purple);
}

body.websitesCatalog .cx-tools {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

body.websitesCatalog .cx-addsite,
body.websitesCatalog #clearCatalogFilters,
body.websitesCatalog #excelDownloadCatalog {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 11px;
    padding: 9px 15px;
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    background: #fff;
}

body.websitesCatalog #clearCatalogFilters {
    border: 1.5px solid var(--cx-line);
    color: var(--cx-ink-soft);
}

body.websitesCatalog #clearCatalogFilters:hover {
    border-color: var(--cx-purple);
    color: var(--cx-purple);
}

body.websitesCatalog #excelDownloadCatalog {
    border: 1.5px solid #1D6F42;
    color: #146c3a;
    width: auto;
}

body.websitesCatalog #excelDownloadCatalog img {
    width: 15px;
    height: 15px;
}

body.websitesCatalog .cx-addsite {
    border: 1.5px solid var(--cx-purple);
    color: var(--cx-purple);
}

body.websitesCatalog .cx-addsite:hover {
    background: rgba(108, 43, 185, 0.06);
}

body.websitesCatalog .productsGalleryInfo .rightColumn #topicsSelected {
    margin: 0;
}

body.websitesCatalog .productsGalleryInfo .rightColumn #topicsSelected button {
    color: var(--cx-purple);
    background: rgba(108, 43, 185, 0.1);
    border-radius: 20px;
    padding: 4px 10px;
}

/* Cards — explicit columns so every row stays aligned (auto-fill + leftover
   gallery widths used to leave 4 cards on the first row and 3 below). */
body.websitesCatalog #productsGallery,
body.websitesCatalog #saleWebsitesCarousel {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: auto;
}

body.websitesCatalog #productsGallery .websiteItemContainer,
body.websitesCatalog #saleWebsitesCarousel .websiteItemContainer {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    border-radius: 18px;
    box-shadow: var(--cx-shadow-sm);
    float: none;
    flex-grow: 0;
}

body.websitesCatalog .websiteItem,
body.websitesCatalog #saleWebsitesCarousel .websiteItem {
    min-width: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 18px;
    box-shadow: none;
    overflow: hidden;
    height: 100%;
    transition: 0.18s;
}

body.websitesCatalog .websiteItem:hover {
    box-shadow: 0 10px 24px -14px rgba(28, 22, 48, 0.22);
    transform: translateY(-2px);
    border-color: rgba(108, 43, 185, 0.28);
}

body.websitesCatalog .wc-header {
    position: relative;
    flex: none;
    overflow: hidden;
    background: linear-gradient(150deg, #1B1436 0%, #2A1A54 48%, #0C2C50 100%);
    padding: 16px 18px 17px;
    color: #fff;
    border-bottom: 3px solid var(--cx-purple);
}

body.websitesCatalog .wc-header::before,
body.websitesCatalog .wc-header::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

body.websitesCatalog .wc-header::before {
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.38), transparent 70%);
    top: -90px;
    inset-inline-start: -40px;
}

body.websitesCatalog .wc-header::after {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(2, 122, 202, 0.32), transparent 70%);
    bottom: -80px;
    inset-inline-end: -40px;
}

body.websitesCatalog .wc-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 13px;
}

body.websitesCatalog .websiteItem .websiteTag {
    position: static;
    min-width: 0;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    background: rgba(224, 121, 10, 0.92);
    margin: 0;
}

body.websitesCatalog .websiteItem .websiteTag.wc-tag-mag,
body.websitesCatalog .websiteItem .websiteTag.wc-tag-bl {
    background: rgba(108, 43, 185, 0.92);
}

body.websitesCatalog .websiteItem .websiteTag.wc-tag-premium {
    background: rgba(2, 122, 202, 0.92);
}

body.websitesCatalog .websiteItem .websiteTag.wc-tag-local {
    background: rgba(31, 180, 87, 0.92);
}

body.websitesCatalog .websiteItem .favoriteBtn {
    position: static;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: 0.15s;
}

body.websitesCatalog .websiteItem .favoriteBtn:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.5);
}

body.websitesCatalog .websiteItem .favoriteBtn .favoriteIcon {
    display: block;
    width: 17px;
    height: 17px;
    filter: brightness(0) invert(1);
}

body.websitesCatalog .websiteItem .favoriteBtn.on {
    border-color: rgba(255, 90, 110, 0.6);
    background: rgba(255, 90, 110, 0.18);
}

body.websitesCatalog .websiteItem .favoriteBtn.on:hover {
    background: rgba(255, 90, 110, 0.28);
}

/* Tints the black heart svg to the #FF5A6E of the reference design. */
body.websitesCatalog .websiteItem .favoriteBtn.on .favoriteIcon {
    filter: brightness(0) invert(56%) sepia(64%) saturate(2400%) hue-rotate(313deg) brightness(103%) contrast(101%);
}

body.websitesCatalog .websiteItem.faved,
body.websitesCatalog .websiteItemContainer.faved .websiteItem {
    border-color: rgba(255, 90, 110, 0.45);
}

body.websitesCatalog .websiteItemContainer.faved {
    box-shadow: 0 0 0 2px rgba(255, 90, 110, 0.5), var(--cx-shadow-sm);
}

body.websitesCatalog .wc-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

body.websitesCatalog .websiteItem .websiteImg {
    overflow: hidden;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    min-width: 54px;
    max-width: 132px;
    padding: 7px 11px;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 8px -3px rgba(0, 0, 0, 0.35);
}

body.websitesCatalog .websiteItem .websiteImg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.websitesCatalog .wc-names {
    min-width: 0;
    flex: 1;
}

body.websitesCatalog .websiteItem .websiteLink button {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    max-width: 100%;
}

body.websitesCatalog .websiteItem .websiteLink button:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.85);
}

body.websitesCatalog .websiteItem .websitename {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

body.websitesCatalog .wc-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 17px;
}

body.websitesCatalog .websiteItem .discount {
    display: flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(90deg, rgba(31, 180, 87, 0.16), rgba(31, 180, 87, 0.05));
    color: #127a3b;
    font-weight: 800;
    font-size: 0.79rem;
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 13px;
    width: auto;
}

body.websitesCatalog .websiteItem .discount .material-icons {
    flex: none;
    font-size: 16px;
}

body.websitesCatalog .websiteItem .websiteTopcis {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 13px;
    min-height: 24px;
    font-size: 0.72rem;
    white-space: normal;
    overflow: visible;
}

body.websitesCatalog .wc-chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cx-ink-soft);
    background: var(--cx-bg-soft);
    border: 1px solid var(--cx-line);
    border-radius: 20px;
    padding: 3px 10px;
}

body.websitesCatalog .websiteItem .ahrefData,
body.websitesCatalog .websiteItem .websiteRate {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin: 0 0 12px;
    font-size: 0.85rem;
}

body.websitesCatalog .websiteItem .ahrefData p {
    display: none;
}

body.websitesCatalog .websiteItem .websiteRate div {
    white-space: nowrap;
    font-weight: 700;
    color: var(--cx-muted);
    margin: 0;
}

body.websitesCatalog .websiteItem .websiteRate div + div {
    margin-inline-start: 9px;
}

body.websitesCatalog .websiteItem .websiteRate div + div::before {
    content: "\00b7";
    margin-inline-end: 9px;
    color: var(--cx-line);
    font-weight: 800;
}

body.websitesCatalog .wc-exrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 20px;
}

body.websitesCatalog .websiteItem .exampleLink {
    color: var(--cx-purple);
    font-weight: 800;
    font-size: 0.83rem;
    text-decoration: none;
}

body.websitesCatalog .websiteItem .exampleLink:hover {
    text-decoration: underline;
}

body.websitesCatalog .wc-notebtn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 0;
    padding: 0;
    color: var(--cx-ink-soft);
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
}

body.websitesCatalog .websiteItem .pixel {
    font-size: 0.78rem;
    color: var(--cx-ink-soft);
    margin: 0 0 8px;
}

body.websitesCatalog .websiteItem .alreadyLinkedBanner {
    background: rgba(31, 180, 87, 0.12);
    color: #127a3b;
    border-radius: 10px;
    margin-bottom: 10px;
}

body.websitesCatalog .websiteItem .bottom {
    margin-top: auto;
    border-top: 1px solid var(--cx-line);
    padding: 13px 0 0;
}

body.websitesCatalog .websiteItem .priceAndCheckout {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    height: auto;
    margin-bottom: 11px;
}

body.websitesCatalog .websiteItem .bottom .priceDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
}

body.websitesCatalog .websiteItem .bottom .priceDiv .salePrice,
body.websitesCatalog .websiteItem .bottom .priceDiv .price {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--cx-ink);
    direction: ltr;
}

body.websitesCatalog .websiteItem .bottom .priceDiv span {
    font-size: inherit;
    font-weight: inherit;
}

body.websitesCatalog .websiteItem .bottom .priceDiv .oldPrice,
body.websitesCatalog .websiteItem .bottom .priceDiv .oldPrice span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cx-muted);
    text-decoration: line-through;
}

body.websitesCatalog .websiteItem .bottom .priceDiv .vat {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--cx-muted);
}

body.websitesCatalog .websiteItem .bottom .buttonsDiv {
    display: flex;
    gap: 9px;
    margin: 0;
}

body.websitesCatalog .websiteItem .checkoutButton {
    flex: 4 1 0;
    min-width: 0;
    background: var(--cx-grad-btn);
    color: #fff;
    font-weight: 800;
    border: 0;
    border-radius: 11px;
    padding: 11px 12px;
    width: auto;
    font-size: 0.86rem;
}

body.websitesCatalog .websiteItem .bottom .buttonsDiv .addToCart {
    flex: 6 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid var(--cx-purple);
    color: var(--cx-purple);
    font-weight: 800;
    border-radius: 11px;
    padding: 9.5px 12px;
    font-size: 0.86rem;
}

body.websitesCatalog .websiteItem .bottom .buttonsDiv .addContent {
    font-size: 0.8rem;
}

body.websitesCatalog .websiteItem .comments {
    background: #FFF7EC;
    border: 1px solid #F5E2C2;
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cx-ink-soft);
    line-height: 1.6;
    margin-top: 11px;
    white-space: pre-line;
}

body.websitesCatalog .websiteItem .comments.hidden {
    display: none;
}

body.websitesCatalog .paginationDiv .pageIndex button {
    color: var(--cx-purple);
}

body.websitesCatalog .paginationDiv .pageIndex.activeIndex button {
    color: var(--cx-ink);
    border-bottom: 2px solid var(--cx-purple);
}

/* Sales tab */
body.websitesCatalog .catalogSalesContainer {
    display: none;
    border-radius: 0;
    border-top: 0;
    background: transparent;
    margin: 0 0 22px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog .catalogSalesContainer.show {
    display: block;
}

body.websitesCatalog .dl-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(120deg, #2A1550 0%, #7A1FA8 45%, #E0790A 130%);
    color: #fff;
    border-radius: 20px;
    padding: 28px 30px;
    margin-bottom: 26px;
    box-shadow: 0 22px 46px -24px rgba(90, 20, 80, 0.6);
}

body.websitesCatalog .dl-hero-kick {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 5px 13px;
    border-radius: 20px;
    margin-bottom: 10px;
}

body.websitesCatalog .dl-hero h2 {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    color: #fff;
}

body.websitesCatalog .dl-hero p {
    margin-top: 8px;
    font-weight: 600;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.92);
}

body.websitesCatalog .dl-hero-badge {
    flex: none;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.websitesCatalog .dl-hero-badge b,
body.websitesCatalog .dl-hero-badge .percent {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
}

body.websitesCatalog .dl-hero-badge span {
    font-size: 0.76rem;
    font-weight: 700;
}

body.websitesCatalog .catalogSalesTop {
    padding: 0;
}

body.websitesCatalog .catalogSalesTop .banner {
    display: none;
}

body.websitesCatalog .catalogSalesContainer h3,
body.websitesCatalog .dl-block-head h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--cx-ink);
    text-align: right;
    margin: 0 0 4px;
}

body.websitesCatalog .dl-block-head p {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--cx-ink-soft);
    margin-bottom: 16px;
}

body.websitesCatalog .catalogSalesTop .salesPackages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog .catalogSalesTop .salesPackages a {
    width: auto;
}

body.websitesCatalog .catalogSalesTop .salesPackages .salesPackageItem {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: var(--cx-shadow-sm);
    width: auto;
    margin: 0;
    height: 100%;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

body.websitesCatalog .catalogSalesTop .salesPackages a:hover .salesPackageItem,
body.websitesCatalog .catalogSalesTop .salesPackages .salesPackageItem:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -14px rgba(28, 22, 48, 0.2);
    border-color: rgba(224, 121, 10, 0.35);
}

body.websitesCatalog .catalogSalesTop .salesPackages .salesPackageItem h4 {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--cx-ink);
    text-align: right;
    margin: 14px 0 7px;
}

body.websitesCatalog .catalogSalesTop .salesPackages .salesPackageItem .salePackgeImage {
    display: none;
}

body.websitesCatalog .catalogSalesTop .salesPackages .salesPackageItem .percentDiv {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 7px;
    background: none;
    color: #E0790A;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: 0;
}

body.websitesCatalog .catalogSalesTop .salesPackages .salesPackageItem .percentDiv .upto,
body.websitesCatalog .catalogSalesTop .salesPackages .salesPackageItem .percentDiv .text {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--cx-muted);
}

body.websitesCatalog .catalogSalesTop .salesPackages .salesPackageItem .percentDiv .percent {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1;
    color: #E0790A;
}

body.websitesCatalog .dl-pkg-copy {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--cx-ink-soft);
    line-height: 1.65;
    margin-bottom: 16px;
    text-align: right;
}

body.websitesCatalog .dl-pkg-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cx-grad-btn);
    color: #fff;
    font-weight: 800;
    font-size: 0.92rem;
    border-radius: 12px;
    padding: 12px;
}

body.websitesCatalog .dl-pkg-flag {
    position: absolute;
    top: 16px;
    inset-inline-end: 16px;
    background: linear-gradient(135deg, #F59E0B, #E0790A);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 5px 12px;
    border-radius: 20px;
}

body.websitesCatalog .catalogSalesBottom {
    background: transparent;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    margin-top: 28px;
}

body.websitesCatalog .dl-cat-head {
    padding-top: 8px;
    border-top: 1px dashed var(--cx-line);
    margin: 8px 0 16px;
}

body.websitesCatalog .dl-cat-head p {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--cx-ink-soft);
    margin: 4px 0 10px;
}

body.websitesCatalog .catalogSalesBottom h3 {
    text-align: right;
}

body.websitesCatalog .catalogSalesBottom .getAllWebsitesButton h4 {
    color: var(--cx-purple);
}

body.websitesCatalog .saleProductsSection {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-bottom: 28px;
}

body.websitesCatalog #saleProductsCarousel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog .saleProduct {
    width: 100%;
    max-width: none;
    margin: 0;
}

body.websitesCatalog .saleProductCard {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--cx-shadow-sm);
    text-align: right;
    height: auto;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

body.websitesCatalog .saleProductCard:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -14px rgba(28, 22, 48, 0.2);
    border-color: var(--cx-purple);
}

body.websitesCatalog .saleProduct .fDate {
    opacity: 1;
    color: var(--cx-muted);
    border: 0;
    padding: 0;
    margin: 0 0 8px;
}

body.websitesCatalog .saleProduct .discountDiv {
    align-self: flex-start;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    background: linear-gradient(135deg, #F59E0B, #D62400);
    color: #fff;
    width: auto;
    height: auto;
    padding: 5px 13px;
    border-radius: 20px;
    margin: 0 0 14px;
    white-space: nowrap;
}

body.websitesCatalog .saleProduct .discountDiv .percent,
body.websitesCatalog .saleProduct .discountDiv .text {
    display: inline;
    width: auto;
    margin: 0;
    padding: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
}

body.websitesCatalog .saleProduct .saleProductsName {
    display: none;
}

body.websitesCatalog .saleProduct .saleDataRow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    min-width: 0;
}

body.websitesCatalog .saleProduct .dl-bundle-check {
    width: 18px;
    height: 18px;
    font-size: 18px;
    line-height: 1;
    color: var(--cx-green);
    flex: none;
}

body.websitesCatalog .saleProduct .saleDataRow div:first-child {
    margin-left: 0;
}

body.websitesCatalog .saleProduct .pisNameDiv {
    min-width: 0;
    flex: 1;
}

body.websitesCatalog .saleProduct .pisName {
    color: var(--cx-muted);
    font-weight: 600;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.websitesCatalog .saleProduct .saleDataRow + .saleDataRow {
    padding-top: 10px;
    border-top: 1px dashed var(--cx-line);
}

body.websitesCatalog .saleProduct .pisImg {
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 5px 8px;
    border-radius: 11px;
    border: 1px solid var(--cx-line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.websitesCatalog .saleProduct .pisImg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.websitesCatalog .saleProduct .pisLink button {
    color: var(--cx-purple);
    font-weight: 800;
    font-size: 0.94rem;
}

body.websitesCatalog .saleProduct .saleProductBottom {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    text-align: right;
}

body.websitesCatalog .saleProduct .priceDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
}

body.websitesCatalog .saleProduct .addToCart {
    background: var(--cx-grad-btn);
    border-radius: 11px;
    padding: 10px 14px;
    color: #fff;
    width: auto;
    flex: 0 0 auto;
    font-size: 0.85rem;
    font-weight: 800;
}

body.websitesCatalog .saleProduct .priceDiv .discount {
    display: none;
}

/* SEO extra info */
body.websitesCatalog .galleryExtraInfoContainer {
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 22px;
    box-shadow: var(--cx-shadow-sm);
    padding: 40px 46px;
    margin: 32px 0 0;
    overflow: hidden;
}

body.websitesCatalog .galleryExtraInfoContainer .seo-kicker {
    display: inline-block;
    background: var(--cx-grad-btn);
    color: #fff;
    font-weight: 800;
    font-size: 0.74rem;
    letter-spacing: 0.4px;
    padding: 5px 13px;
    border-radius: 20px;
    margin-bottom: 12px;
}

body.websitesCatalog .galleryExtraInfoContainer .seo-title,
body.websitesCatalog .galleryExtraInfoContainer > h2:first-of-type {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--cx-ink);
}

body.websitesCatalog .galleryExtraInfoContainer h2 {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--cx-purple);
    margin: 34px 0 14px;
    padding-inline-start: 15px;
    border-inline-start: 4px solid var(--cx-purple);
    line-height: 1.3;
}

body.websitesCatalog .galleryExtraInfoContainer p {
    font-size: 0.97rem;
    line-height: 1.95;
    color: var(--cx-ink-soft);
}

body.websitesCatalog .galleryExtraInfoContainer ul {
    list-style: none;
    padding: 0;
}

body.websitesCatalog .galleryExtraInfoContainer ul li {
    position: relative;
    padding-inline-start: 26px;
}

body.websitesCatalog .galleryExtraInfoContainer ul li::before {
    content: "";
    position: absolute;
    inset-inline-start: 6px;
    top: 12px;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--cx-grad-btn);
}

body.websitesCatalog .galleryExtraInfoContainer table {
    border: 1px solid var(--cx-line);
    border-radius: 14px;
    overflow: hidden;
    border-collapse: collapse;
}

body.websitesCatalog .galleryExtraInfoContainer table td {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid var(--cx-line);
    color: var(--cx-ink-soft);
}

body.websitesCatalog .galleryExtraInfoContainer table td:first-child {
    width: 200px;
    font-weight: 800;
    color: var(--cx-ink);
    background: rgba(108, 43, 185, 0.05);
}

body.websitesCatalog .galleryExtraInfoContainer table tbody > tr:nth-child(odd) > td {
    background: transparent;
}

body.websitesCatalog .galleryExtraInfoContainer table tbody > tr:nth-child(even) td {
    background: var(--cx-bg-soft);
}

body.websitesCatalog .galleryExtraInfoContainer .videoDiv {
    width: 100%;
    max-width: 640px;
    margin: 24px auto;
}

body.websitesCatalog .galleryExtraInfoContainer .player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    background: #0b0b16;
    box-shadow: 0 18px 44px -22px rgba(10, 6, 30, 0.6);
}

body.websitesCatalog .galleryExtraInfoContainer .player img.plcholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.websitesCatalog .galleryExtraInfoContainer .playerButton {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: rgba(224, 36, 0, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6);
    border: 0;
    padding: 0;
}

body.websitesCatalog .galleryExtraInfoContainer .playerButton img {
    width: 34px;
    height: 34px;
    filter: brightness(0) invert(1);
    margin-inline-start: 3px;
}

body.websitesCatalog .galleryExtraInfoContainer .player iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

body.websitesCatalog .galleryExtraInfoContainer .infoGraphicsDiv {
    margin-top: 30px;
}

body.websitesCatalog .galleryExtraInfoContainer .infoGraphicsDiv img {
    width: 100%;
    max-width: none;
    border: 1px solid var(--cx-line);
    border-radius: 14px;
}

@media (min-width: 821px) {
    body.websitesCatalog .cx-mpanel {
        display: none;
    }

    body.websitesCatalog .productsCategoryButtons {
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        overflow-y: hidden;
        align-items: flex-end;
        padding: 6px 2px 0;
        margin: 0 0 -1px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: flex-start;
        scrollbar-width: thin;
    }

    body.websitesCatalog .productsCategoryButtons::-webkit-scrollbar {
        height: 5px;
    }

    body.websitesCatalog .productsCategoryButtons::-webkit-scrollbar-thumb {
        background: rgba(108, 43, 185, 0.2);
        border-radius: 4px;
    }

    body.websitesCatalog .productsCategoryButtonsMobile {
        display: none;
    }

    body.websitesCatalog .galleryExtraInfoContainer .infoGraphicsDiv {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* Neutralize leftover productsGallery.css widths that still force 4-across
   and nowrap filter columns from 1280px up. */
@media (min-width: 1280px) {
    body.websitesCatalog #productsGallery .websiteItemContainer,
    body.websitesCatalog #saleWebsitesCarousel .websiteItemContainer {
        float: none;
        width: 100%;
        max-width: none;
        margin: 0;
        flex-grow: 0;
        min-width: 0;
    }

    body.websitesCatalog .productsGalleryContainer .productsFilters .filtersRow {
        flex-wrap: wrap;
    }

    body.websitesCatalog .productsGalleryContainer .productsFilters .filterColumn {
        width: auto;
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 1319px) {
    body.websitesCatalog #productsGallery,
    body.websitesCatalog #saleWebsitesCarousel {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1199px) {
    body.websitesCatalog .fl-search,
    body.websitesCatalog .tp-wrap,
    body.websitesCatalog .fl-sortf,
    body.websitesCatalog .fl-promo {
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
        max-width: 100%;
    }

    body.websitesCatalog .fl-sortf {
        white-space: normal;
    }
}

@media (max-width: 999px) {
    body.websitesCatalog #productsGallery,
    body.websitesCatalog #saleWebsitesCarousel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    body.websitesCatalog .catalogSalesTop .salesPackages,
    body.websitesCatalog #saleProductsCarousel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.websitesCatalog .fl-adv-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    body.websitesCatalog section.products {
        padding: 18px 14px 40px;
    }

    body.websitesCatalog .cx-titlebar {
        padding: 18px 0 2px;
    }

    body.websitesCatalog .cx-titlebar h1 {
        font-size: 1.42rem;
    }

    body.websitesCatalog .cx-tabsbar {
        padding-top: 10px;
    }

    body.websitesCatalog .productsGalleryContainer .productsFilters {
        border-radius: 16px;
        margin-top: 12px;
    }

    body.websitesCatalog .fl-search,
    body.websitesCatalog .tp-wrap,
    body.websitesCatalog .fl-sortf,
    body.websitesCatalog .fl-promo {
        flex: 1 1 100%;
        max-width: 100%;
    }

    body.websitesCatalog .productsFilters .productsSort,
    body.websitesCatalog .productsGalleryContainer .filterByDomainButton,
    body.websitesCatalog .productsGalleryContainer .filterByDomainButton .filterAndTooltip {
        flex: 1;
        min-width: 0;
        max-width: 100%;
    }

    body.websitesCatalog .productsFilters .productsSort select,
    body.websitesCatalog .productsGalleryContainer .filterByDomainButton button#filterByDomainButton {
        flex: 1;
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    body.websitesCatalog .fl-adv-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.websitesCatalog .dl-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 22px;
    }

    body.websitesCatalog .dl-hero h2 {
        font-size: 1.4rem;
    }

    body.websitesCatalog .galleryExtraInfoContainer {
        padding: 26px 20px;
        border-radius: 18px;
    }

    body.websitesCatalog .cx-tools {
        display: none;
    }
}

@media (max-width: 599px) {
    body.websitesCatalog #productsGallery,
    body.websitesCatalog .catalogSalesTop .salesPackages,
    body.websitesCatalog #saleProductsCarousel,
    body.websitesCatalog #saleWebsitesCarousel,
    body.websitesCatalog .fl-adv-grid,
    body.websitesCatalog .tp-list {
        grid-template-columns: minmax(0, 1fr);
    }

    body.websitesCatalog .websiteItem .bottom .priceDiv .salePrice,
    body.websitesCatalog .websiteItem .bottom .priceDiv .price {
        font-size: 1.35rem;
    }
}

body.websitesCatalog .productsGalleryContainer .productsFilters .filterColumn {
    width: auto;
    max-width: 100%;
    min-width: 0;
}

body.websitesCatalog .fl-adv-grid .filterColumn {
    width: 100%;
    margin-bottom: 0;
}

body.websitesCatalog .fl-adv-grid .filterInput select,
body.websitesCatalog .fl-adv-grid .filterInput input {
    width: 100%;
}

body.websitesCatalog .fl-adv-row .filterButtonsRow.domainsFilter {
    margin: 0;
}

body.websitesCatalog a.categoryButton.packagesTab {
    text-decoration: none;
}

body.websitesCatalog .productsCategoryButtons .categoryButton.packagesTab.accentBorderBottom {
    box-shadow: none;
}

body.websitesCatalog .mobileCategoryItem.packagesTab {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-decoration: none;
}

body.websitesCatalog .websiteItem .websiteRate .wc-stat-val {
    font-weight: 800;
    color: var(--cx-ink);
    margin-inline-start: 4px;
}

body.websitesCatalog .websiteItem .websiteRate .wc-dr-high .wc-stat-val {
    color: var(--cx-green);
}

body.websitesCatalog .wc-notebtn .material-icons {
    font-size: 16px;
    color: var(--cx-primary);
}

body.websitesCatalog .wc-notebtn:hover {
    color: var(--cx-primary);
}

body.websitesCatalog .productsGalleryInfo .leftColumn {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

body.websitesCatalog .productsGalleryInfo .cx-tools {
    margin-inline-start: auto;
}

body.websitesCatalog .dl-bundle-inc {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--cx-bg-soft);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--cx-ink-soft);
    font-weight: 700;
    font-size: 0.85rem;
    margin: 8px 0 16px;
}

body.websitesCatalog .dl-bundle-inc .material-icons {
    font-size: 16px;
    color: var(--cx-purple);
}

body.websitesCatalog .dl-hero-kick .material-icons {
    font-size: 16px;
}

body.websitesCatalog .fl-search .material-icons {
    z-index: 1;
}

body.websitesCatalog .extraFilters .searchCityFilterDiv {
    position: relative;
}

body.websitesCatalog .getAllWebsitesButton h4 {
    margin: 0;
}

body.websitesCatalog .galleryExtraInfoContainer .player {
    --widthvalue: auto;
    --heightvalue: auto;
}

body.websitesCatalog .galleryExtraInfoContainer h2.seo-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--cx-ink);
    margin: 0 0 14px;
    padding-inline-start: 0;
    border-inline-start: 0;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters:not(.open) > * {
    display: none;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters.open > .fl-adv-grid {
    display: grid;
}

body.websitesCatalog .productsGalleryContainer .productsFilters .extraFilters.open > .fl-checks {
    display: flex;
}

body.websitesCatalog .fl-two input {
    direction: ltr;
    text-align: right;
}

body.websitesCatalog .saleProduct .dl-bundle-inc {
    margin-top: 4px;
}

body.websitesCatalog .saleProduct .saleProductsName {
    display: none;
}

body.websitesCatalog .catalogSalesBottom .getAllWebsitesButton {
    margin-bottom: 0;
}

body.websitesCatalog .packagesTabIcon {
    width: 16px;
    height: 16px;
    display: inline-block;
    flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l9 4.9v10.2L12 22l-9-4.9V6.9L12 2zm0 2.3L5.5 7.8 12 11.3l6.5-3.5L12 4.3zM5 9.4v6.5l6 3.3v-6.5L5 9.4zm14 0l-6 3.3v6.5l6-3.3V9.4z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l9 4.9v10.2L12 22l-9-4.9V6.9L12 2zm0 2.3L5.5 7.8 12 11.3l6.5-3.5L12 4.3zM5 9.4v6.5l6 3.3v-6.5L5 9.4zm14 0l-6 3.3v6.5l6-3.3V9.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.websitesCatalog .productsGalleryContainer .filterByDomainButton {
    position: relative;
}

body.websitesCatalog #catalogDomainMenu[hidden] {
    display: none;
}

body.websitesCatalog #catalogDomainMenu.open {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: calc(100% + 6px);
    inset-inline-end: 0;
    z-index: 40;
    width: min(380px, 90vw);
    background: #fff;
    border: 1px solid var(--cx-line);
    border-radius: 14px;
    box-shadow: 0 24px 50px -20px rgba(20, 16, 40, 0.4);
    padding: 12px;
    text-align: right;
}

body.websitesCatalog #catalogDomainMenu .cxm-desc {
    color: var(--cx-ink-soft);
    font-weight: 600;
    font-size: 0.88rem;
    line-height: 1.6;
}

body.websitesCatalog #catalogDomainMenu .cxm-sub {
    font-weight: 800;
    color: var(--cx-ink);
    font-size: 0.9rem;
}

body.websitesCatalog #catalogDomainMenu .cxm-chk {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 700;
    color: var(--cx-ink-soft);
    font-size: 0.88rem;
    margin: 0;
}

body.websitesCatalog #catalogDomainMenu .cxm-chk input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--cx-primary);
    flex: none;
}

/* The domain picker reuses the generic .tableDiv/.contentDiv/.domainSearch markup from the
   personal zone, which carries a white card and a fixed 460px search width - both are
   stripped here so the picker fits inside the dropdown panel. */
body.websitesCatalog #catalogDomainMenu #domainstableDiv {
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

body.websitesCatalog #catalogDomainMenu .formRow {
    width: 100%;
    min-width: 0;
    margin: 8px 0 0;
    gap: 8px;
}

body.websitesCatalog #catalogDomainMenu .cxm-search {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
}

body.websitesCatalog #catalogDomainMenu .cxm-search input {
    width: 100%;
    max-width: 100%;
    border: 1.5px solid var(--cx-line);
    border-radius: 11px;
    padding: 11px 14px;
    font-size: 0.95rem;
    background: #fff;
}

body.websitesCatalog #catalogDomainMenu .cxm-search input:focus {
    outline: 0;
    border-color: var(--cx-primary);
}

body.websitesCatalog #catalogDomainMenu .cxm-count,
body.websitesCatalog #catalogDomainMenu .qtyTitle {
    font-weight: 700;
    color: var(--cx-ink-soft);
    font-size: 0.86rem;
}

body.websitesCatalog #catalogDomainMenu .cxm-count span,
body.websitesCatalog #catalogDomainMenu .qtyTitle span {
    color: var(--cx-purple);
    font-weight: 800;
}

body.websitesCatalog #catalogDomainMenu .cxm-list,
body.websitesCatalog #catalogDomainMenu #domainsTable {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 260px;
    overflow: auto;
    border: 1px solid var(--cx-line);
    border-radius: 12px;
    padding: 6px;
}

body.websitesCatalog #catalogDomainMenu .singleDomain {
    padding: 0;
}

body.websitesCatalog #catalogDomainMenu .singleDomain:hover {
    background: transparent;
}

body.websitesCatalog #catalogDomainMenu .cxm-dom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: none;
    border: 0;
    border-radius: 9px;
    padding: 11px 13px;
    cursor: pointer;
    text-align: right;
    width: 100%;
}

body.websitesCatalog #catalogDomainMenu .cxm-dom:hover {
    background: var(--cx-bg-soft);
}

body.websitesCatalog #catalogDomainMenu .cxm-domname {
    font-weight: 800;
    color: var(--cx-primary);
    font-size: 0.92rem;
    direction: ltr;
}

body.websitesCatalog #catalogDomainMenu .cxm-refs {
    font-weight: 700;
    color: var(--cx-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

body.websitesCatalog #catalogDomainMenu .cxm-dom.refd .cxm-refs {
    color: #127a3b;
}

body.websitesCatalog #catalogDomainMenu .newDomainDiv,
body.websitesCatalog #catalogDomainMenu .paginationDiv {
    margin-top: 4px;
}

body.websitesCatalog #catalogDomainMenu .secondaryButton {
    border-radius: 11px;
    padding: 10px 14px;
    font-weight: 800;
}

@media (max-width: 820px) {
    body.websitesCatalog #catalogDomainMenu.open {
        inset-inline: 0;
        width: 100%;
        max-width: none;
    }
}
