:root {
    --candy-cream: #fff8e8;
    --candy-paper: #fffdf7;
    --candy-ink: #272039;
    --candy-coral: #ff685f;
    --candy-coral-dark: #e94f48;
    --candy-lilac: #b99aff;
    --candy-lime: #c9f45b;
    --candy-cyan: #73dcf0;
    --candy-muted: #736c7e;
    --candy-border: rgba(39, 32, 57, .16);
    --candy-shadow: 5px 6px 0 var(--candy-ink);
    --candy-soft-shadow: 0 18px 45px rgba(74, 51, 98, .12);
}

html {
    min-height: 100%;
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    color: var(--candy-ink);
    font-family: "Arial Rounded MT Bold", "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
    background:
        radial-gradient(circle at 4% 8%, rgba(185, 154, 255, .24) 0 8rem, transparent 8.1rem),
        radial-gradient(circle at 96% 26%, rgba(115, 220, 240, .2) 0 10rem, transparent 10.1rem),
        var(--candy-cream);
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--candy-coral-dark);
}

::selection {
    color: var(--candy-ink);
    background: var(--candy-lime);
}

.container {
    max-width: 1440px;
}

.page-shell {
    flex: 1 0 auto;
}

.page-shell > .container {
    padding-top: clamp(1.25rem, 3vw, 2.8rem) !important;
    padding-bottom: clamp(2.5rem, 6vw, 5rem) !important;
}

.store-top-strip {
    min-height: 34px;
    overflow: hidden;
    color: var(--candy-paper);
    background: var(--candy-ink);
    border-bottom: 2px solid var(--candy-ink);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    white-space: nowrap;
}

.store-top-strip-track {
    width: max-content;
    display: flex;
    gap: 3rem;
    padding: .55rem 0;
    animation: candy-marquee 22s linear infinite;
}

.main-navbar {
    background: rgba(255, 253, 247, .92) !important;
    border-bottom: 2px solid var(--candy-ink) !important;
    box-shadow: 0 8px 0 rgba(39, 32, 57, .06) !important;
    backdrop-filter: blur(16px);
}

.brand-logo {
    gap: .7rem !important;
    color: var(--candy-ink) !important;
    font-size: 1.32rem !important;
    font-weight: 900 !important;
    letter-spacing: -.04em !important;
}

.brand-mark {
    position: relative;
    width: 42px !important;
    height: 42px !important;
    border: 2px solid var(--candy-ink);
    border-radius: 14px 18px 14px 18px !important;
    color: var(--candy-ink) !important;
    background: var(--candy-coral) !important;
    box-shadow: 3px 3px 0 var(--candy-ink) !important;
    transform: rotate(-4deg);
}

.brand-mark > span {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: .75rem;
    color: var(--candy-ink);
    text-shadow: none;
}

.brand-logo:hover .brand-mark {
    transform: rotate(3deg) scale(1.05);
}

.main-navbar .navbar-nav .nav-link {
    color: var(--candy-ink) !important;
    border: 2px solid transparent;
    border-radius: 999px !important;
    font-weight: 800 !important;
    padding: .52rem .92rem !important;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: var(--candy-ink) !important;
    background: var(--candy-lime) !important;
    border-color: var(--candy-ink);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: 2px solid var(--candy-ink);
    border-radius: 12px;
    box-shadow: 2px 2px 0 var(--candy-ink);
}

.navbar-account-link {
    color: var(--candy-ink) !important;
    background: rgba(185, 154, 255, .28) !important;
}

.nav-avatar {
    border: 2px solid var(--candy-ink);
    color: var(--candy-ink) !important;
    background: var(--candy-lilac) !important;
}

.cart-count-badge {
    color: var(--candy-ink) !important;
    background: var(--candy-coral) !important;
    border: 1px solid var(--candy-ink);
}

.cart-count-badge.is-empty {
    display: none;
}

.main-navbar .dropdown-menu {
    border: 2px solid var(--candy-ink) !important;
    border-radius: 18px !important;
    background: var(--candy-paper);
    box-shadow: var(--candy-shadow) !important;
}

