/*Общее*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Times New Roman', Times, serif;
}

html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
  
html::-webkit-scrollbar {
    display: none;
}

body {
    background: #c8d4e2;
    color: #343f55;
    line-height: 1.6;
}

header {
    background: #b0c4de;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 100px;
}

.menu {
    display: flex;
    gap: 100px;
}

.menu a {
    color: #343f55;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    background: #94afd386;
    transition: 0.3s;
}

.menu a:hover {
    background: #8a9db8;
    transform: translateY(-3px);
}

footer {
    background: #b0c4de;
    text-align: center;
    padding: 25px 0;
    color: #343f55;
    margin-top: 30px;
    border-top: 1px solid #9cafc7;
}


/*Главная страница*/
.intro {
    font-size: 18px;
    text-align: center;
    padding: 20px;
    background: #c8d4e2 ;
    color: #343f55;
}

.slider {
    max-width: 1100px;
    margin: 20px auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: 0.7s ease;
}

.slide {
    min-width: 100%;
}

.slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.why-us {
    text-align: center;
    padding: 60px 20px;
    border-radius: 15px;
    margin: 30px 0;
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    z-index: 0;
}

.why-us h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    color: white;
    position: relative;
    z-index: 1;
    letter-spacing: 1px;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.feature {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    padding: 25px 20px;
    border-radius: 20px;
    width: 220px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 18px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.feature h3 {
    color: #343f55;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #b0c4de;
    display: inline-block;
    padding-bottom: 5px;
}

.feature p {
    color: #444f65;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
}

/*Лучшие предложения*/

.best-offers {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px 50px;
}

.best-offers h2 {
    text-align: center;
    font-size: 32px;
    color: #343f55;
    margin: 30px 0 35px;
    font-weight: 600;
    position: relative;
}

.best-offers h2:after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: #b0c4de;
    margin: 12px auto 0;
    border-radius: 3px;
}

/* Ограничиваем количество товаров в строке на главной */
.best-offers .products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.best-offers .product-card {
    width: calc(25% - 23px);
    min-width: 240px;
}

/* Кнопка перехода в каталог */
.catalog-link-container {
    text-align: center;
    margin-top: 40px;
}

