/* Bupiz Phase 8 native homepage */

body.bupiz-phase8-home{
    background:#f6f7fa !important;
}

body.bupiz-phase8-home .elementor-location-header,
body.bupiz-phase8-home .elementor-location-footer,
body.bupiz-phase8-home > .elementor{
    display:none !important;
}

.bupiz-p8-home{
    --p8-ink:#152238;
    --p8-muted:#697386;
    --p8-line:#e5e9f0;
    --p8-orange:#ff8400;
    --p8-pink:#e83e8c;
    --p8-soft:#f6f7fa;
    --p8-card:#fff;
    --p8-shell:min(1440px, calc(100% - 48px));
    color:var(--p8-ink);
    overflow:hidden;
}

.bupiz-p8-home *,
.bupiz-p8-home *::before,
.bupiz-p8-home *::after{box-sizing:border-box;}

.bupiz-p8-home a{text-decoration:none;}

.bupiz-p8-hero,
.bupiz-p8-section,
.bupiz-p8-collection{
    width:var(--p8-shell);
    margin-inline:auto;
}

/* Hero */
.bupiz-p8-hero{
    margin-top:22px;
    position:relative;
}

.bupiz-p8-hero__inner{
    position:relative;
    min-height:clamp(460px, 39vw, 610px);
    display:grid;
    grid-template-columns:minmax(390px, .88fr) minmax(520px, 1.35fr);
    overflow:hidden;
    background:#f4e8ef;
    border:1px solid rgba(21,34,56,.08);
    box-shadow:0 22px 65px rgba(21,34,56,.12);
}

.bupiz-p8-hero__inner::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at 6% 4%, rgba(255,255,255,.95) 0 8%, transparent 29%),
        linear-gradient(90deg, rgba(255,248,251,.98) 0%, rgba(255,248,251,.96) 28%, rgba(255,248,251,.72) 43%, rgba(255,248,251,.12) 65%, transparent 79%);
    z-index:2;
    pointer-events:none;
}

.bupiz-p8-hero__copy{
    position:relative;
    z-index:4;
    padding:clamp(44px, 5vw, 82px) 24px clamp(42px, 5vw, 72px) clamp(34px, 5vw, 78px);
    align-self:center;
    max-width:650px;
}

.bupiz-p8-hero__eyebrow{
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:32px;
    padding:6px 13px;
    border:1px solid rgba(232,62,140,.22);
    background:rgba(255,255,255,.72);
    color:#c72c74;
    font-size:13px;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
    backdrop-filter:blur(10px);
}

.bupiz-p8-hero__eyebrow::before{
    content:"";
    width:8px;
    height:8px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--p8-pink),var(--p8-orange));
    box-shadow:0 0 0 5px rgba(232,62,140,.09);
}

.bupiz-p8-hero h1{
    margin:22px 0 10px;
    max-width:600px;
    color:var(--p8-ink);
    font-size:clamp(43px,5.2vw,78px);
    line-height:.98;
    letter-spacing:-.055em;
    font-weight:850;
}

.bupiz-p8-hero__signature{
    display:flex;
    align-items:flex-end;
    gap:12px;
    min-height:52px;
    margin:12px 0 16px;
    color:var(--p8-pink);
    line-height:1;
    font-weight:850;
    letter-spacing:-.035em;
}

.bupiz-p8-hero__signature span{
    opacity:0;
    transform:translateY(18px);
    transition:opacity .5s ease, transform .55s cubic-bezier(.2,.8,.2,1);
}

.bupiz-p8-hero__signature span:nth-child(1){font-size:18px;transition-delay:.05s;}
.bupiz-p8-hero__signature span:nth-child(2){font-size:25px;transition-delay:.18s;}
.bupiz-p8-hero__signature span:nth-child(3){font-size:34px;transition-delay:.32s;color:var(--p8-orange);}
.bupiz-p8-hero.is-ready .bupiz-p8-hero__signature span{opacity:1;transform:none;}

.bupiz-p8-hero__subtitle{
    max-width:570px;
    margin:0;
    color:#596579;
    font-size:clamp(15px,1.25vw,18px);
    line-height:1.7;
}

.bupiz-p8-hero__actions{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}