.main-navbar .dropdown-item {
    border-radius: 12px !important;
    color: var(--candy-ink);
    font-weight: 700;
}

.main-navbar .dropdown-item:hover {
    color: var(--candy-ink) !important;
    background: var(--candy-cyan) !important;
}

.btn {
    min-height: 44px;
    border-width: 2px;
    border-radius: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn-primary {
    color: var(--candy-ink);
    background: var(--candy-coral);
    border-color: var(--candy-ink);
    box-shadow: 3px 4px 0 var(--candy-ink);
}

.btn-primary:hover,
.btn-primary:focus {
    color: var(--candy-ink);
    background: #ff8079;
    border-color: var(--candy-ink);
    box-shadow: 1px 2px 0 var(--candy-ink);
    transform: translate(2px, 2px);
}

.btn-outline-primary {
    color: var(--candy-ink);
    background: transparent;
    border-color: var(--candy-ink);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    color: var(--candy-ink);
    background: var(--candy-cyan);
    border-color: var(--candy-ink);
    transform: translateY(-2px);
}

.btn-light,
.btn-outline-secondary {
    color: var(--candy-ink);
    background: var(--candy-paper);
    border-color: var(--candy-ink);
}

.btn-light:hover,
.btn-outline-secondary:hover {
    color: var(--candy-ink);
    background: var(--candy-lilac);
    border-color: var(--candy-ink);
    transform: translateY(-2px);
}

.btn:focus-visible,
.form-control:focus,
.form-select:focus,
.nav-link:focus-visible,
a:focus-visible {
    outline: 3px solid var(--candy-cyan);
    outline-offset: 3px;
    box-shadow: none;
}

.form-control,
.form-select {
    min-height: 46px;
    color: var(--candy-ink);
    background-color: var(--candy-paper);
    border: 2px solid var(--candy-ink);
    border-radius: 14px;
    font-weight: 650;
}

.form-control::placeholder {
    color: #857c8d;
}

.card,
.front-surface,
.cart-card,
.cart-summary-card,
.product-detail-card,
.member-card {
    color: var(--candy-ink);
    background: var(--candy-paper);
    border: 2px solid var(--candy-ink) !important;
    border-radius: 22px !important;
    box-shadow: 5px 6px 0 rgba(39, 32, 57, .95) !important;
}

.alert {
    color: var(--candy-ink);
    border: 2px solid var(--candy-ink) !important;
    border-radius: 18px;
    background: var(--candy-paper);
}

.badge {
    border-radius: 999px;
    font-weight: 800;
}

.bg-info-subtle {
    color: var(--candy-ink) !important;
    background: var(--candy-cyan) !important;
    border: 1px solid var(--candy-ink);
}

.bg-warning {
    background: var(--candy-lime) !important;
    border: 1px solid var(--candy-ink);
}

.text-muted,
.front-muted {
    color: var(--candy-muted) !important;
}

.front-page-heading {
    color: var(--candy-ink);
    font-weight: 900;
    letter-spacing: -.04em;
}

.shop-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--candy-ink);
    background:
        radial-gradient(circle at 78% 16%, rgba(255, 255, 255, .7) 0 8%, transparent 8.2%),
        linear-gradient(135deg, #ffd4ca 0%, #f2dcff 52%, #c7f1f5 100%);
    border: 3px solid var(--candy-ink);
    border-radius: 36px;
    box-shadow: 8px 9px 0 var(--candy-ink);
}

.shop-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .34;
    background-image: radial-gradient(var(--candy-ink) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to right, transparent 0, black 55%);
}

.shop-hero-body {
    min-height: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    padding: clamp(2.2rem, 5vw, 5rem);
}

.shop-hero-kicker,
.section-eyebrow {
    width: fit-content;
    color: var(--candy-ink);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.shop-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    padding: .55rem .8rem;
    background: var(--candy-lime);
    border: 2px solid var(--candy-ink);
    border-radius: 999px;
    box-shadow: 3px 3px 0 var(--candy-ink);
    transform: rotate(-1.5deg);
}

.shop-hero-kicker span {
    color: var(--candy-coral-dark);
}

