/* Пример: фикс размера логотипа */
.header__logoimg {
    height: 90px !important;
    width: auto !important;
    max-width: none !important;
}

/* Или отмена стилей WooCommerce */
.woocommerce .header__logoimg,
.woocommerce-page .header__logoimg {
    max-width: none !important;
    height: 90px !important;
}
/* Белый цвет для всех ссылок в сайдбаре каталога */
.sections__sw .menu a,
.sections__sw .widget_product_categories a {
    color: #ffffff !important;
    text-decoration: none;
}

/* При наведении — можно оставить белым или сделать акцент */
.sections__sw .menu a:hover,
.sections__sw .widget_product_categories a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}
/* Расширяем контейнер ТОЛЬКО на страницах магазина и категорий */
.woocommerce .container,
body.post-type-archive-product .container,
body.tax-product_cat .container {
    max-width: 1600px;
    width: 100%;
    padding: 0 20px; /* опционально: отступы по краям */
}

/* Если твои архивы используют класс .sections — можно и так: */
.sections .container {
    max-width: 1600px;
    width: 100%;
    padding: 0 20px;
}
/**/
html {
    scroll-behavior: smooth;
}
/**/
/* Белый цвет для всех ссылок в сайдбаре каталога */
.sections__sidebar .menu a,
.sections__sidebar .widget a {
    color: #ffffff !important;
    text-decoration: none;
}

/* При наведении — тоже белый (или чуть прозрачный) */
.sections__sidebar .menu a:hover,
.sections__sidebar .widget a:hover {
    color: #ffffff !important;
    opacity: 0.9;
}
/**/
/* Белый цвет для якорного меню каталога */
.menu-anchor-container .menu-anchor-list a {
    color: #ffffff !important;
    text-decoration: none;
}

/* При наведении — тоже белый (или чуть светлее/темнее, по желанию) */
.menu-anchor-container .menu-anchor-list a:hover {
    color: #ffffff !important;
    opacity: 0.9;
}
/**/
/* Страница товара — основные стили */
/* ===== Страница товара — кафе/ресторан ===== */
.product-detail {
    padding: 40px 0;
}

.product-detail__layout {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

/* Изображение — слева */
.product-detail__image {
    flex: 1;
    min-width: 300px;
}

/* Фиксированный размер изображения товара — 600x600 */
.product-detail__image {
    width: 600px;
    height: 600px;
    flex: 0 0 auto; /* не сжимается */
}

.product-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* обрезает, сохраняя пропорции */
    object-position: center;
    border-radius: 12px;
}
@media (max-width: 767px) {
    .product-detail__image {
        width: 100%;
        height: 400px; /* или 100vw с max-height */
        max-height: 50vh;
    }
}

@media (max-width: 480px) {
    .product-detail__image {
        height: 300px;
    }
}

/* Контент — справа */
.product-detail__content {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.product-detail__name {
    font-size: 32px;
    line-height: 1.2;
    color: #ffffff;
    margin: 0 0 15px;
}

.product-detail__price {
    font-size: 26px;
    color: #ffffff;
    margin: 0 0 20px;
    font-family: inherit;
}

.product-detail__excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin: 0 0 25px;
    font-size: 16px;
}

/* Блок действий: счётчик + кнопка */
.product-detail__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Счётчик */
.product-detail__quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
}

.quantity-input {
    width: 60px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px;
    border-radius: 8px;
    font-size: 16px;
}

/* Кнопка корзины */
.product-detail__cart-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Иконка .i-cart уже стилизована в твоём icns/style.css */
}

/* Нет в наличии */
.product-detail__out-of-stock {
    color: #ff6b6b;
    font-size: 18px;
    margin-top: 10px;
}

/* ===== Блок "Рекомендуем" ===== */
.product-related {
    margin-top: 60px;
}

.product-related__title {
    font-size: 24px;
    color: #ffffff;
    margin: 0 0 25px;
    text-align: center;
}

