#productGrid,
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 20px;
}

.product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #292929;
    border-radius: 20px;
    background: #151515;
    color: #fff;
    box-shadow: 0 12px 30px rgb(0 0 0 / 22%);
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #4a252d;
    box-shadow: 0 18px 38px rgb(0 0 0 / 34%);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.18 / 1;
    border-bottom: 1px solid #292929;
    background: radial-gradient(ellipse at 50% 46%, #242126 0%, #171719 53%, #141414 100%);
}

.product-image-link {
    display: grid;
    width: 100%;
    height: 100%;
    overflow: hidden;
    place-items: center;
}

.product-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 280ms ease;
}

.product-card:hover .product-image-link img {
    transform: scale(1.055);
}

.product-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: #171719;
    color: #f4f4f4;
    font-size: 42px;
}

.product-badge {
    position: absolute;
    z-index: 2;
    top: 12px;
    padding: 7px 9px;
    border: 1px solid #3c3033;
    border-radius: 999px;
    background: rgb(12 12 13 / 88%);
    color: #f7f7f7;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .6px;
    line-height: 1;
    text-transform: uppercase;
    left: 12px;
}

.product-image-wrap .wishlist-product {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 10px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid #3b3b3b;
    border-radius: 50%;
    background: rgb(10 10 10 / 78%);
    color: #f5f5f5;
    cursor: pointer;
    font-size: 19px;
    line-height: 1;
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.product-image-wrap .wishlist-product:hover,
.product-image-wrap .wishlist-product.saved {
    border-color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 12%, #080808);
    color: var(--primary-hover);
}

.product-card__body {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    padding: 15px;
}

.product-card .product-title {
    display: -webkit-box;
    height: 2.7em;
    min-height: 40px;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: clamp(14px, 1.35vw, 17px);
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-card .product-title a {
    color: inherit;
    text-decoration: none;
}

.product-card .product-title a:hover {
    color: #ff7189;
}

.product-card__price-row {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.product-card .product-prices {
    display: flex;
    min-width: 0;
    align-items: baseline;
    gap: 8px;
    margin: 0;
}

.product-card .product-prices strong {
    color: #fff;
    font-size: 17px;
    font-weight: 750;
    white-space: nowrap;
}

.product-card .product-prices del {
    margin: 0;
    color: #929292;
    font-size: 11px;
    white-space: nowrap;
}

.product-card .product-stock-label {
    display: flex;
    min-height: 18px;
    align-items: center;
    gap: 7px;
    margin: 8px 0 10px;
    color: #22c55e;
    font-size: 11px;
    line-height: 1.3;
}

.product-card .product-stock-label > span {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: currentColor;
}

.product-card .product-stock-label.out {
    color: var(--primary-hover);
}

.product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-top: auto;
}

.product-quantity {
    display: flex;
    width: 104px;
    height: 32px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid #383838;
    border-radius: 9px;
    background: #101010;
}

.product-quantity button {
    width: 32px;
    height: 100%;
    border: 0;
    background: transparent;
    color: #eee;
    cursor: pointer;
    font-size: 17px;
}

.product-quantity button:hover:not(:disabled) {
    color: var(--primary-hover);
}

.product-quantity button:disabled {
    color: #555;
    cursor: not-allowed;
}

.product-quantity input {
    width: 35px;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 11px;
    text-align: center;
    appearance: textfield;
}

.product-quantity input::-webkit-inner-spin-button,
.product-quantity input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.product-card__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.product-add-button,
.product-view-button {
    display: inline-flex;
    min-width: 0;
    height: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 5px 6px;
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.product-add-button {
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
}

.product-add-button:hover:not(:disabled) {
    border-color: var(--primary-hover);
    background: var(--primary-hover);
}

.product-add-button:disabled {
    border-color: #4a3035;
    background: #4a3035;
    color: #aaa;
    cursor: not-allowed;
}

.product-view-button {
    background: transparent;
    color: #f3f3f3;
}

.product-view-button:hover {
    background: #241216;
    color: #ff7189;
}

@media (max-width: 1100px) {
    #productGrid,
    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 780px) {
    #shop.shop-section.section-wrap {
        padding-inline: 0;
    }

    #productGrid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-card {
        border-radius: 16px;
    }

    .product-image-wrap {
        aspect-ratio: 1.08 / 1;
    }

    .product-card__body {
        padding: 11px;
    }

    .product-card .product-title {
        height: 38px;
        min-height: 38px;
        font-size: 13px;
    }

    .product-card__price-row {
        min-height: 36px;
        align-items: flex-start;
    }

    .product-card .product-prices {
        gap: 5px;
        flex-wrap: wrap;
    }

    .product-card__price-row {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 5px;
    }

    .product-card .product-prices strong {
        font-size: 14px;
    }

    .product-card .product-prices del {
        font-size: 9px;
    }

    .product-card__buttons {
        gap: 6px;
    }

    .product-add-button,
    .product-view-button {
        height: 40px;
        min-height: 40px;
        padding: 5px 4px;
        font-size: 9px;
    }

    .product-badge {
        top: 8px;
        padding: 6px 7px;
        font-size: 8px;
    }

    .product-badge {
        left: 8px;
    }

    .product-image-wrap .wishlist-product {
        top: 6px;
        right: 6px;
        width: 29px;
        height: 29px;
        font-size: 17px;
    }
}

@media (max-width: 370px) {
    .product-card__body {
        padding: 9px;
    }

    .product-card__price-row {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 5px;
    }

    .product-card .product-prices {
        flex-wrap: wrap;
    }

}

@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-image-link img,
    .product-add-button,
    .product-view-button {
        transition-duration: .01ms !important;
    }
}

