.product-showcase {
    width: min(1120px, calc(100% - 32px));
    margin: 34px auto 72px;
}

.product-showcase-copy {
    max-width: 680px;
    margin: 0 0 28px;
    text-align: left;
}

.product-showcase-title {
    max-width: 680px;
    margin: 0;
    color: var(--brand-deep);
    font-size: clamp(1.8rem, 3.4vw, 3.1rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.product-showcase-subtitle {
    max-width: 560px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: clamp(0.96rem, 1.4vw, 1.08rem);
    font-weight: 700;
    line-height: 1.62;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.product-card {
    display: grid;
    grid-template-rows: minmax(0, auto) 188px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 56, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(16, 32, 56, 0.07);
    contain: layout paint;
}

.product-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 0;
    overflow: hidden;
    background: #f7fafe;
}

.product-card-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0;
    transition: transform 280ms ease;
}

.product-card-image.is-active {
    opacity: 1;
}

.product-card-body {
    display: grid;
    grid-template-rows: minmax(76px, 1fr) auto;
    gap: 16px;
    min-height: 188px;
    padding: 18px;
}

.product-card-body > div:first-child {
    display: grid;
    gap: 7px;
    align-content: start;
}

.product-card-title {
    display: block;
    min-height: 0;
    height: 2.36em;
    margin: 0;
    color: var(--brand-deep);
    font-size: 1.05rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
    overflow: hidden;
}

.product-card-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 128px;
    gap: 14px;
    align-items: start;
    min-height: 2.48em;
}

.product-card-subtitle {
    display: -webkit-box;
    min-height: 2.8em;
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card-availability {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    width: max-content;
    max-width: calc(100% - 96px);
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(22, 101, 52, 0.14);
    border-radius: 999px;
    background: #ecfdf3;
    color: #166534;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(16, 32, 56, 0.1);
}

.product-card-availability-future {
    border-color: rgba(180, 83, 9, 0.16);
    background: #fff7ed;
    color: #92400e;
}

.product-card-price {
    align-self: start;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 128px;
    min-height: 34px;
    margin: 0;
    color: var(--brand-deep);
    text-align: right;
    white-space: nowrap;
}

.product-card-price-value {
    display: inline-block;
    min-width: 54px;
    font-size: 1.38rem;
    font-weight: 900;
    letter-spacing: 0;
    white-space: nowrap;
}

.product-card-price-meta {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 800;
    white-space: nowrap;
    word-break: keep-all;
    overflow-wrap: normal;
}

@media (hover: hover) {
    .product-card:hover .product-card-image.is-active {
        transform: scale(1.035);
    }
}

@media (max-width: 900px) {
    .product-list {
        grid-template-columns: 1fr;
    }

    .product-card-body {
        min-height: 188px;
    }
}

@media (max-width: 640px) {
    .product-showcase {
        width: min(100% - 20px, 1120px);
        margin-top: 20px;
    }
}

.product-card-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    gap: 8px;
}

.product-card-carousel-button {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(16, 32, 56, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--brand-deep);
    font: inherit;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0;
    cursor: pointer;
    transform: translateY(-50%) scale(0.96);
    box-shadow: 0 10px 24px rgba(16, 32, 56, 0.12);
    backdrop-filter: blur(10px);
    transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.product-card-carousel-button-prev {
    left: 12px;
}

.product-card-carousel-button-next {
    right: 12px;
}

.product-card-media:hover .product-card-carousel-button,
.product-card-media:focus-within .product-card-carousel-button {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.product-card-carousel-button:hover,
.product-card-carousel-button:focus-visible {
    background: rgba(255, 255, 255, 0.94);
    outline: 0;
}

.product-card-action {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: var(--brand-deep);
    border: 1px solid rgba(16, 32, 56, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(16, 32, 56, 0.12);
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-card-action .ui-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.product-card-action[data-state="copied"] {
    color: #0f7a4f;
    border-color: rgba(15, 122, 79, 0.24);
    background: #ecf8f2;
}

.product-card-like.is-active,
.product-card-like[aria-pressed="true"] {
    color: #d92d20;
    border-color: rgba(217, 45, 32, 0.24);
    background: #fff0ed;
}

.product-card-like.is-active .ui-icon,
.product-card-like[aria-pressed="true"] .ui-icon {
    fill: currentColor;
}

.product-card-action:focus-visible {
    outline: 3px solid rgba(73, 126, 214, 0.28);
    outline-offset: 3px;
}

@media (hover: hover) {
    .product-card-action:hover {
        transform: translateY(-1px);
        background: #ffffff;
    }
}

.product-card-action[data-state="error"] {
    color: #b42318;
    border-color: rgba(180, 35, 24, 0.28);
    background: #fff5f4;
}

.product-card-footer {
    align-self: start;
    display: block;
    min-height: 50px;
}

.product-card-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.product-card-more,
.product-card-buy {
    width: 100%;
    min-height: 50px;
    justify-content: center;
    text-decoration: none;
}
