.product-card.theme-product-card,
.product-card.theme-product-card:hover,
.product-card.theme-product-card:focus-within {
    --product-card-info-gradient: linear-gradient(to top, #2f7cf1 0%, #ffffff 100%);
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: var(--product-card-info-gradient);
    border: 0;
    border-radius: var(--theme-card-radius);
    box-shadow: none;
    backdrop-filter: none;
    transform: none;
}

.product-card.theme-product-card::before {
    display: none;
}

.product-card-media-shell {
    position: relative;
    width: 96%;
    margin: 0 auto;
    overflow: hidden;
    background: transparent;
    border-radius: calc(var(--theme-card-radius) - 6px);
    box-shadow: none;
}

.product-card .product-card-body,
.product-card .theme-product-body,
.product-card:hover .theme-product-body,
.product-card:focus-within .theme-product-body {
    margin-top: 0;
    padding: 18px;
    color: #102a56;
    background: transparent;
    transform: none;
}

.product-card .product-card-body h3 {
    margin: 0;
}

.product-card .product-title-link {
    display: -webkit-box;
    height: 4.05em;
    min-height: 4.05em;
    max-height: 4.05em;
    overflow: hidden;
    color: #ffffff;
    line-height: 1.35;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.product-card .product-title-link:hover {
    color: rgba(255, 255, 255, 0.86);
}

.product-card .product-price-stack {
    margin-top: 5px;
}

.product-card .price {
    margin: 0;
    color: #102a56;
    font-weight: 800;
}

.product-card .original-price {
    margin-left: 6px;
    color: rgba(16, 42, 86, 0.56);
    text-decoration: line-through;
}

.product-card .sale-price {
    color: #102a56;
}

.product-card-options-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 40px;
    margin-top: 12px;
}

.product-color-swatches {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 5px 0;
}

.sku-color-swatch {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    appearance: none;
    padding: 0;
    cursor: pointer;
    background: var(--swatch-primary, #d7d7d7);
    border: 2px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(17, 17, 17, 0.18);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sku-color-swatch--dual {
    background: linear-gradient(135deg,
        var(--swatch-primary) 0 49%,
        var(--swatch-secondary) 51% 100%);
}

.sku-color-swatch--gradient {
    background: linear-gradient(135deg,
        var(--swatch-primary),
        var(--swatch-secondary));
}

.sku-color-swatch:hover {
    border-color: #ffffff;
    transform: translateY(-1px);
}

.sku-color-swatch.is-active {
    box-shadow: 0 0 0 2px #111111, 0 0 0 4px rgba(255, 255, 255, 0.74);
}

.sku-color-swatch[data-in-stock="false"] {
    opacity: 0.46;
}

.sku-color-swatch:focus-visible {
    outline: 3px solid rgba(13, 118, 110, 0.42);
    outline-offset: 3px;
}

.product-card-badges-top-left {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}

.product-card-badges-top-left .badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: white;
}

.product-card-badges-top-left .badge-hot {
    background-color: #8c52ff;
}

.product-card-badges-top-left .badge-sale {
    background-color: #e53935;
}

.product-card-badges-top-left .theme-line-badge {
    background-color: #4caf50;
    color: white;
    border: none;
}

.product-card-media-shell>.theme-product-media {
    width: 100%;
    background: linear-gradient(145deg, #f9fbfc 0%, #e7eef1 100%);
    border: 0;
    border-radius: calc(var(--theme-card-radius) - 6px);
    box-shadow: none;
}

.product-card-quick-view {
    position: absolute;
    z-index: 6;
    top: 14px;
    right: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(-100% - 14px));
    transition: opacity 180ms ease, transform 180ms ease;
}

.product-card-quick-add {
    flex: 0 0 auto;
    margin: 0;
    margin-left: auto;
}

.product-card-quick-view,
.product-card-quick-add button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #111111;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(18, 24, 32, 0.12);
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(18, 24, 32, 0.12);
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.product-card-quick-view {
    width: 37.6px;
    height: 37.6px;
}

.product-card-quick-add button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.product-card-quick-add button {
    color: #ffffff;
    background: #111111;
    border-color: #111111;
}

.product-card:hover .product-card-quick-view,
.product-card:has(:focus-visible) .product-card-quick-view {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.product-card.product-card--compact {
    width: 100%;
    height: auto !important;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    overflow: hidden !important;
    border-radius: var(--theme-card-radius) !important;
}

.product-card--compact .product-card-media-shell {
    height: auto;
}

.product-card--compact .product-card-body {
    display: flex !important;
}

.product-card--compact .theme-product-media {
    width: 100%;
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
}

.product-card .product-img.is-switching-sku {
    opacity: 0.58;
    filter: blur(8px);
}

.product-card .product-img {
    object-fit: cover;
    filter: blur(0);
    transition: opacity 180ms ease, filter 180ms ease, transform 0.77s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.product-quick-view-open {
    overflow: hidden;
}

.product-quick-view[hidden],
.product-quick-view [hidden] {
    display: none !important;
}

.product-quick-view {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-modal, 400) + 10);
    display: grid;
    place-items: center;
    padding: 12px;
    /* 遮罩从首帧即完整模糊，仅让内容层参与入场渐变。 */
}

.product-quick-view__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(10, 15, 18, 0.68);
    border: 0;
    cursor: default;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-quick-view__dialog {
    position: relative;
    width: min(880px, calc(100vw - 24px));
    height: min(548px, calc(81dvh - 24px));
    min-height: min(454px, calc(81dvh - 24px));
    max-height: calc(83dvh - 24px);
    overflow: hidden;
    color: var(--ink);
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    outline: none;
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.product-quick-view.is-open .product-quick-view__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-quick-view__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: transparent;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

.product-quick-view__close .icon {
    width: 1.7em;
    height: 1.7em;
}

.product-quick-view__detail-link {
    min-height: 38px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 0 12px;
    color: var(--muted);
    background: transparent;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease;
}

.product-quick-view__detail-link:hover {
    color: #111111;
    background: #f5f5f5;
}

.product-quick-view__loading,
.product-quick-view__error {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    padding: 32px;
    text-align: center;
}

.product-quick-view__spinner {
    width: 38px;
    height: 38px;
    border: 3px solid #e5e5e5;
    border-top-color: #111111;
    border-radius: 50%;
    animation: product-quick-view-spin 720ms linear infinite;
}

.product-quick-view__error strong {
    font: 700 1.35rem/1.2 var(--font-display);
}

.product-quick-view__error p {
    margin: 0;
    color: var(--muted);
}

.product-quick-view__content {
    height: 100%;
    display: block;
    padding: 20px 0 20px 20px;
}

.product-quick-view__heading {
    flex: 0 0 auto;
    min-height: max-content;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0 46px 12px 0;
    border-bottom: 1px solid var(--line);
}

.product-quick-view__heading > div {
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-quick-view__heading h2 {
    margin: 2px 0 0;
    overflow: visible;
    font: 700 clamp(0.82rem, 0.96vw, 0.96rem)/1.35 var(--font-display);
    color: var(--ink);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-quick-view__price {
    margin: 2px 0 0;
    color: #111111;
    font-size: 0.95rem;
    font-weight: 700;
}

.product-quick-view__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 0.82rem;
    color: var(--muted, #666666);
}

.product-quick-view__rating .product-detail-rating-stars {
    display: inline-flex;
    font-size: 0.85rem;
    line-height: 1;
}

.product-quick-view__rating .product-detail-rating-score {
    font-weight: 700;
    color: var(--ink, #111111);
}

.product-quick-view__rating .product-detail-rating-count {
    color: var(--muted, #666666);
    font-size: 0.78rem;
}

.product-quick-view__layout {
    height: 100%;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    overflow: hidden;
}

.product-quick-view__gallery,
.product-quick-view__summary {
    min-width: 0;
    min-height: 0;
}

.product-quick-view__gallery {
    height: 100%;
    display: grid;
    grid-template-rows: minmax(0, 1fr) 58px;
    gap: 8px;
}

.product-quick-view__image-stage {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: calc(min(548px, calc(81dvh - 24px)) - 100px);
    aspect-ratio: 1 / 1;
    align-self: center;
    justify-self: center;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 20px;
}

.product-quick-view__image-track {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    -webkit-user-select: none;
}

.product-quick-view__image-track::-webkit-scrollbar {
    display: none;
}

.product-quick-view__image-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.product-quick-view__image-slide>img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.product-quick-view__empty-image {
    display: grid;
    place-items: center;
    gap: 8px;
    color: var(--muted);
}

.product-quick-view__nav {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(18, 24, 32, 0.1);
    cursor: pointer;
    transform: translateY(-50%);
}

.product-quick-view__nav .icon,
.product-gallery-nav .icon,
.catalog-main-categories button .icon {
    width: 1.7em;
    height: 1.7em;
}

@media (hover: hover) and (pointer: fine) {
    .product-quick-view__nav {
        opacity: 0;
        pointer-events: none;
        transition: opacity 160ms ease;
    }

    .product-quick-view__image-stage:hover .product-quick-view__nav,
    .product-quick-view__image-stage:focus-within .product-quick-view__nav {
        opacity: 1;
        pointer-events: auto;
    }
}

.product-quick-view__nav--previous {
    left: 14px;
}

.product-quick-view__nav--next {
    right: 14px;
}

.product-quick-view__counter {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(17, 17, 17, 0.76);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.product-quick-view__thumbnails {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    user-select: none;
    cursor: grab;
}

.product-quick-view__thumbnails.is-dragging,
.product-quick-view__thumbnails.is-dragging button {
    cursor: grabbing;
}

.product-quick-view__thumbnails::-webkit-scrollbar {
    display: none;
}

.product-quick-view__thumbnails button {
    width: 54px;
    min-width: 54px;
    height: 54px;
    flex: 0 0 54px;
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: grab;
}

.product-quick-view__thumbnails button.is-active {
    border-color: #111111;
}

.product-quick-view__thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.product-quick-view__summary {
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 17, 17, 0.22) transparent;
    background: #ffffff;
    border: 0;
    padding: 16px 20px 16px 16px;
}

.product-quick-view__summary::-webkit-scrollbar,
.product-quick-view__content::-webkit-scrollbar {
    width: 5px;
}

.product-quick-view__summary::-webkit-scrollbar-thumb,
.product-quick-view__content::-webkit-scrollbar-thumb {
    background: rgba(17, 17, 17, 0.22);
    border-radius: 999px;
}

.product-quick-view__details,
.product-quick-view__details[hidden] {
    display: none !important;
}

.product-quick-view__rich-copy img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 12px auto;
}

.product-quick-view__purchase {
    flex: 0 0 auto;
    padding: 10px 0 0;
    background: #ffffff;
}

.product-quick-view__variant-groups {
    max-height: none;
    display: grid;
    gap: 10px;
    margin-bottom: 8px;
    overflow: visible;
}

.product-quick-view__variant-group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.product-quick-view__variant-group legend {
    margin-bottom: 6px;
    color: #39393b;
    font-size: 0.72rem;
    font-weight: 800;
}

.product-quick-view__variant-group legend span {
    color: var(--muted);
    font-weight: 600;
}

.product-quick-view__variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-quick-view__variant-option {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    color: #111111;
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 999px;
    font: 700 0.72rem/1 var(--font-body);
    cursor: pointer;
}

.product-quick-view__variant-option.is-selected {
    color: #ffffff;
    background: #111111;
    border-color: #111111;
}

.product-quick-view__variant-option:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.product-quick-view__variant-swatch {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 2px #ffffff;
}

.product-quick-view__sku-field {
    display: grid;
    gap: 6px;
}

.product-quick-view__sku-field>span {
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-quick-view__sku-field select {
    width: 100%;
    min-height: 44px;
    padding: 0 40px 0 13px;
    color: var(--ink);
    background: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 12px;
    font: 600 0.86rem/1.2 var(--font-body);
}

.product-quick-view__stock {
    margin: 8px 0 10px;
    color: #007d48;
    font-size: 0.76rem;
    font-weight: 700;
}

.product-quick-view__stock.is-unavailable {
    color: var(--danger);
}

.product-quick-view__actions {
    display: grid;
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 10px;
}

.product-quick-view__quantity {
    min-height: 46px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    align-items: center;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 999px;
}

.product-quick-view__quantity button,
.product-quick-view__quantity input {
    min-width: 0;
    height: 100%;
    padding: 0;
    text-align: center;
    background: transparent;
    border: 0;
    font-weight: 800;
}

.product-quick-view__quantity input {
    appearance: textfield;
    background: #ffffff;
}

.product-quick-view__quantity input::-webkit-inner-spin-button,
.product-quick-view__quantity input::-webkit-outer-spin-button {
    appearance: none;
}

.product-quick-view__add,
.product-quick-view__buy {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border: 1px solid #111111;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
}

.product-quick-view__add {
    color: #ffffff;
    background: #111111;
}

.product-quick-view__buy {
    position: relative;
    width: 100%;
    margin-top: 8px;
    color: #111111;
    background: #ffffff;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-quick-view__buy::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #111111;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.product-quick-view__buy > * {
    position: relative;
    z-index: 1;
    transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-quick-view__buy:hover:not(:disabled) {
    color: #ffffff !important;
    border-color: #111111;
}

.product-quick-view__buy:hover:not(:disabled) > * {
    color: #ffffff !important;
}

.product-quick-view__buy:hover:not(:disabled)::before {
    transform: scaleX(1);
}

.product-quick-view__add:disabled,
.product-quick-view__buy:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.product-card-quick-view:focus-visible,
.product-card-quick-add button:focus-visible,
.product-quick-view button:focus-visible,
.product-quick-view a:focus-visible,
.product-quick-view select:focus-visible,
.product-quick-view input:focus-visible,
.product-detail-purchase-controls button:focus-visible,
.product-detail-purchase-controls input:focus-visible,
.product-quick-view__details:focus-visible {
    outline: 3px solid rgba(13, 118, 110, 0.48);
    outline-offset: 3px;
}

@keyframes product-quick-view-spin {
    to { transform: rotate(360deg); }
}

@media (hover: none) {
    .product-card-quick-view {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .product-card-quick-view span,
    .product-card-quick-add span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .product-card-quick-view,
    .product-card-quick-add button {
        width: 44px;
        height: 44px;
        padding: 0;
    }
}

@media (max-width: 900px) {
    .product-quick-view {
        inset: 0;
        align-items: center;
        padding: calc(var(--header-height, 70px) + 10px) 10px 10px;
    }

    .product-quick-view__dialog {
        width: min(100%, 680px);
        height: min(680px, calc(100dvh - var(--header-height, 70px) - 20px));
        min-height: 0;
        max-height: calc(100dvh - var(--header-height, 70px) - 20px);
        overflow: hidden;
        border-radius: 22px;
    }

    .product-quick-view__content {
        height: 100%;
        min-height: 0;
        display: block;
        padding: 48px 14px 14px;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(17, 17, 17, 0.22) transparent;
        scrollbar-gutter: stable;
        -webkit-overflow-scrolling: touch;
    }

    .product-quick-view__heading {
        min-height: 0;
        padding: 0 0 10px;
    }

    .product-quick-view__heading h2 {
        white-space: normal;
    }

    .product-quick-view__close {
        top: 10px;
        right: 10px;
    }

    .product-quick-view__layout {
        height: auto;
        display: grid;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .product-quick-view__gallery {
        grid-template-rows: auto 54px;
    }

    .product-quick-view__image-stage {
        width: 100%;
        height: auto;
        max-height: none;
    }

    .product-quick-view__summary {
        min-height: 0;
        height: auto;
        max-height: none;
        overflow: visible;
        padding: 16px 0;
    }
}

@media (max-width: 520px) {
    .product-card-quick-view {
        top: 10px;
        right: 10px;
    }

    .product-quick-view__detail-link {
        min-height: 42px;
        padding: 0 14px;
        font-size: 0.78rem;
    }

    .product-quick-view__gallery {
        grid-template-rows: auto 50px;
    }

    .product-quick-view__thumbnails button {
        width: 46px;
        min-width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .product-quick-view__purchase {
        padding: 10px 0 0;
    }

    .product-quick-view__actions {
        grid-template-columns: minmax(108px, 0.85fr) minmax(0, 1.15fr);
        align-items: stretch;
        gap: 8px;
    }

    .product-quick-view__quantity,
    .product-quick-view__add {
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        box-sizing: border-box;
    }

    .product-quick-view__quantity {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
    }

    .product-quick-view__add {
        min-width: 0;
        padding: 0 9px;
        font-size: 0.74rem;
        line-height: 1;
        white-space: nowrap;
    }

    .product-quick-view__add .icon {
        width: 14px;
        height: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card-quick-view,
    .product-card-quick-add,
    .product-card .product-img,
    .product-quick-view,
    .product-quick-view__dialog,
    .product-quick-view__nav,
    .product-quick-view__image-track,
    .product-quick-view__buy,
    .product-quick-view__buy::before {
        transition: none !important;
    }

    .product-quick-view__spinner {
        animation-duration: 1.5s;
    }
}

.product-card .product-card-quick-view.is-loading {
    opacity: 1;
    pointer-events: auto;
    transform: none;
    cursor: progress;
}

.product-card-quick-view.is-loading .icon {
    visibility: hidden;
}

.product-card-quick-view.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: product-quick-view-spin 720ms linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .product-card-quick-view.is-loading::after {
        animation-duration: 1.5s;
    }
}