#shop.shop-section.section-wrap {
    width: min(calc(100% - var(--site-container-gutter) - var(--site-container-gutter)), var(--site-container-max));
    max-width: var(--site-container-max);
    margin-inline: auto;
    padding-inline: 0;
}

.section-heading--shop {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-heading--shop .section-heading__title {
    width: 100%;
    min-width: 0;
    text-align: center;
}

.section-heading--shop h2 {
    margin: 0;
}

.section-heading--shop > .view-all-button {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    white-space: nowrap;
}

.shop-controls {
    min-width: 0;
    align-items: center;
    gap: 18px;
}

.category-pills {
    min-width: 0;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
}

.sort-control {
    flex: 0 0 auto;
}

.price-filter {
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 8px;
}

.price-filter input {
    min-width: 0;
}

#productGrid,
.related-grid {
    align-items: stretch;
}

.product-card {
    height: 100%;
    min-width: 0;
}

.product-card__body {
    min-width: 0;
}

@media (max-width: 1100px) {
    #shop.shop-section.section-wrap {
        padding-inline: 0;
    }

    #productGrid,
    .related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    #productGrid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 780px) {
    #shop.shop-section.section-wrap {
        padding-inline: 0;
    }

    .section-heading--shop {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-heading--shop .section-heading__title {
        width: 100%;
    }

    .section-heading--shop > .view-all-button {
        align-self: flex-end;
    }

    .shop-controls {
        align-items: stretch;
    }

    .sort-control {
        width: 100%;
        justify-content: space-between;
    }

    .price-filter {
        align-items: center;
    }

    .product-card {
        height: 100%;
    }
}

@media (max-width: 350px) {
    #shop.shop-section.section-wrap {
        padding-inline: 0;
    }

    #productGrid,
    .related-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .product-image-wrap {
        aspect-ratio: 1.2 / 1;
    }
}

@media (max-width: 767px) {
    #productGrid,
    .related-grid {
        gap: 14px 10px;
    }

    .product-card {
        border-color: #292929;
        border-radius: 14px;
        background: #121212;
        box-shadow: 0 6px 18px rgb(0 0 0 / 24%);
    }

    .product-card:hover {
        transform: translateY(-2px);
        border-color: #45232a;
        box-shadow: 0 9px 22px rgb(0 0 0 / 30%);
    }

    .product-image-wrap {
        aspect-ratio: 1.08 / 1;
    }

    .product-card__body {
        padding: 10px;
    }

    .product-card .product-title {
        height: 36px;
        min-height: 36px;
        font-size: clamp(12px, 3.5vw, 14px);
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .product-card__price-row {
        min-height: 32px;
        align-items: flex-start;
        gap: 4px;
    }

    .product-card .product-prices {
        gap: 5px;
    }

    .product-card .product-prices strong {
        font-size: 14px;
    }

    .product-card .product-prices del {
        font-size: 10px;
    }

    .product-card .product-stock-label {
        display: none;
        min-height: 16px;
        margin: 5px 0 8px;
        font-size: 10px;
    }

    .product-card__actions {
        gap: 0;
    }

    .product-card__buttons {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .product-card__actions > .product-quantity,
    .product-card__buttons > .product-add-button {
        display: none;
    }

    .product-card__buttons .product-add-button,
    .product-card__buttons .product-view-button {
        width: 100%;
        height: 38px;
        min-height: 38px;
        padding: 5px 6px;
        font-size: 10px;
        transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms ease;
    }

    .product-card__buttons .product-view-button {
        border-color: var(--primary-color);
        background: transparent;
        color: var(--primary-color);
    }

    .product-card__buttons .product-add-button:active,
    .product-card__buttons .product-view-button:active {
        transform: scale(.98);
    }
}

@media (max-width: 350px) {
    .product-image-wrap {
        aspect-ratio: 1.2 / 1;
    }
}

.home-page #shop.shop-section {
    padding-top: 84px;
}

@media (max-width: 780px) {
    .home-page #shop.shop-section {
        padding-top: 59px;
    }
}

@media (max-width: 767px) {
    .home-page #shop.shop-section {
        padding-top: 44px;
    }

    .home-page #productGrid {
        margin-top: 14px;
    }
}

.home-page .manifesto {
    width: calc(100% - 32px);
    margin-inline: auto;
}

.product-detail .related-promo {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: var(--site-container-max);
    aspect-ratio: 1199 / 458;
    margin: 48px auto 0;
    overflow: hidden;
    border: 1px solid #302326;
    border-radius: 14px;
    background: #0c0b0d;
    box-shadow: 0 16px 42px rgb(0 0 0 / 28%);
}

.related-promo__art {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

@media (max-width: 760px) {
    .product-detail .related-promo {
        margin-top: 32px;
        border-radius: 11px;
    }
}

