/* ================= Base ================= */
:root {
    --color-base-text: 18, 18, 18;
    --color-shadow: 18, 18, 18;
    --color-base-background-1: 250, 242, 242;
    --color-base-background-2: 255, 255, 255;
    --color-base-solid-button-labels: 76, 73, 248;
  --color-base-outline-button-labels: 109, 56, 139;
  --color-base-accent-1: 139, 141, 139;
  --color-base-accent-2: 133, 239, 135;
  --gradient-base-accent-1: radial-gradient(rgba(156, 245, 149, 1) 26%, rgba(247, 197, 204, 1) 100%, rgba(215, 204, 250, 1) 100%);
  --gradient-base-accent-2: radial-gradient(rgba(156, 245, 149, 1) 26%, rgba(247, 197, 204, 1) 100%, rgba(215, 204, 250, 1) 100%);
  --gradient-base-background-1: #FAF2F2;
  --gradient-base-background-2: #FFFFFF;
  --color-button: var(--color-base-accent-1);
  --color-button-text: var(--color-base-solid-button-labels);
    --media-radius: 12px;
    --page-width: 140rem;
    --badge-corner-radius: 0.6rem;
    --slider-arrow-size: 3.0rem;
    --pagination-dot-width: 6px;
    --pagination-dot-height: 6px;
    --pagination-dot-active-scale: 1.5;
    --pagination-dot-spacing: 12px;
    --pagination-dot-radius: 5px;
    --grid-desktop-vertical-spacing: 40px;
    --grid-desktop-horizontal-spacing: 40px;
    --grid-mobile-vertical-spacing: 20px;
    --grid-mobile-horizontal-spacing: 20px;
    --buttons-radius: 6px;
    --buttons-radius-outset: 8px;
    --buttons-border-width: 2px;
    --quantity-radius: 8px;
    --inputs-radius: 6px;
    --inputs-border-opacity: 0.6;
    --inputs-border-width: 0.1rem;
    --variant-pills-text-size: 1.4rem;
    --variant-pills-padding-y: 1.0rem;
    --variant-pills-padding-x: 2.0rem;
    --variant-pills-radius: 40px;
    --variant-pills-border-opacity: 0.55;
    --font-body-family: "Poppins", sans-serif;
    --font-body-style: normal;
    --font-body-weight: 400;
    --font-body-weight-bold: 700;
    --font-heading-family: "Abril Fatface", serif;
    --font-heading-style: normal;
    --font-heading-weight: 400;
    --font-body-scale: 1.0;
    --font-heading-scale: 1.3;
    --font-heading-line-height: 0.3;
    --font-heading-letter-spacing: 0.06rem;
  --duration-default: 200ms;
  --page-pad: 1.5rem;
}
@media screen and (min-width: 750px) { :root { --page-pad: 5rem; } }

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    min-height: 100%;
    font-family: var(--font-body-family);
    font-style: var(--font-body-style);
    font-weight: var(--font-body-weight);
    font-size: 1.5rem;
    letter-spacing: 0.06em;
    line-height: calc(1 + 0.8 / var(--font-body-scale));
    color: rgba(var(--color-base-text), 0.75);
  background: var(--gradient-base-background-1);
}
@media screen and (min-width: 750px) { body { font-size: 1.6rem; } }

