@font-face {
    font-family: "GrishenkoOpiyatNbp";
    src: url("GrishenkoOpiyatNbp.ttf");
}
body {
    font-family: "GrishenkoOpiyatNbp";
    background-color: #fff;
    color: #000;
}
h3{
  font-size: .7rem;
}
input[type="text"]{
  font-size: .7rem;
}
label{
  font-size: .7rem;
}
.form-control{
  font-size: .7rem;
}
/* хром, сафари */
html::-webkit-scrollbar { width: 0; }

/* ie 10+ */
html { -ms-overflow-style: none; }

/* фф (свойство больше не работает, других способов тоже нет)*/
html { overflow: -moz-scrollbars-none; }
.page-title {
    font-size: .9rem;
    font-weight: 100;
    margin-bottom: 2rem;
    text-align: center;
}

.navbar-brand {

    font-family: "GrishenkoOpiyatNbp", sans-serif;
    color: #000;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    padding: 1.3rem;
    margin: 0;
    font-weight: 400;
    border: none;
    text-decoration: none;
}
.navbar-brand:hover {
    font-family: "GrishenkoOpiyatNbp", sans-serif;
    color: #000;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    padding: 1.3rem;
    margin: 0;
    font-weight: 400;
      border: none;
    text-decoration: none;
}

/* Корзина в левом нижнем углу */
.cart-bottom-left {
    position: fixed;
    left: 200px;
    bottom: 30px;
    z-index: 1000;
}

.cart-ico {
    width: 24px;
    filter: invert(0);
}

.cart-count {
    position: absolute;
    top: 18px;
    right: 2px;
    background-color: black;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "GrishenkoOpiyatNbp", sans-serif;
    font-weight: 400;
}

/* Стили для товаров в корзине */
.cart-items {
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 1.5rem;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-name {
    font-size:.7rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.cart-item-price {
    font-size: .7rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: #000;
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: .7rem;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: 1px solid #000;
    padding: 0.25rem;
}

.remove-item {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.remove-item:hover {
    color: #ff0000;
}

/* Стили для формы */
#email, #firstName, #lastName, #address, #city, #country, #zip {
    border: 1px solid black;
    color: black;
    border-radius: 0px;
    font-family: "GrishenkoOpiyatNbp";
    padding: 0.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

/* Способы оплаты */
.payment-methods {
    margin: 1.5rem 0;
}

.payment-method {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #eee;
    cursor: pointer;
}

.payment-method:hover {
    background-color: #f8f9fa;
}

.payment-method input[type="radio"] {
    margin-right: 0.75rem;
}

.payment-method label {
    margin: 0;
    cursor: pointer;
}

/* Сводка заказа */
.order-summary {
    border: 2px solid black;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.order-summary h3 {
    margin-bottom: 1rem;
    font-size: .7rem;
    font-weight: 400;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.summary-item.total {
    font-weight: bold;
    border-top: 2px solid #000;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-bottom: none;
}

/* Кнопка оплаты */
.checkout-btn {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    width: 100%;
    font-size: .7rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.checkout-btn:hover {
    background-color: #333;
}

.checkout-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Адаптивность */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    .navbar-brand{
      font-size: 1rem;
    }
    .cart-item-image {
        margin-right: 0;
        height: 400px;
        width: 300px;
        margin-bottom: 1rem;
    }

    .cart-item-quantity {
        justify-content: center;
        margin-top: 1rem;
    }

    .page-title {
        font-size: 1rem;
    }

    .checkout-section {
        margin-top: 2rem;
    }
}

/* Уведомления */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 4px;
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.cart-notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notification-content span {
    font-size: .7rem;
}

/* Сообщение о пустой корзине */
.empty-cart-message {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-cart-message p {
    margin-bottom: 1rem;
}

.continue-shopping {
    background: #000;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: inline-block;
}
