.product-card {
    display: block;
    min-width: 0;
    height: 100%;
}

.product-card > div {
    position: relative;
    gap: 0 !important;
    margin-top: 0 !important;
    height: 100%;
    background: #f2f3f1;
    border-color: transparent !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    transition: none;
}

.product-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.product-card-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

.product-card-colors {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px 12px;
    pointer-events: none;
}

.product-card-colors-label {
    flex-basis: 100%;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted-text-color);
}

.product-card-color {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 2px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: white;
    color: var(--text-color);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    pointer-events: auto;
}

.product-card-color img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-color:hover {
    background:color-mix(in srgb, var(--primary-color) 14%, white);
    border-color:var(--primary-color);
}

.product-card-actions {
    z-index:2;
    display:flex;
    flex-direction:column;
}

.product-card .product-card-action {
    display:flex;
    align-items:center;
    justify-content:center;
    width:32px;
    height:32px;
    background:white;
    color:var(--primary-color);
    cursor:pointer;
}

.product-card .product-card-actions > .product-card-action:hover, .product-card .product-card-actions > .product-card-action:focus-visible, .product-card .product-card-actions > .product-card-action[aria-expanded="true"] {
    background:var(--primary-color);
    border-color:var(--primary-color) !important;
}

.product-card .product-card-action:hover i, .product-card .product-card-action:focus-visible i, .product-card .product-card-action[aria-expanded="true"] i {
    color:white !important;
}

.product-card-preview {
    position:fixed;
    z-index:1060;
    width:320px;
    max-width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
    overflow:auto;
    padding:16px;
    border:1px solid var(--border-color);
    border-radius:10px;
    background:white;
    color:var(--text-color);
    box-shadow:0 8px 24px #0002;
    font:14px/1.5 Poppins, sans-serif;
}

.product-card-preview[hidden] {
    display:none;
}

.product-card-preview[role="tooltip"] {
    width:220px;
    text-align:center;
    pointer-events:none;
}

.product-card-preview > strong {
    display:block;
    padding-right:28px;
    margin-bottom:12px;
    font-size:16px;
    overflow-wrap:anywhere;
}

.product-card-preview[role="tooltip"] > strong {
    padding-right:0;
    margin:10px 0 0;
    font-size:14px;
}

.product-card-preview > img {
    display:block;
    width:100%;
    height:150px;
    object-fit:contain;
}

.product-card-video {
    position:relative;
    min-height:200px;
}

.product-card-video iframe {
    display:block;
    width:100%;
    aspect-ratio:16 / 9;
    min-height:200px;
    border:0;
}

.product-card-video-status {
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    padding:16px;
    background:var(--grey4, #f2f3f1);
    text-align:center;
}

.product-card-video-status.is-loading::before {
    content:"";
    width:24px;
    height:24px;
    border:3px solid var(--border-color);
    border-top-color:var(--primary-color);
    border-radius:50%;
    animation:product-card-video-loading .8s linear infinite;
}

.product-card-video-status a {
    color:var(--primary-color);
    text-decoration:underline;
}

@keyframes product-card-video-loading {
    to { transform:rotate(360deg); }
}

.product-card-preview > p {
    margin:0 0 12px;
}

.product-card-preview > a {
    color:var(--primary-color);
    text-decoration:underline !important;
}

.product-card-preview-close {
    position:absolute;
    right:8px;
    top:8px;
    width:32px;
    height:32px;
    border:0;
    border-radius:5px;
    background:var(--grey4);
    color:var(--text-color);
    cursor:pointer;
}

.product-card-preview :is(button,a):focus-visible {
    outline:2px solid var(--primary-color);
    outline-offset:2px;
}

.product-card-color .color-image-fallback {
    display: none;
    color: var(--muted-text-color);
    font-size: 14px;
}

.product-card-color .color-image-fallback.is-visible {
    display: block;
}

.shop-layout .product-card-color:focus {
    outline: none !important;
}

.shop-layout .product-card-color:focus-visible {
    outline: 2px solid var(--muted-text-color) !important;
    outline-offset: 2px;
}

.product-card:hover > div {
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 22px #2125290b !important;
}

.product-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.product-carousel > .scrollableProduct {
    align-items: stretch;
    padding-block: 12px 16px;
}

.product-carousel .productCard {
    padding-inline: 12px;
}

.product-carousel .product-card:hover > div {
    box-shadow: 0 3px 8px #2125290b !important;
}

@media (max-width: 767px) {
    .product-carousel .productCard {
        padding-inline: 8px;
    }
}

@media (min-width: 1250px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .product-carousel .product-card {
        transition: scale .2s ease;
    }

    .product-carousel .productCard:hover > .product-card {
        scale: 1.02;
    }
}

.product-card-image {
    position: relative;
    flex-shrink: 0;
}

.product-card-image > img.object-fit-contain {
    display: block;
    height: 270px !important;
    padding: 30px 22px;
    background: transparent;
    mix-blend-mode: multiply;
}

.product-card-discount {
    z-index: 1;
    pointer-events: none;
}

.product-card-favorite {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 24px);
    padding: 4px 8px;
    border-radius: var(--bs-border-radius);
    background: #f1e7ef;
    color: #79516f;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    pointer-events: none;
}

.product-card-favorite i {
    flex-shrink: 0;
}

.product-card .height-63 h2 {
    display: -webkit-box !important;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    letter-spacing: 0;
    font-weight: 500 !important;
    color: var(--text-color) !important;
}

.product-card .height-63 h2 > span {
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--primary-color) !important;
}

.product-card .height-63 {
    display: block !important;
    height: 98px !important;
    padding: 12px 20px 0 !important;
    margin-bottom: 14px !important;
}

.product-card > div > .font-size-1-1 {
    height: auto !important;
    min-height: 52px;
    padding: 4px 20px 12px !important;
    font-size: 20px !important;
    color: var(--text-color) !important;
}

.product-card .font-size-1-1 .font-size-0-9 {
    font-size: 20px !important;
}

.product-card > div > .justify-content-between {
    min-height: 66px;
    margin-top: auto;
    padding: 12px 20px 16px !important;
    border-top: 1px solid #dfe2dd;
    gap: 6px;
}

.product-card .bg-color-green {
    align-self: flex-start;
    width: auto;
    height: auto !important;
    margin: 0 !important;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

.product-card .invisible {
    display: none !important;
}

.product-card .justify-content-between > .height-30 {
    height: auto !important;
    padding-top: 0 !important;
}

.product-card > div > .right-0 {
    z-index: 2;
    margin: 12px !important;
}

.product-card .right-0 > .product-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color) !important;
    border-radius: 50% !important;
    background: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .product-card-video-status.is-loading::before {
        animation:none;
    }
    .product-card > div {
        transition: none;
    }
}

.product-card .font-size-1-1 > .d-flex {
    flex-wrap: wrap;
}