img,
svg,
video {
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3,
h4,
h5,
.h0,
.h1,
.h2,
.h3,
.h4,
.h5 {
    font-family: var(--font-heading-family);
    font-style: var(--font-heading-style);
    font-weight: var(--font-heading-weight);
    letter-spacing: var(--font-heading-letter-spacing);
    line-height: calc(1 + var(--font-heading-line-height));
    color: rgb(var(--color-base-text));
    margin: 0 0 1rem;
}

.h1 {
    font-size: calc(var(--font-heading-scale) * 2.6rem);
}

.h2 {
    font-size: calc(var(--font-heading-scale) * 2rem);
}

.h3 {
    font-size: calc(var(--font-heading-scale) * 1.7rem);
}

.h4 {
    font-size: calc(var(--font-heading-scale) * 1.5rem);
}

@media screen and (min-width: 750px) {
  .h1 { font-size: calc(var(--font-heading-scale) * 3rem); }
  .h2 { font-size: calc(var(--font-heading-scale) * 2.4rem); }
}

/* Color schemes */
.gradient { background: rgb(var(--color-background, transparent)); background: var(--gradient-background, rgb(var(--color-background, transparent))); color: rgb(var(--color-foreground, var(--color-base-text))); }

@media screen and (min-width: 750px) {
    .gradient {
        background-attachment: fixed;
    }
}

body.gradient { background: var(--gradient-base-background-1); color: rgba(var(--color-foreground, var(--color-base-text)), 0.9); }
.color-accent-1 { --color-background: var(--color-base-accent-1); --gradient-background: var(--gradient-base-accent-1); --color-foreground: var(--color-base-solid-button-labels); }
.color-accent-2 { --color-background: var(--color-base-accent-2); --gradient-background: var(--gradient-base-accent-2); --color-foreground: var(--color-base-solid-button-labels); }
.color-inverse { --color-background: var(--color-base-text); --color-foreground: var(--color-base-background-1); }
.color-background-1 { --color-background: var(--color-base-background-1); --gradient-background: var(--gradient-base-background-1); --color-foreground: var(--color-base-text); }
.color-background-2 { --color-background: var(--color-base-background-2); --color-foreground: var(--color-base-text); }

.accent-color-accent-1 {
    color: rgb(var(--color-base-accent-1));
}

.accent-color-text {
    color: rgb(var(--color-base-text));
}

/* Custom elements default block */
product-form, secondary-variant-select, details-modal, countdown-timer, header-drawer, media-gallery, product-info { display: block; }

/* Utilities */
.page-width {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media screen and (min-width: 750px) {
    .page-width {
        padding: 0 5rem;
    }
}

.list-unstyled,
.list-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.center {
    text-align: center;
}

.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    word-wrap: normal !important;
}

.link {
    cursor: pointer;
    color: rgb(var(--color-base-text));
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.link--text {
    color: rgb(var(--color-base-text));
}

.underlined-link {
    text-underline-offset: 0.3rem;
}

.nowrap {
    white-space: nowrap;
}

.skip-to-content-link:focus {
    position: fixed;
    z-index: 100;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    clip: auto;
}

/* Buttons */
.button {
    appearance: none;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-family: inherit;
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    line-height: calc(1 + 0.2 / var(--font-body-scale));
    text-decoration: none;
    text-align: center;
    min-height: 4.5rem;
    min-width: 12rem;
    padding: 0 3rem;
    border: 0;
    background-color: rgba(var(--color-button), 1);
    color: rgb(var(--color-button-text));
    border-radius: var(--buttons-radius-outset);
}

.button--full-width {
    width: 100%;
}

/* Fields */
.field {
    position: relative;
    display: flex;
}

.field__input {
    width: 100%;
    height: 5.2rem;
    padding: 1.6rem 0 0.4rem 2rem;
    margin: 0;
    background-color: rgb(var(--color-base-background-1));
    color: rgb(var(--color-base-text));
    border: var(--inputs-border-width) solid rgba(var(--color-base-text), var(--inputs-border-opacity));
    border-radius: var(--inputs-radius);
    font-family: inherit;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
}

.field__input:focus { outline: 0; box-shadow: 0 0 0 0.1rem rgb(var(--color-base-text)); }
.field__input { padding-right: 4.8rem; }
.field__input::placeholder { opacity: 0; }

.field__label {
    position: absolute;
    top: 0.8rem;
    left: 2rem;
    font-size: 1rem;
    letter-spacing: 0.1rem;
    pointer-events: none;
    opacity: 0.7;
}

.field__button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    cursor: pointer;
    color: rgb(var(--color-base-text));
}

.field__button .icon {
    width: 1.8rem;
    height: 1.8rem;
}

.reset__button {
    right: 4.4rem;
}

.search__button {
    right: 0;
}

/* ================= Ticker ================= */
.horizontal-ticker {
  overflow: hidden; padding: 12px 0;
}

@media screen and (min-width: 750px) {
    .horizontal-ticker {
        padding: 10px 0;
    }
}

.horizontal-ticker__container {
    display: flex;
    width: max-content;
    column-gap: 60px;
    animation: horTickerMobile 50s linear infinite normal forwards;
}

@media screen and (min-width: 750px) {
    .horizontal-ticker__container {
        column-gap: 100px;
        animation-name: horTickerDesktop;
    }
}

@keyframes horTickerMobile {
    to {
        transform: translateX(calc(-50% - 30px));
    }
}

@keyframes horTickerDesktop {
    to {
        transform: translateX(calc(-50% - 50px));
    }
}

.horizontal-ticker__item {
    margin: 0;
    white-space: nowrap;
    font-size: 1.6rem;
}

@media screen and (min-width: 750px) {
    .horizontal-ticker__item {
        font-size: 1.8rem;
    }
}

/* ================= Header ================= */
sticky-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: block;
    background: rgb(var(--color-base-background-1));
    border-bottom: 0.1rem solid rgba(var(--color-foreground, var(--color-base-text)), 0.08);
    transition: transform 0.3s ease;
}

sticky-header.header-hidden {
    transform: translateY(-100%);
}

.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 10px 0;
}

@media screen and (min-width: 750px) {
    .header {
        padding: 20px 40px;
    }
}

.header__heading-link {
    justify-self: center;
    text-decoration: none;
    color: rgb(var(--color-base-text));
}

.header__heading-link .h2 {
    margin: 0;
    white-space: nowrap;
}

.header__icons {
    justify-self: end;
    display: flex;
    align-items: center;
}

.header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    color: rgb(var(--color-base-text));
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.header__icon .icon {
    width: 2.2rem;
    height: 2.2rem;
}