/* Сетка похожих товаров — 4 колонки */
@media (min-width: 1660px) {
    .product-related__grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1280px) and (max-width: 1659px) {
    .product-related__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1279px) {
    .product-related__grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .product-related__grid .card {
        width: 100% !important;
    }
}
/* Увеличиваем иконку корзины на странице товара */
.product-detail__cart-btn.i-cart {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
/**/
/* ======================
   Корзина — Gorska
   ====================== */
.cart-page {
    padding: 40px 0;
    color: #ffffff;
}

.cart-page h1 {
    color: #ffffff;
    font-size: 32px;
    text-align: center;
    margin: 0 0 30px;
}

.cart-empty {
    text-align: center;
    color: #ffffff;
    font-size: 18px;
}

/* Список товаров */
.cart-page__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 0 30px;
}

.cart-page__item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(var(--bg), 0.5);
    border-radius: 12px;
}

.cart-page__image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-page__info {
    flex: 1;
}

.cart-page__name {
    color: #ffffff;
    font-size: 18px;
    margin: 0 0 5px;
}

.cart-page__price {
    color: #ffffff;
    opacity: 0.9;
    font-size: 16px;
}

/* Счётчик — как в архиве, но в контексте корзины */
.cart-page .card__cnt {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-page .card__cntbtn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
}

.cart-page .card__cntinput {
    width: 50px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 4px;
    border-radius: 6px;
    font-size: 14px;
}

/* Удаление */
.cart-page__remove-btn {
    color: #ff6b6b;
    font-size: 24px;
    text-decoration: none;
    margin-left: 10px;
}

/* Кнопки */
.cart-page__actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.cart-page__update,
.cart-page__coupon-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
}

/* Купон */
.cart-page__coupon {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.cart-page__coupon-input {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
}

/* Кнопка оформления */
.cart-page__checkout {
    margin-top: 30px;
    text-align: center;
}

.cart-page__checkout-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: rgba(222, 63, 58, 0.2);
    color: #ffffff;
    border: 1px solid #de3f3a;
    border-radius: 30px;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.3s;
}

.cart-page__checkout-btn:hover {
    background: rgba(222, 63, 58, 0.3);
}

/* Адаптив */
@media (max-width: 768px) {
    .cart-page__item {
        flex-direction: column;
        align-items: flex-start;
    }
    .cart-page__image {
        width: 100%;
        text-align: center;
    }
    .cart-page__actions,
    .cart-page__coupon {
        flex-direction: column;
    }
}
/**/
/* Белые ссылки в корзине WooCommerce Blocks */
.woocommerce-cart .wp-block-woocommerce-cart a,
.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-product-link,
.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-button,
.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-totals-footer a,
.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-fee a,
.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-coupon-form a,
.woocommerce-cart .wp-block-woocommerce-cart .wp-block-button__link,
.woocommerce-cart .wp-block-woocommerce-cart .wc-block-grid__product-link {
    color: #ffffff !important;
}

/* Если кнопки тоже должны быть белыми (текст) */
.woocommerce-cart .wp-block-woocommerce-cart .wp-block-button__link {
    color: #ffffff !important;
}
/**/
/* Белый цвет ссылок на странице корзины */
.woocommerce-cart a,
.woocommerce-cart .cart_item a,
.woocommerce-cart .wc-block-grid__product-link, /* на случай рекомендаций */
.woocommerce-cart .button,
.woocommerce-cart .checkout-button,
.woocommerce-cart .wc-forward,
.woocommerce-cart .cart-collaterals a,
.woocommerce-cart .cart-subtotal a,
.woocommerce-cart .shipping a,
.woocommerce-cart .order-total a,
/* Удалить товар */
.woocommerce-cart .remove {
    color: #ffffff !important;
}

/* Если кнопки — это ссылки, и вы хотите белый текст на кнопках */
.woocommerce-cart .button,
.woocommerce-cart .checkout-button {
    color: #ffffff !important;
    /* Если фон тоже нужно стилизовать — добавьте: */
    /* background-color: #000000; */
    /* border-color: #ffffff; */
}