/* SHARED MARKETPLACE HOME, HEADER, AND FOOTER STYLES */
.marketplace-home {
    --market-orange: #ee4d2d;
    --market-ink: #252a34;
    --market-muted: #697386;
    --market-line: #e8eaf0;
    --market-surface: #fff;
    --market-bg: #f5f6f8;
    background: var(--market-bg);
    color: var(--market-ink);
}
.marketplace-home .site-header {
    padding-left: max(18px, calc((100% - 1240px) / 2));
    padding-right: max(18px, calc((100% - 1240px) / 2));
}
.marketplace-home .main-header {
    grid-template-columns: 205px minmax(0, 760px) 54px;
}
.marketplace-home .marketplace-main {
    width: min(1240px, 100%);
    margin: 0 auto;
    padding: 30px 18px 58px;
}
.marketplace-hero {
    min-height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 36px 52px;
    border-radius: 12px;
    background: linear-gradient(115deg, #fff 4%, #fff7f3 58%, #ffe6dc 100%);
    box-shadow: 0 5px 24px #1823370a;
}
.marketplace-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 670px;
}
.marketplace-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #fff0eb;
    color: #ee4d2d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: capitalize;
}
.marketplace-eyebrow + h1,
.marketplace-eyebrow + h2,
.marketplace-eyebrow + h3,
.marketplace-eyebrow + .section-title {
    padding-top: 6px;
}
.marketplace-eyebrow:not(.home-publication-popular-label)::before {
    width: 10px;
    height: 12px;
    flex: 0 0 10px;
    background: currentColor;
    clip-path: polygon(58% 0, 52% 29%, 80% 39%, 68% 56%, 88% 65%, 87% 81%, 72% 100%, 31% 100%, 13% 84%, 14% 67%, 30% 49%, 38% 32%);
    content: "";
}
.marketplace-hero h1 {
    max-width: 680px;
    margin: 0 0 12px;
    font-size: clamp(26px, 3.4vw, 40px);
    line-height: 1.16;
    letter-spacing: -0.035em;
    color: #222936;
}
.marketplace-hero-copy > p:not(.marketplace-eyebrow) {
    max-width: 600px;
    margin: 0;
    color: var(--market-muted);
    font-size: 15px;
    line-height: 1.7;
}
.marketplace-primary-button {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    margin-top: 22px;
    padding: 12px 17px;
    border-radius: 6px;
    background: var(--market-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 5px 12px #ee4d2d30;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.marketplace-primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px #ee4d2d40;
}
.marketplace-section {
    margin-top: 34px;
}
.marketplace-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 22px;
}
.marketplace-section-heading h2 {
    margin: 0;
    color: #1d3450;
    font-size: clamp(21px, 2.1vw, 25px);
    letter-spacing: -0.025em;
    line-height: 1.25;
}
.marketplace-section-heading p:not(.marketplace-eyebrow) {
    display: none;
}
.pasarwd-faq-copy > p:not(.marketplace-eyebrow) {
    display: none;
}
.content-card .section-title,
.related-heading .section-title {
    display: block;
    margin: 0 0 18px;
    color: #1d3450;
    font-size: clamp(21px, 2.1vw, 25px);
    font-weight: 750;
    line-height: 1.25;
}
.content-card .section-title::before,
.related-heading .section-title::before {
    display: none;
}
.related-heading {
    align-items: flex-end;
}
.related-heading-copy {
    min-width: 0;
}
.related-heading-copy .section-title {
    margin-bottom: 0;
}
.store-details h2 {
    color: #1d3450;
}
.site-count {
    padding: 7px 11px;
    border: 1px solid var(--market-line);
    border-radius: 20px;
    background: #fff;
    color: #697386;
    font-size: 11px;
    white-space: nowrap;
}
.marketplace-card-category {
    color: var(--market-orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.marketplace-empty {
    padding: 56px 20px;
    text-align: center;
    border: 1px dashed #d9dde5;
    border-radius: 10px;
    background: #fff;
}
.marketplace-empty > span {
    color: var(--market-orange);
    font-size: 34px;
}
.marketplace-empty h3 {
    margin: 10px 0 5px;
}
.marketplace-empty p {
    margin: 0;
    color: var(--market-muted);
    font-size: 13px;
}
.marketplace-home .marketplace-footer {
    padding-left: max(28px, calc((100% - 1200px) / 2));
    padding-right: max(28px, calc((100% - 1200px) / 2));
}
.marketplace-home .footer-columns {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 900px) {
    .marketplace-hero-copy {
        max-width: 70%;
    }
}
@media (max-width: 768px) {
    .marketplace-home .site-header {
        padding-left: 12px;
        padding-right: 12px;
    }
    .marketplace-home .main-header {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-rows: auto auto;
        min-height: 0;
        padding: 9px 0 8px;
    }
    .marketplace-home .brand {
        grid-column: 1;
        grid-row: 1;
    }
    .marketplace-home .search-area {
        display: block;
        grid-column: 1/-1;
        grid-row: 2;
        padding-top: 10px;
    }
    .marketplace-home .search-suggestions {
        padding-bottom: 2px;
    }
    .marketplace-main {
        padding: 17px 12px 38px !important;
    }
    .marketplace-hero {
        min-height: 220px;
        padding: 27px 22px;
    }
    .marketplace-hero-copy {
        max-width: 100%;
    }
    .marketplace-hero h1 {
        font-size: 27px;
    }
    .marketplace-hero-copy > p:not(.marketplace-eyebrow) {
        font-size: 13px;
    }
    .marketplace-section {
        margin-top: 27px;
    }
    .marketplace-section-heading h2 {
        font-size: 21px;
    }
    .marketplace-section-heading p:not(.marketplace-eyebrow) {
        max-width: 260px;
        line-height: 1.5;
    }
    .marketplace-home .marketplace-footer {
        padding: 18px 16px 0;
    }
    .marketplace-home .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile header: keep brand and search field on a shared row */
@media (max-width: 768px) {
    .marketplace-home .main-header {
        grid-template-columns: minmax(105px, 0.78fr) minmax(0, 1.22fr);
        grid-template-rows: auto;
        align-items: center;
        column-gap: 10px;
        row-gap: 0;
        padding: 9px 0 8px;
    }
    .marketplace-home .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .marketplace-home .brand-logo {
        width: 100%;
        max-width: 100%;
        max-height: 46px;
        object-fit: contain;
        object-position: left center;
    }
    .marketplace-home .search-area {
        display: block;
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .marketplace-home .search-form {
        display: flex;
        width: 100%;
        min-width: 0;
        height: 38px;
        min-height: 38px;
        margin: 0;
    }
    .marketplace-home .search-form input {
        width: 0;
        min-width: 0;
        flex: 1;
        padding: 6px 8px;
        font-size: 11px;
    }
    .marketplace-home .search-form button {
        width: 32px;
        flex: 0 0 32px;
    }
    .marketplace-home .search-suggestions {
        display: none;
    }
}
@media (max-width: 380px) {
    .marketplace-home .main-header {
        grid-template-columns: minmax(94px, 0.72fr) minmax(0, 1.28fr);
        column-gap: 7px;
    }
    .marketplace-home .search-form {
        height: 36px;
        min-height: 36px;
    }
}
/* Category-only marketplace homepage and refreshed public header */
.marketplace-home .site-header {
    position: relative;
    z-index: 20;
    color: #fff;
    box-shadow: 0 8px 24px #8e321d20;
}
.marketplace-home .topline {
    width: min(1240px, 100%);
    min-height: 38px;
    margin: 0 auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #ffffff2b;
    color: #fff;
}
.marketplace-home .top-left,
.marketplace-home .top-right {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}
.marketplace-home .topline a {
    color: #fff;
    font-size: 12px;
    opacity: 0.9;
    transition:
        opacity 0.18s,
        color 0.18s;
}
.marketplace-home .topline a:hover {
    opacity: 1;
    color: #fff;
}
.marketplace-home .top-right .top-login {
    padding: 6px 11px;
    border: 1px solid #ffffff80;
    border-radius: 7px;
}
.marketplace-home .main-header {
    width: min(1240px, 100%);
    min-height: 92px;
    margin: 0 auto;
    padding: 13px 18px;
    grid-template-columns: minmax(0, 210px) minmax(0, 1fr) max-content;
    align-items: center;
    gap: 24px;
}
.marketplace-home .brand {
    min-width: 0;
}
.marketplace-home .search-area {
    min-width: 0;
    max-width: none;
    padding: 0;
}
.marketplace-home .search-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    height: 46px;
    min-height: 46px;
    overflow: hidden;
    border: 1px solid #ffffff90;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 18px #9c351e24;
    box-sizing: border-box;
}
.marketplace-home .search-form input {
    min-width: 0;
    padding: 0 16px;
    background: #fff;
    color: #263241;
    font-size: 14px;
}
.marketplace-home .search-form input::placeholder {
    color: #8b95a2;
}
.marketplace-home .search-form button {
    display: grid;
    place-items: center;
    width: 48px;
    min-width: 48px;
    flex: 0 0 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #f4512b;
    color: #fff;
    line-height: 1;
    transition: background 0.18s;
}
.marketplace-home .search-form button:hover {
    background: #df4027;
}
.marketplace-home .search-form button .ui-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2.2;
}
.marketplace-home .search-suggestions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 9px;
    padding: 0;
    color: #fff;
    font-size: 11px;
}
.marketplace-home .search-suggestions span {
    opacity: 0.72;
}
.marketplace-home .search-suggestions a {
    max-width: 180px;
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.88;
}
.marketplace-home .search-suggestions a:hover {
    opacity: 1;
    text-decoration: underline;
}
.marketplace-category-home .marketplace-main {
    padding-top: 30px;
}
.marketplace-category-home .marketplace-hero {
    min-height: 190px;
    padding: 34px 40px;
    border: 1px solid #f2e2dc;
    background: linear-gradient(115deg, #fff 4%, #fff8f4 62%, #ffe9df 100%);
}
.marketplace-category-home .marketplace-hero-copy {
    max-width: 780px;
}
.marketplace-category-home .marketplace-hero h1 {
    font-size: clamp(27px, 3.3vw, 38px);
}
.category-hero-badge {
    position: absolute;
    right: 7%;
    top: 50%;
    display: grid;
    width: 100px;
    height: 100px;
    place-items: center;
    transform: translateY(-50%) rotate(-8deg);
    border: 1px solid #ee4d2d22;
    border-radius: 28px;
    background: linear-gradient(145deg, #fff, #ffe6dc);
    box-shadow: 0 14px 35px #c64d3518;
    color: #ef4b2b;
    font-size: 48px;
}
.category-brand-preview {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid hsl(var(--category-hue) 88% 72% / 85%);
    background: linear-gradient(145deg, hsl(var(--category-hue) 94% 57%), hsl(var(--category-hue) 92% 32%));
    box-shadow: 0 7px 17px hsl(var(--category-hue) 80% 35% / 32%), inset 0 1px 2px #ffffff88;
    color: #fff;
    text-shadow: 0 1px 3px #06101b99;
    text-transform: uppercase;
    border-radius: 13px;
}
.category-brand-preview::before {
    position: absolute;
    inset: 3px;
    border: 1px solid #ffffff70;
    border-radius: inherit;
    content: "";
    pointer-events: none;
}
.category-brand-preview > span {
    max-width: 100%;
    overflow: hidden;
    padding: 0 2px;
    font-size: clamp(7px, calc(44px / var(--logo-length)), 14px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-category-empty-search[hidden] {
    display: none !important;
}
.home-category-empty-search {
    margin: 20px 0;
    padding: 22px;
    border: 1px dashed #d9dde5;
    border-radius: 10px;
    color: var(--market-muted);
    text-align: center;
}
@media (max-width: 900px) {
    .marketplace-home .main-header {
        column-gap: 15px;
        grid-template-columns: 175px minmax(0, 1fr) auto;
    }
    .marketplace-home .search-suggestions {
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .marketplace-home .topline {
        min-height: 32px;
        padding: 0 4px;
        gap: 9px;
    }
    .marketplace-home .top-left {
        gap: 12px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .marketplace-home .top-left::-webkit-scrollbar {
        display: none;
    }
    .marketplace-home .top-left a {
        font-size: 10px;
    }
    .marketplace-home .top-left a:nth-child(n + 4) {
        display: none;
    }
    .marketplace-home .top-right {
        gap: 10px;
        white-space: nowrap;
    }
    .marketplace-home .top-right a {
        font-size: 10px;
    }
    .marketplace-home .top-right a:first-child {
        display: none;
    }
    .marketplace-home .top-right .top-login {
        padding: 4px 8px;
    }
    .marketplace-home .main-header {
        width: 100%;
        grid-template-columns: minmax(96px, 0.78fr) minmax(0, 1.22fr);
        grid-template-rows: auto;
        column-gap: 10px;
        row-gap: 0;
        padding: 10px 0 12px;
    }
    .marketplace-home .brand {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }
    .marketplace-home .brand-logo {
        width: 100%;
        max-width: 100%;
        max-height: 42px;
        object-fit: contain;
        object-position: left center;
    }
    .marketplace-home .search-area {
        display: block;
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .marketplace-home .search-form {
        width: 100%;
        height: 39px;
        min-height: 39px;
        margin: 0;
        border-radius: 8px;
    }
    .marketplace-home .search-form input {
        width: 0;
        min-width: 0;
        flex: 1;
        padding: 6px 9px;
        font-size: 11px;
    }
    .marketplace-home .search-form button {
        width: 34px;
        flex: 0 0 34px;
        font-size: 22px;
    }
    .marketplace-home .search-suggestions {
        display: none;
    }
    .marketplace-category-home .marketplace-main {
        padding-top: 16px;
    }
    .marketplace-category-home .marketplace-hero {
        min-height: unset;
        padding: 23px 19px;
        border-radius: 10px;
    }
    .marketplace-category-home .marketplace-hero h1 {
        max-width: calc(100% - 52px);
        font-size: 25px;
    }
    .marketplace-category-home .marketplace-hero-copy > p:not(.marketplace-eyebrow) {
        max-width: calc(100% - 35px);
        font-size: 13px;
    }
    .category-hero-badge {
        right: 16px;
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 25px;
    }
}
@media (max-width: 380px) {
    .marketplace-home .main-header {
        grid-template-columns: minmax(88px, 0.72fr) minmax(0, 1.28fr);
        column-gap: 7px;
    }
}
/* Homepage information, publications, and FAQ sections */
.home-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.home-about-grid-single {
    grid-template-columns: minmax(0, 1fr);
}
.home-info-panel {
    padding: 22px 24px;
    border: 1px solid var(--market-line);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 4px 14px #18233708;
}
.home-about-section .home-info-panel {
    text-align: center;
}
.home-info-panel h3 {
    margin: 0 0 10px;
    font-size: 16px;
}
.home-info-panel p {
    margin: 0 0 9px;
    color: var(--market-muted);
    font-size: 13px;
    line-height: 1.75;
}
.home-about-section .home-info-panel p {
    margin-inline: auto;
}
.home-info-panel p:last-child {
    margin-bottom: 0;
}
.home-disclaimer {
    border-color: #f3d3c9;
    background: linear-gradient(130deg, #fff, #fff8f5);
}
.home-publication-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.home-publication-group {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--market-line);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 4px 14px #18233708;
}
.home-publication-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.home-publication-heading h3 {
    margin: 0;
    font-size: 16px;
}
.home-publication-heading > a,
.home-faq-all {
    color: var(--market-orange);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.home-publication-list {
    display: grid;
    gap: 0;
}
.home-publication-card {
    padding: 13px 0;
    border-top: 1px solid var(--market-line);
}
.home-publication-date {
    color: var(--market-orange);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.home-publication-card h3 {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.45;
}
.home-publication-card h3 a:hover {
    color: var(--market-orange);
}
.home-publication-card p,
.home-publication-empty {
    margin: 0;
    color: var(--market-muted);
    font-size: 12px;
    line-height: 1.6;
}
.home-faq-section .marketplace-section-heading {
    align-items: center;
}
.home-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.home-faq-item {
    padding: 15px 17px;
    border: 1px solid var(--market-line);
    border-radius: 9px;
    background: #fff;
}
.home-faq-item summary {
    color: var(--market-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}
.home-faq-item .faq-question-heading {
    display: inline;
    font: inherit;
}
.home-faq-item summary::marker {
    color: var(--market-orange);
}
.home-faq-item p {
    margin: 10px 0 0;
    color: var(--market-muted);
    font-size: 12px;
    line-height: 1.7;
}
@media (max-width: 768px) {
    .home-about-grid,
    .home-publication-columns,
    .home-faq-list {
        grid-template-columns: 1fr;
    }
    .home-info-panel,
    .home-publication-group {
        padding: 17px;
    }
    .home-faq-section .marketplace-section-heading {
        align-items: flex-start;
    }
}
/* Restore every navigation link in the mobile marketplace header */
@media (max-width: 768px) {
    .marketplace-home .topline {
        height: auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 5px;
        padding: 6px 4px 4px;
        overflow: hidden;
    }
    .marketplace-home .top-left {
        display: flex !important;
        order: 1;
        width: 100%;
        max-width: 100%;
        gap: 15px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .marketplace-home .top-left::-webkit-scrollbar {
        display: none;
    }
    .marketplace-home .top-left a,
    .marketplace-home .top-left a:nth-child(n + 4) {
        display: inline-flex !important;
        flex: 0 0 auto;
        align-items: center;
        padding: 3px 0;
    }
    .marketplace-home .top-right {
        order: 2;
        width: 100%;
        max-width: 100%;
        justify-content: flex-end;
        gap: clamp(9px, 2.5vw, 14px);
    }
    .marketplace-home .top-right a:first-child {
        display: inline-flex;
    }
}
@media (max-width: 800px) {
    .marketplace-home .marketplace-reference-header .market-header-main {
        grid-template-columns: minmax(115px, 0.7fr) minmax(0, 1.3fr);
        grid-template-rows: auto auto;
        align-items: center;
        column-gap: 12px;
        row-gap: 0;
        min-height: 0;
        padding: 10px 12px 11px;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand {
        grid-column: 1;
        grid-row: 1;
    }
    .marketplace-home .marketplace-reference-header .market-header-search-area {
        display: block;
        grid-column: 2;
        grid-row: 1;
        padding: 0;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions {
        display: flex;
        grid-column: 1/-1;
        grid-row: 2;
    }
    .marketplace-home .marketplace-reference-header .market-header-catalog {
        display: none;
    }
}
@media (max-width: 520px) {
    .marketplace-home .marketplace-reference-header .market-header-main {
        grid-template-columns: minmax(90px, 0.72fr) minmax(0, 1.28fr);
        column-gap: 9px;
        padding: 9px 10px 10px;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions {
        gap: 12px;
        padding-top: 8px;
    }
}
@media (max-width: 520px) {
    .marketplace-home .marketplace-reference-header .market-header-topline {
        justify-content: space-between;
    }
    .marketplace-home .marketplace-reference-header .market-header-main {
        grid-template-columns: max-content minmax(0, 1fr) 32px;
        grid-template-rows: auto auto;
        column-gap: 7px;
        row-gap: 0;
        padding: 9px 10px 0;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        max-width: 68px;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto;
        max-width: 58px;
        max-height: 43px;
    }
    .marketplace-home .marketplace-reference-header .market-header-search-area {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }
    .marketplace-home .marketplace-reference-header .market-header-catalog {
        display: grid !important;
        grid-column: 3;
        grid-row: 1;
        width: 30px;
        height: 36px;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1;
        grid-row: 2;
        width: 100%;
        padding: 9px 0;
        overflow-x: auto;
    }
}
@media (max-width: 800px) {
    .marketplace-home .marketplace-reference-header .market-header-topline {
        justify-content: space-between;
    }
    .marketplace-home .marketplace-reference-header .market-header-links a:nth-child(n + 3) {
        display: none;
    }
    .marketplace-home
        .marketplace-reference-header
        .market-header-account
        > a:not(.market-header-register):not(.market-header-login) {
        display: none !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-account .language-link,
    .marketplace-home .marketplace-reference-header .market-header-help {
        display: none !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-main {
        grid-template-columns: max-content minmax(0, 1fr) 34px;
        grid-template-rows: auto auto;
        column-gap: 8px;
        row-gap: 0;
        padding: 9px 12px 0;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand {
        grid-column: 1;
        grid-row: 1;
        width: auto;
        max-width: 75px;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto;
        max-width: 65px;
        max-height: 47px;
    }
    .marketplace-home .marketplace-reference-header .market-header-search-area {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }
    .marketplace-home .marketplace-reference-header .market-header-catalog {
        display: grid !important;
        grid-column: 3;
        grid-row: 1;
        width: 32px;
        height: 38px;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1;
        grid-row: 2;
        width: 100%;
        padding: 9px 0;
        overflow-x: auto;
    }
}
@media (max-width: 800px) {
    .marketplace-home .marketplace-reference-header .market-header-topline {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-links,
    .marketplace-home .marketplace-reference-header .market-header-account {
        width: auto;
        max-width: none;
        order: 0;
    }
    .marketplace-home .marketplace-reference-header .market-header-account {
        justify-content: flex-end;
    }
}

@media (max-width: 800px) {
    .marketplace-home .marketplace-reference-header .market-header-links a:nth-child(n + 3) {
        display: none !important;
    }
}

C:\Users\PC - CO
/* Mobile homepage follows the same no-cart, logo/search layout. */
@media(max-width:800px) {
    .marketplace-home
        .marketplace-reference-header
        .market-header-topline
        .market-header-links
        > a:nth-child(n + 3) {
        display: none !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-main {
        grid-template-columns: max-content minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        column-gap: 8px !important;
        padding: 9px 12px 0 !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: auto !important;
        max-width: 68px !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto !important;
        max-width: 58px !important;
        max-height: 42px !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-catalog {
        display: none !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        padding: 9px 0 !important;
    }
}
@media (max-width: 800px) {
    .marketplace-home .marketplace-reference-header > .market-header-suggestions {
        display: flex !important;
        grid-column: auto !important;
        grid-row: auto !important;
        width: 100% !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 9px 12px 10px !important;
        overflow-x: auto !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-main {
        grid-template-rows: auto !important;
        padding-bottom: 0 !important;
    }
}
@media (min-width: 801px) {
    .marketplace-home .marketplace-reference-header .market-header-main {
        grid-template-rows: auto auto !important;
        align-items: center !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1/3 !important;
        align-self: center !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: auto !important;
        min-height: 26px !important;
        margin: 0 !important;
        padding: 8px 0 0 !important;
        overflow-x: auto !important;
    }
}
@media (max-width: 800px) {
    .marketplace-home .marketplace-reference-header .market-header-main {
        grid-template-columns: max-content minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
        padding-bottom: 0 !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        max-width: 68px !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-catalog {
        display: none !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 9px 12px 10px !important;
        overflow-x: auto !important;
    }
}
/* Desktop header matches the compact mobile arrangement: logo and search share row one, categories sit under search. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 110px minmax(0, 1fr) 54px !important;
        grid-template-rows: auto auto !important;
        min-height: 0 !important;
        padding: 14px 0 12px !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 0 !important;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: 100px !important;
        max-height: 100px !important;
        align-self: center !important;
    }
    .marketplace-reference-header .market-header-brand .brand-logo {
        width: 100% !important;
        max-width: 100px !important;
        max-height: 100px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: auto !important;
        min-height: 26px !important;
        margin: 0 !important;
        padding: 8px 0 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 17px !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
    }
}

/* Brand wordmark sits beside the logo icon. */
.marketplace-reference-header .market-header-brand {
    gap: 8px !important;
    white-space: nowrap !important;
}
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
    }
    .marketplace-reference-header .market-header-brand {
        max-width: 205px !important;
    }
    .marketplace-reference-header .market-header-brand .brand-logo {
        flex: 0 0 100px !important;
        width: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
    }
}
@media (max-width: 800px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: minmax(116px, auto) minmax(0, 1fr) !important;
    }
    .marketplace-reference-header .market-header-brand {
        width: auto !important;
        max-width: 116px !important;
        gap: 5px !important;
        overflow: visible !important;
    }
    .marketplace-reference-header .market-header-brand .brand-logo {
        flex: 0 0 48px !important;
        width: 48px !important;
        max-width: 48px !important;
        max-height: 42px !important;
    }
}

/* Polished desktop header spacing and alignment. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-topline {
        box-sizing: border-box;
        width: min(1200px, 100%);
        height: 38px;
        min-height: 38px;
        margin: 0 auto;
        padding: 0 4px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    }
    .marketplace-reference-header .market-header-links,
    .marketplace-reference-header .market-header-account {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
        white-space: nowrap;
    }
    .marketplace-reference-header .market-header-links > a,
    .marketplace-reference-header .market-header-account > a,
    .marketplace-reference-header .market-header-account .language-link {
        font-size: 11px;
        line-height: 1.2;
    }
    .marketplace-reference-header .market-header-main {
        box-sizing: border-box;
        width: min(1200px, 100%);
        min-height: 82px;
        margin: 0 auto;
        padding: 5px 0 8px;
        display: grid;
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
        grid-template-rows: 42px 25px !important;
        align-items: center;
        column-gap: 10px;
        row-gap: 0;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1/3 !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        width: 205px;
        max-width: 205px;
        max-height: 74px;
        overflow: hidden;
    }
    .marketplace-reference-header .market-header-brand .brand-logo {
        display: block;
        flex: 0 0 100px;
        width: 100px;
        max-width: 100px;
        max-height: 74px;
        object-fit: contain;
        object-position: left center;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0;
    }
    .marketplace-reference-header .market-header-search {
        height: 42px;
        min-height: 42px;
        border: 2px solid #fff;
        border-radius: 4px;
    }
    .marketplace-reference-header .market-header-search input {
        padding: 0 14px;
        font-size: 14px;
    }
    .marketplace-reference-header .market-header-search button {
        width: 66px;
        min-width: 66px;
    }
    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end;
        width: 46px;
        height: 46px;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: flex;
        align-items: center;
        gap: 16px;
        min-width: 0;
        width: auto;
        margin: 0;
        padding: 4px 0 0;
        overflow-x: auto;
        white-space: nowrap;
    }
    .marketplace-reference-header .market-header-suggestions a {
        font-size: 11px;
        font-weight: 600;
    }
}

/* Footer composition aligned to the supplied six-column marketplace reference. */
.site-footer {
    box-sizing: border-box;
    padding: 30px max(24px, calc((100% - 1080px) / 2)) 0 !important;
    color: #fff !important;
}
.site-footer .footer-columns {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    border-top: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
}
.site-footer .footer-columns > div {
    padding: 20px 20px 25px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.35) !important;
    min-width: 0;
}
.site-footer .footer-columns > div:first-child {
    padding-left: 0 !important;
}
.site-footer .footer-columns > div:last-child {
    border-right: 0 !important;
}
.site-footer .footer-heading,
.site-footer .footer-subheading {
    margin: 0 0 16px !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}
.site-footer .footer-subheading {
    margin: 12px 0 14px !important;
}
.site-footer .footer-columns a {
    margin: 0 0 12px !important;
    color: #fff !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    text-decoration: none;
}
.site-footer .footer-columns a:hover {
    text-decoration: underline;
}
.site-footer .payment-area {
    padding: 16px 0 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35) !important;
}
.site-footer .payment-heading {
    margin: 0 0 10px !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}
.site-footer .payment-logos {
    gap: 8px !important;
}
.site-footer .payment-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 34px;
    padding: 4px 7px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 4px;
}
.site-footer .payment-logos img {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    object-fit: contain !important;
    background: transparent !important;
}
.site-footer .footer-bottom {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 0 18px !important;
    border-top: 0 !important;
    color: #fff !important;
    font-size: 11px !important;
}
.site-footer .footer-bottom > span {
    display: flex;
    align-items: center;
    gap: 10px;
}
.site-footer .footer-seo-link {
    color: #ffe94a;
    text-decoration: none;
}
.site-footer .footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.site-footer .footer-social span {
    display: block;
    width: 26px;
    height: 26px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
}
.site-footer .footer-legal {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
}
.site-footer .footer-legal a,
.site-footer .footer-country {
    color: #fff;
    text-decoration: none;
    font-size: 11px;
}
@media (max-width: 800px) {
    .site-footer {
        padding: 24px 16px 0 !important;
    }
    .site-footer .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .site-footer .footer-columns > div {
        padding: 16px 12px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    }
    .site-footer .footer-columns > div:first-child {
        padding-left: 12px !important;
    }
    .site-footer .footer-columns > div:nth-child(2n) {
        border-right: 0 !important;
    }
    .site-footer .footer-heading {
        font-size: 13px !important;
    }
    .site-footer .footer-columns a {
        font-size: 11px !important;
        margin-bottom: 9px !important;
    }
    .site-footer .payment-logos {
        gap: 7px !important;
    }
    .site-footer .payment-item {
        width: 64px;
        height: 32px;
    }
    .site-footer .footer-bottom {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        text-align: center;
    }
    .site-footer .footer-social {
        order: 0;
    }
    .site-footer .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
    }
    .site-footer .footer-bottom > span {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Favicon artwork replaces the decorative hero star and keeps its tilted pose. */
.marketplace-home .category-hero-badge {
    object-fit: contain;
    padding: 15px;
    box-sizing: border-box;
    transform: translateY(-50%) rotate(-8deg) !important;
    border-radius: 24px;
    background: linear-gradient(145deg, #fff, #ffe6dc);
    box-shadow: 0 14px 35px #c64d3518;
}

/* Ensure the complete PASARWD favicon logo is displayed inside the tilted hero badge. */
.marketplace-home img.category-hero-badge {
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 12px !important;
    object-fit: contain !important;
    object-position: center !important;
    overflow: visible !important;
    filter: none !important;
    transform: translateY(-50%) rotate(-8deg) !important;
}
@media (max-width: 768px) {
    .marketplace-home img.category-hero-badge {
        width: 64px !important;
        height: 64px !important;
        padding: 7px !important;
        border-radius: 18px !important;
    }
}

/* Favicon hero: no decorative frame or tile behind the icon; keep only a soft shadow and subtle motion. */
.marketplace-home img.category-hero-badge {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    filter: drop-shadow(0 9px 12px rgba(201, 67, 43, 0.22)) !important;
    object-fit: contain !important;
    transform: translateY(-50%) rotate(-8deg) !important;
    transition:
        filter 0.25s ease,
        transform 0.25s ease !important;
}
.marketplace-home .marketplace-hero:hover img.category-hero-badge {
    filter: drop-shadow(0 12px 15px rgba(201, 67, 43, 0.3)) !important;
    transform: translateY(calc(-50% - 3px)) rotate(-8deg) !important;
}
@media (max-width: 768px) {
    .marketplace-home img.category-hero-badge {
        width: 64px !important;
        height: 64px !important;
        padding: 0 !important;
    }
}

.marketplace-category-home .home-info-panel,
.marketplace-category-home .home-publication-group,
.marketplace-category-home .home-faq-item {
    border-color: #dfe3ea;
    box-shadow: 0 6px 20px rgba(28, 39, 56, 0.08);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
}
.marketplace-category-home .home-info-panel:hover,
.marketplace-category-home .home-publication-group:hover,
.marketplace-category-home .home-faq-item:hover {
    transform: translateY(-4px);
    border-color: #f0a28e;
    box-shadow: 0 14px 30px rgba(28, 39, 56, 0.13);
}
.marketplace-category-home .home-publication-group {
    border: 1px solid #dfe3ea;
    border-radius: 13px;
    background: #fff;
}
.marketplace-category-home .home-publication-card {
    padding: 14px 0;
}
.marketplace-category-home .home-category-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid #ee4d2d;
    border-radius: 7px;
    background: #ee4d2d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
    transition:
        background 0.2s,
        border-color 0.2s,
        transform 0.2s;
}
.marketplace-category-home .home-category-view-all:hover {
    transform: translateY(-2px);
    border-color: #d94325;
    background: #d94325;
}
@media (max-width: 768px) {
    .marketplace-category-home .home-category-view-all {
        min-height: 34px;
        padding: 0 12px;
        font-size: 10px;
    }
}
/* Header final alignment: desktop logo/search on one line; no wordmark on mobile. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
        grid-template-rows: 42px 25px !important;
        min-height: 82px !important;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1/3 !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
}
@media (max-width: 800px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: minmax(0, 68px) minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 68px !important;
        max-width: 68px !important;
        justify-content: flex-start !important;
    }
    .marketplace-reference-header .market-header-brand .brand-logo {
        width: auto !important;
        max-width: 58px !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
    }
}

/* Enforce six desktop footer columns with clearly visible dividers. */
@media (min-width: 801px) {
    .site-footer .footer-columns {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.72) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.72) !important;
    }
    .site-footer .footer-columns > .footer-column {
        display: flex !important;
        min-width: 0 !important;
        border-right: 1px solid rgba(255, 255, 255, 0.72) !important;
        border-bottom: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 25px !important;
    }
    .site-footer .footer-columns > .footer-column:first-child {
        border-left: 1px solid rgba(255, 255, 255, 0.72) !important;
        padding-left: 20px !important;
    }
    .site-footer .footer-columns > .footer-column:last-child {
        border-right: 1px solid rgba(255, 255, 255, 0.72) !important;
    }
    .site-footer .footer-columns > .footer-column:nth-child(2n) {
        border-right: 1px solid rgba(255, 255, 255, 0.72) !important;
    }
}
@media (max-width: 800px) {
    .site-footer .footer-columns {
        border-top: 1px solid rgba(255, 255, 255, 0.65) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.65) !important;
    }
    .site-footer .footer-columns > .footer-column {
        border-right: 1px solid rgba(255, 255, 255, 0.55) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.55) !important;
    }
    .site-footer .footer-columns > .footer-column:nth-child(2n) {
        border-right: 0 !important;
    }
    .site-footer .footer-columns > .footer-column:first-child {
        border-left: 1px solid rgba(255, 255, 255, 0.55) !important;
    }
}

/* Final requested alignment: center desktop icon on the search row, hide its wordmark on mobile. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-rows: minmax(74px, auto) 25px !important;
        align-items: center !important;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: center !important;
        max-height: 74px !important;
    }
    .marketplace-reference-header .market-header-brand .brand-logo {
        width: 100px !important;
        max-width: 100px !important;
        max-height: 74px !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
    }
    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
}
@media (max-width: 800px) {
    .marketplace-reference-header .market-header-brand {
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-row: 2 !important;
    }
}

/* Footer separators follow the reference: internal dividers only, no boxed outer frame. */
.site-footer .footer-columns {
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42) !important;
}
.site-footer .footer-columns > .footer-column {
    border-right: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-left: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}
.site-footer .footer-columns > .footer-column:first-child {
    border-left: 0 !important;
    padding-left: 0 !important;
}
.site-footer .footer-columns > .footer-column:last-child {
    border-right: 0 !important;
}
@media (max-width: 800px) {
    .site-footer .footer-columns {
        border: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.42) !important;
    }
    .site-footer .footer-columns > .footer-column {
        border-right: 1px solid rgba(255, 255, 255, 0.38) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.28) !important;
        border-left: 0 !important;
    }
    .site-footer .footer-columns > .footer-column:first-child {
        border-left: 0 !important;
        padding-left: 12px !important;
    }
    .site-footer .footer-columns > .footer-column:nth-child(2n) {
        border-right: 0 !important;
    }
    .site-footer .footer-columns > .footer-column:last-child,
    .site-footer .footer-columns > .footer-column:nth-last-child(2) {
        border-bottom: 0 !important;
    }
}

/* Match the supplied desktop header: full logo image left, search on the same row, categories below search. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
        grid-template-rows: minmax(74px, auto) 25px !important;
        align-items: center !important;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 195px !important;
        max-width: 195px !important;
        max-height: 74px !important;
        gap: 0 !important;
        align-self: center !important;
        overflow: visible !important;
    }
    .marketplace-reference-header .market-header-brand .brand-logo {
        display: block !important;
        flex: 0 0 190px !important;
        width: 190px !important;
        max-width: 190px !important;
        max-height: 74px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
    }
    .marketplace-reference-header .market-header-search {
        height: 42px !important;
        min-height: 42px !important;
    }
    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        justify-self: start !important;
        margin: 0 !important;
        padding-top: 4px !important;
    }
}

/* Correct header: desktop keeps PASARWD DIGITAL beside icon; mobile hides only that text. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 205px minmax(0, 1fr) 54px !important;
        grid-template-rows: 74px 25px !important;
        min-height: 0 !important;
        align-items: center !important;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        width: 205px !important;
        max-width: 205px !important;
        height: 74px !important;
        max-height: 74px !important;
        align-self: center !important;
        overflow: visible !important;
    }
    .marketplace-reference-header .market-header-brand .brand-logo {
        display: block !important;
        flex: 0 0 100px !important;
        width: 100px !important;
        max-width: 100px !important;
        height: auto !important;
        max-height: 74px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
    }
    .marketplace-reference-header .market-header-catalog {
        grid-column: 3 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
        align-self: center !important;
        margin: 0 !important;
        padding-top: 0 !important;
    }
}
@media (max-width: 800px) {
    .marketplace-reference-header .market-header-brand {
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-row: 2 !important;
    }
}

/* Header brand assets: horizontal PASARWD logo on desktop, favicon icon on mobile. */
@media (min-width: 801px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 250px minmax(0, 1fr) 54px !important;
        grid-template-rows: 74px 25px !important;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 235px !important;
        max-width: 235px !important;
        height: 74px !important;
        max-height: 74px !important;
        gap: 0 !important;
        overflow: visible !important;
    }
    .marketplace-reference-header .market-header-logo-picture {
        display: block !important;
        flex: 0 0 230px !important;
        width: 230px !important;
        height: 62px !important;
        max-width: 230px !important;
    }
    .marketplace-reference-header .market-header-logo-picture .brand-logo {
        display: block !important;
        width: 230px !important;
        max-width: 230px !important;
        height: 62px !important;
        max-height: 62px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }
}
@media (max-width: 800px) {
    .marketplace-reference-header .market-header-main {
        grid-template-columns: 68px minmax(0, 1fr) !important;
    }
    .marketplace-reference-header .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 58px !important;
        max-width: 58px !important;
        height: 44px !important;
        max-height: 44px !important;
        overflow: hidden !important;
    }
    .marketplace-reference-header .market-header-logo-picture {
        display: block !important;
        flex: 0 0 58px !important;
        width: 58px !important;
        height: 44px !important;
        max-width: 58px !important;
    }
    .marketplace-reference-header .market-header-logo-picture .brand-logo {
        display: block !important;
        width: 58px !important;
        max-width: 58px !important;
        height: 44px !important;
        max-height: 44px !important;
        object-fit: contain !important;
        object-position: left center !important;
    }
    .marketplace-reference-header .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .marketplace-reference-header .market-header-suggestions {
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
    }
}

/* Disclaimer card with readable copy and a full perimeter color animation. */
@property --pasarwd-disclaimer-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}
.home-notice-section {
    margin: 28px auto 0;
    padding: 0 0 2px;
}
.home-notice-card {
    --pasarwd-disclaimer-angle: 0deg;
    display: grid;
    justify-items: center;
    gap: 14px;
    min-width: 0;
    padding: 26px 32px;
    border: 2px solid transparent;
    border-radius: 14px;
    background:
        linear-gradient(135deg, #fff 20%, #fff8f5 100%) padding-box,
        conic-gradient(
            from var(--pasarwd-disclaimer-angle),
            #ff4512,
            #f4512b 12%,
            #ffc247 25%,
            #53c9a5 40%,
            #52a8ff 56%,
            #a879ff 72%,
            #f36bb4 87%,
            #ff4512
        ) border-box;
    box-shadow: 0 12px 32px rgba(97, 67, 133, 0.12);
    animation: disclaimer-border-orbit 8s linear infinite;
    text-align: center;
}
.home-notice-card > h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 7px 13px;
    border: 1px solid #f1d7ce;
    border-radius: 999px;
    background: #fff8f3;
    color: #d94b2d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    line-height: 1.4;
}
.home-notice-card > h2::before {
    display: grid;
    flex: 0 0 20px;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9b52, #ef5367);
    color: #fff;
    content: "!";
    font-size: 13px;
    letter-spacing: 0;
}
.home-notice-rich-content {
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-self: stretch;
    color: #3e4653;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-align: left;
}
.home-notice-rich-content > :first-child {
    margin-top: 0;
}
.home-notice-rich-content > :last-child {
    margin-bottom: 0;
}
.home-notice-rich-content h2 {
    margin: 16px 0 7px;
    color: #243247;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.45;
}
.home-notice-rich-content h3,
.home-notice-rich-content h4 {
    margin: 0 0 12px;
    color: #3e4653;
    font-size: inherit;
    font-weight: 450;
    line-height: inherit;
}
.home-notice-rich-content li > h3,
.home-notice-rich-content li > h4 {
    display: inline;
    margin: 0;
}
.home-notice-rich-content ul,
.home-notice-rich-content ol {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 8px 0 14px;
    padding-inline-start: 1.25em;
}
.home-notice-rich-content > div {
    width: 100%;
    text-align: left;
}
.home-notice-rich-content li + li {
    margin-top: 7px;
}
.home-notice-rich-content blockquote {
    margin: 12px 0;
    padding: 10px 14px;
    border-left: 3px solid #f4512b;
    border-radius: 0 8px 8px 0;
    background: #fff3ee;
}
@keyframes disclaimer-border-orbit {
    to {
        --pasarwd-disclaimer-angle: 1turn;
    }
}
@media (max-width: 768px) {
    .home-notice-section {
        margin-top: 20px;
    }
    .home-notice-card {
        gap: 12px;
        padding: 22px 18px;
        border-radius: 12px;
    }
    .home-notice-card > h2 {
        gap: 7px;
        padding: 6px 11px;
        font-size: 11px;
    }
    .home-notice-card > h2::before {
        flex-basis: 18px;
        width: 18px;
        height: 18px;
    }
    .home-notice-rich-content {
        font-size: 13px;
        line-height: 1.75;
    }
}
@media (max-width: 380px) {
    .home-notice-card {
        padding: 19px 14px;
    }
    .home-notice-rich-content {
        font-size: 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .home-notice-card {
        animation: none;
    }
}

/* Compact, swipeable publication cards for homepage info and article rails. */
.home-publication-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}
.home-publication-group {
    padding: 19px 20px 20px;
    overflow: hidden;
}
.home-publication-heading {
    align-items: center;
    margin-bottom: 15px;
}
.home-publication-heading .marketplace-eyebrow {
    font-size: 9px;
}
.home-publication-heading h3 {
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.25;
}
.home-publication-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
.home-publication-controls > a {
    margin-right: 5px;
}
.home-publication-controls > button {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #e1e5eb;
    border-radius: 50%;
    background: #fff;
    color: #354052;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s,
        border-color 0.2s,
        color 0.2s;
}
.home-publication-controls > button:hover {
    border-color: var(--market-orange);
    background: #fff3ef;
    color: var(--market-orange);
}
.home-publication-list {
    display: grid;
    grid-auto-columns: minmax(230px, 255px);
    grid-auto-flow: column;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1px 2px 9px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}
.home-publication-list::-webkit-scrollbar {
    display: none;
}
.home-publication-card {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e1e6ee;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(29, 45, 67, 0.06);
    scroll-snap-align: start;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}
.home-publication-card:hover {
    transform: translateY(-3px);
    border-color: #f2a18d;
    box-shadow: 0 10px 24px rgba(29, 45, 67, 0.12);
}
.home-publication-image {
    display: grid;
    place-items: center;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, #d9f5ee, #dcf0ff);
    color: #258e81;
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
}
.home-publication-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.home-publication-card:hover .home-publication-image img {
    transform: scale(1.04);
}
.home-publication-card-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 7px;
    padding: 12px 13px 11px;
}
.home-publication-card h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 39px;
    margin: 0;
    color: var(--market-ink);
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.home-publication-card h3 a:hover {
    color: var(--market-orange);
}
.home-publication-card-copy > p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 34px;
    margin: 0;
    color: var(--market-muted);
    font-size: 11px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.home-publication-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 9px;
    border-top: 1px solid #edf0f4;
    color: #8290a1;
    font-size: 10px;
}
.home-publication-meta time {
    white-space: nowrap;
}
.home-publication-empty {
    padding: 14px 0;
}
@media (max-width: 768px) {
    .home-publication-columns {
        gap: 17px;
    }
    .home-publication-group {
        padding: 15px 13px 12px;
    }
    .home-publication-heading {
        align-items: flex-end;
        gap: 8px;
    }
    .home-publication-heading h3 {
        max-width: 220px;
        font-size: 18px;
    }
    .home-publication-controls {
        gap: 5px;
    }
    .home-publication-controls > a {
        margin-right: 2px;
        font-size: 10px;
    }
    .home-publication-controls > button {
        width: 27px;
        height: 27px;
        font-size: 19px;
    }
    .home-publication-list {
        grid-auto-columns: minmax(0, 78vw);
        gap: 11px;
        margin-right: -3px;
    }
    .home-publication-card-copy {
        gap: 6px;
        padding: 10px 11px;
    }
    .home-publication-card h3 {
        font-size: 12px;
    }
    .home-publication-card-copy > p {
        font-size: 10px;
    }
}
@media (max-width: 380px) {
    .home-publication-group {
        padding: 13px 10px 10px;
    }
    .home-publication-heading h3 {
        font-size: 16px;
    }
    .home-publication-controls > a {
        font-size: 9px;
    }
    .home-publication-list {
        grid-auto-columns: minmax(0, 82vw);
    }
}

/* Keep the shared header and homepage content inside the viewport at tablet and phone widths. */
.marketplace-home,
.marketplace-home body {
    max-width: 100%;
    overflow-x: clip;
}
.marketplace-home .site-header,
.marketplace-home .market-header-topline,
.marketplace-home .market-header-main {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.marketplace-home .marketplace-main {
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    min-width: 0;
    padding-right: 18px !important;
    padding-left: 18px !important;
}
.marketplace-home .marketplace-main > * {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}
.marketplace-category-home .marketplace-hero {
    min-width: 0;
}
@media (max-width: 900px) {
    .marketplace-home .market-header-topline {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
    .marketplace-home .market-header-main {
        grid-template-columns: minmax(0, 180px) minmax(0, 1fr) 40px !important;
        column-gap: 10px !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
    .marketplace-home .market-header-brand,
    .marketplace-home .market-header-logo-picture {
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    .marketplace-home .market-header-logo-picture .brand-logo {
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        object-fit: contain !important;
    }
    .marketplace-home .market-header-search-area {
        grid-column: 2 !important;
        min-width: 0 !important;
        width: 100% !important;
    }
    .marketplace-home .market-header-search {
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0 !important;
    }
    .marketplace-home .market-header-suggestions {
        grid-column: 2 !important;
        min-width: 0 !important;
        max-width: 100%;
        overflow: hidden;
    }
    .marketplace-home .marketplace-hero {
        padding-right: 24px;
        padding-left: 24px;
    }
    .marketplace-category-home .marketplace-hero-copy {
        max-width: calc(100% - 90px);
    }
    .marketplace-category-home .marketplace-hero h1,
    .marketplace-category-home .marketplace-hero-copy > p:not(.marketplace-eyebrow) {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
@media (max-width: 640px) {
    .marketplace-home .marketplace-main {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
    .marketplace-home .market-header-topline {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        padding: 5px 10px !important;
    }
    .marketplace-home .market-header-links {
        display: flex !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: none !important;
        gap: 9px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none;
        white-space: nowrap !important;
    }
    .marketplace-home .market-header-links::-webkit-scrollbar {
        display: none;
    }
    .marketplace-home .market-header-links > a,
    .marketplace-home .market-header-links > a:nth-child(n) {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        font-size: 10px !important;
    }
    .marketplace-home .market-header-account {
        display: flex !important;
        flex: 0 0 auto !important;
        gap: 7px !important;
        overflow: visible !important;
    }
    .marketplace-home .market-header-account .market-header-help,
    .marketplace-home .market-header-account .language-link {
        display: none !important;
    }
    .marketplace-home .market-header-main {
        grid-template-columns: minmax(0, 58px) minmax(0, 1fr) 32px !important;
        grid-template-rows: auto auto !important;
        column-gap: 8px !important;
        row-gap: 0 !important;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
    .marketplace-home .market-header-brand {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 58px !important;
        height: 44px !important;
    }
    .marketplace-home .market-header-logo-picture,
    .marketplace-home .market-header-logo-picture .brand-logo {
        width: 58px !important;
        height: 44px !important;
        max-height: 44px !important;
    }
    .marketplace-home .market-header-search-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-catalog {
        display: grid !important;
        visibility: visible !important;
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: 32px !important;
        height: 38px !important;
        justify-self: end !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-catalog svg {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
    }
    .marketplace-home .market-header-suggestions {
        display: flex !important;
        grid-column: 1/-1 !important;
        grid-row: 2 !important;
        box-sizing: border-box;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        gap: 13px !important;
        margin: 0 !important;
        padding: 9px 0 3px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none;
        white-space: nowrap !important;
    }
    .marketplace-home .market-header-suggestions::-webkit-scrollbar {
        display: none;
    }
    .marketplace-home .market-header-suggestions > a {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        font-size: 10px !important;
    }
    .marketplace-home .marketplace-hero {
        padding: 20px 16px;
    }
    .marketplace-category-home .marketplace-hero-copy {
        max-width: 100%;
    }
    .marketplace-category-home .marketplace-hero h1 {
        max-width: calc(100% - 54px);
    }
}

/* Popular articles heading treatment from the supplied reference. */
.home-publication-feature-heading {
    justify-content: flex-start;
    margin: 0 0 18px;
}
.home-publication-feature-heading > div {
    display: grid;
    justify-items: start;
}
.home-publication-popular-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff0eb;
    color: #ee4d2d;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
}
.home-publication-popular-label svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}
.home-publication-feature-heading h2 {
    margin: 0;
    color: var(--market-ink);
    font-size: clamp(21px, 2.2vw, 26px);
    line-height: 1.25;
    letter-spacing: -0.025em;
}
@media (max-width: 768px) {
    .home-publication-feature-heading {
        margin-bottom: 13px;
    }
    .home-publication-feature-heading h2 {
        font-size: 21px;
    }
}
.home-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.home-testimonial-card {
    position: relative;
    min-width: 0;
    padding: 18px;
    border: 1px solid #f2d9cf;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff, #fff8f4);
    box-shadow: 0 5px 16px rgba(91, 48, 30, 0.05);
}
.home-testimonial-card:before {
    position: absolute;
    top: 8px;
    right: 15px;
    color: #f7d9cc;
    content: "\201C";
    font-family: Georgia, serif;
    font-size: 56px;
    line-height: 1;
}
.home-testimonial-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 13px;
}
.home-testimonial-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border: 1px solid #ffd3c5;
    border-radius: 50%;
    background: linear-gradient(145deg, #fff0e9, #ffd9cd);
    color: #e85032;
    font-size: 13px;
    font-weight: 800;
}
.home-testimonial-person {
    display: grid;
    gap: 3px;
    min-width: 0;
}
.home-testimonial-person .home-testimonial-author {
    overflow: hidden;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-testimonial-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.home-testimonial-stars {
    color: #ee8b22;
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.2;
    white-space: nowrap;
}
.home-testimonial-card blockquote {
    margin: 0;
    color: #596273;
    font-size: 12px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
.home-testimonial-author {
    display: block;
    margin-top: 14px;
    color: var(--market-ink);
    font-size: 12px;
}
.home-testimonial-score {
    display: inline-block;
    margin: 0;
    color: var(--market-muted);
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
}
@media (max-width: 768px) {
    .home-testimonial-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .home-testimonial-card {
        padding: 15px;
    }
}

/* Match the reference: keep each publication rail, remove its large surrounding panel. */
.home-publication-group {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.home-publication-columns {
    gap: 30px;
}
.home-publication-heading {
    margin-bottom: 13px;
}
@media (max-width: 768px) {
    .home-publication-columns {
        gap: 23px;
    }
    .home-publication-heading {
        margin-bottom: 10px;
    }
}

/* Show three compact cards per view and remove leftover wrapper/legacy list sizing. */
.home-publication-group {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.marketplace-category-home .home-publication-group:hover,
.marketplace-category-home .home-publication-group.scroll-reveal.is-visible:hover {
    transform: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.home-publication-list {
    display: flex !important;
    width: 100%;
    min-width: 0;
    grid-auto-columns: unset;
    grid-auto-flow: unset;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0;
    padding: 1px 2px 8px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}
.home-publication-list::-webkit-scrollbar {
    display: none;
}
.home-publication-card,
.marketplace-category-home .home-publication-card {
    flex: 0 0 min(255px, calc((100% - 28px) / 3)) !important;
    width: min(255px, calc((100% - 28px) / 3)) !important;
    min-width: 0;
    max-width: none;
    padding: 0 !important;
}
.home-publication-scroll-cue {
    width: min(130px, 34%);
    height: 4px;
    margin: 7px auto 0;
    overflow: hidden;
    border-radius: 99px;
    background: #e8edf2;
}
.home-publication-scroll-cue[hidden] {
    display: none;
}
.home-publication-scroll-cue > span {
    display: block;
    width: var(--publication-thumb-width, 30%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ff9b52, #ed4b2e);
    transform: translateX(var(--publication-thumb-offset, 0));
    transition:
        transform 0.12s ease,
        width 0.12s ease;
}
@media (max-width: 480px) {
    .home-publication-list {
        gap: 12px;
    }
    .home-publication-card,
    .marketplace-category-home .home-publication-card {
        flex-basis: calc((100% - 12px) / 2) !important;
        width: calc((100% - 12px) / 2) !important;
    }
}
.home-publication-scroll-cue > span {
    margin-left: var(--publication-thumb-offset, 0);
    transform: none;
}
.home-publication-scroll-cue > span {
    transition:
        margin-left 0.12s ease,
        width 0.12s ease;
}

/* Compact EN/ID language selector in the shared header. */
.marketplace-reference-header .market-header-topline {
    position: relative;
    z-index: 60;
    overflow: visible;
}
.marketplace-reference-header .market-header-account .market-language-switcher {
    position: relative;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: #fff;
    font-size: 11px;
    line-height: 1.2;
}
.marketplace-reference-header .market-language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 28px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.marketplace-reference-header .market-language-trigger:hover,
.marketplace-reference-header .market-language-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
}
.marketplace-reference-header .market-language-trigger > svg {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    transition: transform 0.18s ease;
}
.marketplace-reference-header .market-language-trigger[aria-expanded="true"] > svg {
    transform: rotate(180deg);
}
.marketplace-reference-header .market-language-flag {
    font-size: 14px;
    line-height: 1;
}
.marketplace-reference-header .market-language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1000;
    display: grid;
    width: 112px;
    gap: 3px;
    padding: 6px;
    border: 1px solid #f1ddd5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(50, 30, 20, 0.18);
    color: #273548;
}
.marketplace-reference-header .market-language-menu[hidden] {
    display: none !important;
}
.marketplace-reference-header .market-language-menu > button {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 34px;
    padding: 6px 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #263448;
    font: inherit;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}
.marketplace-reference-header .market-language-menu > button:hover,
.marketplace-reference-header .market-language-menu > button.is-active {
    background: #fff1ec;
    color: #df492c;
}
.marketplace-reference-header .market-language-check {
    margin-left: auto;
    visibility: hidden;
    color: #ed4c2e;
    font-size: 14px;
}
.marketplace-reference-header .market-language-menu > button.is-active .market-language-check {
    visibility: visible;
}
.marketplace-reference-header .market-language-trigger:focus-visible,
.marketplace-reference-header .market-language-menu > button:focus-visible {
    outline: 2px solid #ffd2c4;
    outline-offset: 2px;
}
@media (max-width: 800px) {
    .marketplace-reference-header .market-header-account .market-language-switcher {
        font-size: 9px;
    }
    .marketplace-reference-header .market-language-trigger {
        gap: 4px;
        min-height: 24px;
        padding: 3px 6px;
    }
    .marketplace-reference-header .market-language-trigger > svg {
        width: 9px;
        height: 9px;
    }
    .marketplace-reference-header .market-language-flag {
        font-size: 12px;
    }
    .marketplace-reference-header .market-language-menu {
        top: calc(100% + 6px);
        width: 94px;
        padding: 5px;
    }
    .marketplace-reference-header .market-language-menu > button {
        min-height: 31px;
        padding: 5px 7px;
    }
}
/* Keep the slow mobile category ticker and its separators. */
@media (max-width: 800px) {
    .marketplace-reference-header .market-header-topline {
        position: relative !important;
        z-index: 60 !important;
        overflow: visible !important;
    }
    .marketplace-reference-header .market-header-account {
        overflow: visible !important;
    }
    .marketplace-home .marketplace-reference-header .market-header-account {
        gap: 8px !important;
        white-space: nowrap;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions {
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 9px 12px 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-x: contain;
        scroll-behavior: auto !important;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions::-webkit-scrollbar {
        display: none;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions > a {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        align-items: center;
        max-width: none !important;
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: nowrap;
    }
    .marketplace-home .marketplace-reference-header .market-header-suggestions > a + a:before {
        content: "|";
        display: inline-block;
        margin: 0 9px;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 400;
    }
}

/* Final account row: language selector | Daftar | Login, with a plain Login link. */
.marketplace-reference-header .market-header-account {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: nowrap !important;
}
.marketplace-reference-header .market-header-account > .market-header-help,
.marketplace-reference-header .market-header-account > .market-header-icon-link {
    display: none !important;
}
.marketplace-reference-header .market-header-account > .market-header-register,
.marketplace-reference-header .market-header-account > .market-header-login {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 28px !important;
    padding: 3px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: inherit !important;
    text-decoration: none !important;
}
.marketplace-reference-header .market-header-account > .market-header-login {
    padding-right: 0 !important;
    padding-left: 2px !important;
}
.marketplace-reference-header .market-header-account > .market-header-login:hover,
.marketplace-reference-header .market-header-account > .market-header-register:hover {
    text-decoration: underline !important;
}
.marketplace-reference-header .market-header-account .market-language-switcher {
    order: 0 !important;
}
.marketplace-reference-header .market-header-account > .market-header-register {
    order: 1 !important;
}
.marketplace-reference-header .market-header-account > .market-header-login {
    order: 2 !important;
}

/* Keep the red bands full width while aligning their content with the product cards. */
@media (min-width: 901px) {
    .marketplace-home.product-page .site-header {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-right: max(0px, calc((100% - 1240px) / 2)) !important;
        padding-left: max(0px, calc((100% - 1240px) / 2)) !important;
    }
    .marketplace-home.product-page .market-header-topline,
    .marketplace-home.product-page .market-header-main {
        box-sizing: border-box;
        width: 100%;
        max-width: 1240px;
        padding-right: 18px;
        padding-left: 18px;
    }
    .marketplace-home.product-page .site-footer {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-right: max(18px, calc((100% - 1204px) / 2)) !important;
        padding-left: max(18px, calc((100% - 1204px) / 2)) !important;
    }
}
@media (min-width: 801px) and (max-width: 900px) {
    .marketplace-home.product-page .site-header {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .marketplace-home.product-page .market-header-topline,
    .marketplace-home.product-page .market-header-main {
        box-sizing: border-box;
        width: 100%;
        max-width: none;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
    .marketplace-home.product-page .site-footer {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-right: 12px !important;
        padding-left: 12px !important;
    }
}


/* MOBILE & DESKTOP HORIZONTAL TESTIMONIAL RAIL */
.home-testimonial-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.home-testimonial-grid::-webkit-scrollbar {
    display: none;
}
.home-testimonial-grid .home-testimonial-card {
    flex: 0 0 300px !important;
    min-width: 260px !important;
}
@media (max-width: 760px) {
    .home-testimonial-grid .home-testimonial-card {
        flex: 0 0 265px !important;
        min-width: 245px !important;
    }
}
