/* Keep shared storefront product cards stable while their details are inspected. */
body:not(.admin-shell) .product-card,
body:not(.admin-shell) .product-card:hover,
body:not(.admin-shell) .product-card:focus-within,
html[data-theme="light"] body:not(.admin-shell) .product-card:hover,
html[data-theme="light"] body:not(.admin-shell) .product-card:focus-within {
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    transform: none;
}

body:not(.admin-shell) .product-card .product-media img,
body:not(.admin-shell) .product-card:hover .product-media img {
    transform: none;
}

body:not(.admin-shell) .product-card h3 a:hover {
    color: var(--accent);
}

/* Put flavour cues on the product itself and reserve the profile row for effects. */
body:not(.admin-shell) .product-card .product-media {
    position: relative;
}

body:not(.admin-shell) .product-card .product-media-tastes {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 2;
    display: flex;
    width: max-content;
    max-width: calc(100% - 24px);
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: translateX(-50%);
}

body:not(.admin-shell) .sensory-card-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--border), transparent 10%);
    border-radius: 50%;
    background: var(--surface-2);
    color: var(--accent);
    font-size: .68rem;
    font-style: normal;
    font-weight: 800;
}

body:not(.admin-shell) .product-media-tastes .sensory-card-icon {
    width: 52px;
    height: 52px;
    border: 0;
    background: color-mix(in srgb, var(--surface) 68%, transparent);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    transition: transform .18s ease, background-color .18s ease;
}

body:not(.admin-shell) .product-card .product-media-tastes img,
body:not(.admin-shell) .sensory-card-icon img {
    width: 100% !important;
    height: 100% !important;
    padding: 3px;
    border: 0;
    border-radius: 50%;
    object-fit: contain !important;
    transform: none !important;
}

body:not(.admin-shell) .profile-effect-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

body:not(.admin-shell) .profile-effect-icons > dt {
    color: var(--muted);
}

body:not(.admin-shell) .profile-effect-icons > dd {
    display: flex;
    gap: 6px;
    margin: 0;
}

body:not(.admin-shell) .profile-effect-icons .sensory-card-icon {
    width: 38px;
    height: 38px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transition: transform .18s ease;
}

body:not(.admin-shell) .profile-effect-icons .effect-icon img {
    padding: 0;
    border-radius: 0;
}

@media (max-width: 700px) {
    body:not(.admin-shell) .product-media-tastes .sensory-card-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 520px) {
    body:not(.admin-shell) .product-card .product-media-tastes {
        bottom: 9px;
        gap: 4px;
        padding: 0;
    }

    body:not(.admin-shell) .product-media-tastes .sensory-card-icon {
        width: 32px;
        height: 32px;
    }

    body:not(.admin-shell) .profile-effect-icons {
        gap: 8px;
    }

    body:not(.admin-shell) .profile-effect-icons > dd {
        gap: 4px;
    }

    body:not(.admin-shell) .profile-effect-icons .sensory-card-icon {
        width: 34px;
        height: 34px;
    }
}

@media (hover: hover) and (pointer: fine) {
    body:not(.admin-shell) .product-media-tastes .taste-icon:hover {
        z-index: 3;
        transform: scale(1.14);
    }

    body:not(.admin-shell) .profile-effect-icons .effect-icon:hover {
        z-index: 3;
        transform: scale(1.14);
    }
}

@media (prefers-reduced-motion: reduce) {
    body:not(.admin-shell) .product-media-tastes .sensory-card-icon {
        transition: none;
    }

    body:not(.admin-shell) .profile-effect-icons .sensory-card-icon {
        transition: none;
    }

    body:not(.admin-shell) .product-media-tastes .taste-icon:hover {
        transform: none;
    }

    body:not(.admin-shell) .profile-effect-icons .effect-icon:hover {
        transform: none;
    }
}
.product-card-price{display:flex;min-width:0;align-items:baseline;gap:7px;flex-wrap:wrap}.product-card-price small{width:100%;color:var(--muted);font-size:.58rem;font-weight:750;text-transform:uppercase}.product-card-price del{color:var(--muted);font-size:.72rem;font-weight:600}.wishlist-price del{margin-left:6px;color:var(--muted);font-size:.78em}

/* Keep card specification values directly beneath their labels. */
body:not(.admin-shell) .product-card .profile-column > div{display:grid;grid-template-columns:minmax(0,1fr);justify-items:start;gap:2px}
body:not(.admin-shell) .product-card .profile-column dd{max-width:100%;margin:0;justify-self:start;text-align:left;white-space:normal;overflow-wrap:anywhere}
