main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

/*pkgh*/

/* шрифты */

@font-face {
    font-family: 'Jasper';
    src: url('../fonts/a-jasperttlrndrgnord.ttf');
}

@font-face {
    font-family: 'Comfortaa-Regular';
    src: url('../fonts/Comfortaa-Regular.ttf');
}

@font-face {
    font-family: 'Comfortaa-Light';
    src: url('../fonts/Comfortaa-Light.ttf');
}

@font-face {
    font-family: 'MarckScript';
    src: url('../fonts/MarckScript-Regular.ttf');
}

body {
    font-family: 'Comfortaa-Regular', sans-serif;
    color: #4a4a4a; 
    background-color: #fff5f7;
}

.main-container {
    padding-top: 70px;
    padding-bottom: 40px;
}

h1, h2, h3, .navbar-brand, .jasper-font {
    font-family: 'Jasper', sans-serif !important;
    text-transform: none; 
    letter-spacing: 1px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 2px;
}

.jasper-font {
    color: #e91e63; 
    transition: color 0.3s ease; 
    cursor: pointer;
}

.navbar-brand:hover .jasper-font {
    color: #ad1457; 
}

.slider-text-main {
    font-family: 'Comfortaa-Regular', sans-serif !important;
    font-weight: bold;
    z-index: 2;
    position: relative;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.slider-text-bg {
    font-family: 'MarckScript', cursive !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 5rem;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 1;
}

.slider-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.slider-img {
    width: 100%;
    height: 600px !important; 
    object-fit: cover; 
}

.main-slider, 
.main-slider .carousel-inner, 
.slider-img {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-radius: 0 0 0 0; 
}

.custom-caption {
    width: 100%;
    left: 0;
    right: 0;
    text-align: center;
}

.price, .product-price, .current-price {
    font-family: 'MarckScript', cursive !important;
    font-size: 1.8rem;
    color: #d81b60;
}

.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.old-price {
    text-decoration: line-through;
    color: #b0bec5;
    font-size: 1.1rem;
    margin-bottom: -5px;
}

.current-price {
    font-family: 'MarckScript';
    font-size: 2rem;
    color: #f06292;
    line-height: 1;
}

.product-info-small {
    font-family: 'Comfortaa-Light', sans-serif;
    font-size: 0.9rem;
}

.logo {
    width: 4rem;
    margin-right: 2px;
    display: inline-block;
}

.navbar-brand:hover .logo {
    animation-name: tada; 
    animation-duration: 3s;
}

.navbar-brand:hover {
    color: #ad1457 !important;
}

/* основной фон сайта */

body {
    background-color: #fff5f7;
    overflow-x: hidden;
}

/* хедер */

.bg-dark {
    background-color: #ffc1d6 !important; 
}

/* подсветка выбранной страницы */

.navbar-dark .navbar-nav .nav-link.active {
    color: #ad1457 !important;
    border-bottom: 2px solid #ad1457;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ad1457 !important;
}


.btn, a, .navbar-brand {
    transition: 0.3s all ease;
}


/* футер */
.footer {
    background-color: #fce4ec;
    border-top: 2px solid #f8bbd0;
    color: #880e4f;
}

.footer-main {
    background-color: #fce4ec;
    padding-top: 100px !important; 
}

.footer-text {
    font-family: 'Comfortaa-Regular';
    font-size: 0.95rem;
    color: #880e4f;
    line-height: 1.6;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    font-family: 'Comfortaa-Regular';
    font-size: 0.9rem;
}

.footer-links-list a {
    color: #880e4f;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links-list a:hover {
    color: #f06292;
    padding-left: 5px;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(248, 187, 208, 0.5);
}

.map-iframe {
    filter: hue-rotate(310deg) saturate(80%) brightness(1.1);
    display: block;
}

.footer-divider {
    border-top: 1px solid #f8bbd0;
    margin: 30px 0;
}

.footer-bottom {
    font-family: 'Comfortaa-Regular';
    font-size: 0.85rem;
    color: #ad1457;
}

.policy-link {
    color: #ad1457;
    margin-left: 15px;
    text-decoration: none;
}

.policy-link:hover {
    text-decoration: underline;
}

/* куки */
.cookie-notice {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 2px solid #f8bbd0;
    border-radius: 20px;
    padding: 15px 25px;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-text {
    margin: 0;
    font-family: 'Comfortaa-Regular', sans-serif;
    color: #ad1457;
    font-size: 0.9rem;
}

.btn-cookie {
    border-radius: 15px;
    padding: 5px 25px;
    background-color: #ad1457;
    border-color: #ad1457;
    color: #fff;
    font-size: 0.85rem;
}

.btn-cookie:hover {
    background-color: #880e4f;
    color: #fff;
}

/* кнопки */

.btn-success {
    background-color: #f06292;
    border-color: #f06292;
    border-radius: 15px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: #fff !important;
    padding: 8px 25px; 
}

.btn-success:hover, .btn-success:active, .btn-success:focus {
    background-color: #ec407a !important;
    border-color: #ec407a !important;
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(240, 98, 146, 0.4); 
    filter: brightness(1.05);
    color: #fff !important;
}


.btn-primary {
    background-color: #ba68c8; 
    border-color: #ba68c8;
}

.btn-cute-light, .btn-cute-medium, .btn-cute-main {
    border-radius: 50px !important;
    padding: 8px 25px !important;
    border: none !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.btn-outline-pink {
    border-radius: 50px !important;
    padding: 8px 25px !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.btn-order {
    border-radius: 20px;
    background-color: #ad1457;
    border-color: #ad1457;
    color: #fff;
}

.btn-order:hover {
    background-color: #ec407a;
    border-color: #ec407a;
    color: #fff;
}

.text-primary {
    color: #ec407a !important;
}

.bg-pink {
    background-color: #ec407a !important;
    color: #ffffff;
}

/* редактировать */
.btn-cute-light {
    background-color: #f8bbd0 !important;
    color: #880e4f !important;
    font-weight: bold !important;
}

/* удалить */
.btn-cute-medium {
    background-color: #f48fb1 !important;
    color: #fff !important;
    font-weight: bold !important;
}

/* заказать */
.btn-cute-main {
    background-color: #f06292 !important;
    color: #fff !important;
    font-weight: bold !important;
}

/* эффект при наведении */
.btn-cute-light:hover, .btn-cute-medium:hover, .btn-cute-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(240, 98, 146, 0.4);
    filter: brightness(1.05);
    color: #fff !important;
}

/* контур */

.btn-outline-pink {
    display: inline-flex !important;
    align-items: center !important;
    color: #f06292;
    border-color: #f06292;
    transition: 0.3s;
    border-radius: 15px;
}

/* эффект при наведении для контурной розовой кнопки */

.btn-outline-pink:hover {
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(240, 98, 146, 0.4); 
    filter: brightness(1.05); 
    background-color: #f06292;
    color: #fff !important;
    border-color: #f06292; 
}


/* пагинация */
.pagination {
    gap: 5px;
}

.pagination .page-link {
    color: #f06292 !important;
    border-radius: 12px !important; 
    margin: 0 3px;
    border: 1px solid #fce4ec;
}

.pagination .page-link:hover {
    background-color: #fce4ec;
    border-color: #f06292;
}

.pagination .page-item.active .page-link {
    background-color: #f06292 !important;
    border-color: #f06292 !important;
    color: #fff !important;
}

.pagination .page-item.disabled .page-link {
    background-color: #f9f9f9;
    color: #ccc !important;
    border-color: #eee;
}

/* ссылки */
a {
    color: #d81b60;
}

a:hover {
    color: #ad1457;
}

/* карточки товаров и таблицы */
.grid-view table {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #f8bbd0;
}

.table thead th {
    background-color: #fce4ec;
    color: #880e4f;
    border-bottom: 2px solid #f8bbd0;
}

.breadcrumb {
    background-color: #fce4ec;
}

/* для слайдера */

.custom-caption {
    position: relative;
    padding-bottom: 20px;
}

.main-slider {
    overflow: hidden;
}

.slider-img {
    display: block;
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* карточки новинок */

.latest-product-img {
    height: 250px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.site-index .btn-sm {
    border-radius: 15px;
    padding: 5px 15px;
}

.display-4 {
    font-family: 'Jasper';
    color: #ad1457;
}

.lead {
    font-family: 'Comfortaa-Regular';
    color: #880e4f;
}

/* для карточек */
.product-card {
    border: 2px solid #fce4ec;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(248, 187, 208, 0.4);
}

.product-img-wrapper {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .card-img-top {
    border-radius: 15px 15px 0 0;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f06292;
    color: #fff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    z-index: 10;
    font-weight: bold;
}

.product-description {
    font-size: 0.9rem;
    color: #6d4c57;
}

/* каталог */

.title {
    font-family: 'Jasper';
    color: #c2185b;
}

.big-title {
    font-family: 'Jasper';
    color: #ad1457;
    font-weight: bold;
    font-size: 1.5rem; 
    display: inline-block;
}

.filter-section {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid #fce4ec;
}

.filter-section .form-select {
    cursor: pointer;
}

.catalog-label {
    color: #ad1457;
    font-weight: bold;
    cursor: text;
}

.btn-catalog-search {
    cursor: pointer;
}

.btn-catalog-search, .btn-catalog-add {
    border-radius: 15px !important;
    height: 38px;
    background-color: #f06292;
    border-color: #f06292;
    color: #fff;
    font-weight: 500;
    transition: 0.3s;
}

.btn-catalog-add {
    padding-top: 7px; 
}

.btn-catalog-search:hover, .btn-catalog-add:hover {
    background-color: #ad1457;
    border-color: #ad1457;
    color: #fff;
    transform: translateY(-2px);
}

.filter-section .mb-0 {
    margin-bottom: 0 !important;
}

.form-select {
    border-radius: 15px;
    border: 1px solid #f8bbd0;
}

.form-select:focus {
    border-color: #f06292;
    box-shadow: 0 0 0 0.25rem rgba(240, 98, 146, 0.25);
}

.pagination .page-link {
    color: #f06292;
    border-radius: 10px;
    margin: 0 3px;
    border-color: #fce4ec;
}

.pagination .page-item.active .page-link {
    background-color: #f06292;
    border-color: #f06292;
}

/* cтраница просмотра товара */

.product-view-img {
    width: 100%;
    border-radius: 20px;
    border: 2px solid #f8bbd0;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(248, 187, 208, 0.3);
}

.detail-view-wrapper {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #f8bbd0;
}

.detail-view-wrapper .table th {
    color: #ad1457;
    width: 30%;
    background-color: #fffafa;
}

.view-price {
    font-family: 'MarckScript';
    font-size: 1.8rem;
    color: #f06292;
    display: inline-block;
}

.detail-view-wrapper .table-hover tbody tr:hover {
    background-color: #fff5f7;
    transition: background-color 0.3s ease;
}

/* страница входа */

.login-subtitle {
    font-family: 'Comfortaa-Regular';
    color: #6d4c57;
    margin-bottom: 25px;
}

.login-box {
    background: #fff;
    padding: 35px;
    border-radius: 25px;
    border: 2px solid #fce4ec;
}

.login-input:focus {
    border-color: #f06292 !important;
    box-shadow: 0 0 0 0.25rem rgba(240, 98, 146, 0.15) !important;
}

.login-remember {
    font-size: 0.9rem;
    color: #6d4c57;
}

.login-footer-text {
    font-size: 0.9rem;
    color: #999;
}

.login-link {
    color: #f06292;
    font-weight: bold;
    text-decoration: none;
}

.login-link:hover {
    color: #ad1457;
    text-decoration: underline;
}

/* страница доставки */
.site-delivery {
    font-family: 'Comfortaa-Regular', sans-serif;
    color: #880e4f;
}

.delivery-card {
    border: 2px solid #f8bbd0 !important;
    border-radius: 20px !important;
}

.delivery-item h5 {
    font-weight: bold;
    color: #ad1457;
}

.badge-cake {
    background-color: #f06292;
    padding: 8px 15px;
    border-radius: 10px;
}

.alert-cake {
    background-color: #fff1f5;
    border-left: 5px solid #f06292;
    color: #880e4f;
    border-radius: 10px;
}

.delivery-terms-box {
    background-color: #fce4ec;
    border-radius: 20px;
    padding: 25px;
}

/* страница контакты */

.contact-subtitle {
    font-family: 'Comfortaa-Regular';
    color: #6d4c57;
}

/* успешная отправка */
.alert-cake-success {
    border-radius: 15px;
    background-color: #fce4ec;
    border-color: #f8bbd0;
    color: #880e4f;
}

/* карточка формы */
.contact-form-card {
    background: #fff;
    padding: 30px;
    border-radius: 25px;
    border: 2px solid #fce4ec;
}

.contact-input {
    border-radius: 15px !important;
    border: 1px solid #f8bbd0 !important;
}

.contact-input:focus {
    border-color: #f06292 !important;
    box-shadow: 0 0 0 0.25rem rgba(240, 98, 146, 0.15) !important;
}

/* правая колонка инфо */
.contact-info-box {
    font-family: 'Comfortaa-Regular';
}

.contact-details p {
    margin-bottom: 8px;
    color: #880e4f;
}

.contact-hr {
    border-top: 1px solid #f8bbd0;
}

.work-hours {
    color: #880e4f;
}

/* карта справа */
.map-wrapper-view {
    border-radius: 20px;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(248, 187, 208, 0.5);
}

.contact-map-iframe {
    filter: hue-rotate(310deg) saturate(80%) brightness(1.1);
    display: block;
}

.map-description-card {
    background-color: #fce4ec;
    border-radius: 15px;
    border: 1px solid #f8bbd0;
}

.map-promo-text {
    font-size: 0.9rem;
    color: #880e4f;
    margin-bottom: 0;
}

/* страница о нас */

.about-lead {
    font-family: 'Comfortaa-Regular';
    color: #ad1457;
    font-size: 1.25rem;
}

/* заказы */

.order-card {
    border: 2px solid #fce4ec;
    border-radius: 20px;
    transition: transform 0.2s;
}

.order-card:hover {
    border-color: #f8bbd0;
}

.order-number {
    font-family: 'Jasper';
    color: #ad1457;
    font-size: 1.2rem;
}

.order-date {
    font-size: 0.85rem;
}

.order-details p {
    margin-bottom: 5px;
    color: #6d4c57;
}

.order-actions .btn-sm {
    border-radius: 15px;
    font-size: 0.8rem;
}

/* история */
.about-image-wrapper {
    border-radius: 30px;
    overflow: hidden;
    border: 5px solid #fff;
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text-content p {
    font-family: 'Comfortaa-Regular';
    line-height: 1.8;
    color: #4a4a4a;
}

/* блок преимуществ */
.about-features-box {
    background-color: #fce4ec;
    border-radius: 50px;
}

.about-features-box .col-md-4 {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 15px; 
    padding: 20px;
}

.about-features-box .col-md-4:hover {
    transform: scale(1.08); 
    z-index: 1; 
}

.about-features-box .col-md-4 .feature-icon i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.about-features-box .col-md-4:hover .feature-icon i {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.feature-desc {
    font-family: 'Comfortaa-Regular';
    font-size: 0.9rem;
    color: #880e4f;
    padding: 0 15px;
}

/* цитата */
.about-quote-box {
    border-radius: 30px;
    background: #fff;
    border-left: 10px solid #f06292;
}

.quote-text {
    font-family: 'MarckScript';
    font-size: 2rem;
    color: #d81b60;
    margin: 0;
}

.cta-desc {
    font-family: 'Comfortaa-Regular';
    color: #6d4c57;
}

.about-cta-btn {
    border-radius: 30px !important;
    padding: 15px 30px !important;
}

/* хлебные крошки */

.breadcrumb {
    background-color: #fce4ec;
    padding: 10px 20px;
    border-radius: 15px;
}

.breadcrumb a {
    color: #ad1457;
    text-decoration: none;
}

/* для кнопок-флексов */
.btn-flex {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-width: 220px;
    height: 50px;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-flex-lg {
    min-width: 260px;
}

/* корзина */
.cart-current-price {
    font-size: 1.6rem;
    color: #d81b60;
    font-weight: bold;
}

.cart-total-price {
    font-size: 2.8rem;
    color: #d81b60;
    font-weight: bold;
}

.cart-old-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #b0bec5;
    display: block;
}

/* контейнер для фото и кнопки */
.cart-img-container {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 70px;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* кнопка удаления поверх фото */
.cart-remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    color: #f06292;
    background: white;
    border-radius: 50%;
    line-height: 1;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 2;
}

.cart-remove-btn i {
    font-size: 1.2rem;
    display: block;
}

.cart-remove-btn:hover {
    color: #ad1457;
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(240, 98, 146, 0.3);
}

/* кнопка удаления */
.btn-delete-item {
    color: #dc3545;
    opacity: 0.5;
    transition: 0.2s;
}

.btn-delete-item:hover {
    color: #dc3545 !important;
    opacity: 1 !important;
    transform: scale(1.1);
}

/* оформление таблицы в корзине */
.cart-view .table th {
    text-align: center;
    vertical-align: middle;
}

.cart-view .input-group-text {
    font-family: 'Comfortaa-Regular', sans-serif;
}

/* пустая корзина */
.cart-empty-icon {
    color: #f8bbd0;
    font-size: 6rem; 
    margin-bottom: 1.5rem;
}

.cart-empty-title {
    font-family: 'Jasper', sans-serif !important;
    color: #ad1457;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: none; 
}

.cart-empty-text {
    font-family: 'Comfortaa-Light', sans-serif;
    color: #6c757d; 
    margin-bottom: 3rem;
}

.cart-current-price, .cart-total-price {
    font-family: 'MarckScript', cursive !important; 
}

/* секция скидки (промо) */
.promo-section {
    padding: 100px 0;
    margin: 60px 0;
    overflow: hidden;
    color: #ffffff !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.bg-animation-local {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-animation-local > div {
    position: absolute;
    width: 100%;
    height: 100%;
    will-change: opacity;
}
.bg-animation-local .bg-1 { 
    background: linear-gradient(180deg, #f8bbd0 60%, #f48fb1 100%); 
}

.bg-animation-local .bg-2 { 
    background: linear-gradient(300deg, #fce4ec 60%, #f8bbd0 100%); 
    animation: bg-fade-1 6s linear infinite; 
}

.bg-animation-local .bg-3 { 
    background: linear-gradient(10deg, #f48fb1 60%, #ffc1d6 100%); 
    animation: bg-fade-2 6s linear infinite; 
}

.promo-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px; 
    margin: 0 auto;
}

.promo-title {
    color: #ffffff !important;
    font-family: 'Jasper', sans-serif !important;
}

.promo-text {
    font-family: 'Comfortaa-Regular', sans-serif;
    font-size: 1.2rem;
}

/* --- НОВЫЕ СТИЛИ КОРЗИНЫ --- */

.cart-view { 
    font-family: 'Comfortaa-Regular', sans-serif; 
}

/* Фото и ячейки товаров */
.product-cell { 
    padding-left: 50px !important; 
} 

.cart-img-container { 
    position: relative; 
    width: 75px; 
    flex-shrink: 0; 
}

.cart-item-img { 
    width: 75px; 
    height: 75px; 
    object-fit: cover; 
    border: 2px solid #f8bbd0; 
    border-radius: 15px; 
}

/* Кнопка удаления товара (крестик) */
.cart-remove-btn { 
    position: absolute; 
    top: -8px; 
    right: -8px; 
    color: #ff4081; 
    background: white; 
    border-radius: 50%; 
    line-height: 1; 
    transition: 0.2s; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    text-decoration: none; 
    z-index: 10;
}

.cart-remove-btn:hover { 
    transform: scale(1.1); 
    color: #d81b60; 
}

/* Управление количеством */
.qty-controls { 
    border: 1px solid #f8bbd0; 
    border-radius: 50px; 
    padding: 2px; 
    display: inline-flex; 
    align-items: center; 
    background: white; 
}

.qty-btn { 
    width: 28px; 
    height: 28px; 
    border-radius: 50% !important; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #ad1457; 
    text-decoration: none !important; 
    transition: 0.2s; 
}

.qty-btn:hover { 
    background: #fce4ec; 
}

/* Итоги */
.cart-summary-row { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 24px; 
}

.summary-box { 
    flex: 1; 
    min-width: 300px; 
}

.cart-total-card { 
    background: #fff; 
    border: 2px solid #fce4ec; 
    border-radius: 20px; 
    height: 100%; 
}

/* Анимация и стиль значка SALE */

@keyframes pulse-sale {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 64, 129, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(255, 64, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 64, 129, 0); }
}

.badge-sale {
    background: linear-gradient(45deg, #ff4081, #ff80ab);
    color: white; 
    font-size: 0.65rem; 
    padding: 4px 12px; 
    border-radius: 50px;
    animation: pulse-sale 2s infinite; 
    border: 2px solid #fff; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 5px; 
    font-weight: bold; 
    line-height: 1;
    vertical-align: middle; 
    margin-top: 5px;
}

/* Кнопки действий */
.btn-outline-clear { 
    border: 2px solid #f8bbd0; 
    color: #ad1457; 
    border-radius: 50px; 
    padding: 10px 25px; 
    transition: all 0.3s; 
    background: transparent; 
    font-weight: 600; 
    text-decoration: none; 
    display: inline-block; 
}

.btn-outline-clear:hover { 
    background: #fff5f7; 
    border-color: #f06292; 
    color: #d81b60; 
}

.btn-checkout { 
    background: #d81b60; 
    color: white; 
    border-radius: 50px; 
    padding: 12px 35px; 
    font-weight: bold; 
    border: none; 
    transition: 0.3s; 
    text-decoration: none; 
}

.btn-checkout:hover { 
    background: #ad1457; 
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.3); 
    color: white; 
}

.border-pink { 
    border-color: #f8bbd0 !important; 
}

.btn-promo {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    
    background-color: transparent !important;
    border: 2px solid rgba(255, 255, 255, 0.6) !important; 
    
    color: rgba(255, 255, 255, 0.5) !important;
    
    font-family: 'Comfortaa-Regular', sans-serif !important;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-promo:hover {
    background-color: #ffffff !important;
    color: #ad1457 !important;
    opacity: 1 !important;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes bg-fade-1 {
    0%, 33% { opacity: 1; }
    66%, 100% { opacity: 0; }
}

@keyframes bg-fade-2 {
    0% { opacity: 1; }
    33%, 66% { opacity: 0; }
    100% { opacity: 1; }
}

/* секция с фигурой на главной */

.promo-section, .custom-shape-section {
    position: relative;
    width: 100vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


.shape-content {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 40px;
    backdrop-filter: blur(5px);
}

.feature-item {
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.1);
}

.feature-item span {
    font-size: 3.5rem;
    filter: drop-shadow(0 5px 15px rgba(216, 27, 96, 0.2));
}

/* отзывы на главной */

.review-bubble {
    background: #fff;
    border: 2px solid #fce4ec;
    border-radius: 30px 30px 30px 5px; 
    padding: 25px;
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
}

.review-author {
    color: #ad1457;
    font-weight: bold;
    font-size: 0.9rem;
}

/* анимация появления */

.reveal {
    position: relative;
    transform: translateY(80px); /* вниз */
    opacity: 0; /* скрыто */
    transition: all 1s ease;
}

.reveal.active {
    transform: translateY(0); /* возвращается */
    opacity: 1; /* проявляется */
}

/* иконки */

.password-group .login-input {
    border-right: none;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

/* Стили кнопки глазика */

.btn-password-toggle {
    border: 1px solid #dee2e6;
    border-left: none;
    background-color: transparent;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    z-index: 4;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.btn-password-toggle i {
    color: #f06292;
    font-size: 1.2rem;
}

.btn-password-toggle.is-active {
    background-color: #ffc1d6 !important;
}

.btn-password-toggle:hover, .btn-password-toggle:focus {
    background-color: transparent;
    border-color: #dee2e6;
    box-shadow: none;
}
.btn-password-toggle.is-active:hover {
    background-color: #ffc1d6 !important;
}

/* стили для кнопки удаления в корзине */

.btn-delete-item {
    color: #f06292; 
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-delete-item i {
    font-size: 1.5rem; 
}

.btn-delete-item:hover {
    color: #ad1457; 
    transform: scale(1.2) rotate(90deg);
}


/* статусы */

/* для нового */
.status-new {
    background-color: #fce4ec !important; 
    color: #ad1457 !important;
    border: 1px solid #f8bbd0;
}

/* готовится */
.status-cooking {
    background-color: #f06292 !important; 
    color: #ffffff !important;
}

/* выполнен */
.status-completed {
    background-color: #ad1457 !important; 
    color: #ffffff !important;
}

/* отмена */
.status-cancelled {
    background-color: #f8bbd0 !important;
    color: #880e4f !important;
    opacity: 0.8;
}

/* --- Стили конструктора десертов --- */
.custom-builder { 
    color: #4a4a4a; 
}

.border-pink { 
    border-color: #f8bbd0 !important; 
}

.border-pink-light { 
    border-color: #fce4ec !important; 
}

.custom-option { 
    background: #fff; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.custom-option:hover { 
    border-color: #ad1457 !important; 
    background-color: #fffafb; 
}

.form-check-input:checked { 
    background-color: #ad1457; 
    border-color: #ad1457; 
}

.btn-outline-pink { 
    color: #ad1457; 
    border-color: #f8bbd0; 
}

.btn-outline-pink:hover, 
.btn-check:checked + .btn-outline-pink { 
    background-color: #ad1457 !important; 
    color: #fff !important; 
    border-color: #ad1457 !important; 
}

/* Цвет для текста "Индивидуальный десерт" */
.text-cherry { 
    color: #ec407a !important; 
    font-weight: bold; 
}

/* Вспомогательный класс для иконок в тон */
.bi-cake2, .bi-magic {
    color: #ad1457;
}

/* анимация для отзывов при наведении */
.review-bubble {
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    background: #ffffff; 
    border-radius: 20px; 
    border: 1px solid #fce4ec; 
}

.review-bubble:hover {
    transform: translateY(-10px); 
    box-shadow: 0 10px 20px rgba(248, 187, 208, 0.5) !important; 
}

/* уведомления */
/* Контейнер для уведомлений в углу */
.flash-messages-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    z-index: 9999;
    pointer-events: none; /* Чтобы контейнер не мешал кликам, если пустой */
}

.alert-styled {
    pointer-events: auto; /* Возвращаем кликабельность самим плашкам */
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
    border-left: 5px solid; /* Цветная полоска слева для стиля */
}

/* Индивидуальные цвета полосок */
.alert-success { border-left-color: #2e7d32 !important; }
.alert-danger { border-left-color: #ad1457 !important; }
.alert-info { border-left-color: #7b1fa2 !important; }

/* Анимация появления справа */
.animate__fadeInRight {
    animation-duration: 0.5s;
}

/* промокод и итого */

.cart-summary-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.summary-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

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

.custom-shape-section {
    background-color: #fce4ec;
    padding: 100px 0; 
    margin: 60px 0;
    clip-path: polygon(0% 5%, 10% 2%, 25% 6%, 40% 1%, 60% 8%, 80% 2%, 100% 5%, 100% 95%, 85% 98%, 70% 92%, 50% 99%, 30% 92%, 15% 98%, 0% 95%);
}

.custom-shape-section h2.title {
        margin-top: 30px; 
        font-size: 1.5rem; 
}

@media (max-width: 768px) {
    .custom-shape-section {
        padding: 60px 0;
        margin: 30px 0;
        clip-path: none; 
        border-radius: 30px; 
    }

    .slider-img {
        height: 300px !important;
    }
    
    .slider-text-main {
        font-size: 1.3rem !important;
    }

    .site-index .d-flex {
        padding: 0 15px;
    }   
}

@media (max-width: 576px) {
    .jumbotron h1 {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    .btn-flex {
        display: flex !important;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* pkgh */