.icon-cart {
    width: 2.6rem !important;
    height: auto;
    transform: scale(0.9);
}

.header__icon--account {
    display: none;
}

@media screen and (min-width: 750px) {
    .header__icon--account {
        display: inline-flex;
    }
}

.header__inline-menu {
    display: none;
    justify-self: start;
}

@media screen and (min-width: 990px) {
    .header__inline-menu {
        display: block;
    }

    header-drawer {
        display: none;
    }
}

.list-menu--inline {
    display: inline-flex;
    flex-wrap: wrap;
}

.header__menu-item {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    color: rgb(var(--color-base-text));
    text-decoration: none;
}

.header__menu-item:hover {
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

/* Hamburger + mobile drawer */
.menu-drawer-container>summary .icon-close {
    display: none;
}

.menu-drawer-container[open]>summary .icon-hamburger {
    display: none;
}

.menu-drawer-container[open]>summary .icon-close {
    display: block;
}

.icon-hamburger,
.icon-close,
.icon-search {
    width: 2.2rem;
    height: 2.2rem;
}

.menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 40;
    width: calc(100vw - 4rem);
    padding: 0;
    background: rgb(var(--color-base-background-1));
    color: rgb(var(--color-base-text));
    border-right: 1px solid rgba(var(--color-base-text), 0.1);
    overflow-x: hidden;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
}

.menu-drawer-container[open] .menu-drawer {
    transform: translateX(0);
    visibility: visible;
}

.menu-drawer__inner-container {
    position: relative;
    height: 100%;
}

.menu-drawer__title-and-close-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.5rem 1rem 2rem;
    border-bottom: solid 1px rgba(var(--color-base-text), 0.1);
}

.menu-drawer__title {
    margin: 0;
    font-size: calc(var(--font-heading-scale) * 1.7rem);
}

.menu-drawer__navigation-container {
    height: 100%;
    overflow-y: auto;
}

.menu-drawer__navigation {
    padding: 1rem 0;
}

.menu-drawer__menu li {
    margin-bottom: 0.2rem;
}

.menu-drawer__menu-item {
    display: block;
    padding: 0.9rem 2rem;
    font-size: 1.8rem;
    color: rgb(var(--color-base-text));
    text-decoration: none;
}

.menu-drawer__utility-links {
    padding: 1rem 2rem;
    border-top: solid 1px rgba(var(--color-base-text), 0.1);
}

.menu-drawer__account {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem;
    margin-left: -1.2rem;
    font-size: 1.4rem;
    color: rgb(var(--color-base-text));
    text-decoration: none;
}

.menu-drawer__account .icon-account {
    width: 2rem;
    height: 2rem;
    margin-right: 1rem;
}

.menu-drawer__account:hover .icon-account {
    transform: scale(1.07);
}

@media screen and (min-width: 750px) {
    .menu-drawer {
        width: 40rem;
    }
}

/* Search modal */
.search-modal {
  position: fixed; inset: 0; z-index: 50; display: none;
  background: rgb(var(--color-base-background-1)); padding: 1.5rem;
}
.header__search details[open] .search-modal { display: block; }

.search-modal__content { position: relative; max-width: 74rem; margin: 2rem auto 0; padding-right: 5.4rem; }
.search-modal__close-button {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  width: 4.4rem; height: 4.4rem; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: rgb(var(--color-base-text));
}
.search-modal__close-button .icon { width: 1.8rem; height: 1.8rem; }

/* Header icon toggle: show one icon at a time */
.header__icon--summary span { display: inline-flex; align-items: center; justify-content: center; }
.header__icon--summary .modal__toggle-close { display: none; }
.menu-drawer-container[open] > summary .modal__toggle-open,
.header__search details[open] .modal__toggle-open { display: none; }
.menu-drawer-container[open] > summary .modal__toggle-close,
.header__search details[open] .modal__toggle-close { display: block; }

details-modal summary {
    list-style: none;
    cursor: pointer;
}

details-modal summary::-webkit-details-marker {
    display: none;
}

.header__search details[open]>summary {
    position: fixed;
    inset: 0;
    z-index: -1;
}

/* ================= Cart drawer ================= */
cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 100;
    visibility: hidden;
}

cart-drawer.open {
    visibility: visible;
}

.cart-drawer__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

cart-drawer.open .cart-drawer__overlay {
    opacity: 1;
}

.drawer__inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgb(var(--color-base-background-2));
    color: rgb(var(--color-base-text));
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s;
}

cart-drawer.open .drawer__inner {
    transform: translateX(0);
}

@media screen and (min-width: 750px) {
    .drawer__inner {
        width: 40rem;
    }
}

.drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(var(--color-base-text), 0.1);
}

.drawer__heading {
    font-family: var(--font-body-family);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.drawer__close {
    background: none;
    border: 0;
    cursor: pointer;
    width: 4.4rem;
    height: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--color-base-text));
}