.catalog-btn {
    background: #b0c4de;
    color: #343f55;
    border: none;
    padding: 14px 40px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.catalog-btn:hover {
    background: #8a9db8;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 157, 184, 0.3);
}

/* Приветствие пользователя */
.user-greeting {
    background: linear-gradient(135deg, #b0c4de 0%, #8a9db8 100%);
    text-align: center;
    padding: 18px 20px;
    margin: 0;
    border-bottom: 3px solid #ffffff80;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-greeting p {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.user-greeting .user-name {
    color: #fff5e0;
    font-size: 22px;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* Кнопки навигации слайдера */
.slider-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 20px auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(176, 196, 222, 0.8);
    color: #343f55;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider-btn:hover {
    background: #8a9db8;
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slider-btn.prev {
    left: -25px;
}

.slider-btn.next {
    right: -25px;
}



/*Регистрация и авторизация*/
.reg-auth {
    max-width: 500px;
    margin: 80px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(100, 120, 160, 0.18);
    text-align: center;
}

.reg-auth h1 {
    color: #343f55;
    margin-bottom: 25px;
    font-size: 28px;
}

.reg-auth form div {
    margin-bottom: 20px;
    text-align: left;
}

.reg-auth label {
    display: block;
    color: #343f55;
    font-weight: 500;
    font-size: 16px;
}

.reg-auth input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #b0c4de;
    border-radius: 10px;
    font-size: 16px;
    background: #f8fbff;
    color: #343f55;
    box-sizing: border-box;
    height: 44px;
    transition: border-color 0.3s ease;
}

.reg-auth input:focus {
    outline: none;
    border-color: #99acc5;
    box-shadow: 0 0 0 3px rgba(153, 172, 197, 0.3);
}

.reg-auth button {
    width: 100%;
    padding: 14px 30px;
    background: #b0c4de;
    color: #343f55;
    border: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    height: 46px;
}

.reg-auth button:hover {
    background: #8a9db8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 150, 190, 0.25);
}

.reg-auth p {
    color: #343f55;
    margin: 25px 0 10px;
    font-size: 15px;
    line-height: 20px;
}

.reg-auth a {
    color: #343f55;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #343f55;
    padding-bottom: 2px;
    transition: color 0.3s;
    font-size: 15px;
}

.reg-auth a:hover {
    color: #2a3344;
}


/*О нас*/
.story, .principles, .hits, .contact {
    padding: 30px;
    background: #ffffff;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(100, 120, 160, 0.1);
    max-width: 900px;
}

.story h2, .principles h2, .hits h2, .contact h2 {
    color: #343f55;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #b0c4de;
    padding-bottom: 10px;
}

.story p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #444f65;
}

.principles-list {
    list-style: none;
    padding: 0;
}

.principles-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.principles-list li::before {
    content: "•";
    color: #99acc5;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
}

.principles-list strong {
    color: #343f55;
    display: block;
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-info {
    background: #f0f5fa;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #d0d9e4;
    margin-top: 20px;
}

.contact-info p {
    margin: 10px 0;
    color: #444f65;
    line-height: 1.6;
}

.contact-info a {
    color: #99acc5;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #8a9db8;
}


/*Мой кабинет*/
.account-container {
    max-width: 960px;
    width: 90%;
    margin: 60px auto;
    padding: 60px 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(100, 120, 160, 0.18);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.account-container h1 {
    font-size: 32px;
    color: #343f55;
    margin-bottom: 20px;
    font-weight: 600;
}

.account-container p {
    font-size: 17px;
    color: #444f65;
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.user-info {
    text-align: left;
    max-width: 640px;
    margin: 0 auto 45px;
    padding: 30px;
    background: #f8fbff;
    border: 1px solid #d0d9e4;
    border-radius: 14px;
    position: relative;
}

.user-info p {
    margin: 0 0 20px 0;
    font-weight: 600;
    color: #343f55;
    font-size: 18px;
}

.user-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-info li {
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
    color: #444f65;
    font-size: 16px;
    line-height: 1.5;
}

.user-info li::before {
    content: "•";
    color: #99acc5;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
}

.btn-account {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-account a {
    display: inline-block;
    padding: 16px 32px;
    min-width: 220px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 500;
    text-align: center;
    transition: all 0.35s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    border: none;
}

.btn-account a:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.btn-admin {
    background-color: #b0c4de;
    color: #343f55;
}

.btn-admin:hover {
    background-color: #8a9db8;
    color: #2a3344;
}

.btn-cart {
    background-color: #b0c4de;
    color: #343f55;
}

.btn-cart:hover {
    background-color: #8a9db8;
    color: #2a3344;
}

.btn-logout {
    background-color: #b0c4de;
    color: #2a3344;
}

.btn-logout:hover {
    background-color: #8a9db8;
    color: #2a3344;
}

/* Вкладки личного кабинета */
.account-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #b0c4de;
    padding-bottom: 10px;
}

.tab-link {
    padding: 10px 25px;
    background: #f0f5fa;
    text-decoration: none;
    color: #343f55;
    border-radius: 25px;
    transition: 0.3s;
    font-weight: 500;
}

.tab-link:hover {
    background: #b0c4de;
    transform: translateY(-2px);
}

.tab-link.active {
    background: #b0c4de;
    color: #343f55;
    font-weight: bold;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.tab-content {
    animation: fadeIn 0.3s ease;
}

/* Формы профиля */
.profile-form, .security-form {
    background: #f8fbff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #d0d9e4;
    margin-top: 30px;
}

.profile-form h3, .security-form h3 {
    color: #343f55;
    margin-bottom: 20px;
    font-size: 20px;
    padding-left: 15px;
}

.profile-form label, .security-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #343f55;
}

.profile-form input, .security-form input {
    width: 100%;
    padding: 12px;
    border: 2px solid #b0c4de;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    transition: 0.3s;
}

.profile-form input:focus, .security-form input:focus {
    outline: none;
    border-color: #8a9db8;
    box-shadow: 0 0 0 3px rgba(138, 157, 184, 0.2);
}

.profile-form button, .security-form button {
    margin-top: 20px;
    padding: 12px 30px;
    background: #b0c4de;
    color: #343f55;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s;
}

.profile-form button:hover, .security-form button:hover {
    background: #8a9db8;
    transform: translateY(-2px);
}

.security-form small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 5px;
}

.success-msg {
    color: #27ae60;
    background: #e9f7ef;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.error-msg {
    color: #e74c3c;
    background: #fdf0ef;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* История заказов */
.orders-history h3 {
    color: #343f55;
    font-size: 22px;
    margin-bottom: 25px;
    text-align: center;
}

.order-card {
    background: #ffffff;
    border: 1px solid #d0d9e4;
    border-radius: 15px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.order-header {
    background: #f0f5fa;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #d0d9e4;
}

.order-header strong {
    font-size: 18px;
    color: #343f55;
}

.order-date {
    font-size: 14px;
    color: #666;
    margin-left: 15px;
}

.order-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.order-status.ожидает-звонка {
    background: #fff3cd;
    color: #856404;
}

.order-status.подтверждён {
    background: #d4edda;
    color: #155724;
}

.order-status.отменён {
    background: #f8d7da;
    color: #721c24;
}

.order-body {
    padding: 20px;
}

.order-items {
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    flex-wrap: wrap;
    gap: 10px;
}

.item-name {
    flex: 2;
    font-weight: 500;
    color: #343f55;
}

.item-quantity {
    flex: 0.5;
    color: #666;
}

.item-price {
    flex: 0.8;
    color: #666;
}

.item-total {
    flex: 0.8;
    font-weight: bold;
    color: #343f55;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #d0d9e4;
    flex-wrap: wrap;
    gap: 15px;
}

.order-phone {
    color: #666;
    font-size: 14px;
}

.order-total {
    font-size: 18px;
    font-weight: bold;
    color: #343f55;
}



/*Каталог*/
.catalog-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.catalog-section h1 {
    text-align: center;
    font-size: 32px;
    color: #343f55;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Поиск */
.search-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 35px;
}

.search-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #b0c4de;
    border-radius: 30px;
    font-size: 15px;
    background: white;
    color: #343f55;
    outline: none;
    transition: all 0.3s;
}

.search-form input:focus {
    border-color: #8a9db8;
    box-shadow: 0 0 0 3px rgba(138, 157, 184, 0.2);
}

.search-form button {
    padding: 12px 28px;
    background: #b0c4de;
    color: #343f55;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-form button:hover {
    background: #8a9db8;
    transform: translateY(-2px);
}

/* Фильтр категорий */
.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.category-filter a {
    padding: 8px 22px;
    background: #e8edf2;
    color: #343f55;
    text-decoration: none;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.category-filter a:hover {
    background: #b0c4de;
    transform: translateY(-2px);
}

.category-filter a.active {
    background: #b0c4de;
    color: #2a3344;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Сетка товаров - 4 в строку */
.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    align-items: stretch;
}

.product-card {
    width: calc(25% - 19px);
    min-width: 260px;
    max-width: 320px;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #d4e0ec;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
    height: 210px;
    overflow: hidden;
    background: #f0f4f9;
    flex-shrink: 0;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.03);
}

.product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 16px;
    color: #343f55;
    margin: 0 0 8px 0;
    font-weight: 600;
    line-height: 1.3;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-short-desc {
    font-size: 12px;
    color: #667;
    line-height: 1.4;
    margin-bottom: 6px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-ingredients {
    font-size: 11px;
    color: #8a9db8;
    line-height: 1.3;
    margin: 5px 0 8px 0;
    border-top: 1px dashed #e0e8f0;
    padding-top: 6px;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 18px;
    font-weight: bold;
    color: #343f55;
    margin-bottom: 12px;
    margin-top: auto;
    height: 32px;
    display: flex;
    align-items: center;
}

.btn-details,
.btn-cart-add {
    display: block;
    text-align: center;
    background: #e8edf2;
    color: #343f55;
    text-decoration: none;
    padding: 8px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.3s;
    height: 36px;
    line-height: 20px;
}

.btn-cart-add {
    background: #b0c4de;
    font-weight: 600;
}

.btn-details:hover {
    background: #b0c4de;
    transform: translateY(-2px);
}

.btn-cart-add:hover {
    background: #8a9db8;
    transform: translateY(-2px);
}

.no-products {
    text-align: center;
    font-size: 18px;
    color: #667;
    padding: 50px;
}

.product-card .btn-cart-add,
.product-card .btn-details {
    display: block !important;
    text-align: center !important;
    background: #b0c4de !important;
    color: #343f55 !important;
    text-decoration: none !important;
    padding: 10px 8px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
    outline: none !important;
}

.product-card .btn-details {
    background: #e8edf2 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
}

.product-card .btn-cart-add:hover,
.product-card .btn-details:hover {
    transform: translateY(-2px) !important;
    background: #8a9db8 !important;
    color: #2a3344 !important;
}

.product-card .btn-details:hover {
    background: #b0c4de !important;
}

.product-card .add-to-cart-form {
    margin: 0;
    padding: 0;
    width: 100%;
}

.product-card .add-to-cart-form button {
    width: 100%;
}


/*Модальное окно*/
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 5px;
    font-size: 24px;
    cursor: pointer;
    color: #aaa;
}

.modal-close:hover {
    color: #000;
}


/*Корзина*/

.cart {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.cart h1 {
    text-align: center;
    color: #343f55;
    font-size: 32px;
    margin: 30px 0 40px 0;
    font-weight: 600;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
}

.wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.items {
    flex: 1;
    min-width: 400px;
}

.items p {
    text-align: left;
    padding: 50px;
    color: #444f65;
    font-size: 18px;
    background: #ffffff;
    border-radius: 14px;
    margin-bottom: 30px;
}

.item {
    display: flex;
    gap: 25px;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #d0d9e4;
    border-radius: 14px;
    margin-bottom: 20px;
    box-shadow: 0 3px 8px rgba(130, 150, 190, 0.12);
}
.item .total {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    justify-content: center;
    min-width: 120px;
    font-weight: bold;
    font-size: 18px;
    color: #343f55;
}

.total-label {
    font-size: 12px;
    font-weight: normal;
    color: #8a9db8;
    margin-bottom: 5px;
}

.total-price {
    font-size: 20px;
    font-weight: bold;
    color: #343f55;
}

.item img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info {
    flex: 1;
}

.info h3 {
    margin: 0 0 12px 0;
    font-size: 19px;
    font-weight: 600;
    color: #343f55;
    line-height: 1.4;
}

.info p {
    font-size: 16px;
    color: #343f55;
    font-weight: bold;
    margin: 0 0 18px 0;
}

.qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.minus,
.plus {
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #94afd386;
    color: #343f55;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s, transform 0.2s;
}

.minus:hover,
.plus:hover {
    background-color: #99acc5b2;
    transform: scale(1.05);
}

input[type="text"][name="quantity"] {
    width: 70px;
    padding: 8px;
    text-align: center;
    border: 2px solid #b0c4de;
    border-radius: 8px;
    font-size: 15px;
    background-color: white;
    color: #343f55;
    transition: border-color 0.3s;
}

input[type="text"][name="quantity"]:focus {
    outline: none;
    border-color: #8a9db8;
    box-shadow: 0 0 0 3px rgba(138, 157, 184, 0.3);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #b0c4de;
    color: #343f55;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 110px;
    text-align: center;
}

.btn:hover {
    background-color: #8a9db8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 150, 190, 0.25);
}

.btn.small {
    padding: 8px 14px;
    font-size: 14px;
}

.btn.delete {
    background-color: #ffcccc;
    color: #cc0000;
}

.btn.delete:hover {
    background-color: #ffb3b3;
    color: #a00000;
}

.btn.primary {
    background-color: #27ae60;
    color: white;
}

.btn.primary:hover {
    background-color: #219653;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 83, 0.3);
}

.summary {
    flex: 0 0 360px;
    background: #ffffff;
    padding: 30px;
    border: 1px solid #d0d9e4;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(100, 120, 160, 0.15);
}

.summary h2 {
    font-size: 26px;
    color: #343f55;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #b0c4de;
    padding-bottom: 12px;
    font-weight: 600;
}

.summary > div {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #444f65;
    margin-bottom: 20px;
    padding: 5px 0;
}

.total {
    font-weight: bold;
    color: #343f55;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #d0d9e4;
    font-size: 18px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 30px;
    text-align: center;
}

.btn-catalog {
    margin: 20px auto; 
    display: block;
    width: fit-content;
    padding: 12px 24px;
    background-color: #b0c4de;
    color: #343f55;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-catalog:hover {
    background-color: #8a9db8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 150, 190, 0.25);
}

/* Модальное окно оформления заказа */
.order-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.order-modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.order-modal-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    transition: 0.3s;
}

.order-modal-close:hover {
    color: #343f55;
}

.order-modal h3 {
    color: #343f55;
    margin-bottom: 20px;
    font-size: 24px;
}

.order-modal p {
    color: #444f65;
    margin-bottom: 20px;
    line-height: 1.6;
}

.order-modal input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #b0c4de;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.order-modal input:focus {
    outline: none;
    border-color: #8a9db8;
}

.order-modal button {
    padding: 12px 30px;
    background-color: #b0c4de;
    color: #343f55;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-modal button:hover {
    background-color: #8a9db8;
    transform: translateY(-2px);
}

.order-modal .success-icon {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 15px;
}


/*Админ-панель*/

.admin-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(100, 120, 160, 0.18);
    font-family: 'Times New Roman', Times, serif;
}

.admin-container h1 {
    font-size: 36px;
    color: #343f55;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.admin-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.admin-users {
    flex: 1;
    min-width: 300px;
}

.admin-users h2 {
    font-size: 24px;
    color: #343f55;
    margin-bottom: 20px;
    border-bottom: 2px solid #b0c4de;
    padding-bottom: 10px;
    font-weight: 600;
}

.users-list {
    max-height: 500px;
    overflow-y: auto;
}

.user-item {
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #d0d9e4;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.user-item:hover {
    background-color: #f0f5fa;
    border-color: #99acc5;
}

.user-item.active {
    background-color: #b0c4de;
    color: white;
}

.user-item a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.user-item strong {
    font-size: 16px;
}

.user-item span {
    display: block;
    font-size: 14px;
    margin: 5px 0;
}

.user-item em {
    font-style: italic;
    font-size: 13px;
}

.admin-cart {
    flex: 2;
    background: #ffffff;
    border: 1px solid #d0d9e4;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(100, 120, 160, 0.15);
}

.admin-cart h2 {
    font-size: 24px;
    color: #343f55;
    margin-bottom: 20px;
    border-bottom: 2px solid #b0c4de;
    padding-bottom: 10px;
    font-weight: 600;
}

.admin-cart p {
    font-size: 16px;
    color: #444f65;
    line-height: 1.6;
    margin: 10px 0;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dashed #d0d9e4;
}

.cart-item-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info strong {
    font-size: 17px;
    color: #343f55;
    margin-bottom: 8px;
    display: block;
}

.cart-item-info p {
    font-size: 15px;
    color: #444f65;
    margin: 6px 0;
}

.cart-total {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #343f55;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #d0d9e4;
}


/* Админ-панель — управление товарами */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #b0c4de;
    padding-bottom: 10px;
}

.admin-tabs a {
    padding: 10px 20px;
    background: #f0f5fa;
    text-decoration: none;
    color: #343f55;
    border-radius: 8px;
    transition: 0.3s;
}

.admin-tabs a.active {
    background: #b0c4de;
    font-weight: bold;
}

.admin-tabs a:hover {
    background: #8a9db8;
    color: white;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.products-table th,
.products-table td {
    border: 1px solid #d0d9e4;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.products-table th {
    background: #f0f5fa;
    color: #343f55;
}

.product-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-edit {
    background-color: #b0c4de;
    color: #343f55;
    padding: 5px 12px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 12px;
    display: inline-block;
    transition: 0.3s;
}

.btn-edit:hover {
    background-color: #8a9db8;
    transform: translateY(-1px);
}

.btn-delete {
    background-color: #ffcccc;
    color: #cc0000;
    padding: 5px 12px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-delete:hover {
    background-color: #ffb3b3;
    transform: translateY(-1px);
}

.btn-add {
    background-color: #b0c4de;
    color: #343f55;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
    transition: 0.3s;
}

.btn-add:hover {
    background-color: #8a9db8;
    transform: translateY(-2px);
}

.product-form {
    background: #f8fbff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #d0d9e4;
    margin-bottom: 30px;
}

.product-form h3 {
    margin-bottom: 20px;
    color: #343f55;
}

.product-form label {
    display: block;
    margin-top: 12px;
    margin-bottom: 5px;
    font-weight: 500;
    color: #343f55;
}

.product-form input,
.product-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d0d9e4;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.product-form textarea {
    resize: vertical;
    min-height: 80px;
}

.product-form button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #b0c4de;
    color: #343f55;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.product-form button:hover {
    background-color: #8a9db8;
    transform: translateY(-2px);
}

.cancel-link {
    display: inline-block;
    margin-top: 15px;
    color: #99acc5;
    text-decoration: none;
}

.cancel-link:hover {
    color: #8a9db8;
}

/* Центрирование кнопок */
.buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn {
    padding: 14px 28px;
    background-color: #b0c4de;
    color: #343f55;
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #8a9db8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(130, 150, 190, 0.25);
}

.btn-logout {
    background-color: #ffcccc;
    color: #cc0000;
}

.btn-logout:hover {
    background-color: #ffb3b3;
    color: #a00000;
}


/*Страницы товара*/
.product-detail {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #d4e0ec;
}

.product-detail-image {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    background: #f0f4f9;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-detail-image img:hover {
    transform: scale(1.02);
}

.product-detail-info {
    flex: 1;
}

.product-category {
    display: inline-block;
    background: #e8edf2;
    color: #343f55;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 15px;
}

.product-detail-info h1 {
    font-size: 32px;
    color: #343f55;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.product-detail-price {
    font-size: 32px;
    font-weight: bold;
    color: #343f55;
    background: #e8edf2;
    display: inline-block;
    padding: 8px 25px;
    border-radius: 40px;
    margin-bottom: 25px;
}

.product-detail-description {
    margin-bottom: 30px;
}

.product-detail-description h3 {
    font-size: 20px;
    color: #343f55;
    margin-bottom: 15px;
    font-weight: 600;
}

.product-detail-description p {
    font-size: 16px;
    line-height: 1.7;
    color: #444f65;
}

.btn-primary {
    display: inline-block;
    background: #b0c4de;
    color: #343f55;
    padding: 14px 35px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #8a9db8;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(138, 157, 184, 0.3);
}

/*Акции*/

.promo-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.promo-container h1 {
    text-align: center;
    font-size: 32px;
    color: #343f55;
    margin-bottom: 40px;
    font-weight: 600;
}

.promo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.promo-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    width: calc(50% - 30px);
    min-width: 280px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #d4e0ec;
    transition: all 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.promo-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #b0c4de;
    color: #343f55;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.promo-card h2 {
    font-size: 22px;
    color: #343f55;
    margin: 0 0 15px 0;
    padding-right: 80px;
}

.promo-card p {
    font-size: 14px;
    color: #444f65;
    line-height: 1.5;
    margin-bottom: 15px;
}

.promo-date {
    font-size: 12px;
    color: #8a9db8;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e8f0;
}

.promo-btn {
    display: inline-block;
    background: #b0c4de;
    color: #343f55;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.promo-btn:hover {
    background: #8a9db8;
    transform: translateX(5px);
}


/*Отзывы*/

.reviews-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.reviews-container h1 {
    text-align: center;
    font-size: 36px;
    color: #343f55;
    margin-bottom: 40px;
    font-weight: 600;
}

/* Форма добавления отзыва */
.add-review-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    border: 1px solid #d4e0ec;
}

