body.pix-home-minimal-page {
    background: #f7f8fa;
}

body.pix-home-minimal-page .pix-global-header-v5 {
    box-shadow: none;
    border-bottom: 1px solid #eef1f5;
    background: rgba(255, 255, 255, .98);
}

body.pix-home-minimal-page .pix-header-main-v5 {
    min-height: 62px;
    gap: 12px;
}

body.pix-home-minimal-page .pix-header-discovery-v5 {
    display: none !important;
}

body.pix-home-minimal-page .pix-header-menu-v5 {
    width: 40px;
    height: 40px;
    border-radius: 14px;
}

body.pix-home-minimal-page .pix-header-brand-v5 img {
    width: 122px;
    max-height: none;
}

body.pix-home-minimal-page .pix-header-vendor-v5 {
    display: inline-flex !important;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 13px;
    font-size: 9.5px;
    gap: 7px;
}

body.pix-home-minimal-page .pix-header-vendor-v5 i {
    font-size: 11px;
}

.home-minimal {
    background: #f7f8fa;
}

.pxh-home {
    width: 100%;
    direction: rtl;
    color: #172033;
    padding: 12px 12px 92px;
}

.pxh-home,
.pxh-home * {
    box-sizing: border-box;
}

.pxh-hero-card {
    padding: 16px;
    border: 1px solid #e9edf3;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .04);
}

.pxh-hero-copy {
    margin-bottom: 14px;
}

.pxh-hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2469d8;
    font-size: 10px;
    font-weight: 900;
}

.pxh-hero-copy h1 {
    margin: 10px 0 0;
    font-size: 22px;
    line-height: 1.7;
    font-weight: 900;
    color: #172033;
}

.pxh-hero-copy p {
    margin: 6px 0 0;
    color: #7d8796;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.9;
}