.shop-page-title {
    max-width: 800px;
    font-size: clamp(3rem, 7vw, 6.8rem);
    font-weight: 950;
    line-height: .92;
    letter-spacing: -.075em;
}

.shop-page-title span {
    position: relative;
    z-index: 0;
    display: inline-block;
}

.shop-page-title span::after {
    content: "";
    position: absolute;
    left: -.04em;
    right: -.03em;
    bottom: .02em;
    height: .18em;
    z-index: -1;
    background: var(--candy-lime);
    border: 2px solid var(--candy-ink);
    transform: rotate(-1deg);
}

.shop-subtitle {
    max-width: 620px;
    color: #4d4558;
    font-family: "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 650;
    line-height: 1.75;
}

.shop-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.8rem;
}

.shop-hero-actions .btn {
    min-width: 132px;
    padding: .78rem 1.2rem;
}

.hero-showcase {
    position: relative;
    min-height: 370px;
    transform: rotate(2deg);
}

.hero-orbit {
    position: absolute;
    border: 3px solid var(--candy-ink);
    border-radius: 50%;
}

.hero-orbit-one {
    width: 330px;
    height: 330px;
    top: 10px;
    left: 50%;
    background: var(--candy-lilac);
    transform: translateX(-50%);
    box-shadow: 8px 8px 0 var(--candy-ink);
}

.hero-orbit-two {
    width: 250px;
    height: 90px;
    left: 50%;
    bottom: 12px;
    background: var(--candy-cyan);
    transform: translateX(-50%) rotate(-8deg);
}

.hero-bag {
    position: absolute;
    z-index: 2;
    width: 175px;
    height: 220px;
    top: 78px;
    left: 50%;
    border: 3px solid var(--candy-ink);
    border-radius: 36px 36px 30px 30px;
    background: var(--candy-lime);
    box-shadow: 7px 8px 0 rgba(39, 32, 57, .9);
    transform: translateX(-28%) rotate(4deg);
}

.hero-bag-handle {
    position: absolute;
    width: 74px;
    height: 48px;
    top: -34px;
    left: 50%;
    border: 9px solid var(--candy-ink);
    border-bottom: 0;
    border-radius: 40px 40px 0 0;
    transform: translateX(-50%);
}

.hero-bag-pocket {
    position: absolute;
    width: 112px;
    height: 76px;
    left: 50%;
    bottom: 26px;
    border: 3px solid var(--candy-ink);
    border-radius: 18px;
    background: #dffb8b;
    transform: translateX(-50%);
}

.hero-headphones {
    position: absolute;
    z-index: 3;
    width: 160px;
    height: 150px;
    left: 22px;
    bottom: 38px;
    border: 18px solid var(--candy-ink);
    border-bottom: 0;
    border-radius: 90px 90px 0 0;
    transform: rotate(-12deg);
}

.hero-headphones::before {
    content: "";
    position: absolute;
    inset: -12px -12px auto;
    height: 130px;
    border: 12px solid var(--candy-lilac);
    border-bottom: 0;
    border-radius: 90px 90px 0 0;
}

.hero-headphones span {
    position: absolute;
    width: 54px;
    height: 78px;
    bottom: -58px;
    border: 3px solid var(--candy-ink);
    border-radius: 24px;
    background: var(--candy-lilac);
    box-shadow: 4px 4px 0 var(--candy-ink);
}

.hero-headphones span:first-child { left: -25px; }
.hero-headphones span:last-child { right: -25px; }

.hero-can {
    position: absolute;
    z-index: 4;
    width: 82px;
    height: 154px;
    right: 12px;
    bottom: 30px;
    border: 3px solid var(--candy-ink);
    border-radius: 24px 24px 20px 20px;
    color: var(--candy-ink);
    background: var(--candy-coral);
    box-shadow: 5px 6px 0 var(--candy-ink);
    transform: rotate(11deg);
}

.hero-can::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 9px;
    right: 9px;
    height: 10px;
    border: 2px solid var(--candy-ink);
    border-radius: 50%;
    background: var(--candy-paper);
}