.add-review-form h3 {
    font-size: 22px;
    color: #343f55;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf2;
}

.add-review-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #d4e0ec;
    border-radius: 16px;
    font-size: 15px;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    transition: all 0.3s;
}

.add-review-form textarea:focus {
    outline: none;
    border-color: #b0c4de;
    box-shadow: 0 0 0 3px rgba(176, 196, 222, 0.2);
}

.rating-select {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-select label {
    font-weight: 600;
    color: #343f55;
}

.rating-select select {
    padding: 10px 20px;
    border: 1px solid #d4e0ec;
    border-radius: 30px;
    background: white;
    color: #343f55;
    font-size: 14px;
    cursor: pointer;
}

.add-review-form button {
    background: #b0c4de;
    color: #343f55;
    padding: 12px 35px;
    border: none;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.add-review-form button:hover {
    background: #8a9db8;
    transform: translateY(-2px);
}

.login-to-review {
    text-align: center;
    background: #e8edf2;
    padding: 25px;
    border-radius: 20px;
    margin-bottom: 40px;
}

.login-to-review a {
    color: #343f55;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #b0c4de;
}

.login-to-review a:hover {
    color: #8a9db8;
}

.reviews-list {
    margin-top: 40px;
}

.reviews-list h3 {
    font-size: 24px;
    color: #343f55;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf2;
}

.review-item {
    background: #ffffff;
    padding: 22px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid #e8edf2;
    transition: all 0.3s;
}

.review-item:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    border-color: #d4e0ec;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-header strong {
    font-size: 16px;
    color: #343f55;
}

.review-rating {
    color: #b0c4de;
    font-size: 14px;
    font-weight: 600;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444f65;
    margin-bottom: 12px;
}

.review-date {
    font-size: 12px;
    color: #8a9db8;
}

.success-msg {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
}

.error-text {
    color: #e74c3c;
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.feedback-container {
    max-width: 700px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid #d4e0ec;
}

.feedback-container h1 {
    text-align: center;
    color: #343f55;
    margin-bottom: 10px;
}

.feedback-container p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback-form label {
    font-weight: 600;
    color: #343f55;
    display: block;
    margin-bottom: 5px;
}

.feedback-form input, 
.feedback-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d4e0ec;
    border-radius: 10px;
    font-family: inherit;
}

.feedback-form button {
    background: #b0c4de;
    color: #343f55;
    padding: 14px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.feedback-form button:hover {
    background: #8a9db8;
    transform: translateY(-2px);
}

/* Для таблиц в админке */
.users-table, .orders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}
.users-table th, .users-table td,
.orders-table th, .orders-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}
.btn-small {
    padding: 4px 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    background: #b0c4de;
}
.btn-danger {
    background: #ffcccc;
    color: #c00;
}
.admin-badge {
    background: #8a9db8;
    padding: 4px 8px;
    border-radius: 5px;
    color: white;
    font-size: 12px;
}
.profile-edit-form {
    background: #f8fbff;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
}
.profile-edit-form label {
    display: block;
    margin-top: 15px;
    font-weight: 500;
}
.profile-edit-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #b0c4de;
    border-radius: 8px;
}
.profile-edit-form input[disabled] {
    background: #e8edf2;
}

