/* ── Producer block — hidden on product card ────────────────── */

.product-cart__producer {
    display: none;
}


/* ── Specs moved to tab — hidden in right column ────────────── */

.product-cart__specs-to-tab {
    display: none;
}


/* ── Running metres display ──────────────────────────────────── */

#realAmmount {
    padding: 12px 0 0;
}

.realAmmount {
    display: inline-block;
    margin-right: 12px;
    color: #fff;
    line-height: 32px;
    padding: 0 10px;
    font-style: normal;
    font-size: 14px;
    font-weight: bold;
    border-radius: 3px;
    background: #637476;
}


/* ── Fabric sample section ───────────────────────────────────── */

.product-cart__form-options {
    margin-top: 20px;
}

/* section label above the card */
.product-cart__form-options .product-options-title {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #637476;
    margin-bottom: 10px;
}

/* scissors icon */
.product-cart__form-options .product-options-title::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23637476' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Cline x1='20' y1='4' x2='8.12' y2='15.88'/%3E%3Cline x1='14.47' y1='14.48' x2='20' y2='20'/%3E%3Cline x1='8.12' y1='8.12' x2='12' y2='12'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* sample card */
.product-options--sample {
    background: #f2f7f8;
    border: 1.5px solid #c9d8d9;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.product-options--sample:has(.product-options__sample-check:checked) {
    border-color: #d93908;
    background-color: #fff6f3;
}

/* label — full clickable area */
.product-options__sample-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

/* custom checkbox */
.product-options__sample-check {
    -webkit-appearance: none;
    appearance: none;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border: 2px solid #c9d8d9;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.product-options__sample-check:hover {
    border-color: #d93908;
}

.product-options__sample-check:checked {
    background-color: #d93908;
    border-color: #d93908;
}

.product-options__sample-check:checked::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 13px;
}

/* text block */
.product-options__sample-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: #21373a;
}

.product-options__sample-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    color: #21373a;
}

.product-cart__form-options hr {
    margin-top: 16px;
}


/* ── Product card mobile: reduce gap between image and name ──── */

@media only screen and (max-width: 767px) {
    .product-cart__container-top {
        gap: 20px 52px;
    }
}


/* ── Related products ────────────────────────────────────────── */

/* hidden items (JS-controlled) */
.related-products__item--hidden {
    display: none;
}

/* "More products" button */
.related-products__show-more {
    display: inline-block;
    margin-top: 12px;
    padding: 7px 16px;
    background: none;
    border: 1.5px solid #c9d8d9;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #21373a;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.related-products__show-more:hover {
    border-color: #d93908;
    color: #d93908;
}

/* mobile: 4 items per row instead of 3 */
@media only screen and (max-width: 980px) {
    .related-products--grid .related-products__items {
        gap: 6px;
    }

    .related-products--grid .related-products__item {
        width: calc(25% - 5px);
    }

    .related-products--grid .related-products__item-cont {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .related-products--grid .related-products__item-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}