/* Основний фірмовий колір */
:root {
    --primary: #00651B;
}

/* Зелені кнопки */
.btn:not(.outline) {
    background-color: var(--primary);
    color: #fff;
}

    /* Текст та іконки всередині кнопок */
    .btn:not(.outline) svg,
    .btn:not(.outline) i,
    .btn:not(.outline) span {
        color: #fff;
    }

    /* Наведення на кнопку */
    .btn:not(.outline):hover {
        background-color: #004d15;
        color: #fff;
        filter: none;
    }

    /* Натискання */
    .btn:not(.outline):active {
        background-color: #003d10;
        color: #fff;
    }

/* Контурні кнопки залишаються світлими */
.btn.outline {
    background-color: #fff;
    color: var(--text);
}











#checkoutForm .cart-layout {
    align-items: start;
}

#checkoutForm #cartContent {
    min-width: 0;
}

#checkoutForm [hidden] {
    display: none !important;
}

#checkoutForm .checkout-phone {
    margin: 20px 0;
}

    #checkoutForm .checkout-phone label {
        display: block;
        margin-bottom: 8px;
    }

    #checkoutForm .checkout-phone input {
        box-sizing: border-box;
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font: inherit;
    }

#checkoutForm #submitOrder {
    width: 100%;
}

#checkoutForm .text-danger {
    color: #c62828;
}

#cartError:not(:empty) {
    margin-bottom: 20px;
}











#cartContent .cart-item {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
}

    #cartContent .cart-item > img {
        width: 100px;
        height: 100px;
        object-fit: cover;
        border-radius: 12px;
    }

    #cartContent .cart-item h3 {
        margin: 0 0 8px;
        font-family: inherit;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.4;
    }

    #cartContent .cart-item a {
        color: inherit;
        text-decoration: none;
    }

    #cartContent .cart-item .quantity {
        margin-top: 12px;
    }

#cartContent .cart-item-actions {
    text-align: right;
}

    #cartContent .cart-item-actions .remove {
        margin-top: 8px;
    }

@media (max-width: 600px) {
    #cartContent .cart-item {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 14px;
    }

        #cartContent .cart-item > img {
            width: 80px;
            height: 80px;
        }

    #cartContent .cart-item-actions {
        grid-column: 2;
        text-align: left;
    }
}



#shareProduct {
    color: #198754;
    font-weight: 800;
}

    #shareProduct.copied {
        color: #198754;
        font-weight: 800;
    }


/* Стара ціна */
.price .old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    font-weight: 400;
    margin-right: 8px;
}

/* Ціна зі знижкою */
.price .discount-price {
    color: #dc3545;
    font-size: 18px;
    font-weight: 700;
}

/* Розміщення цін */
.price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price,
.big-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .price .old-price,
    .big-price .old-price {
        color: #999;
        text-decoration: line-through;
        font-size: 0.75em;
        font-weight: 400;
    }

    .price .discount-price,
    .big-price .discount-price {
        color: #dc3545;
        font-weight: 700;
    }