.bupiz-p8-button{
    min-height:50px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    padding:13px 22px;
    border-radius:13px;
    font-size:14px;
    font-weight:800;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.bupiz-p8-button:hover{transform:translateY(-2px);}
.bupiz-p8-button--primary{
    color:#fff;
    background:linear-gradient(135deg,#ff8400,#f35c42);
    box-shadow:0 13px 28px rgba(244,109,30,.26);
}
.bupiz-p8-button--primary:hover{color:#fff;box-shadow:0 17px 34px rgba(244,109,30,.34);}
.bupiz-p8-button--ghost{
    color:var(--p8-ink);
    border:1px solid rgba(21,34,56,.16);
    background:rgba(255,255,255,.78);
}
.bupiz-p8-button--ghost:hover{color:var(--p8-ink);background:#fff;}

.bupiz-p8-hero__proof{
    display:flex;
    flex-wrap:wrap;
    gap:9px 18px;
    margin-top:25px;
    color:#596579;
    font-size:12px;
    font-weight:700;
}
.bupiz-p8-hero__proof span{display:flex;align-items:center;gap:7px;}
.bupiz-p8-hero__proof b{
    display:grid;
    place-items:center;
    width:19px;
    height:19px;
    border-radius:50%;
    color:#08775f;
    background:#e7f8f3;
    font-size:11px;
}

.bupiz-p8-hero__media{
    position:relative;
    z-index:1;
    min-width:0;
    overflow:hidden;
}
.bupiz-p8-hero__media picture,
.bupiz-p8-hero__media img{display:block;width:100%;height:100%;}
.bupiz-p8-hero__media img{
    object-fit:cover;
    object-position:center top;
    transform:scale(1.025);
    opacity:.72;
    transition:opacity 1s ease .28s, transform 1.4s cubic-bezier(.2,.75,.15,1);
}
.bupiz-p8-hero.is-ready .bupiz-p8-hero__media img{opacity:1;transform:scale(1);}

.bupiz-p8-hero__media-glow{
    position:absolute;
    width:310px;
    height:310px;
    right:-90px;
    bottom:-120px;
    border-radius:50%;
    background:rgba(255,132,0,.24);
    filter:blur(55px);
    pointer-events:none;
}

.bupiz-p8-hero__floating-card{
    position:absolute;
    z-index:4;
    right:28px;
    bottom:28px;
    width:min(255px,calc(100% - 50px));
    padding:17px 18px;
    border:1px solid rgba(255,255,255,.55);
    background:rgba(18,32,55,.84);
    color:#fff;
    box-shadow:0 18px 45px rgba(15,23,42,.25);
    backdrop-filter:blur(13px);
    border-radius:16px;
    transition:transform .22s ease,background .22s ease;
}
.bupiz-p8-hero__floating-card:hover{color:#fff;transform:translateY(-3px);background:rgba(18,32,55,.94);}
.bupiz-p8-hero__floating-card small{display:block;color:#ffb76b;text-transform:uppercase;font-size:10px;font-weight:850;letter-spacing:.12em;}
.bupiz-p8-hero__floating-card strong{display:block;margin:6px 0 8px;font-size:16px;line-height:1.3;}
.bupiz-p8-hero__floating-card span{font-size:12px;color:#fff;opacity:.88;}

/* Shared headings */
.bupiz-p8-section,
.bupiz-p8-collection{margin-top:72px;}

.bupiz-p8-section-head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:25px;
    margin-bottom:24px;
}
.bupiz-p8-section-eyebrow{
    display:block;
    margin-bottom:7px;
    color:var(--p8-pink);
    font-size:11px;
    line-height:1;
    font-weight:850;
    text-transform:uppercase;
    letter-spacing:.13em;
}
.bupiz-p8-section-head h2{
    margin:0;
    color:var(--p8-ink);
    font-size:clamp(27px,3vw,42px);
    line-height:1.05;
    letter-spacing:-.035em;
    font-weight:850;
}
.bupiz-p8-section-head p{
    max-width:650px;
    margin:9px 0 0;
    color:var(--p8-muted);
    font-size:14px;
    line-height:1.6;
}
.bupiz-p8-section-link{
    flex:none;
    display:inline-flex;
    align-items:center;
    gap:12px;
    padding:10px 4px;
    color:var(--p8-ink);
    font-size:13px;
    font-weight:800;
    border-bottom:2px solid var(--p8-orange);
}
.bupiz-p8-section-link:hover{color:var(--p8-orange);}

/* Department cards */
.bupiz-p8-department-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}
.bupiz-p8-department-card{
    position:relative;
    min-height:320px;
    display:flex;
    flex-direction:column;
    overflow:hidden;
    padding:18px;
    border:1px solid color-mix(in srgb,var(--p8-accent) 15%,#e7e9ee);
    border-radius:20px;
    color:var(--p8-ink);
    background:
        radial-gradient(circle at 85% 12%,color-mix(in srgb,var(--p8-accent) 14%,transparent) 0 18%,transparent 19%),
        linear-gradient(155deg,#fff 0%,var(--p8-soft) 100%);
    box-shadow:0 11px 30px rgba(21,34,56,.055);
    transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;
}
.bupiz-p8-department-card:hover{color:var(--p8-ink);transform:translateY(-6px);box-shadow:0 21px 45px rgba(21,34,56,.12);border-color:color-mix(in srgb,var(--p8-accent) 32%,#e7e9ee);}
.bupiz-p8-department-card.has-image::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,rgba(12,23,42,.05),rgba(12,23,42,.85)),var(--p8-image) center/cover no-repeat;
    opacity:.93;
}
.bupiz-p8-department-card.has-image{color:#fff;border-color:transparent;}
.bupiz-p8-department-card.has-image:hover{color:#fff;}
.bupiz-p8-department-card > *{position:relative;z-index:2;}
.bupiz-p8-department-card__number{font-size:11px;font-weight:850;letter-spacing:.12em;opacity:.55;}
.bupiz-p8-department-card__visual{
    width:62px;
    height:62px;
    display:grid;
    place-items:center;
    margin:24px 0 auto;
    border-radius:19px;
    color:var(--p8-accent);
    background:rgba(255,255,255,.88);
    box-shadow:0 12px 28px rgba(21,34,56,.09);
}
.bupiz-p8-department-card__visual svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.bupiz-p8-department-card__copy{display:block;margin-top:25px;}
.bupiz-p8-department-card__copy small{display:block;color:var(--p8-accent);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.12em;}
.bupiz-p8-department-card.has-image .bupiz-p8-department-card__copy small{color:#ffd6e7;}
.bupiz-p8-department-card__copy strong{display:block;margin:6px 0 9px;font-size:25px;line-height:1.05;letter-spacing:-.035em;}
.bupiz-p8-department-card__copy span{display:block;min-height:38px;font-size:11px;line-height:1.55;opacity:.72;}
.bupiz-p8-department-card__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:22px;padding-top:14px;border-top:1px solid rgba(21,34,56,.10);font-size:10px;}
.bupiz-p8-department-card.has-image .bupiz-p8-department-card__foot{border-color:rgba(255,255,255,.25);}
.bupiz-p8-department-card__foot b{font-weight:750;}
.bupiz-p8-department-card__foot i{font-size:19px;font-style:normal;transition:transform .2s ease;}
.bupiz-p8-department-card:hover .bupiz-p8-department-card__foot i{transform:translateX(4px);}

/* Product collections */
.bupiz-p8-collection{
    padding:30px;
    border:1px solid var(--p8-line);
    border-radius:24px;
    background:#fff;
    box-shadow:0 12px 35px rgba(21,34,56,.055);
}
.bupiz-p8-collection--soft{background:linear-gradient(145deg,#f6f3ff,#fff 50%);}
.bupiz-p8-collection--warm{background:linear-gradient(145deg,#fff7ef,#fff 52%);}
.bupiz-p8-product-rail-wrap{position:relative;}
.bupiz-p8-product-rail{
    overflow-x:auto;
    overflow-y:hidden;
    scroll-behavior:smooth;
    scrollbar-width:none;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
}
.bupiz-p8-product-rail::-webkit-scrollbar{display:none;}
.bupiz-p8-product-rail ul.products.bupiz-p8-products{
    width:max-content !important;
    min-width:100%;
    display:grid !important;
    grid-auto-flow:column;
    grid-auto-columns:minmax(210px,238px);
    gap:14px !important;
    margin:0 !important;
    padding:2px 0 8px !important;
    list-style:none !important;
}
.bupiz-p8-product-rail ul.products.bupiz-p8-products::before,
.bupiz-p8-product-rail ul.products.bupiz-p8-products::after{display:none !important;}
.bupiz-p8-product-rail ul.products.bupiz-p8-products li.product{
    width:auto !important;
    min-width:0 !important;
    float:none !important;
    clear:none !important;
    margin:0 !important;
    scroll-snap-align:start;
}
.bupiz-p8-rail-button{
    position:absolute;
    z-index:5;
    top:42%;
    width:43px;
    height:43px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid #e0e4ea;
    border-radius:50%;
    color:var(--p8-ink);
    background:rgba(255,255,255,.96);
    box-shadow:0 10px 26px rgba(21,34,56,.18);
    font-size:30px;
    line-height:1;
    cursor:pointer;
    transform:translateY(-50%);
    transition:opacity .2s ease,transform .2s ease;
}
.bupiz-p8-rail-button:hover{transform:translateY(-50%) scale(1.06);}
.bupiz-p8-rail-button:disabled{opacity:0;pointer-events:none;}
.bupiz-p8-rail-button--prev{left:-20px;}
.bupiz-p8-rail-button--next{right:-20px;}

/* Editorial */
.bupiz-p8-editorial-grid{
    display:grid;
    grid-template-columns:1.35fr .82fr .82fr;
    gap:16px;
}
.bupiz-p8-editorial-card{
    position:relative;
    min-height:390px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    overflow:hidden;
    padding:32px;
    border-radius:22px;
    color:#fff;
    isolation:isolate;
    box-shadow:0 17px 42px rgba(21,34,56,.11);
    transition:transform .25s ease,box-shadow .25s ease;
}
.bupiz-p8-editorial-card:hover{color:#fff;transform:translateY(-5px);box-shadow:0 25px 55px rgba(21,34,56,.18);}
.bupiz-p8-editorial-card::before{
    content:"";
    position:absolute;
    z-index:-2;
    inset:0;
    background:var(--p8-campaign-image,linear-gradient(145deg,#ba2f72,#ff8760)) center/cover no-repeat;
}
.bupiz-p8-editorial-card::after{
    content:"";
    position:absolute;
    z-index:-1;
    inset:0;
    background:linear-gradient(180deg,transparent 18%,rgba(11,20,36,.82) 100%);
}
.bupiz-p8-editorial-card--beauty::before{background:var(--p8-campaign-image,radial-gradient(circle at 70% 16%,#ffcde2 0 18%,transparent 19%),linear-gradient(145deg,#9e2862,#e64d91)) center/cover no-repeat;}
.bupiz-p8-editorial-card--home::before{background:radial-gradient(circle at 78% 17%,rgba(255,255,255,.3) 0 12%,transparent 13%),linear-gradient(145deg,#116d66,#67b59c);}
.bupiz-p8-editorial-card__kicker{font-size:10px;font-weight:850;letter-spacing:.13em;text-transform:uppercase;color:#ffd7e7;}
.bupiz-p8-editorial-card strong{display:block;margin:11px 0 12px;font-size:clamp(30px,3vw,48px);line-height:1;letter-spacing:-.045em;}
.bupiz-p8-editorial-card:not(.bupiz-p8-editorial-card--large) strong{font-size:clamp(26px,2.25vw,35px);}
.bupiz-p8-editorial-card p{max-width:480px;margin:0;color:rgba(255,255,255,.78);font-size:13px;line-height:1.55;}
.bupiz-p8-editorial-card__link{margin-top:24px;font-size:12px;font-weight:800;}

/* Trust */
.bupiz-p8-trust{margin-bottom:75px;}
.bupiz-p8-trust-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}
.bupiz-p8-trust-card{
    min-height:205px;
    padding:22px;
    border:1px solid var(--p8-line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 9px 25px rgba(21,34,56,.045);
}
.bupiz-p8-trust-card__icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    border-radius:15px;
    color:var(--p8-orange);
    background:#fff3e7;
}
.bupiz-p8-trust-card__icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.bupiz-p8-trust-card h3{margin:18px 0 8px;font-size:16px;color:var(--p8-ink);}
.bupiz-p8-trust-card p{margin:0;color:var(--p8-muted);font-size:12px;line-height:1.6;}

.bupiz-p8-seller-callout{
    margin-top:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:32px 36px;
    border-radius:22px;
    color:#fff;
    background:
        radial-gradient(circle at 90% 5%,rgba(255,132,0,.38) 0 15%,transparent 16%),
        linear-gradient(135deg,#14223a,#283c5c);
    box-shadow:0 18px 45px rgba(21,34,56,.18);
}
.bupiz-p8-seller-callout span{display:block;color:#ffb568;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.13em;}
.bupiz-p8-seller-callout h2{margin:7px 0;font-size:clamp(25px,3vw,38px);line-height:1.08;letter-spacing:-.035em;color:#fff;}
.bupiz-p8-seller-callout p{margin:0;color:rgba(255,255,255,.74);font-size:13px;}
.bupiz-p8-seller-callout > a{
    flex:none;
    display:inline-flex;
    align-items:center;
    gap:18px;
    min-height:50px;
    padding:13px 20px;
    border-radius:13px;
    color:#18263d;
    background:#fff;
    font-size:13px;
    font-weight:850;
}
.bupiz-p8-seller-callout > a:hover{color:#ff7200;}
.bupiz-p8-seller-callout > a span{color:inherit;font-size:16px;letter-spacing:0;}

/* Reveal */
[data-bupiz-p8-reveal]{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .75s cubic-bezier(.2,.75,.15,1);}
[data-bupiz-p8-reveal].is-visible{opacity:1;transform:none;}

@media (max-width:1199px){
    .bupiz-p8-home{--p8-shell:min(100% - 32px,1180px);}
    .bupiz-p8-hero__inner{grid-template-columns:minmax(350px,.95fr) minmax(430px,1.15fr);}
    .bupiz-p8-department-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    .bupiz-p8-department-card:nth-child(4),.bupiz-p8-department-card:nth-child(5){min-height:285px;}
    .bupiz-p8-trust-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
    .bupiz-p8-editorial-grid{grid-template-columns:1.15fr 1fr;}
    .bupiz-p8-editorial-card--home{grid-column:1/-1;min-height:280px;}
}

@media (max-width:899px){
    .bupiz-p8-home{--p8-shell:calc(100% - 24px);}
    .bupiz-p8-hero{margin-top:12px;}
    .bupiz-p8-hero__inner{min-height:680px;grid-template-columns:1fr;grid-template-rows:auto 1fr;}
    .bupiz-p8-hero__inner::before{background:linear-gradient(180deg,rgba(255,248,251,.98) 0%,rgba(255,248,251,.92) 34%,rgba(255,248,251,.20) 62%,transparent 80%);}
    .bupiz-p8-hero__copy{padding:38px 34px 8px;max-width:720px;}
    .bupiz-p8-hero__media{min-height:380px;}
    .bupiz-p8-hero__floating-card{right:18px;bottom:18px;}
    .bupiz-p8-section,.bupiz-p8-collection{margin-top:54px;}
    .bupiz-p8-department-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
    .bupiz-p8-product-rail ul.products.bupiz-p8-products{grid-auto-columns:minmax(205px,225px);}
    .bupiz-p8-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (max-width:767px){
    .bupiz-p8-home{--p8-shell:100%;padding-bottom:18px;}
    .bupiz-p8-hero,.bupiz-p8-section,.bupiz-p8-collection{width:100%;}
    .bupiz-p8-hero{margin-top:0;}
    .bupiz-p8-hero__inner{min-height:690px;border-inline:0;box-shadow:none;}
    .bupiz-p8-hero__copy{padding:28px 18px 0;}
    .bupiz-p8-hero h1{font-size:clamp(39px,13vw,58px);max-width:520px;}
    .bupiz-p8-hero__signature{gap:8px;min-height:44px;}
    .bupiz-p8-hero__signature span:nth-child(1){font-size:15px;}
    .bupiz-p8-hero__signature span:nth-child(2){font-size:20px;}
    .bupiz-p8-hero__signature span:nth-child(3){font-size:27px;}
    .bupiz-p8-hero__subtitle{font-size:14px;line-height:1.58;}
    .bupiz-p8-hero__actions{margin-top:20px;gap:8px;}
    .bupiz-p8-button{min-height:45px;padding:11px 15px;font-size:12px;border-radius:10px;}
    .bupiz-p8-hero__proof{display:none;}
    .bupiz-p8-hero__media{min-height:390px;margin-top:-2px;}
    .bupiz-p8-hero__media img{object-position:center top;}
    .bupiz-p8-hero__floating-card{width:205px;padding:13px 14px;border-radius:13px;}
    .bupiz-p8-hero__floating-card strong{font-size:13px;}

    .bupiz-p8-section,.bupiz-p8-collection{margin-top:43px;}
    .bupiz-p8-section:not(.bupiz-p8-editorial):not(.bupiz-p8-trust){padding-inline:14px;}
    .bupiz-p8-section-head{align-items:flex-end;padding-inline:14px;margin-bottom:17px;}
    .bupiz-p8-section-head h2{font-size:28px;}
    .bupiz-p8-section-head p{font-size:12px;line-height:1.5;}
    .bupiz-p8-section-link{font-size:11px;}

    .bupiz-p8-department-grid{
        display:flex;
        gap:11px;
        overflow-x:auto;
        padding:2px 14px 9px;
        margin-inline:-14px;
        scrollbar-width:none;
        scroll-snap-type:x mandatory;
    }
    .bupiz-p8-department-grid::-webkit-scrollbar{display:none;}
    .bupiz-p8-department-card{flex:0 0 72vw;min-height:285px;scroll-snap-align:start;}
    .bupiz-p8-department-card__copy strong{font-size:27px;}

    .bupiz-p8-collection{padding:22px 0;border-radius:0;border-inline:0;box-shadow:none;}
    .bupiz-p8-collection .bupiz-p8-section-head{padding-inline:16px;}
    .bupiz-p8-product-rail{padding-inline:14px;}
    .bupiz-p8-product-rail ul.products.bupiz-p8-products{grid-auto-columns:minmax(170px,46vw);gap:10px !important;}
    .bupiz-p8-rail-button{display:none;}

    .bupiz-p8-editorial{padding-inline:14px;}
    .bupiz-p8-editorial-grid{grid-template-columns:1fr;gap:11px;}
    .bupiz-p8-editorial-card,.bupiz-p8-editorial-card--home{min-height:340px;padding:25px;border-radius:17px;grid-column:auto;}
    .bupiz-p8-editorial-card strong,.bupiz-p8-editorial-card:not(.bupiz-p8-editorial-card--large) strong{font-size:34px;}

    .bupiz-p8-trust{padding-inline:14px;margin-bottom:35px;}
    .bupiz-p8-trust-grid{display:flex;gap:10px;overflow-x:auto;padding-bottom:7px;scrollbar-width:none;scroll-snap-type:x mandatory;}
    .bupiz-p8-trust-grid::-webkit-scrollbar{display:none;}
    .bupiz-p8-trust-card{flex:0 0 72vw;min-height:185px;scroll-snap-align:start;}
    .bupiz-p8-seller-callout{align-items:flex-start;flex-direction:column;padding:26px 22px;border-radius:18px;}
    .bupiz-p8-seller-callout > a{width:100%;justify-content:space-between;}
}

@media (max-width:380px){
    .bupiz-p8-hero__copy{padding-inline:15px;}
    .bupiz-p8-hero h1{font-size:39px;}
    .bupiz-p8-button{padding-inline:12px;}
    .bupiz-p8-department-card{flex-basis:78vw;}
}

@media (prefers-reduced-motion:reduce){
    .bupiz-p8-home *,
    .bupiz-p8-home *::before,
    .bupiz-p8-home *::after{scroll-behavior:auto !important;transition:none !important;animation:none !important;}
    [data-bupiz-p8-reveal]{opacity:1;transform:none;}
    .bupiz-p8-hero__signature span{opacity:1;transform:none;}
}

/* ============================================================
   Phase 13G-R1 — homepage first-screen refinement
   Keeps Phase 8 data/contracts; changes presentation only.
============================================================ */

/* Pic-1 inspired brand lockup: real HTML text, not baked into artwork. */
.bupiz-p8-hero__brand-lockup{
    display:inline-flex;
    align-items:flex-end;
    gap:10px;
    color:var(--p8-ink);
    line-height:.88;
    white-space:nowrap;
}
.bupiz-p8-hero__brand-boo{
    position:relative;
    display:inline-block;
    padding-bottom:8px;
    color:#f05a2a;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(31px,3vw,48px);
    font-style:italic;
    font-weight:500;
    letter-spacing:-.055em;
}
.bupiz-p8-hero__brand-boo::after{
    content:"";
    position:absolute;
    left:3px;
    bottom:0;
    width:42%;
    height:4px;
    border-radius:999px;
    background:linear-gradient(90deg,var(--p8-orange),#f05a2a);
}
.bupiz-p8-hero__brand-name{
    font-size:clamp(27px,2.6vw,43px);
    font-weight:900;
    letter-spacing:-.055em;
}

.bupiz-p8-hero__inner{min-height:var(--p8-hero-min,540px);}
.bupiz-p8-hero h1{margin-top:24px;}

/* Premium visual department cards: five equal destinations on desktop. */
.bupiz-p8-departments{margin-top:56px;}
.bupiz-p8-department-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}
.bupiz-p8-department-card{
    min-height:clamp(265px,20vw,325px);
    padding:17px;
    justify-content:flex-end;
    isolation:isolate;
    border:0;
    border-radius:18px;
    color:#fff;
    background:linear-gradient(145deg,var(--p8-soft),#fff);
    box-shadow:0 12px 30px rgba(21,34,56,.10);
}
.bupiz-p8-department-card:hover,
.bupiz-p8-department-card.has-image:hover{
    color:#fff;
    transform:translateY(-5px);
    box-shadow:0 20px 44px rgba(21,34,56,.16);
}
.bupiz-p8-department-card::after{
    content:"";
    position:absolute;
    z-index:-1;
    inset:0;
    border-radius:inherit;
    background:linear-gradient(180deg,rgba(12,23,42,.02) 25%,rgba(12,23,42,.16) 52%,rgba(12,23,42,.88) 100%);
    pointer-events:none;
}
.bupiz-p8-department-card__image{
    position:absolute;
    z-index:-2;
    inset:0;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:inherit;
    color:var(--p8-accent);
    background:
        radial-gradient(circle at 68% 17%,color-mix(in srgb,var(--p8-accent) 25%,transparent) 0 15%,transparent 16%),
        linear-gradient(145deg,var(--p8-soft),#fff);
    background-position:center;
    background-size:cover;
    transition:transform .38s cubic-bezier(.2,.75,.15,1);
}
.bupiz-p8-department-card.has-image .bupiz-p8-department-card__image{background-image:var(--p8-image);}
.bupiz-p8-department-card:hover .bupiz-p8-department-card__image{transform:scale(1.035);}
.bupiz-p8-department-card__image svg{width:58px;height:58px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.bupiz-p8-department-card__number{
    position:absolute;
    top:15px;
    left:16px;
    color:#fff;
    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    opacity:.92;
    text-shadow:0 1px 8px rgba(0,0,0,.28);
}
.bupiz-p8-department-card__copy{display:block;margin:0;padding-right:42px;}
.bupiz-p8-department-card__copy strong{
    display:block;
    margin:0 0 4px;
    color:#fff;
    font-size:clamp(22px,1.85vw,31px);
    line-height:1;
    letter-spacing:-.04em;
    text-shadow:0 2px 14px rgba(0,0,0,.28);
}
.bupiz-p8-department-card__copy span{
    display:block;
    min-height:0;
    color:rgba(255,255,255,.88);
    font-size:11.5px;
    line-height:1.35;
    text-shadow:0 2px 12px rgba(0,0,0,.25);
}
.bupiz-p8-department-card__arrow{
    position:absolute;
    right:15px;
    bottom:15px;
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:50%;
    color:var(--p8-ink);
    background:rgba(255,255,255,.94);
    box-shadow:0 8px 22px rgba(0,0,0,.14);
    font-size:19px;
    font-weight:700;
    transition:transform .2s ease;
}
.bupiz-p8-department-card:hover .bupiz-p8-department-card__arrow{transform:translateX(2px);}

/* The old department internals are no longer rendered, but keep them inert if cached markup survives. */
.bupiz-p8-department-card__visual,
.bupiz-p8-department-card__foot{display:none!important;}

@media (max-width:1199px) and (min-width:900px){
    .bupiz-p8-department-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;}
    .bupiz-p8-department-card{min-height:250px;padding:14px;}
    .bupiz-p8-department-card__copy{padding-right:34px;}
    .bupiz-p8-department-card__copy strong{font-size:22px;}
    .bupiz-p8-department-card__copy span{font-size:10px;}
    .bupiz-p8-department-card__arrow{right:12px;bottom:12px;width:30px;height:30px;}
}

@media (max-width:899px) and (min-width:768px){
    .bupiz-p8-department-grid{
        display:flex;
        gap:12px;
        overflow-x:auto;
        padding:2px 2px 10px;
        scrollbar-width:none;
        scroll-snap-type:x proximity;
    }
    .bupiz-p8-department-grid::-webkit-scrollbar{display:none;}
    .bupiz-p8-department-card{flex:0 0 210px;min-height:270px;scroll-snap-align:start;}
}

@media (max-width:767px){
    /* Short first-screen hero: media becomes the canvas instead of a second tall row. */
    .bupiz-p8-hero__inner{
        position:relative;
        display:block;
        min-height:clamp(440px,65svh,510px);
        overflow:hidden;
        background:#fff3f4;
    }
    .bupiz-p8-hero__inner::before{
        z-index:2;
        background:
            linear-gradient(90deg,rgba(255,248,251,.98) 0%,rgba(255,248,251,.95) 43%,rgba(255,248,251,.66) 59%,rgba(255,248,251,.10) 78%,transparent 100%),
            linear-gradient(180deg,rgba(255,248,251,.08) 58%,rgba(255,248,251,.42) 100%);
    }
    .bupiz-p8-hero__copy{
        z-index:4;
        width:min(66%,310px);
        max-width:none;
        padding:24px 0 22px 18px;
        align-self:auto;
    }
    .bupiz-p8-hero__brand-lockup{display:block;white-space:normal;line-height:.88;}
    .bupiz-p8-hero__brand-boo{display:block;width:max-content;padding-bottom:7px;font-size:31px;}
    .bupiz-p8-hero__brand-boo::after{height:3px;}
    .bupiz-p8-hero__brand-name{display:block;margin-top:5px;font-size:34px;}
    .bupiz-p8-hero h1{
        max-width:270px;
        margin:20px 0 10px;
        font-size:clamp(36px,10.5vw,45px);
        line-height:.95;
    }
    .bupiz-p8-hero__signature{gap:6px;min-height:31px;margin:9px 0 11px;flex-wrap:wrap;}
    .bupiz-p8-hero__signature span:nth-child(1){font-size:12.5px;}
    .bupiz-p8-hero__signature span:nth-child(2){font-size:16px;}
    .bupiz-p8-hero__signature span:nth-child(3){font-size:21px;}
    .bupiz-p8-hero__subtitle{max-width:250px;font-size:12px;line-height:1.48;}
    .bupiz-p8-hero__actions{margin-top:16px;gap:7px;align-items:stretch;}
    .bupiz-p8-button{min-height:40px;padding:9px 12px;border-radius:9px;font-size:10.5px;gap:9px;}
    .bupiz-p8-button--ghost{background:rgba(255,255,255,.86);backdrop-filter:blur(5px);}
    .bupiz-p8-hero__proof{
        display:flex;
        max-width:270px;
        gap:5px 10px;
        margin-top:13px;
        color:#4e5b6e;
        font-size:9px;
        line-height:1.25;
        font-weight:700;
    }
    .bupiz-p8-hero__proof b{width:15px;height:15px;font-size:8px;}
    .bupiz-p8-hero__media{
        position:absolute;
        z-index:1;
        inset:0;
        min-height:0;
        margin:0;
    }
    .bupiz-p8-hero__media picture,
    .bupiz-p8-hero__media img{width:100%;height:100%;}
    .bupiz-p8-hero__media img{
        object-fit:cover;
        object-position:68% top;
        transform:scale(1.015);
        opacity:.92;
    }
    .bupiz-p8-hero.is-ready .bupiz-p8-hero__media img{transform:scale(1);opacity:1;}
    .bupiz-p8-hero__media-glow{display:none;}
    .bupiz-p8-hero__floating-card{display:none;}

    /* Department shortcuts become compact circular image navigation. */
    .bupiz-p8-departments{margin-top:27px;padding-inline:0!important;}
    .bupiz-p8-departments .bupiz-p8-section-head{padding-inline:18px;margin-bottom:14px;align-items:flex-start;}
    .bupiz-p8-departments .bupiz-p8-section-eyebrow,
    .bupiz-p8-departments .bupiz-p8-section-head p{display:none;}
    .bupiz-p8-departments .bupiz-p8-section-head h2{font-size:27px;line-height:1.05;}
    .bupiz-p8-department-grid{
        display:flex;
        gap:14px;
        overflow-x:auto;
        padding:2px 18px 8px;
        margin:0;
        scrollbar-width:none;
        scroll-snap-type:x proximity;
    }
    .bupiz-p8-department-grid::-webkit-scrollbar{display:none;}
    .bupiz-p8-department-card,
    .bupiz-p8-department-card.has-image{
        flex:0 0 88px;
        min-height:118px;
        display:block;
        overflow:visible;
        padding:0;
        border:0;
        border-radius:0;
        color:var(--p8-ink);
        background:transparent;
        box-shadow:none;
        scroll-snap-align:start;
    }
    .bupiz-p8-department-card::after{display:none;}
    .bupiz-p8-department-card:hover,
    .bupiz-p8-department-card.has-image:hover{color:var(--p8-ink);transform:none;box-shadow:none;}
    .bupiz-p8-department-card__image{
        position:relative;
        z-index:1;
        inset:auto;
        width:84px;
        height:84px;
        margin-inline:auto;
        border:2px solid #fff;
        border-radius:50%;
        background-position:center top;
        box-shadow:0 7px 18px rgba(21,34,56,.12),0 0 0 1px rgba(21,34,56,.06);
        transform:none!important;
    }
    .bupiz-p8-department-card__image svg{width:36px;height:36px;}
    .bupiz-p8-department-card__number,
    .bupiz-p8-department-card__arrow{display:none;}
    .bupiz-p8-department-card__copy{display:block;margin:8px 0 0;padding:0;text-align:center;}
    .bupiz-p8-department-card__copy strong{
        display:block;
        margin:0;
        color:var(--p8-ink);
        font-size:15px;
        line-height:1.1;
        letter-spacing:-.025em;
        text-shadow:none;
    }
    .bupiz-p8-department-card__copy span{display:none;}
}

@media (max-width:380px){
    .bupiz-p8-hero__copy{width:67%;padding-left:15px;}
    .bupiz-p8-hero__brand-boo{font-size:28px;}
    .bupiz-p8-hero__brand-name{font-size:31px;}
    .bupiz-p8-hero h1{font-size:35px;}
    .bupiz-p8-button{font-size:10px;padding-inline:10px;}
    .bupiz-p8-department-card{flex-basis:84px;}
    .bupiz-p8-department-card__image{width:80px;height:80px;}
    .bupiz-p8-department-card__copy strong{font-size:14px;}
}


/* ============================================================
   Phase 13H-R1 — mobile clarity + discovery.
   All rules in this phase are mobile-only unless explicitly hidden by default.
============================================================ */
.bupiz-p13h-mobile-discovery{display:none;}

@media (max-width:767px){
    /* Restore the clean 1.5.8 mobile hero geometry; keep the refined brand lockup. */
    .bupiz-p8-hero__inner{
        position:relative;
        display:grid;
        grid-template-columns:1fr;
        grid-template-rows:auto 1fr;
        min-height:690px;
        overflow:hidden;
        border-inline:0;
        box-shadow:none;
        background:#f4e8ef;
    }
    .bupiz-p8-hero__inner::before{
        z-index:2;
        background:linear-gradient(180deg,rgba(255,248,251,.98) 0%,rgba(255,248,251,.92) 34%,rgba(255,248,251,.20) 62%,transparent 80%);
    }
    .bupiz-p8-hero__copy{
        position:relative;
        z-index:4;
        width:auto;
        max-width:720px;
        padding:25px 18px 0;
        align-self:center;
    }
    .bupiz-p8-hero__brand-lockup{
        display:flex;
        width:max-content;
        flex-direction:column;
        align-items:flex-start;
        gap:0;
        white-space:normal;
        line-height:.92;
    }
    .bupiz-p8-hero__brand-boo{
        display:block;
        width:max-content;
        padding-bottom:6px;
        font-size:25px;
    }
    .bupiz-p8-hero__brand-boo::after{height:3px;width:48%;}
    .bupiz-p8-hero__brand-name{display:block;margin-top:3px;font-size:29px;}
    .bupiz-p8-hero h1{
        max-width:520px;
        margin:16px 0 10px;
        font-size:clamp(39px,13vw,58px);
        line-height:.98;
    }
    .bupiz-p8-hero__signature{gap:8px;min-height:44px;margin:12px 0 16px;flex-wrap:nowrap;}
    .bupiz-p8-hero__signature span:nth-child(1){font-size:15px;}
    .bupiz-p8-hero__signature span:nth-child(2){font-size:20px;}
    .bupiz-p8-hero__signature span:nth-child(3){font-size:27px;}
    .bupiz-p8-hero__subtitle{max-width:570px;font-size:14px;line-height:1.58;}
    .bupiz-p8-hero__actions{margin-top:20px;gap:8px;align-items:center;}
    .bupiz-p8-button{min-height:45px;padding:11px 15px;font-size:12px;border-radius:10px;gap:16px;}
    .bupiz-p8-hero__proof{display:none;}
    .bupiz-p8-hero__media{
        position:relative;
        z-index:1;
        inset:auto;
        min-height:390px;
        margin-top:-2px;
        overflow:hidden;
    }
    .bupiz-p8-hero__media picture,
    .bupiz-p8-hero__media img{display:block;width:100%;height:100%;}
    .bupiz-p8-hero__media img{
        object-fit:cover;
        object-position:center top;
        transform:scale(1.025);
        opacity:.72;
    }
    .bupiz-p8-hero.is-ready .bupiz-p8-hero__media img{opacity:1;transform:scale(1);}
    .bupiz-p8-hero__media-glow{display:block;}
    .bupiz-p8-hero__floating-card{display:block;width:205px;padding:13px 14px;border-radius:13px;right:18px;bottom:18px;}
    .bupiz-p8-hero__floating-card strong{font-size:13px;}

    /* Keep 1.5.9 department circles, but let the section end at its content. */
    .bupiz-p8-departments{
        min-height:0!important;
        height:auto!important;
        margin-top:27px;
        margin-bottom:0!important;
        padding-bottom:0!important;
    }
    .bupiz-p8-departments .bupiz-p8-section-head{margin-bottom:12px;}
    .bupiz-p8-department-grid{
        min-height:0!important;
        height:auto!important;
        padding-bottom:4px;
    }
    .bupiz-p8-department-card,
    .bupiz-p8-department-card.has-image{min-height:114px;}

    /* Mobile-only discovery starts immediately below departments. */
    .bupiz-p13h-mobile-discovery{
        display:block;
        width:100%;
        margin:12px 0 0;
        padding:0 14px;
    }
    .bupiz-p13h-spotlight{
        position:relative;
        isolation:isolate;
        width:100%;
        min-height:172px;
        display:flex;
        align-items:center;
        overflow:hidden;
        padding:22px 20px;
        border:1px solid rgba(21,34,56,.08);
        border-radius:18px;
        color:#fff;
        background:
            radial-gradient(circle at 82% 25%,rgba(255,255,255,.23) 0 14%,transparent 15%),
            linear-gradient(120deg,#17263f 0%,#283b59 55%,#ef6b46 100%);
        box-shadow:0 12px 30px rgba(21,34,56,.12);
    }
    .bupiz-p13h-spotlight.has-image::before{
        content:"";
        position:absolute;
        z-index:-2;
        inset:0;
        background:var(--p13h-spotlight-image) center/cover no-repeat;
    }
    .bupiz-p13h-spotlight::after{
        content:"";
        position:absolute;
        z-index:-1;
        inset:0;
        background:linear-gradient(90deg,rgba(14,26,45,.92) 0%,rgba(14,26,45,.73) 48%,rgba(14,26,45,.18) 78%,rgba(14,26,45,.04) 100%);
    }
    .bupiz-p13h-spotlight:not(.has-image)::after{background:linear-gradient(100deg,rgba(14,26,45,.12),rgba(14,26,45,.02));}
    .bupiz-p13h-spotlight:hover{color:#fff;}
    .bupiz-p13h-spotlight__content{display:block;width:min(60%,255px);}
    .bupiz-p13h-spotlight small{
        display:block;
        margin-bottom:8px;
        color:#ffbd78;
        font-size:10px;
        line-height:1;
        font-weight:850;
        letter-spacing:.14em;
        text-transform:uppercase;
    }
    .bupiz-p13h-spotlight strong{
        display:block;
        color:#fff;
        font-size:27px;
        line-height:1.02;
        letter-spacing:-.04em;
    }
    .bupiz-p13h-spotlight__content > span{
        display:inline-flex;
        align-items:center;
        gap:8px;
        margin-top:18px;
        color:#fff;
        font-size:12px;
        font-weight:800;
    }
    .bupiz-p13h-spotlight__content b{font-size:15px;}

    .bupiz-p13h-women{margin-top:30px;}
    .bupiz-p13h-women__head{
        display:flex;
        align-items:flex-end;
        justify-content:space-between;
        gap:16px;
        margin-bottom:14px;
        padding-inline:2px;
    }
    .bupiz-p13h-women__head > div > span{
        display:block;
        margin-bottom:6px;
        color:var(--p8-pink);
        font-size:10px;
        line-height:1;
        font-weight:850;
        letter-spacing:.13em;
        text-transform:uppercase;
    }
    .bupiz-p13h-women__head h2{
        margin:0;
        color:var(--p8-ink);
        font-size:26px;
        line-height:1.04;
        letter-spacing:-.035em;
        font-weight:850;
    }
    .bupiz-p13h-women__head > a{
        flex:none;
        display:inline-flex;
        align-items:center;
        gap:8px;
        padding-bottom:4px;
        border-bottom:2px solid var(--p8-orange);
        color:var(--p8-ink);
        font-size:11px;
        font-weight:800;
    }
    .bupiz-p13h-women-products ul.products.bupiz-p13h-women-grid{
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:22px 10px!important;
        width:100%!important;
        margin:0!important;
        padding:0!important;
        list-style:none!important;
    }
    .bupiz-p13h-women-products ul.products.bupiz-p13h-women-grid::before,
    .bupiz-p13h-women-products ul.products.bupiz-p13h-women-grid::after{display:none!important;}
    .bupiz-p13h-women-products ul.products.bupiz-p13h-women-grid > li.product{
        width:100%!important;
        min-width:0!important;
        float:none!important;
        clear:none!important;
        margin:0!important;
    }
    .bupiz-p13h-women-products[data-visible="8"] ul.products > li:nth-child(n+9),
    .bupiz-p13h-women-products[data-visible="16"] ul.products > li:nth-child(n+17){display:none!important;}

    .bupiz-p13h-view-more{
        width:100%;
        min-height:46px;
        display:flex;
        align-items:center;
        justify-content:center;
        gap:9px;
        margin:22px 0 0;
        padding:10px 16px;
        border:1px solid rgba(21,34,56,.16);
        border-radius:12px;
        color:var(--p8-ink);
        background:#fff;
        box-shadow:0 6px 18px rgba(21,34,56,.05);
        font:inherit;
        font-size:12px;
        font-weight:800;
        cursor:pointer;
    }
    .bupiz-p13h-view-more:hover{border-color:rgba(255,132,0,.55);color:#dc6800;}
    .bupiz-p13h-view-more[hidden]{display:none!important;}

    /* Existing collections continue normally after mobile discovery. */
    .bupiz-p13h-mobile-discovery + .bupiz-p8-collection{margin-top:36px;}
}

@media (max-width:380px){
    .bupiz-p8-hero__copy{width:auto;padding-left:15px;padding-right:15px;}
    .bupiz-p8-hero__brand-boo{font-size:23px;}
    .bupiz-p8-hero__brand-name{font-size:27px;}
    .bupiz-p8-hero h1{font-size:39px;}
    .bupiz-p13h-mobile-discovery{padding-inline:12px;}
    .bupiz-p13h-spotlight{min-height:162px;padding:20px 18px;}
    .bupiz-p13h-spotlight strong{font-size:24px;}
    .bupiz-p13h-women__head h2{font-size:24px;}
}

/* ============================================================
   Phase 13I-R1 — premium mobile homepage merchandising.
   Desktop remains unchanged. The sixth New Arrivals tile is mobile-only.
============================================================ */
.bupiz-p13i-new-arrivals-tile{display:none!important;}

@media (max-width:767px){
    /* The legacy green loop cashback badge is not used on the native home page. */
    body.home .bupiz-loop-cashback-badge{display:none!important;}

    /* 3 × 2 department matrix: every top destination visible without swiping. */
    .bupiz-p8-departments{
        margin-top:26px!important;
        padding-bottom:4px!important;
    }
    .bupiz-p8-departments .bupiz-p8-section-head{
        margin-bottom:14px!important;
        padding-inline:14px!important;
    }
    .bupiz-p8-departments .bupiz-p8-section-head h2{
        font-size:27px!important;
        line-height:1.04!important;
        letter-spacing:-.035em!important;
    }
    .bupiz-p8-department-grid{
        display:grid!important;
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
        gap:10px!important;
        width:100%!important;
        min-height:0!important;
        height:auto!important;
        overflow:visible!important;
        padding:0 14px 6px!important;
        scroll-snap-type:none!important;
    }
    .bupiz-p8-department-card,
    .bupiz-p8-department-card.has-image{
        position:relative!important;
        display:block!important;
        flex:none!important;
        width:100%!important;
        min-width:0!important;
        min-height:0!important;
        aspect-ratio:1 / 1.08!important;
        overflow:hidden!important;
        padding:0!important;
        border:1px solid rgba(22,37,62,.08)!important;
        border-radius:16px!important;
        background:var(--p8-soft,#fff7ed)!important;
        box-shadow:0 6px 18px rgba(22,37,62,.06)!important;
        color:#fff!important;
    }
    .bupiz-p8-department-card::after{
        content:""!important;
        display:block!important;
        position:absolute!important;
        z-index:1!important;
        inset:0!important;
        background:linear-gradient(180deg,rgba(15,27,47,.01) 32%,rgba(15,27,47,.12) 55%,rgba(15,27,47,.78) 100%)!important;
        pointer-events:none!important;
    }
    .bupiz-p8-department-card__image{
        position:absolute!important;
        z-index:0!important;
        inset:0!important;
        width:100%!important;
        height:100%!important;
        border:0!important;
        border-radius:0!important;
        background-color:var(--p8-soft,#fff7ed)!important;
        background-image:var(--p8-image)!important;
        background-position:center!important;
        background-size:cover!important;
        box-shadow:none!important;
        transform:none!important;
    }
    .bupiz-p8-department-card:not(.has-image) .bupiz-p8-department-card__image{
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        color:var(--p8-accent,#ff8400)!important;
        background-image:linear-gradient(145deg,var(--p8-soft,#fff7ed),#fff)!important;
    }
    .bupiz-p8-department-card:not(.has-image)::after{
        background:linear-gradient(180deg,transparent 48%,rgba(15,27,47,.70) 100%)!important;
    }
    .bupiz-p8-department-card__copy{
        position:absolute!important;
        z-index:3!important;
        left:10px!important;
        right:8px!important;
        bottom:9px!important;
        display:block!important;
        margin:0!important;
        padding:0!important;
        text-align:left!important;
    }
    .bupiz-p8-department-card__copy strong{
        display:block!important;
        color:#fff!important;
        font-size:13.5px!important;
        line-height:1.08!important;
        font-weight:850!important;
        letter-spacing:-.015em!important;
        text-shadow:0 1px 8px rgba(0,0,0,.18)!important;
    }
    .bupiz-p8-department-card__copy span,
    .bupiz-p8-department-card__number,
    .bupiz-p8-department-card__arrow{display:none!important;}
    .bupiz-p13i-new-arrivals-tile{display:block!important;}
    .bupiz-p13i-new-arrivals-tile::before{display:none!important;}

    /* Discovery container keeps one visual system after the hero. */
    .bupiz-p13i-mobile-discovery{
        margin-top:10px!important;
        padding:0 14px 10px!important;
    }

    /* Slim hero: image-led, with cashback integrated as merchandising copy. */
    .bupiz-p13i-spotlight{
        min-height:168px!important;
        padding:19px 18px!important;
        border-radius:18px!important;
        border:1px solid rgba(22,37,62,.08)!important;
        background:linear-gradient(120deg,#162742 0%,#243a5a 62%,#f36c45 100%)!important;
        box-shadow:0 12px 28px rgba(22,37,62,.10)!important;
    }
    .bupiz-p13i-spotlight.has-image::before{
        background-position:72% center!important;
        background-size:cover!important;
    }
    .bupiz-p13i-spotlight::after{
        background:linear-gradient(90deg,rgba(13,25,44,.94) 0%,rgba(13,25,44,.85) 42%,rgba(13,25,44,.35) 72%,rgba(13,25,44,.06) 100%)!important;
    }
    .bupiz-p13i-spotlight .bupiz-p13h-spotlight__content{width:min(67%,270px)!important;}
    .bupiz-p13i-spotlight small{font-size:9.5px!important;letter-spacing:.16em!important;color:#ffc58e!important;}
    .bupiz-p13i-spotlight strong{font-size:26px!important;line-height:1.01!important;max-width:220px!important;}
    .bupiz-p13i-spotlight em{
        display:inline-flex;
        margin-top:9px;
        padding:5px 8px;
        border:1px solid rgba(255,255,255,.24);
        border-radius:999px;
        color:#fff;
        background:rgba(255,255,255,.11);
        font-size:9px;
        line-height:1;
        font-style:normal;
        font-weight:750;
        backdrop-filter:blur(4px);
    }
    .bupiz-p13i-spotlight .bupiz-p13h-spotlight__content > span{margin-top:13px!important;font-size:11px!important;}

    /* Section headings: compact editorial hierarchy. */
    .bupiz-p13i-product-section{margin-top:31px;}
    .bupiz-p13i-section-head,
    .bupiz-p13h-women__head.bupiz-p13i-section-head{
        display:flex!important;
        align-items:flex-end!important;
        justify-content:space-between!important;
        gap:12px!important;
        margin:0 0 13px!important;
        padding:0 2px!important;
    }
    .bupiz-p13i-section-head > div > span,
    .bupiz-p13h-women__head.bupiz-p13i-section-head > div > span{
        display:block!important;
        margin-bottom:5px!important;
        color:var(--p8-pink)!important;
        font-size:9.5px!important;
        line-height:1!important;
        font-weight:900!important;
        letter-spacing:.14em!important;
        text-transform:uppercase!important;
    }
    .bupiz-p13i-section-head h2,
    .bupiz-p13h-women__head.bupiz-p13i-section-head h2{
        margin:0!important;
        color:var(--p8-ink)!important;
        font-size:25px!important;
        line-height:1.03!important;
        letter-spacing:-.035em!important;
        font-weight:850!important;
    }
    .bupiz-p13i-section-head > a,
    .bupiz-p13h-women__head.bupiz-p13i-section-head > a{
        display:inline-flex!important;
        align-items:center!important;
        gap:7px!important;
        padding:0 0 4px!important;
        border:0!important;
        border-bottom:2px solid var(--p8-orange)!important;
        color:var(--p8-ink)!important;
        font-size:10.5px!important;
        line-height:1!important;
        font-weight:800!important;
        text-decoration:none!important;
    }

    /* Premium dedicated product cards. */
    .bupiz-p13i-product-grid{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px 10px;
    }
    .bupiz-p13i-product-card{
        position:relative;
        min-width:0;
        overflow:hidden;
        border:1px solid rgba(22,37,62,.08);
        border-radius:14px;
        background:#fff;
        box-shadow:0 5px 18px rgba(22,37,62,.055);
    }
    .bupiz-p13i-product-card__media{
        position:relative;
        overflow:hidden;
        aspect-ratio:4 / 5;
        background:#f5f6f8;
    }
    .bupiz-p13i-product-card__media > a{display:block;width:100%;height:100%;}
    .bupiz-p13i-product-card__image{
        display:block;
        width:100%!important;
        height:100%!important;
        margin:0!important;
        object-fit:cover!important;
        border-radius:0!important;
        transition:transform .25s ease;
    }
    .bupiz-p13i-product-card:active .bupiz-p13i-product-card__image{transform:scale(1.015);}
    .bupiz-p13i-product-card__badges{
        position:absolute;
        z-index:4;
        top:8px;
        left:8px;
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:5px;
        pointer-events:none;
    }
    .bupiz-p13i-badge{
        display:inline-flex;
        align-items:center;
        min-height:21px;
        padding:4px 7px;
        border-radius:999px;
        color:#fff;
        font-size:8px;
        line-height:1;
        font-weight:900;
        letter-spacing:.055em;
        text-transform:uppercase;
        box-shadow:0 5px 13px rgba(15,27,47,.12);
    }
    .bupiz-p13i-badge--cashback{background:linear-gradient(135deg,var(--p8-pink),#d42d7d);}
    .bupiz-p13i-badge--new{background:linear-gradient(135deg,var(--p8-orange),#f45e45);}
    .bupiz-p13i-product-card .bupiz-wishlist-btn{
        position:absolute!important;
        z-index:5!important;
        top:8px!important;
        right:8px!important;
        width:31px!important;
        height:31px!important;
        border:1px solid rgba(22,37,62,.08)!important;
        border-radius:50%!important;
        background:rgba(255,255,255,.95)!important;
        box-shadow:0 5px 14px rgba(22,37,62,.10)!important;
        backdrop-filter:blur(5px);
    }
    .bupiz-p13i-product-card .bupiz-wishlist-btn svg{width:16px!important;height:16px!important;}
    .bupiz-p13i-product-card__body{padding:10px 10px 11px;}
    .bupiz-p13i-product-card__title{
        display:-webkit-box;
        min-height:34px;
        overflow:hidden;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        color:var(--p8-ink);
        font-size:13.5px;
        line-height:1.26;
        font-weight:700;
        letter-spacing:-.01em;
        text-decoration:none;
    }
    .bupiz-p13i-product-card__rating{
        display:inline-flex;
        align-items:center;
        gap:3px;
        min-height:20px;
        margin-top:5px;
        padding:3px 6px;
        border-radius:7px;
        color:#385441;
        background:#edf8f0;
        font-size:10px;
        line-height:1;
    }
    .bupiz-p13i-product-card__rating strong{font-size:10.5px;font-weight:850;}
    .bupiz-p13i-product-card__rating > span{color:#e99814;font-size:11px;}
    .bupiz-p13i-product-card__rating small{color:#667085;font-size:9px;}
    .bupiz-p13i-product-card__price{
        display:flex;
        align-items:baseline;
        flex-wrap:wrap;
        gap:4px 6px;
        margin-top:7px;
        line-height:1.1;
    }
    .bupiz-p13i-product-card__price strong{color:#111827;font-size:17px;font-weight:850;letter-spacing:-.02em;}
    .bupiz-p13i-product-card__price del{color:#8a9099;font-size:11px;}
    .bupiz-p13i-product-card__price span{color:#e87300;font-size:10.5px;font-weight:800;}

    .bupiz-p13i-view-more{
        margin-top:16px!important;
        min-height:43px!important;
        border-radius:999px!important;
        background:#fff!important;
        box-shadow:none!important;
    }
    .bupiz-p13i-view-more.is-loading{opacity:.65;cursor:wait;}

    /* Horizontal product row: no slider library, only native touch scrolling. */
    .bupiz-p13i-product-row{
        display:flex;
        gap:10px;
        overflow-x:auto;
        overflow-y:hidden;
        margin:0 -14px;
        padding:0 14px 6px;
        scroll-snap-type:x proximity;
        scrollbar-width:none;
        -webkit-overflow-scrolling:touch;
    }
    .bupiz-p13i-product-row::-webkit-scrollbar{display:none;}
    .bupiz-p13i-product-card--rail{
        flex:0 0 min(43vw,174px);
        scroll-snap-align:start;
    }

    /* Image-led editorial cards create catalogue depth without fake inventory. */
    .bupiz-p13i-editorial{
        position:relative;
        isolation:isolate;
        display:flex;
        align-items:flex-end;
        min-height:220px;
        overflow:hidden;
        margin-top:31px;
        padding:22px 20px;
        border-radius:19px;
        border:1px solid rgba(22,37,62,.08);
        color:#fff;
        background:linear-gradient(130deg,#172943,#334968);
        box-shadow:0 11px 28px rgba(22,37,62,.09);
        text-decoration:none;
    }
    .bupiz-p13i-editorial.has-image::before{
        content:"";
        position:absolute;
        z-index:-2;
        inset:0;
        background:var(--p13i-editorial-image) center/cover no-repeat;
        transform:scale(1.01);
    }
    .bupiz-p13i-editorial::after{
        content:"";
        position:absolute;
        z-index:-1;
        inset:0;
        background:linear-gradient(180deg,rgba(10,22,40,.04) 18%,rgba(10,22,40,.20) 47%,rgba(10,22,40,.88) 100%);
    }
    .bupiz-p13i-editorial__content{display:block;width:min(86%,300px);}
    .bupiz-p13i-editorial small{
        display:block;
        margin-bottom:7px;
        color:#ffd1a2;
        font-size:9px;
        font-weight:900;
        letter-spacing:.15em;
        text-transform:uppercase;
    }
    .bupiz-p13i-editorial strong{
        display:block;
        color:#fff;
        font-size:27px;
        line-height:1.02;
        font-weight:850;
        letter-spacing:-.04em;
    }
    .bupiz-p13i-editorial p{
        display:-webkit-box;
        max-width:285px;
        overflow:hidden;
        margin:8px 0 0;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        color:rgba(255,255,255,.88);
        font-size:11px;
        line-height:1.42;
    }
    .bupiz-p13i-editorial__content > span{
        display:inline-flex;
        align-items:center;
        gap:8px;
        margin-top:13px;
        color:#fff;
        font-size:10.5px;
        font-weight:850;
    }
    .bupiz-p13i-editorial--story{min-height:190px;}

    /* Seller spotlight appears only for a real approved seller with inventory. */
    .bupiz-p13i-seller{
        margin-top:32px;
        padding:18px 14px 15px;
        overflow:hidden;
        border:1px solid rgba(22,37,62,.08);
        border-radius:18px;
        background:linear-gradient(145deg,#fff 0%,#fff7f2 100%);
        box-shadow:0 8px 24px rgba(22,37,62,.06);
    }
    .bupiz-p13i-seller__head{position:relative;padding-right:88px;}
    .bupiz-p13i-seller__head > span{
        display:block;
        margin-bottom:5px;
        color:var(--p8-pink);
        font-size:9px;
        font-weight:900;
        letter-spacing:.14em;
        text-transform:uppercase;
    }
    .bupiz-p13i-seller__head h2{
        margin:0;
        color:var(--p8-ink);
        font-size:23px;
        line-height:1.05;
        letter-spacing:-.03em;
    }
    .bupiz-p13i-seller__head > a{
        position:absolute;
        right:0;
        bottom:2px;
        color:var(--p8-ink);
        font-size:10px;
        font-weight:800;
        text-decoration:none;
    }
    .bupiz-p13i-seller__products{
        display:grid;
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:8px;
        margin-top:14px;
    }
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__media{aspect-ratio:1 / 1.15;}
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__body{padding:7px;}
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__title{min-height:28px;font-size:10.5px;line-height:1.24;}
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__rating{display:none;}
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__price{margin-top:5px;}
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__price strong{font-size:13px;}
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__price del,
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__price span{display:none;}
    .bupiz-p13i-product-card--seller .bupiz-wishlist-btn,
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__badges{display:none!important;}

    /* Existing native collection rails inherit the same premium card language. */
    .bupiz-p8-collection{
        margin-top:38px!important;
        padding-inline:14px!important;
    }
    .bupiz-p8-collection .bupiz-p8-section-head{margin-bottom:13px!important;}
    .bupiz-p8-collection .bupiz-p8-section-head h2{font-size:25px!important;line-height:1.04!important;}
    .bupiz-p8-collection .bupiz-p8-section-head p{display:none!important;}
    .bupiz-p8-collection .bupiz-p8-product-rail{margin-inline:-14px;padding-inline:14px!important;}
    .bupiz-p8-collection .bupiz-p8-product-rail ul.products.bupiz-p8-products{
        gap:10px!important;
        padding:0!important;
    }
    .bupiz-p8-collection ul.products > li.product{
        position:relative!important;
        overflow:hidden!important;
        padding:0 0 10px!important;
        border:1px solid rgba(22,37,62,.08)!important;
        border-radius:14px!important;
        background:#fff!important;
        box-shadow:0 5px 18px rgba(22,37,62,.05)!important;
    }
    .bupiz-p8-collection ul.products > li.product img{
        width:100%!important;
        aspect-ratio:4 / 5!important;
        height:auto!important;
        margin:0 0 9px!important;
        border-radius:0!important;
        object-fit:cover!important;
    }
    .bupiz-p8-collection ul.products > li.product .woocommerce-loop-product__title,
    .bupiz-p8-collection ul.products > li.product .bupiz-home-review-row,
    .bupiz-p8-collection ul.products > li.product .bupiz-home-price-row{
        margin-left:9px!important;
        margin-right:9px!important;
    }
    .bupiz-p8-collection ul.products > li.product .woocommerce-loop-product__title{
        display:-webkit-box!important;
        min-height:32px!important;
        overflow:hidden!important;
        white-space:normal!important;
        -webkit-line-clamp:2!important;
        -webkit-box-orient:vertical!important;
        font-size:12.5px!important;
        line-height:1.24!important;
        font-weight:700!important;
    }
    .bupiz-p8-collection ul.products > li.product .bupiz-home-price-row{margin-top:5px!important;}
    .bupiz-p8-collection ul.products > li.product .bupiz-home-now{font-size:16px!important;}
    .bupiz-p8-collection ul.products > li.product .bupiz-home-old{font-size:10.5px!important;}
    .bupiz-p8-collection ul.products > li.product .bupiz-home-off{font-size:10px!important;}
    .bupiz-p8-collection ul.products > li.product .bupiz-wishlist-btn{
        top:8px!important;
        right:8px!important;
        width:31px!important;
        height:31px!important;
        border-radius:50%!important;
    }

    /* Campaigns are already reused as mobile editorial stories above. */
    .bupiz-p8-editorial{display:none!important;}
}

@media (max-width:380px){
    .bupiz-p8-department-grid{gap:8px!important;padding-inline:12px!important;}
    .bupiz-p8-department-card__copy strong{font-size:12.5px!important;}
    .bupiz-p13i-mobile-discovery{padding-inline:12px!important;}
    .bupiz-p13i-product-grid{gap:10px 8px;}
    .bupiz-p13i-product-card__title{font-size:12.8px;}
    .bupiz-p13i-product-card__price strong{font-size:16px;}
    .bupiz-p13i-editorial{min-height:205px;padding:19px 17px;}
    .bupiz-p13i-editorial strong{font-size:24px;}
}

/* ============================================================
   Phase 13J-R1 — collection controls + desktop card polish.
   Scoped to native homepage collections only.
============================================================ */
.bupiz-p13j-mobile-only{display:none!important;}

@media (min-width:768px){
    /* Dense premium desktop rails: cards read as products, not isolated images. */
    .bupiz-p8-collection{
        padding:28px!important;
    }
    .bupiz-p8-collection .bupiz-p8-product-rail{
        padding:3px 2px 10px!important;
    }
    .bupiz-p8-collection .bupiz-p8-product-rail ul.products.bupiz-p8-products{
        grid-auto-columns:minmax(210px,222px)!important;
        gap:16px!important;
        padding:2px 0 8px!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product{
        position:relative!important;
        overflow:hidden!important;
        min-height:100%!important;
        padding:0 0 13px!important;
        border:1px solid rgba(22,37,62,.09)!important;
        border-radius:16px!important;
        background:#fff!important;
        box-shadow:0 7px 22px rgba(22,37,62,.055)!important;
        transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product:hover{
        transform:translateY(-2px)!important;
        border-color:rgba(255,132,0,.18)!important;
        box-shadow:0 12px 30px rgba(22,37,62,.085)!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product a.woocommerce-LoopProduct-link{
        display:block!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product img{
        display:block!important;
        width:100%!important;
        aspect-ratio:4 / 5!important;
        height:auto!important;
        margin:0 0 11px!important;
        border-radius:0!important;
        background:#f7f8fa!important;
        object-fit:cover!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .woocommerce-loop-product__title,
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-home-review-row,
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-home-price-row{
        margin-left:12px!important;
        margin-right:12px!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .woocommerce-loop-product__title{
        display:-webkit-box!important;
        min-height:35px!important;
        margin-top:0!important;
        margin-bottom:6px!important;
        overflow:hidden!important;
        color:var(--p8-ink)!important;
        font-size:14px!important;
        line-height:1.28!important;
        font-weight:750!important;
        white-space:normal!important;
        -webkit-line-clamp:2!important;
        -webkit-box-orient:vertical!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-home-review-row{
        min-height:20px!important;
        margin-top:1px!important;
        margin-bottom:5px!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-home-price-row{
        display:flex!important;
        align-items:baseline!important;
        gap:5px!important;
        flex-wrap:wrap!important;
        margin-top:5px!important;
        margin-bottom:0!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-home-now{
        font-size:18px!important;
        font-weight:850!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-home-mrp-label,
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-home-old{
        font-size:10px!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-home-off{
        color:var(--p8-orange)!important;
        font-size:10.5px!important;
        font-weight:800!important;
    }

    /* Collection-scoped cashback: small Bupiz pill, never a floating header badge. */
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-loop-cashback-badge{
        position:absolute!important;
        z-index:9!important;
        top:10px!important;
        left:10px!important;
        display:inline-flex!important;
        flex-direction:row!important;
        align-items:center!important;
        justify-content:center!important;
        min-width:0!important;
        min-height:25px!important;
        padding:6px 9px!important;
        border:1px solid rgba(255,255,255,.55)!important;
        border-radius:999px!important;
        color:#fff!important;
        background:linear-gradient(135deg,var(--p8-pink),#f05a3b 58%,var(--p8-orange))!important;
        box-shadow:0 7px 18px rgba(22,37,62,.16)!important;
        text-transform:none!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-loop-cashback-badge span{
        font-size:10px!important;
        line-height:1!important;
        font-weight:850!important;
        text-transform:none!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-loop-cashback-badge small{
        display:none!important;
    }

    /* Override the old fixed-pixel wishlist offset only inside homepage rails. */
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-wishlist-btn{
        position:absolute!important;
        z-index:10!important;
        top:10px!important;
        right:10px!important;
        left:auto!important;
        width:34px!important;
        min-width:34px!important;
        height:34px!important;
        min-height:34px!important;
        border-radius:50%!important;
    }
}

@media (max-width:767px){
    .bupiz-p13j-desktop-only{display:none!important;}
    .bupiz-p13j-mobile-only{display:block!important;}

    /* Optional legacy rails, when enabled from Customizer, stay compact. */
    .bupiz-p8-collection:not(.bupiz-p13j-desktop-only) .bupiz-p8-product-rail ul.products.bupiz-p8-products{
        grid-auto-columns:minmax(148px,42vw)!important;
        gap:10px!important;
    }
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-wishlist-btn{
        position:absolute!important;
        z-index:10!important;
        top:8px!important;
        right:8px!important;
        left:auto!important;
        width:31px!important;
        min-width:31px!important;
        height:31px!important;
        min-height:31px!important;
        border-radius:50%!important;
    }
}

/* ============================================================
   Phase 13K — spacing-only refinement
   Tightens unused whitespace only. No visual system or behaviour changes.
============================================================ */
@media (min-width:768px){
    .bupiz-p8-hero{margin-top:14px;}
    .bupiz-p8-section,.bupiz-p8-collection{margin-top:56px;}
    .bupiz-p8-departments{margin-top:44px;}
    .bupiz-p8-section-head{gap:18px;margin-bottom:18px;}
    .bupiz-p8-collection{padding:24px!important;}
    .bupiz-p8-collection .bupiz-p8-product-rail{padding:2px 2px 6px!important;}
    .bupiz-p8-collection .bupiz-p8-product-rail ul.products.bupiz-p8-products{gap:14px!important;padding:1px 0 5px!important;}
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product{padding-bottom:10px!important;}
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product img{margin-bottom:8px!important;}
    .bupiz-p8-editorial-grid{gap:14px;}
    .bupiz-p8-editorial-card{min-height:360px;padding:26px;}
    .bupiz-p8-editorial-card__link{margin-top:18px;}
    .bupiz-p8-trust{margin-bottom:52px;}
    .bupiz-p8-trust-grid{gap:10px;}
    .bupiz-p8-trust-card{min-height:178px;padding:18px;}
    .bupiz-p8-trust-card h3{margin:14px 0 6px;}
    .bupiz-p8-seller-callout{margin-top:14px;gap:24px;padding:24px 28px;}
}
@media (max-width:767px){
    .bupiz-p8-departments{margin-top:22px!important;}
    .bupiz-p8-departments .bupiz-p8-section-head{margin-bottom:9px!important;}
    .bupiz-p13i-mobile-discovery{margin-top:8px!important;padding-bottom:7px!important;}
    .bupiz-p13i-spotlight{min-height:158px!important;padding:17px 16px!important;}
    .bupiz-p13h-women,.bupiz-p13i-product-section{margin-top:24px!important;}
    .bupiz-p13i-section-head,.bupiz-p13h-women__head.bupiz-p13i-section-head{margin-bottom:10px!important;}
    .bupiz-p13i-product-grid{gap:16px 10px!important;}
    .bupiz-p13h-women-products ul.products.bupiz-p13h-women-grid{gap:16px 10px!important;}
    .bupiz-p13h-view-more{margin-top:16px;}
    .bupiz-p13i-product-row{gap:10px!important;}
    .bupiz-p8-collection:not(.bupiz-p13j-desktop-only){padding-top:18px!important;padding-bottom:14px!important;}
}

/* Phase 13L — dedicated native homepage card hierarchy. */
.bupiz-p13i-product-card__rating--overlay{
    position:absolute;
    z-index:6;
    left:8px;
    bottom:8px;
    display:inline-flex;
    align-items:center;
    gap:4px;
    min-height:22px;
    margin:0;
    padding:0 7px;
    border:1px solid rgba(20,33,58,.08);
    border-radius:4px;
    background:rgba(255,255,255,.92);
    color:#14213a;
    box-shadow:0 2px 7px rgba(20,33,58,.08);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
    line-height:1;
}
.bupiz-p13i-product-card__rating--overlay strong,
.bupiz-p13i-product-card__rating--overlay small{
    color:#14213a;
    font-size:10px;
    font-weight:800;
    line-height:1;
}
.bupiz-p13i-product-card__rating--overlay > span{color:#0a9a92;font-size:10.5px;}
.bupiz-p13i-product-card__rating--overlay > i{color:#9aa3b2;font-size:9px;font-style:normal;font-weight:700;}
.bupiz-p13i-product-card__brand{
    display:block;
    overflow:hidden;
    margin:0 0 2px;
    color:var(--p8-ink);
    font-size:13px;
    font-weight:800;
    line-height:1.18;
    white-space:nowrap;
    text-overflow:ellipsis;
}
.bupiz-p13i-product-card__title,
.bupiz-p13i-product-card--seller .bupiz-p13i-product-card__title{
    display:block;
    min-height:0;
    max-height:none;
    margin:0;
    overflow:hidden;
    color:#667085;
    font-size:11.5px;
    line-height:1.25;
    font-weight:500;
    white-space:nowrap;
    text-overflow:ellipsis;
    -webkit-line-clamp:unset;
    -webkit-box-orient:unset;
}
.bupiz-p13i-product-card__price{margin-top:5px;}
@media (max-width:767px){
    .bupiz-p13i-product-card__brand{font-size:12px;}
    .bupiz-p13i-product-card__title,
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__title{font-size:10.5px;}
    .bupiz-p13i-product-card__rating--overlay{left:7px;bottom:7px;min-height:20px;padding:0 6px;}
}

/* Phase 13M — keep native homepage cards visually identical to WooCommerce
   cards: soft rating overlay and a smaller bold brand heading. */
.bupiz-p13i-product-card__rating--overlay{
    min-height:21px;
    padding:0 6px;
    gap:3px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:3px;
    background:rgba(250,250,248,.94);
    color:#101828;
    box-shadow:0 1px 4px rgba(15,23,42,.08);
}
.bupiz-p13i-product-card__rating--overlay strong,
.bupiz-p13i-product-card__rating--overlay small{
    color:#101828;
    font-size:10px;
    font-weight:800;
}
.bupiz-p13i-product-card__rating--overlay > span{
    color:#009688;
    font-size:10px;
    font-weight:900;
}
.bupiz-p13i-product-card__rating--overlay > i{
    color:#98a2b3;
    font-size:9px;
}
.bupiz-p13i-product-card__brand{
    font-size:10px;
    font-weight:800;
    line-height:1.15;
}
@media (max-width:767px){
    .bupiz-p13i-product-card__brand{font-size:9.5px;}
}

/* ============================================================
   Phase 13N — homepage card parity with the reference hierarchy.
   Cashback remains top-left; rating bottom-left; wishlist bottom-right.
============================================================ */
.bupiz-p13i-product-card__rating--overlay{
    left:8px !important;
    right:auto !important;
    bottom:8px !important;
    top:auto !important;
    min-height:22px !important;
    padding:0 6px !important;
    gap:3px !important;
    border:1px solid rgba(40,44,63,.12) !important;
    border-radius:2px !important;
    background:rgba(255,255,255,.96) !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
}
.bupiz-p13i-product-card__rating--overlay strong,
.bupiz-p13i-product-card__rating--overlay small{
    color:#282c3f !important;
    font-size:11px !important;
    font-weight:700 !important;
    line-height:1 !important;
}
.bupiz-p13i-product-card__rating--overlay > span{
    color:#14958f !important;
    font-size:10px !important;
    font-weight:900 !important;
}
.bupiz-p13i-product-card__rating--overlay > i{
    color:#94969f !important;
    font-size:10px !important;
    font-weight:500 !important;
}
.bupiz-p13i-product-card .bupiz-wishlist-btn--loop{
    top:auto !important;
    right:8px !important;
    bottom:8px !important;
    left:auto !important;
}
.bupiz-p13i-product-card__brand{
    margin:0 0 2px !important;
    color:#282c3f !important;
    font-family:inherit !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1.18 !important;
    letter-spacing:0 !important;
}
.bupiz-p13i-product-card__title,
.bupiz-p13i-product-card--seller .bupiz-p13i-product-card__title{
    display:block !important;
    overflow:hidden !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    color:#535766 !important;
    font-family:inherit !important;
    font-size:13px !important;
    font-weight:400 !important;
    line-height:1.2 !important;
    letter-spacing:0 !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
    -webkit-line-clamp:unset !important;
    -webkit-box-orient:unset !important;
}

/* Legacy WooCommerce homepage rails use the same type hierarchy. */
body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-card-brand{
    margin:0 9px 2px !important;
    padding:0 !important;
    color:#282c3f !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1.18 !important;
}
body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .woocommerce-loop-product__title{
    display:block !important;
    overflow:hidden !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 9px 5px !important;
    padding:0 !important;
    color:#535766 !important;
    font-size:13px !important;
    font-weight:400 !important;
    line-height:1.2 !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
    -webkit-line-clamp:unset !important;
    -webkit-box-orient:unset !important;
}
body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-wishlist-btn--loop{
    top:var(--bupiz-card-wishlist-top, 8px) !important;
    right:8px !important;
    left:auto !important;
    bottom:auto !important;
}

@media (max-width:767px){
    .bupiz-p13i-product-card__brand,
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .bupiz-card-brand{
        font-size:13px !important;
    }
    .bupiz-p13i-product-card__title,
    .bupiz-p13i-product-card--seller .bupiz-p13i-product-card__title,
    body.home .bupiz-p8-collection ul.products.bupiz-p8-products > li.product .woocommerce-loop-product__title{
        font-size:11.5px !important;
    }
    .bupiz-p13i-product-card__rating--overlay{
        left:7px !important;
        bottom:7px !important;
        min-height:20px !important;
        padding:0 5px !important;
    }
    .bupiz-p13i-product-card .bupiz-wishlist-btn--loop{
        right:7px !important;
        bottom:7px !important;
    }
}