.hero-can span {
    position: absolute;
    top: 58px;
    left: 50%;
    font-weight: 950;
    transform: translateX(-50%) rotate(-90deg);
}

.shop-hero-stat-grid {
    position: absolute;
    z-index: 5;
    top: 4px;
    right: -8px;
    display: grid;
    gap: .55rem;
}

.shop-hero-stat {
    min-width: 115px;
    padding: .7rem .8rem;
    border: 2px solid var(--candy-ink);
    border-radius: 16px;
    background: var(--candy-paper);
    box-shadow: 3px 3px 0 var(--candy-ink);
    transform: rotate(3deg);
}

.shop-hero-stat:nth-child(2) {
    background: var(--candy-cyan);
    transform: translateX(-18px) rotate(-3deg);
}

.shop-hero-stat-value {
    display: block;
    font-size: 1.55rem;
    font-weight: 950;
    line-height: 1;
}

.shop-hero-stat-label {
    display: block;
    margin-top: .25rem;
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    font-size: .72rem;
    font-weight: 700;
}

.hero-sticker,
.hero-spark {
    position: absolute;
    z-index: 7;
    font-weight: 950;
}

.hero-sticker {
    padding: .55rem .75rem;
    border: 2px solid var(--candy-ink);
    border-radius: 999px;
    box-shadow: 3px 3px 0 var(--candy-ink);
    letter-spacing: .08em;
}

.hero-sticker-coral {
    top: 24px;
    right: 36%;
    background: var(--candy-coral);
    transform: rotate(8deg);
}

.hero-sticker-lime {
    right: 22px;
    bottom: 54px;
    background: var(--candy-lime);
    transform: rotate(-7deg);
}

.hero-spark {
    color: var(--candy-coral);
    font-size: 2rem;
    animation: candy-pulse 2.2s ease-in-out infinite;
}

.hero-spark-one { top: 22%; right: 3%; }
.hero-spark-two { bottom: 19%; left: 48%; animation-delay: -.8s; }

.hero-marquee {
    overflow: hidden;
    padding: .68rem 0;
    color: var(--candy-paper);
    background: var(--candy-ink);
    border-top: 3px solid var(--candy-ink);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .12em;
    white-space: nowrap;
}

.hero-marquee div {
    width: max-content;
    animation: candy-marquee 18s linear infinite;
}

.product-search {
    position: relative;
    z-index: 8;
    margin-top: -2rem;
    background: var(--candy-paper) !important;
    border: 3px solid var(--candy-ink) !important;
    border-radius: 24px !important;
    box-shadow: 6px 7px 0 var(--candy-ink) !important;
}

.product-search::before {
    content: "QUICK FIND";
    position: absolute;
    top: -14px;
    left: 24px;
    padding: .25rem .55rem;
    border: 2px solid var(--candy-ink);
    border-radius: 999px;
    background: var(--candy-lilac);
    font-size: .65rem;
    font-weight: 950;
    letter-spacing: .12em;
    transform: rotate(-2deg);
}

.product-toolbar {
    padding-bottom: 1.1rem;
    border-bottom: 2px solid var(--candy-border);
}

.product-toolbar h2,
.hot-section-title {
    color: var(--candy-ink);
    font-weight: 950 !important;
    letter-spacing: -.035em;
}

.section-eyebrow {
    margin-bottom: .35rem;
    color: var(--candy-coral-dark);
}

.sort-form { min-width: 230px; }

.category-filter {
    display: flex;
    gap: .65rem;
    overflow-x: auto;
    padding: .2rem .15rem .65rem;
    scrollbar-width: thin;
}

.category-filter .btn {
    min-height: 40px;
    padding-inline: 1rem;
    border-radius: 999px;
    white-space: nowrap;
}

.category-filter .btn:nth-child(3n + 2):not(.btn-primary) { background: rgba(185, 154, 255, .2); }
.category-filter .btn:nth-child(3n + 3):not(.btn-primary) { background: rgba(201, 244, 91, .22); }

.product-card {
    overflow: hidden;
    transition: transform .22s cubic-bezier(.2, .8, .2, 1), box-shadow .22s ease;
}