.hint-text {
    font-size: 12px;
    color: #8a9db8;
    margin-top: 5px;
    margin-bottom: 5px;
}


@media (max-width: 1024px) {
    .products-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .promo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .menu {
        justify-content: center;
    }
    
    .products-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail {
        flex-direction: column;
    }
    
    .account-tabs {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .menu {
        gap: 12px;
    }
    
    .menu a {
        font-size: 12px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-direction: column;
    }
    
    .admin-tabs a {
        text-align: center;
    }
    
    .users-table, .orders-table, .products-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .reg-auth {
        margin: 20px;
        padding: 20px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .order-header {
        flex-direction: column;
        text-align: center;
    }
    
    .order-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .tab-link {
        text-align: center;
        flex: 1;
    }
    
    .btn-account {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-account a {
        text-align: center;
    }
    
    footer {
        font-size: 11px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .menu {
        gap: 8px;
    }
    
    .menu a {
        font-size: 10px;
    }
    
    button, .btn, .btn-primary {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .product-info h3 {
        font-size: 14px;
    }
    
    .product-price {
        font-size: 16px;
    }
}

.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #d48c5b;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    font-size: 20px;
}

@media (max-width: 600px) {
    .scroll-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
    
}@media (max-width: 768px) {
    .item {
        flex-wrap: wrap !important;
    }
    
    .item .total {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        min-width: auto !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
        border-top: 1px solid #e0e0e0 !important;
    }
    
    .total-label {
        font-size: 14px !important;
        font-weight: normal !important;
        margin-bottom: 0 !important;
    }
    
    .total-price {
        font-size: 18px !important;
        font-weight: bold !important;
    }
}

@media (max-width: 480px) {
    .item .total {
        margin-top: 12px !important;
        padding-top: 12px !important;
    }
    
    .total-label {
        font-size: 13px !important;
    }
    
    .total-price {
        font-size: 16px !important;
    }
}