.pxh-search-launcher {
    width: 100%;
    min-height: 56px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border: 1px solid #dde4ec;
    border-radius: 17px;
    background: #fff;
    color: #667085;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .035);
    text-align: right;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pxh-search-launcher > i {
    color: #2469d8;
    font-size: 15px;
}

.pxh-search-launcher span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pxh-search-launcher em {
    font-style: normal;
    color: #2469d8;
    font-size: 10px;
    font-weight: 900;
}

.pxh-city-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.pxh-city-row-label {
    color: #8a94a4;
    font-size: 10.5px;
    font-weight: 800;
}

.pxh-city-button {
    min-width: 132px;
    max-width: 100%;
    min-height: 42px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #f8fbff;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 800;
    color: #344054;
    cursor: pointer;
}

.pxh-city-button i {
    color: #2469d8;
}

.pxh-city-button span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pxh-section {
    margin-top: 10px;
    padding: 18px 4px;
    border-top: 1px solid #eef1f5;
}

.pxh-category-section {
    margin-top: 0;
    border-top: 0;
    padding-top: 10px;
}

.pxh-section-head {
    min-height: 32px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.pxh-section-head > div {
    min-width: 0;
}

.pxh-section-head small {
    display: block;
    margin-bottom: 2px;
    color: #98a2b3;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
}

.pxh-section-head h2,
.pxh-category-section .pxh-section-head h2 {
    margin: 0;
    color: #172033;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 900;
}

.pxh-text-button,
.pxh-text-link {
    border: 0;
    background: transparent;
    color: #2469d8;
    padding: 4px 0;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.pxh-text-link i {
    margin-right: 3px;
    font-size: 9px;
}

/* Categories */
.pxh-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px 8px;
}

.pxh-category-item {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: #344054;
    text-decoration: none;
}

.pxh-category-media,
.pxh-category-skeleton::before {
    width: 58px;
    height: 58px;
    border-radius: 18px;
}

.pxh-category-media {
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f1f5fb;
    color: #2469d8;
    font-size: 20px;
}

.pxh-category-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pxh-category-item strong {
    width: 100%;
    overflow: hidden;
    color: #344054;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pxh-category-skeleton {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pxh-category-skeleton::before,
.pxh-category-skeleton::after {
    content: "";
    display: block;
    background: linear-gradient(90deg, #f0f2f5 25%, #f7f8fa 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: pxhShimmer 1.2s linear infinite;
}

.pxh-category-skeleton::after {
    width: 44px;
    height: 8px;
    border-radius: 99px;
}

@keyframes pxhShimmer {
    to { background-position: -200% 0; }
}

/* Vendors */
.pxh-vendor-feed {
    min-width: 0;
}

.pxh-vendor-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 72%;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    padding: 1px 0 5px;
}

.pxh-vendor-track::-webkit-scrollbar { display: none; }

.pxh-vendor-card {
    min-width: 0;
    display: block;
    overflow: hidden;
    border: 1px solid #eceff3;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    scroll-snap-align: start;
}

.pxh-vendor-image {
    height: 128px;
    background: #f1f3f6;
    overflow: hidden;
}

.pxh-vendor-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pxh-vendor-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #aeb7c5;
    font-size: 28px;
}

.pxh-vendor-copy {
    position: relative;
    min-height: 78px;
    padding: 10px 11px 11px;
}

.pxh-vendor-copy h3 {
    margin: 0 0 5px;
    overflow: hidden;
    color: #172033;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pxh-vendor-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 8px;
    padding-left: 46px;
    color: #8a94a4;
    font-size: 9.5px;
    font-weight: 700;
}

.pxh-vendor-meta i {
    margin-left: 2px;
    color: #98a2b3;
}

.pxh-vendor-rating {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #5c6676;
    font-size: 10px;
    font-weight: 800;
}

.pxh-vendor-rating i {
    color: #f5b301;
    font-size: 9px;
}

/* Shop */
.pxh-shop-card {
    min-height: 98px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid #e8ecf2;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.pxh-shop-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #f1f5fb;
    color: #2469d8;
    font-size: 18px;
}

.pxh-shop-copy {
    min-width: 0;
}

.pxh-shop-copy small,
.pxh-shop-copy strong,
.pxh-shop-copy em {
    display: block;
    font-style: normal;
}

.pxh-shop-copy small {
    margin-bottom: 2px;
    color: #2469d8;
    font-size: 9.5px;
    font-weight: 900;
}

.pxh-shop-copy strong {
    color: #172033;
    font-size: 12.5px;
    line-height: 1.65;
    font-weight: 900;
}

.pxh-shop-copy em {
    margin-top: 2px;
    color: #8b95a5;
    font-size: 9.5px;
    line-height: 1.7;
    font-weight: 600;
}

.pxh-shop-arrow {
    color: #98a2b3;
    font-size: 12px;
}

/* Magazine */
.pxh-article-featured {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pxh-article-featured-image {
    position: relative;
    height: 168px;
    overflow: hidden;
    border-radius: 17px;
    background: #eef1f5;
}

.pxh-article-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pxh-video-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(17, 24, 39, .78);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.pxh-article-featured-copy {
    padding: 9px 2px 11px;
}

.pxh-article-featured-copy small,
.pxh-article-row-copy small {
    color: #2469d8;
    font-size: 9px;
    font-weight: 800;
}

.pxh-article-featured-copy h3 {
    margin: 3px 0 0;
    color: #172033;
    font-size: 13.5px;
    line-height: 1.7;
    font-weight: 900;
}

.pxh-article-list {
    border-top: 1px solid #eef1f5;
}

.pxh-article-row {
    min-height: 76px;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eef1f5;
    color: inherit;
    text-decoration: none;
}

.pxh-article-row-image {
    position: relative;
    width: 82px;
    height: 58px;
    overflow: hidden;
    border-radius: 12px;
    background: #eef1f5;
}

.pxh-article-row-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.pxh-article-row-image span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(0, 0, 0, .18);
}

.pxh-article-row-copy {
    min-width: 0;
}

.pxh-article-row-copy strong {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    color: #344054;
    font-size: 11px;
    line-height: 1.7;
    font-weight: 800;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pxh-article-arrow {
    color: #b2bac6;
    font-size: 10px;
}

/* Owner */
.pxh-owner-card {
    padding: 18px;
    border-radius: 20px;
    background: #172b4d;
    color: #fff;
}

.pxh-owner-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.1);
    color: #fff;
}

.pxh-owner-copy small {
    color: #aecaef;
    font-size: 9.5px;
    font-weight: 800;
}

.pxh-owner-copy h2 {
    margin: 3px 0 4px;
    color: #fff;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 900;
}

.pxh-owner-copy p {
    margin: 0;
    color: #c7d2e3;
    font-size: 10px;
    line-height: 1.9;
    font-weight: 600;
}

.pxh-owner-button {
    min-height: 38px;
    margin-top: 14px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #fff;
    color: #172b4d;
    font-size: 10.5px;
    font-weight: 900;
    text-decoration: none;
}

/* Search modal */
.pxh-search-modal[hidden] { display: none !important; }

.pxh-search-modal {
    position: fixed;
    inset: 0;
    z-index: 100500;
    background: #fff;
    direction: rtl;
}

.pxh-search-panel {
    width: min(100%, 620px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.pxh-search-topbar {
    flex: 0 0 auto;
    min-height: 70px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: max(10px, env(safe-area-inset-top)) 12px 10px;
    border-bottom: 1px solid #eef1f5;
    background: #fff;
}

.pxh-search-back {
    width: 38px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #475467;
    cursor: pointer;
}

.pxh-search-field {
    min-height: 46px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid #dfe4ea;
    border-radius: 14px;
    background: #f8f9fb;
}

.pxh-search-field > i {
    color: #2469d8;
    font-size: 14px;
}

.pxh-search-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #172033;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
}

.pxh-search-field input::placeholder { color: #98a2b3; }

.pxh-search-field button {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    background: #edf0f4;
    color: #7d8796;
    cursor: pointer;
}

.pxh-search-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 20px 16px max(24px, env(safe-area-inset-bottom));
}

.pxh-search-start h2 {
    margin: 0;
    color: #172033;
    font-size: 17px;
    line-height: 1.6;
    font-weight: 900;
}

.pxh-search-start p {
    margin: 4px 0 16px;
    color: #8a94a4;
    font-size: 11px;
    line-height: 1.8;
}

.pxh-search-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.pxh-search-chip {
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #e6eaf0;
    border-radius: 999px;
    background: #fff;
    color: #475467;
    font-family: inherit;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
}

.pxh-search-status {
    padding: 18px 0;
    color: #98a2b3;
    font-size: 11px;
    text-align: center;
}

.pxh-search-group-title {
    margin: 16px 0 7px;
    color: #98a2b3;
    font-size: 9.5px;
    font-weight: 800;
}

.pxh-search-result {
    min-height: 64px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f5;
    color: inherit;
    text-decoration: none;
}

.pxh-search-result-media {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5fb;
    color: #2469d8;
}

.pxh-search-result-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pxh-search-result-copy {
    min-width: 0;
}

.pxh-search-result-copy strong,
.pxh-search-result-copy span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pxh-search-result-copy strong {
    color: #344054;
    font-size: 11.5px;
    font-weight: 900;
}

.pxh-search-result-copy span {
    margin-top: 3px;
    color: #98a2b3;
    font-size: 9.5px;
    font-weight: 600;
}

.pxh-search-result-arrow,
.pxh-search-result-rating {
    color: #98a2b3;
    font-size: 9.5px;
    font-weight: 800;
}

.pxh-search-result-rating i { color: #f5b301; }

.pxh-search-empty {
    padding: 48px 10px;
    color: #8a94a4;
    text-align: center;
}

.pxh-search-empty i {
    display: block;
    margin-bottom: 10px;
    color: #c1c8d2;
    font-size: 22px;
}

.pxh-search-empty strong,
.pxh-search-empty span { display: block; }
.pxh-search-empty strong { color: #475467; font-size: 12px; }
.pxh-search-empty span { margin-top: 4px; font-size: 10px; }

body.pxh-search-open {
    overflow: hidden !important;
}

@media (min-width: 700px) {
    .pxh-home {
        max-width: 680px;
        margin: 0 auto;
        padding-inline: 20px;
    }

    .pxh-intro-copy h1 { font-size: 24px; }
    .pxh-vendor-track { grid-auto-columns: 47%; }
    .pxh-article-featured-image { height: 250px; }
}

/* R6: campaign slider above categories */
.pxh-slider-section {
    padding: 12px 0 6px;
}

.pxh-slider-section .custom-slider {
    width: 100%;
}

.pxh-slider-section .custom-slider-container {
    position: relative;
    overflow: hidden;
    border: 1px solid #e7edf6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .045);
}

.pxh-slider-section .custom-slider-track {
    display: flex;
}

.pxh-slider-section .custom-slide {
    min-width: 100%;
}

.pxh-slider-section .custom-slide a,
.pxh-slider-section .custom-slide img {
    display: block;
    width: 100%;
}

.pxh-slider-section .custom-slide img {
    aspect-ratio: 2.15 / 1;
    object-fit: cover;
}

.pxh-slider-section .custom-slider-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, .58);
    color: #fff;
    font-size: 10px;
}

.pxh-slider-section .custom-slider-dots {
    margin-top: 7px;
}

/* R6: category media is image-first, icons only as fallback */
.pxh-category-grid {
    gap: 16px 8px;
}

.pxh-category-media,
.pxh-category-skeleton::before {
    width: 64px;
    height: 64px;
    border-radius: 20px;
}

.pxh-category-media {
    background: linear-gradient(145deg, #f7faff, #edf4ff);
    border: 1px solid #e6eefb;
    box-shadow: 0 5px 14px rgba(36, 105, 216, .04);
    font-size: 20px;
}

.pxh-category-media img {
    width: 100%;
    height: 100%;
    padding: 5px;
    object-fit: contain;
    border-radius: inherit;
}

.pxh-category-item strong {
    font-size: 10.5px;
    color: #263247;
}

/* =========================================================
   R7 - Visual polish from approved Home concept
   ========================================================= */
body.pix-home-minimal-page,
.home-minimal {
    background:
        radial-gradient(circle at 15% 8%, rgba(45,116,255,.045), transparent 24%),
        radial-gradient(circle at 85% 12%, rgba(45,116,255,.035), transparent 22%),
        #f9fbfe;
}

.pxh-home {
    padding: 14px 14px 98px;
}

/* Slider: large visual, rounded and image-led */
.pxh-slider-section {
    padding: 8px 0 12px;
}

.pxh-slider-section .custom-slider {
    margin-bottom: 0;
}

.pxh-slider-section .custom-slider-container {
    border: 0;
    border-radius: 22px;
    background: #eef3f8;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.pxh-slider-section .custom-slide img {
    aspect-ratio: 2.55 / 1;
    object-fit: cover;
}

.pxh-slider-section .custom-slider-btn {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.88);
    color: #0f172a;
    font-size: 12px;
    box-shadow: 0 8px 20px rgba(15,23,42,.14);
    backdrop-filter: blur(7px);
}

.pxh-slider-section .custom-prev { right: 14px; }
.pxh-slider-section .custom-next { left: 14px; }

/* Sections */
.pxh-section {
    margin-top: 2px;
    padding: 19px 2px;
    border-top: 0;
}

.pxh-category-section {
    padding-top: 12px;
}

.pxh-section-head {
    margin-bottom: 14px;
    align-items: center;
}

.pxh-section-head h2,
.pxh-category-section .pxh-section-head h2 {
    font-size: 18px;
    letter-spacing: -.2px;
}

.pxh-text-button,
.pxh-text-link {
    color: #1464e8;
    font-size: 11.5px;
}

/* Categories: image-first, larger and more alive */
.pxh-category-grid {
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 18px 10px;
}

.pxh-category-item {
    gap: 8px;
}

.pxh-category-media,
.pxh-category-skeleton::before {
    width: 74px;
    height: 74px;
    border-radius: 24px;
}

.pxh-category-media {
    border: 0;
    box-shadow: 0 8px 20px rgba(31, 90, 190, .07);
    font-size: 27px;
}

.pxh-category-item:nth-child(8n+1) .pxh-category-media,
.pxh-category-item:nth-child(8n+4) .pxh-category-media { background: linear-gradient(145deg, #fff0f3, #ffe5ea); }
.pxh-category-item:nth-child(8n+2) .pxh-category-media,
.pxh-category-item:nth-child(8n+7) .pxh-category-media { background: linear-gradient(145deg, #edf7ff, #dfeeff); }
.pxh-category-item:nth-child(8n+3) .pxh-category-media,
.pxh-category-item:nth-child(8n+8) .pxh-category-media { background: linear-gradient(145deg, #fff8e9, #ffefce); }
.pxh-category-item:nth-child(8n+5) .pxh-category-media { background: linear-gradient(145deg, #ecfbf6, #dff7ef); }
.pxh-category-item:nth-child(8n+6) .pxh-category-media { background: linear-gradient(145deg, #f5efff, #eee4ff); }

.pxh-category-media img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
    border-radius: inherit;
    filter: saturate(1.03) contrast(1.01);
}

.pxh-category-item strong {
    font-size: 11.5px;
    font-weight: 900;
    color: #172033;
}

/* Shop: more like a proper Home campaign banner */
.pxh-shop-section {
    padding-top: 13px;
}

.pxh-shop-hero {
    position: relative;
    min-height: 150px;
    overflow: hidden;
    display: block;
    padding: 22px 22px;
    border: 0;
    border-radius: 24px;
    background:
        radial-gradient(circle at 86% 24%, rgba(255,255,255,.95) 0 8%, transparent 9%),
        radial-gradient(circle at 78% 65%, rgba(255,255,255,.55) 0 13%, transparent 14%),
        linear-gradient(115deg, #fff2f5 0%, #ffdfe8 45%, #ffc7d7 100%);
    box-shadow: 0 12px 28px rgba(236, 72, 153, .10);
}

.pxh-shop-hero::before,
.pxh-shop-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.pxh-shop-hero::before {
    width: 150px;
    height: 150px;
    left: -20px;
    bottom: -70px;
    background: rgba(255,255,255,.34);
}

.pxh-shop-hero::after {
    width: 110px;
    height: 110px;
    left: 55px;
    top: -45px;
    background: rgba(255,255,255,.24);
}

.pxh-shop-decor {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 34px;
    background: rgba(255,255,255,.38);
    color: #ed4775;
    font-size: 48px;
}

.pxh-shop-decor i:last-child {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 20px;
    color: #ff8aaa;
}

.pxh-shop-copy {
    position: relative;
    z-index: 2;
    width: calc(100% - 132px);
}

.pxh-shop-copy small {
    margin-bottom: 4px;
    color: #1768e5;
    font-size: 11px;
}

.pxh-shop-copy strong {
    font-size: 19px;
    line-height: 1.55;
    color: #172033;
}

.pxh-shop-copy em {
    margin-top: 4px;
    color: #718096;
    font-size: 11px;
}

.pxh-shop-cta {
    width: fit-content;
    min-height: 40px;
    margin-top: 14px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff1f5a, #ed2e6e);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(237,46,110,.18);
}

/* Keep lower page quiet; the top remains the visual focus */
.pxh-blog-section,
.pxh-owner-section {
    margin-top: 4px;
}

@media (max-width: 420px) {
    .pxh-home { padding-inline: 10px; }
    .pxh-category-grid { gap-inline: 7px; }
    .pxh-category-media,
    .pxh-category-skeleton::before { width: 68px; height: 68px; border-radius: 21px; }
    .pxh-category-item strong { font-size: 10.5px; }
    .pxh-shop-hero { min-height: 140px; padding: 19px 17px; }
    .pxh-shop-decor { width: 102px; height: 102px; left: 16px; font-size: 42px; }
    .pxh-shop-copy { width: calc(100% - 108px); }
    .pxh-shop-copy strong { font-size: 17px; }
}

/* =========================================================
   R8 overrides
   - category tiles use the provided images without extra pastel coloring
   ========================================================= */

.pxh-category-grid {
    gap: 18px 10px;
}

.pxh-category-item {
    gap: 9px;
}

.pxh-category-media,
.pxh-category-skeleton::before {
    width: 82px;
    height: 82px;
    border-radius: 22px;
}

.pxh-category-media {
    overflow: hidden;
    background: #ffffff !important;
    border: 1px solid #edf1f6;
    box-shadow: 0 6px 18px rgba(15,23,42,.04);
    color: #2469d8;
    font-size: 24px;
}

.pxh-category-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 8px;
}

.pxh-category-item strong {
    font-size: 11.5px;
    line-height: 1.5;
    white-space: normal;
    text-overflow: clip;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pxh-category-item:nth-child(8n+1) .pxh-category-media,
.pxh-category-item:nth-child(8n+2) .pxh-category-media,
.pxh-category-item:nth-child(8n+3) .pxh-category-media,
.pxh-category-item:nth-child(8n+4) .pxh-category-media,
.pxh-category-item:nth-child(8n+5) .pxh-category-media,
.pxh-category-item:nth-child(8n+6) .pxh-category-media,
.pxh-category-item:nth-child(8n+7) .pxh-category-media,
.pxh-category-item:nth-child(8n+8) .pxh-category-media {
    background: #fff !important;
}

@media (min-width: 700px) {
    .pxh-category-media,
    .pxh-category-skeleton::before {
        width: 90px;
        height: 90px;
    }
}

/* R9: very small devices */
@media (max-width: 380px) {
    .pxh-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px 10px;
    }

    .pxh-category-media,
    .pxh-category-skeleton::before {
        width: 78px;
        height: 78px;
    }

    .pxh-category-item strong {
        font-size: 11px;
    }
}


/* R14: larger home slider */
.pxh-slider-section {
    padding: 10px 0 14px;
}

.pxh-slider-section .custom-slider-container {
    border-radius: 24px;
}

.pxh-slider-section .custom-slide img {
    aspect-ratio: 1.75 / 1;
    min-height: 210px;
}

.pxh-slider-section .custom-slider-btn {
    width: 42px;
    height: 42px;
    font-size: 13px;
}

.pxh-slider-section .custom-slider-dots {
    margin-top: 10px;
}

@media (max-width: 380px) {
    .pxh-slider-section .custom-slide img {
        aspect-ratio: 1.6 / 1;
        min-height: 195px;
    }
}

/* =========================================================
   R16 overrides
   - category tile becomes full image when image exists
   - shop section moved lower and separated more clearly
   ========================================================= */
.pxh-category-item.has-image {
    gap: 0;
}

.pxh-category-item.has-image .pxh-category-media {
    width: 100%;
    height: 104px;
    border-radius: 22px;
    background: #ffffff !important;
    border: 1px solid #e8edf4;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.pxh-category-item.has-image .pxh-category-media img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    border-radius: inherit;
}

.pxh-category-item.has-image strong {
    display: none !important;
}

.pxh-blog-section {
    margin-top: 6px;
}

.pxh-shop-section {
    margin-top: 8px;
    padding-top: 8px;
}

.pxh-shop-section::before {
    content: "";
    display: block;
    height: 1px;
    margin-bottom: 18px;
    background: linear-gradient(90deg, rgba(36,105,216,0), rgba(36,105,216,.18), rgba(36,105,216,0));
}

@media (max-width: 380px) {
    .pxh-category-item.has-image .pxh-category-media {
        height: 92px;
        border-radius: 18px;
    }
}


/* =========================================================
   R20 - Uniform category images
   ========================================================= */
.pxh-category-item.has-image {
    gap: 0;
}

.pxh-category-item.has-image .pxh-category-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    border: 1px solid #e7ecf3;
    box-shadow: 0 6px 18px rgba(15,23,42,.045);
}

.pxh-category-item.has-image .pxh-category-media img {
    width: 100%;
    height: 100%;
    display: block;
    padding: 7px;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    background: #fff;
}

.pxh-category-item.has-image.is-image-error .pxh-category-media {
    width: 82px;
    height: 82px;
    aspect-ratio: auto;
    margin-inline: auto;
}

.pxh-category-item.has-image.is-image-error .pxh-category-media i {
    font-size: 25px;
    color: #2469d8;
}

.pxh-category-item.has-image.is-image-error {
    gap: 8px;
}

.pxh-category-item.has-image.is-image-error strong {
    display: block !important;
}

@media (max-width: 380px) {
    .pxh-category-item.has-image .pxh-category-media {
        border-radius: 18px;
    }

    .pxh-category-item.has-image .pxh-category-media img {
        padding: 5px;
        border-radius: 15px;
    }
}


/* =========================================================
   R21: larger slider, no arrows, cleaner category header
   ========================================================= */
.pxh-slider-section {
    padding: 12px 0 18px;
}

.pxh-slider-section .custom-slider-container {
    border-radius: 26px;
}

.pxh-slider-section .custom-slide img {
    aspect-ratio: 1.45 / 1;
    min-height: 245px;
    object-fit: cover;
}

.pxh-slider-section .custom-slider-btn,
.pxh-slider-section .custom-prev,
.pxh-slider-section .custom-next {
    display: none !important;
}

.pxh-slider-section .custom-slider-dots {
    margin-top: 10px;
}

.pxh-section-head-single {
    justify-content: flex-start;
}

@media (max-width: 380px) {
    .pxh-slider-section .custom-slide img {
        aspect-ratio: 1.35 / 1;
        min-height: 230px;
    }
}

/* =========================================================
   R22 - full/tall Home slider + dedicated Shop slider + dark mode
   ========================================================= */

/* Home slider: full bleed and taller on mobile */
.pxh-slider-section {
    margin-inline: -14px;
    padding: 0 0 18px;
}

.pxh-slider-section .custom-slider-container {
    border-radius: 0;
    box-shadow: none;
    background: #eaf0f7;
}

.pxh-slider-section .custom-slide img {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.pxh-slider-section .custom-slider-btn,
.pxh-slider-section .custom-prev,
.pxh-slider-section .custom-next {
    display: none !important;
}

.pxh-slider-section .custom-slider-dots {
    margin-top: 9px;
}

/* Dedicated shop slider */
.pxh-shop-slider-section {
    margin-top: 10px;
}

.pxh-shop-slider-section .custom-slider-container {
    overflow: hidden;
    border: 1px solid #e7edf5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,23,42,.05);
}

.pxh-shop-slider-section .custom-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.pxh-shop-slider-section .custom-slider-btn,
.pxh-shop-slider-section .custom-prev,
.pxh-shop-slider-section .custom-next {
    display: none !important;
}

.pxh-shop-slider-section .custom-slider-dots {
    margin-top: 8px;
}

.pxh-shop-entry {
    min-height: 46px;
    margin-top: 10px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e6ebf2;
    border-radius: 14px;
    background: #fff;
    color: #2469d8;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

@media (min-width: 700px) {
    .pxh-slider-section {
        margin-inline: 0;
    }

    .pxh-slider-section .custom-slider-container {
        border-radius: 24px;
    }

    .pxh-slider-section .custom-slide img {
        aspect-ratio: 3 / 2;
    }
}

/* ---------------- FULL DARK MODE ---------------- */
body.dark.pix-home-minimal-page,
body.dark .home-minimal {
    background:
        radial-gradient(circle at 15% 8%, rgba(59,130,246,.10), transparent 24%),
        radial-gradient(circle at 85% 12%, rgba(37,99,235,.08), transparent 22%),
        #0b1220;
    color: #e5edf8;
}

body.dark .pxh-home {
    color: #e5edf8;
}

body.dark .pxh-section-head h2,
body.dark .pxh-magazine .pxh-section-head h2,
body.dark .pxh-article-featured-copy h3,
body.dark .pxh-article-row-copy strong,
body.dark .pxh-category-item strong {
    color: #f4f7fb;
}

body.dark .pxh-section-head small,
body.dark .pxh-article-row-copy small,
body.dark .pxh-article-featured-copy small,
body.dark .pxh-text-link {
    color: #76a8ff;
}

body.dark .pxh-category-media,
body.dark .pxh-category-item.has-image .pxh-category-media {
    background: #111b2c !important;
    border-color: #22314a;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

body.dark .pxh-category-skeleton::before,
body.dark .pxh-category-skeleton::after {
    background: #172235;
}

body.dark .pxh-article-list,
body.dark .pxh-article-row {
    border-color: #1f2c40;
}

body.dark .pxh-article-featured-image,
body.dark .pxh-article-row-image {
    background: #172235;
}

body.dark .pxh-article-arrow {
    color: #65758c;
}

body.dark .pxh-owner-card {
    background: linear-gradient(145deg, #12213a, #0f1a2d);
    border: 1px solid #20324c;
}

body.dark .pxh-owner-copy p {
    color: #aebbd0;
}

body.dark .pxh-owner-button {
    background: #eaf2ff;
    color: #12213a;
}

body.dark .pxh-shop-slider-section .custom-slider-container,
body.dark .pxh-shop-entry {
    background: #111b2c;
    border-color: #22314a;
}

body.dark .pxh-shop-entry {
    color: #7fb0ff;
}

body.dark .pxh-slider-section .custom-slider-container {
    background: #111b2c;
}

body.dark .custom-slider-dots .custom-dot,
body.dark .custom-slider-dots .custom-dot-wrapper {
    color: #dbe8ff;
}

/* Legacy home search modal, if present on a page */
body.dark .pxh-search-modal,
body.dark .pxh-search-panel,
body.dark .pxh-search-topbar {
    background: #0b1220;
    color: #e5edf8;
}

body.dark .pxh-search-field {
    background: #111b2c;
    border-color: #29405e;
}

body.dark .pxh-search-field input {
    color: #f4f7fb;
}

body.dark .pxh-search-field input::placeholder {
    color: #7e8da4;
}

body.dark .pxh-search-chip,
body.dark .pxh-search-result {
    background: #111b2c;
    border-color: #1f2c40;
    color: #e5edf8;
}

body.dark .pxh-search-result-copy strong {
    color: #f4f7fb;
}

body.dark .pxh-search-result-copy span,
body.dark .pxh-search-start p,
body.dark .pxh-search-status {
    color: #8ea0b8;
}


/* =========================================================
   R23 - Home slider: centered card + side peeks
   Inspired by horizontal fashion / discovery carousels.
   ========================================================= */
.pxh-slider-section {
    overflow: hidden;
    margin-inline: -14px;
    padding: 12px 0 16px;
}

.pxh-slider-section .custom-slider {
    overflow: visible;
}

.pxh-slider-section .custom-slider-container {
    overflow: hidden;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.pxh-slider-section .custom-slider-track.is-peek-track {
    display: flex;
    direction: ltr;
    gap: 10px;
    align-items: stretch;
    will-change: transform;
    transition: transform .48s cubic-bezier(.22,.61,.36,1);
}

.pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
    flex: 0 0 84%;
    min-width: 84%;
    direction: rtl;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,23,42,.08);
}

.pxh-slider-section .custom-slider-track.is-peek-track .custom-slide a,
.pxh-slider-section .custom-slider-track.is-peek-track .custom-slide img {
    width: 100%;
    height: 100%;
}

.pxh-slider-section .custom-slider-track.is-peek-track .custom-slide img {
    display: block;
    aspect-ratio: 3 / 2;
    min-height: 0;
    object-fit: cover;
    border-radius: 18px;
}

.pxh-slider-section .custom-slider-btn,
.pxh-slider-section .custom-prev,
.pxh-slider-section .custom-next {
    display: none !important;
}

.pxh-slider-section .custom-slider-dots {
    margin-top: 10px;
}

@media (max-width: 380px) {
    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
        flex-basis: 86%;
        min-width: 86%;
    }
}

body.dark .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
    background: #161d2a;
    box-shadow: 0 8px 24px rgba(0,0,0,.28);
}


/* =========================================================
   R24 - more visible side peeks + desktop drag affordance
   ========================================================= */
.pxh-slider-section .custom-slider-container {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.pxh-slider-section .custom-slider-container.is-dragging {
    cursor: grabbing;
}

.pxh-slider-section .custom-slider-track.is-peek-track {
    gap: 12px;
}

.pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
    flex-basis: 78%;
    min-width: 78%;
}

@media (max-width: 420px) {
    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
        flex-basis: 80%;
        min-width: 80%;
    }
}

@media (max-width: 360px) {
    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
        flex-basis: 82%;
        min-width: 82%;
    }
}

@media (min-width: 768px) {
    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
        flex-basis: 68%;
        min-width: 68%;
    }
}

@media (min-width: 1100px) {
    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
        flex-basis: 58%;
        min-width: 58%;
    }
}

/* =========================================================
   R25 - fuller home slider with balanced side peeks
   ========================================================= */
.pxh-slider-section {
    overflow: hidden;
    margin-inline: -10px;
    padding: 10px 0 18px;
}

.pxh-slider-section .custom-slider {
    overflow: visible;
}

.pxh-slider-section .custom-slider-container {
    overflow: visible;
}

.pxh-slider-section .custom-slider-track.is-peek-track {
    gap: 12px;
}

.pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
    flex-basis: 88%;
    min-width: 88%;
    border-radius: 20px;
}

.pxh-slider-section .custom-slider-track.is-peek-track .custom-slide img {
    aspect-ratio: 2 / 1;
    min-height: 180px;
    border-radius: 20px;
}

@media (max-width: 420px) {
    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
        flex-basis: 89%;
        min-width: 89%;
    }

    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide img {
        min-height: 172px;
    }
}

@media (min-width: 768px) {
    .pxh-slider-section {
        margin-inline: -6px;
    }

    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
        flex-basis: 74%;
        min-width: 74%;
    }

    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide img {
        min-height: 240px;
    }
}

@media (min-width: 1100px) {
    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide {
        flex-basis: 66%;
        min-width: 66%;
    }

    .pxh-slider-section .custom-slider-track.is-peek-track .custom-slide img {
        min-height: 270px;
    }
}