#product-grid > div:nth-child(3n + 2) .product-card {
    transform: translateY(14px) rotate(.4deg);
}

.product-card:hover {
    z-index: 2;
    box-shadow: 8px 10px 0 var(--candy-ink) !important;
    transform: translateY(-7px) rotate(-.7deg);
}

.product-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, .85) 0 8%, transparent 8.3%),
        var(--candy-lilac);
    border-bottom: 2px solid var(--candy-ink);
}

#product-grid > div:nth-child(3n + 2) .product-image-wrap { background-color: var(--candy-lime); }
#product-grid > div:nth-child(3n + 3) .product-image-wrap { background-color: var(--candy-cyan); }

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 1rem;
    filter: drop-shadow(0 12px 12px rgba(39, 32, 57, .18));
    transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.06) rotate(2deg);
}

.product-card .card-body { padding: 1.15rem; }

.product-name {
    min-height: 48px;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.4;
}

.product-price {
    color: var(--candy-coral-dark);
    font-size: 1.28rem;
    font-weight: 950;
}

.product-price span {
    font-size: .68em;
    letter-spacing: .06em;
}

.product-stock {
    color: var(--candy-muted);
    font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    font-size: .86rem;
    font-weight: 700;
}

.hot-sidebar {
    position: sticky;
    top: 9rem;
}

.hot-sidebar-card {
    background: #fff4c7;
    border: 2px solid var(--candy-ink);
    border-radius: 24px;
    box-shadow: 5px 6px 0 var(--candy-ink);
}

.hot-sidebar-item {
    display: flex;
    gap: .8rem;
    padding: .9rem 0;
    border-bottom: 2px dashed rgba(39, 32, 57, .22);
    transition: transform .18s ease;
}

.hot-sidebar-item:last-child { border-bottom: 0; }
.hot-sidebar-item:hover { transform: translateX(5px); }

.hot-sidebar-image {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: .35rem;
    background: var(--candy-paper);
    border: 2px solid var(--candy-ink);
    border-radius: 17px;
}

.hot-sidebar-name {
    font-weight: 900;
    line-height: 1.35;
}

.hot-sidebar-price {
    color: var(--candy-coral-dark);
    font-weight: 950;
}

.pagination { gap: .4rem; }

.page-link {
    color: var(--candy-ink);
    background: var(--candy-paper);
    border: 2px solid var(--candy-ink);
    border-radius: 12px !important;
    font-weight: 800;
}

.page-link:hover,
.page-item.active .page-link {
    color: var(--candy-ink);
    background: var(--candy-lilac);
    border-color: var(--candy-ink);
}

.table > :not(caption) > * > * { padding: .95rem .9rem; }
.table thead th { color: var(--candy-ink); background: rgba(185, 154, 255, .16); }

.footer-simple {
    flex-shrink: 0;
    color: var(--candy-paper) !important;
    background: var(--candy-ink) !important;
    border-top: 0 !important;
}

.footer-brand {
    display: block;
    color: var(--candy-lime);
    font-size: 1.3rem;
    letter-spacing: -.04em;
}

.footer-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.footer-pills span {
    padding: .4rem .7rem;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
}

.swal2-popup {
    border: 3px solid var(--candy-ink);
    border-radius: 24px;
    color: var(--candy-ink);
    background: var(--candy-paper);
    box-shadow: 8px 9px 0 var(--candy-ink) !important;
}

.swal2-confirm {
    color: var(--candy-ink) !important;
    background: var(--candy-coral) !important;
    border: 2px solid var(--candy-ink) !important;
    border-radius: 12px !important;
    box-shadow: 3px 3px 0 var(--candy-ink) !important;
}

@keyframes candy-marquee {
    to { transform: translateX(-50%); }
}

@keyframes candy-pulse {
    0%, 100% { transform: rotate(-8deg) scale(.9); }
    50% { transform: rotate(8deg) scale(1.18); }
}

@keyframes candy-float {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
}

.hero-bag { animation: candy-float 4.2s ease-in-out infinite; }
.hero-headphones { animation: candy-float 3.8s ease-in-out infinite reverse; }
.hero-can { animation: candy-float 3.4s ease-in-out infinite; }

