.new-product-page {
padding: 80px 0 110px 0;
}

.product-view {
 padding: 30px 30px;
 border-radius: 25px;
 box-shadow: 0px 0px 48px 0px rgba(0, 0, 0, 0.06);
 background: #FFFFFF;
}

.price-anim {
 transition: all 0.2s ease;
 display: inline-block;
}

.price-anim.flash {
 transform: scale(1.15);
 color: #27ae60;
}

.cart-btn {
 padding: 10px 15px;
 border: none;
 background: black;
 color: white;
 border-radius: 6px;
 cursor: pointer;
 transition: 0.2s;
}

.cart-btn.in-cart {
 background: #27ae60;
 transform: scale(1.05);
}

.cart-item {
 display: flex;
 justify-content: space-between;
 padding: 10px;
 border-bottom: 1px solid #ddd;
 align-items: center;
}

/* ===== FLOATING CART ===== */
.floating-cart {
 position: fixed;
 right: 0;
 top: 110px;

 background: #e65c29;
 color: white;

 padding: 18px 18px;
 border-radius: 25px 0 0 25px;

 text-decoration: none;
 font-size: 16px;

 z-index: 999;

 display: flex;
 align-items: center;
 gap: 6px;

 transition: all 0.25s ease;
}

/* іконка */
.floating-cart img {
 width: 22px;
 height: 22px;
}

/* цифра */
.floating-cart span {
 font-weight: bold;
 line-height: 1;
 min-width: 18px;
 text-align: center;
}

/* ===== HOVER ===== */
.floating-cart:hover {
 box-shadow: 0 5px 15px rgba(0,0,0,0.2);
 padding: 18px 25px;
}

.cart-count-animate {
 animation: cartPulse 0.3s ease;
}

/* label */
.in-cart-label {
 margin-left: 10px;
 color: #27ae60;
}


/* ===== ОБГОРТКА ===== */
.new-product-page {
 padding: 40px 0;
 font-family: "Montserrat", sans-serif;
 color: rgb(88, 81, 76);
 text-transform: uppercase;
}

/* ===== GRID ===== */
.new-product-page .new-product-page-flex {
 display: grid;
 grid-template-columns: auto auto;
 gap: 60px;
 align-items: start;
 margin: 30px 0px;
}

/* ===== ФОТО ===== */
.new-product-page .product-image img {
 width: 100%;
 border-radius: 12px;
}

/* ===== КАРТКА ===== */
.new-product-page .product-card {
 padding: 10px 0;
}

/* ===== ЗАГОЛОВОК ===== */
.new-product-page .product-card h3 {
 font-size: 24px;
 margin-bottom: 15px;
}

/* ===== ЦІНА ===== */
.new-product-page .product-card h2 {
 font-size: 28px;
 margin: 25px 0;
 font-weight: 700;
}

.new-product-page .price-anim {
 color: #e65c29;
 font-weight: 700;
 transition: 0.3s;
 font-size: 30px;
}

/* ===== ФАСУВАННЯ (КРАСИВІ RADIO-КНОПКИ) ===== */
.new-product-page .product-card label {
 display: inline-flex;
 align-items: center;
 gap: 8px;

 padding: 10px 16px;
 margin-right: 5px;
 margin-bottom: 10px;

 border-radius: 100px;
 border: 1px solid #B3AAA2;

 font-size: 12px;
 font-weight: 500;
 text-transform: uppercase;

 cursor: pointer;
 transition: all 0.2s ease;
}

/* ховаємо стандартний radio */
.new-product-page .product-card input[type="radio"] {
 display: none;
}

/* кружок */
.new-product-page .product-card label span::before {
 content: "";
 width: 8px;
 height: 8px;
 border-radius: 50%;
 display: inline-block;
 border: 2px solid #e65c29;
 margin-right: 5px;
 background: #e65c29;
}

/* активна кнопка */
.new-product-page .product-card input[type="radio"]:checked + span {
 color: #fff;
}

.new-product-page .product-card input[type="radio"]:checked + span::before {
 background: #fff;
 border-color: #fff;
}

.new-product-page .product-card input[type="radio"]:checked + span {
 position: relative;
}

.new-product-page .product-card input[type="radio"]:checked + span {
 color: #fff;
}

