.pipo-shop {
    --paper: #fffdf7;
    --ink: #24223d;
    --accent: #482792;
    --line: #e4dff0;
}

.pipo-shop .topbar { position: sticky; top: 0; border-bottom: 1px solid var(--line); }
.pipo-shop .site-brand { color: #482792; font-size: 1.75rem; font-weight: 800; letter-spacing: -.05em; }
.pipo-shop .site-brand svg { color: #a8476c; }
.pipo-shop .site-brand b { color: #a8476c; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.shop-carousel { position: relative; }
.shop-slide {
    --stage: #ffde6b;
    --shape: #b3a0f6;
    background: #b9ece0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.slide-2 { --stage: #ffb895; --shape: #ffdf6b; background: #e2d6ff; }
.shop-slide::after {
    content: '';
    position: absolute;
    inset: 0 0 0 42%;
    background: var(--stage);
    clip-path: polygon(23% 0, 100% 0%, 100% 100%, 0% 100%);
    z-index: -1;
}
.shop-slide-layout {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    align-items: center;
    gap: clamp(20px, 5vw, 72px);
    min-height: clamp(470px, 43vw, 580px);
    padding-block: 48px 86px;
}
.slide-copy h2 {
    font-size: clamp(3rem, 6.5vw, 6.3rem);
    line-height: .92;
    letter-spacing: -.06em;
    font-weight: 800;
    text-wrap: pretty;
}
.slide-copy .eyebrow { display: inline-block; background: #fffdf7; padding: 7px 11px; border-radius: 5px; }
.slide-copy .intro { margin: 20px 0 24px; }
.shop-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 99px;
    padding: 11px 18px;
    background: #24223d;
    color: #fffdf7;
    font-weight: 700;
    transition: background .2s, transform .2s;
}
.shop-button:hover { background: #482792; transform: translateY(-2px); }
.slide-art {
    position: relative;
    padding: 14px;
    border-radius: 51% 49% 32% 29% / 36% 39% 29% 26%;
    background: var(--shape);
    transform: rotate(4deg);
}
.slide-art img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5;
    object-fit: cover;
    border-radius: inherit;
}
.art-spark {
    display: grid;
    place-items: center;
    position: absolute;
    right: 4px;
    top: 2px;
    width: clamp(48px, 6vw, 74px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fffdf7;
    font-size: clamp(1.7rem, 4vw, 3rem);
    transform: rotate(-14deg);
}
.art-orbit {
    position: absolute;
    bottom: 7%;
    left: -4%;
    width: 17%;
    height: 11%;
    border: 3px solid #fffdf7;
    border-radius: 50%;
    transform: rotate(-32deg);
}
.carousel-navigation:not([hidden]) { display: flex; }
.carousel-navigation {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: space-between;
}
.carousel-dots, .carousel-arrows { display: flex; gap: 8px; align-items: center; }
.carousel-dots button, .carousel-arrows button {
    cursor: pointer;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: #fffdf7;
    border: 1px solid #24223d;
    border-radius: 50%;
    transition: background .2s, color .2s;
}
.carousel-dots button { background: transparent; border: 0; width: 36px; }
.carousel-dots button::before { content: ''; width: 12px; height: 12px; border-radius: 99px; border: 2px solid #24223d; }
.carousel-dots button[aria-pressed="true"]::before { background: #24223d; }
.carousel-arrows button:hover { background: #24223d; color: white; }
.shop-categories { display: grid; grid-template-columns: repeat(3, 1fr); }
.shop-categories a {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #a9e4f5;
    color: #24223d;
    font: 700 clamp(.86rem, 2vw, 1.25rem)/1.15 var(--display);
    padding: 18px 10px;
}
.shop-categories a:nth-child(2) { background: #ffdf72; }
.shop-categories a:nth-child(3) { background: #ffc0d7; }
.shop-categories span { font-size: 1.45em; transition: transform .24s; }
.shop-categories a:hover span { transform: rotate(-18deg) scale(1.15); }
.shop-catalog { padding-block: clamp(46px, 7vw, 92px); }
.shop-catalog, .shop-product, .gift-section { scroll-margin-top: 90px; }
.shop-heading { text-align: center; margin-bottom: 32px; }
.shop-heading p { margin: 12px auto 0; max-width: 54ch; }
.shop-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.6vw, 30px); }
.shop-product {
    --card-color: #f6a87f;
    --card-tint: #fff1e7;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: clip;
    background: var(--card-tint);
    box-shadow: 0 4px 0 var(--card-color);
}
.shop-product:nth-child(2) { --card-color: #b7a1ee; --card-tint: #f4edff; }
.shop-product:nth-child(3) { --card-color: #edca64; --card-tint: #fff7d7; }
.product-photo { overflow: hidden; position: relative; background: var(--card-color); }
.product-photo img { width: 100%; height: auto; aspect-ratio: 1.39; object-fit: cover; transition: transform .45s ease; }
.shop-product:hover img { transform: scale(1.06); }
.product-photo > span {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: #fffdf7;
    border-radius: 99px;
    padding: 4px 9px;
    font-size: .74rem;
    font-weight: 700;
}
.product-info { padding: clamp(12px, 2.2vw, 23px); }
.product-info h3 { text-wrap: pretty; }
.product-info p { font-size: .87rem; margin-top: 7px; }
.product-bottom { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin-top: 12px; }
.product-bottom strong { font: 800 clamp(.98rem, 2vw, 1.25rem)/1.2 var(--display); }
.product-bottom button { display: grid; place-items: center; background: var(--card-color); width: 41px; height: 41px; border: 0; border-radius: 50%; flex: none; }
.product-bottom svg { width: 20px; height: 20px; }
.gift-section { background: #f0e9fb; padding-block: clamp(38px, 6vw, 70px); }
.gift-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 6vw, 75px); align-items: center; }
.gift-layout img { width: 100%; height: auto; border-radius: 30px 30px 80px 30px; box-shadow: 6px 6px #ad93e2; }
.gift-layout p { margin: 14px 0 20px; }

@media (prefers-reduced-motion: no-preference) {
    .shop-slide:not([hidden]) .slide-copy { animation: slide-copy-in .42s ease both; }
    .shop-slide:not([hidden]) .slide-art { animation: slide-art-in .55s ease both; }
    @keyframes slide-copy-in { from { opacity: 0; transform: translateY(12px); } }
    @keyframes slide-art-in { from { opacity: 0; transform: translateX(16px) rotate(0); } }
}
@media (max-width: 660px) {
    .shop-slide-layout { grid-template-columns: 1fr; padding-block: 28px 72px; min-height: 0; gap: 22px; }
    .shop-slide::after { inset: 48% 0 0; clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%); }
    .slide-copy h2 { font-size: clamp(2.7rem, 10vw, 4rem); min-height: 1.84em; }
    .slide-copy .intro { margin-block: 10px 13px; min-height: 3.1em; }
    .slide-copy .eyebrow { margin-bottom: 11px; }
    .slide-art { width: min(90%, 390px); margin-inline: auto; padding: 9px; }
    .carousel-navigation { bottom: 13px; }
    .shop-categories a { flex-direction: column; gap: 5px; }
    .shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-info h3 { font-size: clamp(1.1rem, 4.5vw, 1.5rem); }
    .product-bottom button { width: 33px; height: 33px; }
    .product-photo > span { left: 6px; bottom: 6px; }
    .gift-layout { grid-template-columns: 1fr; }
}
@media (max-width: 349px) {
    .shop-products { grid-template-columns: 1fr; }
}