@media (min-width: 768px) {
    html { font-size: 16px; }
}

@media (max-width: 1199.98px) {
    .shop-hero-body {
        grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
        min-height: 430px;
    }

    .hero-showcase { transform: scale(.86) rotate(2deg); }
    .hot-sidebar { position: static; }
}

@media (max-width: 991.98px) {
    .main-navbar .container { align-items: center !important; }
    .navbar-collapse { width: 100%; padding-top: .85rem; }
    .main-navbar .navbar-nav { gap: .35rem; align-items: stretch !important; }
    .main-navbar .navbar-nav .nav-link,
    .navbar-account-link { width: 100%; }
    .main-navbar .dropdown-menu { width: 100%; margin-top: .35rem; }

    .shop-hero-body {
        grid-template-columns: 1fr;
        padding-bottom: 2.5rem;
    }

    .hero-showcase {
        width: min(430px, 100%);
        min-height: 340px;
        margin: 0 auto;
    }

    .hero-sticker-coral { right: 8%; }
    .hero-spark-two { left: 6%; }
}

@media (max-width: 767.98px) {
    body { overflow-x: hidden; }
    .container, .container-fluid { --bs-gutter-x: 1.4rem; }

    .store-top-strip-track { animation-duration: 16s; }

    .shop-hero {
        border-radius: 24px;
        box-shadow: 5px 6px 0 var(--candy-ink);
    }

    .shop-hero-body {
        gap: 1.3rem;
        min-height: 0;
        padding: 2.1rem 1.2rem 1.5rem;
    }

    .shop-page-title {
        font-size: clamp(2.75rem, 15vw, 4.2rem);
        line-height: .96;
    }

    .shop-subtitle { font-size: .95rem; }
    .shop-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .shop-hero-actions .btn { min-width: 0; }

    .hero-showcase {
        min-height: 285px;
        transform: scale(.78) rotate(2deg);
        transform-origin: center;
        margin-block: -28px;
    }

    .hero-sticker {
        font-size: .64rem;
        padding: .4rem .55rem;
    }

    .hero-sticker-coral { top: 15px; right: 14px; }
    .hero-sticker-lime { right: 10px; bottom: 48px; }
    .hero-spark { display: none; }

    .product-search {
        margin-top: -1rem;
        border-radius: 20px !important;
        box-shadow: 4px 5px 0 var(--candy-ink) !important;
    }

    .product-search .btn,
    .product-search .form-control { width: 100%; }

    .sort-form { width: 100%; min-width: 0; }
    .product-toolbar h2 { font-size: 1.65rem; }

    #product-grid {
        --bs-gutter-x: .8rem;
        --bs-gutter-y: 1rem;
    }

    .product-card,
    .front-surface,
    .cart-card,
    .cart-summary-card,
    .product-detail-card,
    .member-card {
        border-radius: 17px !important;
        box-shadow: 3px 4px 0 var(--candy-ink) !important;
    }

    #product-grid > div:nth-child(3n + 2) .product-card { transform: none; }
    .product-card .card-body { padding: .8rem; }
    .product-name { min-height: 42px; font-size: .94rem; }
    .product-price { font-size: 1.03rem; }
    .product-stock { font-size: .76rem; }

    .product-card .badge {
        max-width: 5rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-card .btn {
        min-height: 42px;
        padding-inline: .45rem;
        font-size: .88rem;
    }

    .table-responsive {
        border-radius: .85rem;
        -webkit-overflow-scrolling: touch;
    }

    .table { min-width: 680px; }
    .pagination { justify-content: flex-start !important; overflow-x: auto; flex-wrap: nowrap; padding-bottom: .35rem; }
    .page-link { white-space: nowrap; }
    .footer-pills { justify-content: flex-start; }
    .swal2-popup { width: min(92vw, 28rem) !important; font-size: .95rem !important; }
}

@media (max-width: 480px) {
    .shop-hero-actions { grid-template-columns: 1fr; }
    .hero-showcase { margin-inline: -2.5rem; }
    #product-grid > div { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