.drawer__close .icon {
    width: 1.8rem;
    height: 1.8rem;
}

.drawer__inner-empty {
    display: none;
    flex: 1;
    overflow-y: auto;
}

cart-drawer.is-empty .drawer__inner-empty { display: block; }
cart-drawer.is-empty .drawer__header, cart-drawer.is-empty .cart-drawer__body, cart-drawer.is-empty .drawer__footer { display: none; }

.cart-drawer__warnings {
    position: relative;
    padding: 3rem 2rem;
}

.cart__empty-text {
    font-family: var(--font-body-family);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 2rem;
}

.drawer__inner-empty .drawer__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.drawer__inner-empty .button {
    margin-bottom: 3rem;
}

.cart__login-title {
    font-family: var(--font-body-family);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0 0 1rem;
}

.cart__login-paragraph {
    margin: 0;
    font-size: 1.4rem;
}

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
}

.cart-timer {
    background: rgb(var(--color-background));
    color: rgb(var(--color-foreground));
    font-size: 1.4rem;
    padding: 1rem 1.5rem;
    border-radius: var(--buttons-radius);
    text-align: center;
    margin-bottom: 1.5rem;
}

.drawer__footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(var(--color-base-text), 0.1);
}

.cart-drawer__totals__row {
    display: flex;
    justify-content: space-between;
    font-size: 2rem;
    margin: 0 0 1.5rem;
}

.cart__ctas {
    display: flex;
    flex-direction: column;
}

.ntc-payment-buttons {
    display: flex;
    flex-direction: column;
}

.payment-slot-paypal {
    width: 100%;
    margin-top: 10px;
}

.paypal-btn {
    display: flex;
    position: relative;
    background-color: #ffc439;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    min-height: 45px;
    justify-content: center;
    align-items: center;
    border: 0;
}

.paypal-btn__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.paypal-btn__text {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #2C2E2F;
    padding-right: 5px;
}

.paypal-btn__logo {
    vertical-align: middle;
    width: 70px;
}

.ntc-express-row {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
}

.gpay-btn {
  flex: 1 1 0; min-width: 0; min-height: 50px; width: 100%; align-self: stretch;
  display: flex; align-items: center; justify-content: center; gap: 0.8rem;
  background: #000; border-radius: 4px; border: 0; cursor: pointer;
  color: #fff; font-family: 'Poppins', 'Google Sans', Roboto, Arial, sans-serif; font-size: 1.7rem; font-weight: 500; letter-spacing: 0;
}
.gpay-btn svg { width: 2.2rem; height: 2.2rem; flex-shrink: 0; }

.payment-slot-card {
    width: 100%;
    margin-top: 10px;
}

.card-btn {
  display: flex; visibility: visible; opacity: 1; width: 100%; min-height: 45px;
  justify-content: center; align-items: center; cursor: pointer;
  background: rgb(var(--color-base-background-1)); border: 2px solid rgb(109, 56, 139); border-radius: 8px;
  font-family: inherit; font-size: 1.4rem; font-weight: 700; color: rgb(109, 56, 139);
}
.card-btn .checkout_payment_text { text-transform: uppercase; }

.card-btn svg {
    margin-right: 5px;
}

.paypal-attribution {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
    gap: 0.5rem;
}

.paypal-attribution i {
    font-size: 12px;
    color: #6d6d6d;
}

.payment-badges-block {
    margin: 1.2rem 0;
}

/* ================= Product layout ================= */
.section-main-padding {
    padding-top: 0;
    padding-bottom: 16px;
}

@media screen and (min-width: 750px) {
    .section-main-padding {
        padding-top: 36px;
        padding-bottom: 36px;
    }
}

.product {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--grid-mobile-vertical-spacing) var(--grid-mobile-horizontal-spacing);
}

@media screen and (min-width: 750px) {
    .product {
        grid-template-columns: 1fr 1fr;
        gap: var(--grid-desktop-vertical-spacing) var(--grid-desktop-horizontal-spacing);
    }
}

@media screen and (min-width: 990px) {
    .product {
        grid-template-columns: 55% 45%;
    }

    .product__info-wrapper {
        padding-left: 0;
    }

    .product__column-sticky {
        position: sticky;
        top: 3rem;
        align-self: start;
    }
}

/* Gallery */
.product__media-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}

.product__media-list::-webkit-scrollbar {
    display: none;
}

.slider__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    min-width: 100%;
}

.product-media-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0;
    background: rgb(var(--color-base-background-2));
}

@media screen and (min-width: 750px) {
    .product-media-container {
        border-radius: var(--media-radius);
    }
}

.modal-opener {
    display: block;
    height: 100%;
    cursor: pointer;
}

.product__media {
    height: 100%;
}

.product__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product__media-icon--none {
    display: none;
}