/* фон активної */
.new-product-page .product-card input[type="radio"]:checked + span {
 z-index: 2;
}

.new-product-page .product-card input[type="radio"]:checked + span::after {
 content: "";
}

.new-product-page .product-card input[type="radio"]:checked + span {
 background: #e65c29;
 padding: 10px 16px;
 border-radius: 100px;
 margin: -10px -16px;
}

/* hover */
.new-product-page .product-card label:hover {
 border-color: #e65c29;
}

/* ===== КІЛЬКІСТЬ ===== */
.new-product-page .qty-control {
 display: flex;
 align-items: center;
 gap: 5px;
}

.new-product-page .qty-control button {
 width: 40px;
 height: 40px;
 border-radius: 100px;
 border: 1px solid #B3AAA2;
 background: #fff;
 cursor: pointer;
 font-size: 18px;
}

.new-product-page .qty-control input {
 width: 60px;
 text-align: center;
 border-radius: 100px;
 padding: 12px;
 font-size: 12px;
}

/* ===== КНОПКА ДОДАТИ В КОШИК ===== */
.new-product-page .cart-btn {
 width: 100%;
 max-width: 350px;
 min-width: 250px;
 margin-top: 5px;
 padding: 18px;
 border-radius: 100px;
 background: #e65c29;
 color: #fff;
 text-transform: uppercase;
 font-weight: 600;
 cursor: pointer;
 border: none;
 transition: 0.3s;
}

.new-product-page .cart-btn:hover {
 background: #cf4e20;
}

/* ===== КНОПКА "ПЕРЕГЛЯНУТИ КОШИК" ===== */
.new-product-page .go-cart-btn {
 width: 100%;
 margin-top: 10px;
 padding: 16px;
 border-radius: 100px;
 background: transparent;
 border: 1px solid #e65c29;
 color: #e65c29;
 cursor: pointer;
 display: none;
 text-align: center;
 max-width: 350px;
 min-width: 250px;
 margin-top: 15px;
 text-transform: uppercase;
 font-weight: 600;
}

.new-product-page .go-cart-btn:hover {
 background: #e65c29;
 color: #fff;
}

/* показуємо коли в кошику */
.new-product-page .go-cart-btn.active {
 display: block;
}

.go-cart-btn {
 display: none;
}

.go-cart-btn.active {
 display: block;
}

/* ===== КНОПКА "В КОШИК" (АНІМАЦІЯ) ===== */
.cart-btn.added {
 transform: scale(0.95);
 background: #4CAF50 !important;
}

/* ===== ПЛАВНА ПОЯВА КНОПКИ ===== */
.go-cart-btn {
 opacity: 0;
 transform: translateY(10px);
 pointer-events: none;
 transition: all 0.3s ease;
}

.go-cart-btn.active {
 opacity: 1;
 transform: translateY(0);
 pointer-events: auto;
 transition: all 0.3s ease;
}

/* ===== Анімація ціни ===== */
.price-bounce {
 transform: scale(1.1);
}

/* ===== TOAST ===== */
.cart-toast {
 position: fixed;
 bottom: 30px;
 right: 30px;

 background: #333;
 color: #fff;

 padding: 14px 20px;
 border-radius: 100px;

 font-size: 12px;
 letter-spacing: 0.5px;

 opacity: 0;
 transform: translateY(20px);

 transition: all 0.3s ease;

 z-index: 9999;
}

.cart-toast.show {
 opacity: 1;
 transform: translateY(0);
}

/* ===== МОБІЛКА ===== */
@media (max-width: 768px) {
 .new-product-page .new-product-page-flex {
 grid-template-columns: 1fr;
 gap: 30px;
 }

.new-product-page .product-card label {
 padding: 6px 10px;
 font-size: 10px;
 gap: 6px;
 }

.new-product-page .product-card label span::before {
 width: 5px;
 height: 5px;
 border-width: 1px;
 }

.new-product-page .product-card input[type="radio"]:checked + span {
 background: #e65c29;
 padding: 6px 10px;
 margin: -7px -11px;
}

.new-product-page .product-card h2 {
 font-size: 20px;
 margin: 20px 0;
 font-weight: 700;
}

}