/* Dots (mobile) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: var(--pagination-dot-spacing);
    margin-top: 1.2rem;
}

@media screen and (min-width: 750px) {
    .slider-dots {
        display: none;
    }
}

.slider-dot {
    width: var(--pagination-dot-width);
    height: var(--pagination-dot-height);
    padding: 0;
    border-radius: var(--pagination-dot-radius);
    border: 0;
    cursor: pointer;
    background: rgba(var(--color-base-text), 0.2);
    transition: transform 0.15s;
}

.slider-dot.is-active {
    background: rgb(var(--color-base-text));
    transform: scale(var(--pagination-dot-active-scale));
}

/* Thumbnails (desktop) */
.thumbnail-slider {
    display: none;
    align-items: center;
    gap: 0.8rem;
    margin-top: var(--grid-desktop-horizontal-spacing);
}

@media screen and (min-width: 750px) {
    .thumbnail-slider {
        display: flex;
    }
}

.thumbnail-list { display: flex; gap: 1rem; overflow-x: auto; scroll-behavior: smooth; margin: 0; padding: 0; list-style: none; scrollbar-width: none; flex: 1; }
.thumbnail-list::-webkit-scrollbar { display: none; }
.thumbnail-list > li { flex: 0 0 16%; min-width: 0; }
.thumbnail {
  width: 100%; aspect-ratio: 1 / 1; padding: 0; overflow: hidden; cursor: pointer; display: block;
  background: rgb(var(--color-base-background-2));
  border: 2px solid rgba(var(--color-base-text), 0.1);
  border-radius: calc(var(--media-radius) / 2);
  opacity: 0.75;
  transition: opacity 0.15s, border-color 0.15s;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.thumbnail.is-active { opacity: 1; border-color: rgb(var(--color-base-text)); }

.slider-button {
    flex-shrink: 0;
    width: 4.4rem;
    height: 4.4rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(var(--color-base-text), 0.9);
}

.thumbnail-slider .slider-button { width: 2.5rem; }

.slider-button .icon {
    width: 1rem;
    height: 0.6rem;
}

.slider-button--prev .icon {
    transform: rotate(90deg);
}

.slider-button--next .icon {
    transform: rotate(-90deg);
}

.slider-button[disabled] {
    opacity: 0.3;
    cursor: default;
}

/* ================= Product info ================= */
.product__title {
    margin-bottom: 0;
}

.product__title .h1 {
    margin: 0;
}

.product__title a.product__title {
    display: none;
}

.rating-stars {
    display: block;
}

.rating-stars-and-text {
    display: flex;
    align-items: center;
    position: relative;
}

.rating-stars__container {
    display: flex;
    gap: 2px;
}

.rating-stars__container svg {
    width: var(--font-size, 1.6rem);
    height: var(--font-size, 1.6rem);
}

.rating-stars__container--underlay {
    color: var(--bg-star-color, #ececec);
}

.rating-stars__container--overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: var(--font-size, 1.6rem);
    width: calc(var(--rating, 4.4) / var(--visible-stars, 5) * 100%);
    overflow: hidden;
    color: var(--star-color, #ffcc00);
}

.rating-stars__label { font-size: 1.4rem; font-weight: 700; color: rgba(var(--color-base-text), 0.9); }

.product-page-price {
    margin-top: 0.9rem;
    margin-bottom: 1.5rem;
}

.price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    color: rgba(var(--color-base-text), 0.75);
    font-size: 1.6rem;
}

.price--large {
    font-size: 1.8rem;
}

.price__container {
    display: flex;
    flex-direction: column;
}

.price__regular {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price__sale {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price--on-sale .price__regular {
    display: none;
}

.price:not(.price--on-sale) .price__sale {
    display: none;
}

.price-item {
    margin: 0;
}

.price--large .price-item {
    font-size: 2.4rem;
    font-weight: 700;
}

.price--large .main-comapre-price {
    font-size: 1.7rem;
    font-weight: 700;
    text-decoration: line-through;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: var(--badge-corner-radius);
    padding: 0.6rem 1.2rem;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    line-height: 1;
}

.badge .icon-discount {
    width: 1.2rem;
    height: 1.2rem;
}

.price__badge-sale { background: rgb(var(--color-base-accent-2)); color: rgba(var(--color-base-solid-button-labels), 0.9); }

.price__badge-sold-out {
    display: none;
    background: rgb(var(--color-base-text));
    color: rgb(var(--color-base-background-1));
}

.form__label {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: rgb(var(--color-base-text));
}

/* Variant pills */
variant-selects {
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-form__input--pills .form__label {
    display: block;
    margin-bottom: 1rem;
}

.product-form__input--pills fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-form__input--pills input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.product-form__input--pills label.pill-label {
    display: inline-block;
    cursor: pointer;
    font-size: var(--variant-pills-text-size);
    letter-spacing: 0.1rem;
    padding: var(--variant-pills-padding-y) var(--variant-pills-padding-x);
    border: var(--variant-pills-border-width) solid rgba(var(--color-base-text), var(--variant-pills-border-opacity));
    border-radius: var(--variant-pills-radius);
    color: rgb(var(--color-base-text));
    transition: box-shadow 0.1s;
}

.product-form__input--pills input[type="radio"]:checked + label.pill-label {
  background: rgb(var(--color-base-text)); color: rgb(var(--color-base-background-1));
  border-color: rgb(var(--color-base-text));
}

/* Quantity */
.product-form__quantity {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-form__quantity .form__label {
    display: block;
    margin-bottom: 1rem;
}

.quantity {
  position: relative; display: flex; width: 14.2rem; height: 4.7rem;
  border: 0; border-radius: var(--quantity-radius);
  background: rgb(var(--color-base-background-2));
}

.quantity__button {
    width: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    cursor: pointer;
    color: rgb(var(--color-base-text));
    padding: 0;
}

.quantity__button .icon {
    width: 1rem;
}

.quantity__input {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0;
    text-align: center;
    font-size: 1.6rem;
    color: rgb(var(--color-base-text));
    background: transparent;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity__input::-webkit-outer-spin-button,
.quantity__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity__input:focus {
    outline: 0;
}

/* ATC + payment buttons */
.product-form__buttons--uppercase .atc-button {
    text-transform: uppercase;
}

.atc-button {
    min-height: 45px;
    width: 100%;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.loading-overlay__spinner {
    display: none;
}

.spinner {
    width: 2rem;
    height: 2rem;
    animation: spinner-rotate 0.8s linear infinite;
}

.spinner .path {
    stroke: currentColor;
    stroke-dasharray: 140;
    stroke-dashoffset: 90;
}

@keyframes spinner-rotate {
    to {
        transform: rotate(360deg);
    }
}

.product-form__error-message-wrapper {
    display: none;
}

/* ================= Sticky ATC ================= */
sticky-atc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: rgb(var(--color-base-background-1)); box-shadow: 0 -1px 10px rgba(0,0,0,0.2);
  transform: translateY(100%); transition: transform 0.3s ease;
}

sticky-atc.is-visible {
    transform: translateY(0);
}

.sticky-atc__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

@media screen and (min-width: 750px) {
    .sticky-atc__inner {
        padding: 1rem 5rem;
    }
}

.sticky-atc__image {
    display: none;
}

@media screen and (min-width: 750px) {
    .sticky-atc__image {
        display: block;
    }
}

.sticky-atc__image img {
    width: auto;
    height: 5.2rem;
    object-fit: contain;
    border-radius: calc(var(--media-radius) / 2);
    display: block;
}

.sticky-atc__info {
    flex: 1;
    min-width: 0;
}

.sticky-atc__title {
  font-family: var(--font-heading-family); font-size: 1.9rem; font-weight: 400; letter-spacing: var(--font-heading-letter-spacing);
  line-height: calc(1 + var(--font-heading-line-height));
  margin: 0 0 0.4rem; color: rgb(var(--color-base-text));
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.sticky-atc__price .price {
    font-size: 1.8rem;
    gap: 0.5rem;
}

.sticky-atc__price .price-item--sale {
    font-size: 1.8rem;
}

.sticky-atc__price .main-comapre-price {
    font-size: 1.5rem;
}

.sticky-atc__price .badge {
    padding: 0.3rem 0.8rem;
    font-size: 1.3rem;
}

.sticky-atc__picker {
    display: none;
}

@media screen and (min-width: 750px) {
    .sticky-atc__picker {
        display: block;
    }
}

.sticky-atc__picker .select {
    position: relative;
    display: flex;
    width: 20rem;
    /* 下拉框圆角/边框使用参考站 pickers 配置 */
    --inputs-radius: 8px;
    --inputs-border-width: 1px;
    --inputs-border-opacity: 0.2;
}

/* 参考站边框由 .select:after 伪元素绘制 */
.sticky-atc__picker .select::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: var(--inputs-border-width);
    right: var(--inputs-border-width);
    bottom: var(--inputs-border-width);
    left: var(--inputs-border-width);
    border: 0.1rem solid transparent;
    border-radius: var(--inputs-radius);
    box-shadow: 0 0 0 var(--inputs-border-width) rgba(var(--color-base-accent-1), var(--inputs-border-opacity));
}

.sticky-atc__variant-select {
    appearance: none;
    width: 100%;
    height: 4.5rem;
    margin: var(--inputs-border-width);
    padding: 0 calc(var(--inputs-border-width) + 1.5rem) 0 1.25rem;
    cursor: pointer;
    border: 0;
    border-radius: var(--inputs-radius);
    background: linear-gradient(rgba(var(--color-base-accent-1), 0.08), rgba(var(--color-base-accent-1), 0.08)), rgb(var(--color-base-background-1));
    color: rgb(var(--color-base-text));
    font-family: inherit;
    font-size: 1.4rem;
    letter-spacing: 0.04rem;
}

.sticky-atc__picker .icon-caret {
    position: absolute;
    right: calc(var(--inputs-border-width) + 1.5rem);
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 0.6rem;
    pointer-events: none;
    color: rgb(var(--color-base-text));
}

.sticky-atc__button {
    flex-shrink: 0;
}

.sticky-atc__button .button {
    min-height: auto;
    min-width: auto;
    line-height: 2.75em;
    font-size: 1.9rem;
    padding: 0 1.5em;
    font-weight: 700;
}

.sticky-atc__error {
    display: none;
}

/* ================= Description RTE ================= */
.product__description {
    margin: 2.4rem 0;
}

.rte h2 {
    font-size: calc(var(--font-heading-scale) * 2rem);
    margin: 2.4rem 0 1rem;
}

.rte h3 {
    font-size: calc(var(--font-heading-scale) * 1.5rem);
    margin: 2rem 0 0.8rem;
}

.rte p {
    margin: 1rem 0;
}

.rte ul,
.rte ol {
    margin: 1rem 0;
    padding-left: 2.5rem;
}

.rte li {
    margin: 0.4rem 0;
}

.rte img {
    border-radius: var(--media-radius);
}

.rte a {
    color: rgb(var(--color-base-text));
}

/* ================= Reviews splide ================= */
.review-items-container {
    margin: 2.4rem calc(var(--page-pad, 0rem) * -1);
}

.splide {
    position: relative;
}

.splide__track {
    overflow: hidden;
    padding-left: 15px;
    padding-right: 15px;
}

.splide__list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: transform 0.4s ease;
}

.splide__slide {
    flex: 0 0 100%;
    margin-right: 45px;
}

.review-item {
  background: transparent; border-radius: var(--border-radius, 1.2rem); padding: 0;
  box-shadow: 0 0 0 var(--border-thickness, 0) var(--border-color, transparent);
}
.review-item__text p { margin: 0 0 1.6rem; }
.review-item__author { display: flex; align-items: center; gap: 1rem; }
.review-item__author em { font-style: italic; font-size: 1.4rem; color: rgba(var(--color-base-text), 0.5); }

.review-item__author .rating-stars__container {
    display: inline-flex;
    gap: 2px;
    font-size: 1.44rem;
}

.review-item__author .rating-stars__container svg {
    width: 1.44rem;
    height: 1.44rem;
}

.splide__dots-and-arrows {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.splide__pagination {
    display: flex;
    gap: var(--pagination-dot-spacing);
    list-style: none;
    margin: 0;
    padding: 0;
}

.splide__pagination__page {
    width: var(--pagination-dot-width);
    height: var(--pagination-dot-height);
    padding: 0;
    border: 0;
    cursor: pointer;
    border-radius: var(--pagination-dot-radius);
    background: rgba(var(--color-base-text), 0.2);
    transition: transform 0.15s;
}

.splide__pagination__page.is-active {
    background: rgb(var(--color-base-text));
    transform: scale(var(--pagination-dot-active-scale));
}

.splide__arrows {
    display: none;
}

/* ================= Accordion ================= */
.product__accordion {
    margin: 2.4rem 0 0;
}

.accordion {
    display: block;
    border-bottom: 0.1rem solid rgba(var(--color-base-text), 0.08);
}

.accordion--top-border {
    border-top: 0.1rem solid rgba(var(--color-base-text), 0.08);
}

.accordion__summary {
    display: flex;
    align-items: center;
    position: relative;
    line-height: 1;
    padding: 1.25rem 0;
    cursor: pointer;
}

.accordion__summary::-webkit-details-marker {
    display: none;
}

.summary__title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion .summary__title {
    flex: 1;
    gap: 0;
}

.accordion .material-symbols-outlined {
    align-self: center;
    color: rgb(var(--color-base-text));
    font-size: calc(var(--font-heading-scale) * 1.8rem);
    margin-right: calc(var(--font-heading-scale) * 0.75rem);
}

.material-icon {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    font-feature-settings: 'liga';
}

.accordion__title {
    display: inline-block;
    max-width: calc(100% - 6rem);
    font-size: calc(var(--font-heading-scale) * 1.2rem);
    margin: 0;
    word-break: break-word;
}

.accordion .summary__title + .icon-caret {
    width: calc(var(--font-heading-scale) * 1rem);
    height: calc(var(--font-heading-scale) * 0.6rem);
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out;
}

.accordion__details[open] .accordion__summary .icon-caret {
    transform: rotate(180deg);
}

.accordion__content-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.2s ease-in-out;
}

.accordion__details[open] + .accordion__content-wrapper {
    grid-template-rows: 1fr;
}

.accordion__content {
    word-break: break-word;
    padding: 0 0.6rem;
    min-height: 0;
    opacity: 0;
    transition: padding-bottom 0s, opacity 0.2s;
}

.accordion__details[open] + .accordion__content-wrapper .accordion__content {
    padding-bottom: 1.5rem;
    opacity: 1;
}

/* View details */
.product__view-details {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    font-size: 1.4rem;
    letter-spacing: 0.1rem;
    color: rgb(var(--color-base-text));
    text-decoration: none;
}

.product__view-details .icon-arrow {
    width: 1.4rem;
    transition: transform 0.2s;
}

.product__view-details:hover .icon-arrow {
    transform: translateX(0.3rem);
}

/* ================= Wave divider ================= */
.divider-spacer { background: rgb(var(--color-base-background-1)); font-size: 0; line-height: 0; }
.section-divider { position: relative; background: rgb(var(--color-base-background-1)); }
.section-divider__svg { background: none; position: relative; overflow: hidden; transform: translateY(1px); color: rgb(139, 141, 139); }
.section-divider__svg svg { display: block; width: 100%; height: auto; max-height: var(--max-height, 150px); overflow: hidden; }
.waves-animated-1 { --max-height: 3rem; margin: 0; }

@media screen and (min-width: 1000px) {
    .waves-animated-1 { --max-height: 6rem; }
}

.parallax1 > use { animation: move-forever1 10s linear infinite; }
.parallax2 > use { animation: move-forever2 8s linear infinite; opacity: 0.4; }
.parallax3 > use { animation: move-forever3 6s linear infinite; opacity: 0.3; }
.parallax4 > use { animation: move-forever4 4s linear infinite; opacity: 0.2; }

@keyframes move-forever1 {
    0% { transform: translate(85px); }
    100% { transform: translate(-90px); }
}

@keyframes move-forever2 {
    0% { transform: translate(-90px); }
    100% { transform: translate(85px); }
}

@keyframes move-forever3 {
    0% { transform: translate(85px); }
    100% { transform: translate(-90px); }
}

@keyframes move-forever4 {
    0% { transform: translate(-90px); }
    100% { transform: translate(85px); }
}

/* ================= Footer ================= */
footer.footer { background: var(--gradient-base-accent-2); color: rgba(76, 73, 248, 0.9); margin-top: 0; }

.footer .section-footer-padding {
    padding-top: 24px;
    padding-bottom: 15px;
}

@media screen and (min-width: 750px) {
    .footer .section-footer-padding {
        padding-top: 32px;
        padding-bottom: 20px;
    }
}

.footer__blocks-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem 2rem;
}

@media screen and (min-width: 750px) {
    .footer__blocks-wrapper {
        grid-template-columns: repeat(12, 1fr);
        gap: 3rem var(--grid-desktop-horizontal-spacing);
    }

    .footer-block--desktop-4 {
        grid-column: span 4;
    }

    .footer-block--desktop-3 {
        grid-column: span 3;
    }
}

.footer-block__heading { font-size: calc(var(--font-heading-scale) * 1.6rem); margin: 0 0 2rem; color: rgb(76, 73, 248); }
.footer-block__details-content li { margin-bottom: 1rem; }
.footer-block__details-content a {
  font-size: 1.4rem; color: rgba(76, 73, 248, 0.7); text-decoration: none;
}
.footer-block__details-content a:hover { text-decoration: underline; }
.footer-block__details-content.rte p { margin: 0; font-size: 1.4rem; color: rgba(76, 73, 248, 0.9); }

.footer__content-bottom {
    margin-top: 3rem;
}

.footer__content-bottom-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding-top: 1.5rem;
}

.footer__copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 1.2rem;
}

.footer__copyright small {
    font-size: 1.2rem;
}

.footer__copyright a { color: rgba(76, 73, 248, 0.9); }

/* ================= Media modal ================= */
product-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
}

product-modal[open] {
    display: block;
}

.product-media-modal__dialog {
    position: absolute;
    inset: 0;
    background: rgba(var(--color-base-background-2), 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.product-media-modal__content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.product-media-modal__content .product__media-list {
    width: 100%;
}

.product-media-modal__toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    width: 4.4rem;
    height: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: 0;
    color: rgb(var(--color-base-text));
}

.product-media-modal__toggle .icon {
    width: 1.8rem;
    height: 1.8rem;
}

.media-modal .slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.media-modal .slider-button--prev {
    left: 1rem;
}

.media-modal .slider-button--next {
    right: 1rem;
}

/* ================= Scroll to top ================= */
.floating-btn {
    position: fixed; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    width: 4rem; height: 4rem; padding: 0.5rem; overflow: hidden;
    color: rgb(var(--color-base-accent-1));
    border: none; border-radius: 50%;
    box-shadow: 0.1rem 0.1rem 1rem rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.scroll-to-top-btn {
    --sticky-atc-offset: 0px;
    bottom: calc(var(--offset-y) + var(--sticky-atc-offset));
    transition: 0.15s ease-in-out;
}

.scroll-to-top-btn-bottom-right {
    right: var(--offset-x);
}

.scroll-to-top-btn-scroll-to-top-btn {
    --offset-x: 2rem;
    --offset-y: 2rem;
}

@media screen and (max-width: 749px) {
    .scroll-to-top-btn-scroll-to-top-btn {
        --offset-x: 1.5rem;
        --offset-y: 1.5rem;
    }
}

.scroll-to-top-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}