/** Woocoommerce custom css **/

/* Сетка товаров */
.h1 .h2 .h3 .h4 .h5 .h6 {
  color: #563009 !important;
}

.ppcp-messages {
  display: none !important;
}

#allgemein {
  padding: 20px;
}

.products columns-4  {

    display: flex;
    justify-content: center;
}
.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1rem !important;
  list-style: none;
  background: none;
  border: none;
}

ul.products.columns-4 {
  padding: 0 !important;
}

.products .product {
  background: #fff;
  border-radius: 1.3rem;
  box-shadow: 0 2px 16px 0 rgba(50, 45, 17, 0.09);
  padding: 1.5rem;
  margin: 0 !important;
  width: 260px;
  min-width: 200px;
  max-width: 300px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.products .product:hover {
  box-shadow: 0 6px 32px 0 rgba(144, 186, 30, 0.14);
  transform: translateY(-6px) scale(1.02);
}

.woocommerce-loop-product__title {
  font-family: "Fredoka Bold", "Nunito", sans-serif;
  font-size: 1.2rem;
  margin-top: 0.7rem;
  color: #563009;
  text-align: center;
}

.products .price {
  font-size: 1.15rem;
  font-weight: bold;
  color: #7aa20c;
  margin: 0.7rem 0;
}

.products .button {
  background: linear-gradient(90deg, #7aa20c 0%, #d3f85a 100%);
  color: #3c1101;
  border: none;
  padding: 0.7em 2em;
  border-radius: 2em;
  font-weight: 700;
  margin-top: 0.5rem;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 1px 5px #bcd85d4d;
  font-size: 0.798rem;
}

.products .button:hover {
  background: linear-gradient(90deg, #e4f55d 0%, #7aa20c 100%);
  color: #e46719;
  box-shadow: 0 4px 22px #7aa20c2c;
  transform: translateY(-3px) scale(1.04);
  text-decoration: none;
}

.products .onsale {
  background: #e46719;
  color: #fff;
  padding: 0.2em 0.8em;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  box-shadow: 0 2px 10px #e467193a;
}

.products img {
  border-radius: 1.1rem;
  margin: 0 auto;
  object-fit: contain;
}

.products .product a,
.products .product a:visited {
  color: #563009;
  text-decoration: none;
  font-family: "Fredoka Medium", "Nunito", sans-serif;
}
.products .product a:hover {
  color: #e46719;
  text-decoration: underline;
}

.alt ,.btn-shop {
  display: inline-block;
  padding: 0.75em 2.2em;
  background: linear-gradient(90deg, #7aa20c 0%, #d3f85a 100%);
  color: #3c1101;
  border: none;
  border-radius: 2em;
  font-family: "Fredoka Bold", "Nunito", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 2px 10px #bcd85d4d;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  transition: background 0.23s, color 0.23s, box-shadow 0.18s, transform 0.18s;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.alt:hover ,.btn-shop:hover,
.alt:focus ,.btn-shop:focus {
  background: linear-gradient(90deg, #e4f55d 0%, #7aa20c 100%);
  color: #e46719;
  box-shadow: 0 4px 22px #7aa20c2c;
  transform: translateY(-3px) scale(1.04);
  text-decoration: none;
}
/** Shop page **/

.shop-page-wrapper {
  min-height: 100vh;
  padding: 2rem 0;
}
.shop-page-container {
  display: flex;
  margin: 0 auto;
  gap: 2rem;
}
.shop-sidebar {
  text-align: center;
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.2rem 1.3rem 2rem 1.3rem;
  margin: 2rem;
  height: fit-content;
}
.shop-sidebar h3 {
  font-family: "Fredoka Bold", "Nunito", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #7aa20c;
  letter-spacing: 0.05em;
}
.shop-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-cat-list li {
  margin-bottom: 1.1em;
}
.shop-cat-list a {
  color: #563009;
  text-decoration: none;
  font-family: "Fredoka Medium", "Nunito", sans-serif;
  font-size: 1.05rem;
  padding: 0.3em 0.8em;
  border-radius: 1em;
  display: inline-block;
  transition: background 0.18s, color 0.18s;
}
.shop-cat-list a:hover {
  background: #e4f55d;
  color: #3c1101;
}
.shop-main {
  flex: 1 1 0%;
  min-width: 0;
  padding-bottom: 3rem;
}
.page-title, .title {
  font-family: "Fredoka Bold", "Nunito", sans-serif;
  font-size: 2.3rem;
  color: #563009;
  margin: 1rem 0 1rem 1rem;
  text-align: center;
}

.woocommerce-result-count, .woocommerce-ordering {
    color: #563009;
    margin-left: 1rem;
}

body.home .products {
  justify-content: center;
}

/* WooCommerce сетка */

@media (max-width: 990px) {
  .shop-page-container {
    flex-direction: column;
    align-items: center;
  }
  .products {
    justify-content: center;
  }
  .page-title, .woocommerce-ordering, .woocommerce-result-count {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .products {
    grid-template-columns: 1fr;
  }
}

/* Checkout */

/* Общая ширина формы */
.woocommerce form.checkout {
  margin: 0 auto;
  padding: 20px;
}

#woocommerce-checkout-form-coupon {
  padding: 20px !important;
}

/* Упрощение отступов */
.woocommerce form .form-row {
  margin-bottom: 20px;
}

/* Ширина инпутов */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
}

/* Названия полей */
.woocommerce form .form-row label {
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  color: #563009;
}

/* Группировка имени и фамилии */
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  display: inline-block;
  vertical-align: top;
  color: #563009;
}

.place-order {
  text-align: center;
}

.woocommerce form .form-row-first {
  margin-right: 4%;
  color: #563009;
}

.woocommerce form .form-row .input-text, .woocommerce-page form .form-row {
  width: 100%;
  color: #563009;
}

.woocol {
  flex: auto;
}

.woocommerce table.shop_table {
  width: 100%;
}

.entry-summary {
  text-align: center !important;
}

.woocommerce-breadcrumb {
  padding-left: 20px;
}

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
  background-color: transparent !important;
  padding: 20px;
  color:#e46719;
}

.woocommerce-cart-form {
  padding: 20px;
}

.product-remove{
  padding-left: 20px;
}

.product-thumbnail {
  text-align: center !important;
}

.actions {
  padding-top: 25px;
  padding-left: 20px;
}

.cart_totals{
  text-align: center;
}

.cart-subtotal, .order-total, .order-tax{
  display: flex;
  justify-content: center;
  gap: 3rem;
}

/* Красивое поле input для количества в корзине */
.woocommerce-cart input.qty,
.woocommerce input.qty {
    width: 90px;
    min-width: 60px;
    max-width: 120px;
    height: 38px;
    font-size: 1.25rem;
    border: 2px solid #d3f85a;
    border-radius: 1.1em;
    background: #fff;
    color: #3c1101;
    font-family: "Fredoka Medium", "Nunito", sans-serif;
    box-shadow: 0 2px 10px rgba(144,186,30,0.08);
    padding: 0.3em 0.9em;
    text-align: center;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}

.woocommerce-cart input.qty:focus,
.woocommerce input.qty:focus {
    border-color: #7aa20c;
    box-shadow: 0 2px 12px 0 rgba(144,186,30,0.18);
}

/* Чтобы стрелки выглядели аккуратно (некоторые браузеры) */
.woocommerce-cart input.qty::-webkit-inner-spin-button, 
.woocommerce-cart input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-cart input.qty[type=number] {
    appearance: textfield;
}

.woocommerce a,
.woocommerce-page a {
    color: #7aa20c;
    text-decoration: none;
    font-weight: 600;
}

.woocommerce a:hover,
.woocommerce a:focus,
.woocommerce-page a:hover,
.woocommerce-page a:focus {
    color: #e46719;
    outline: none;
}

.woocommerce a:active,
.woocommerce-page a:active {
    color: #3c1101;
    border-bottom: 2px solid #3c1101;
}

.woocommerce a:visited,
.woocommerce-page a:visited {
    color: #7aa20c;
}

/* Убрать двойные буллиты и лишние точки на вкладках WooCommerce */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    list-style: none !important;
    padding-left: 0;
    margin-bottom: 2.5rem;
}

/* Скрыть активный "dot" под вкладками WooCommerce */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:after {
    display: none !important;
}

/* Иногда WooCommerce дублирует вкладку как элемент списка — убираем */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    list-style: none !important;
    background: none !important;
}

/* Опционально — выравниваем отступы у списка вкладок */
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin-bottom: 0 !important;
    padding: 0 1.5rem 0 1.5rem !important;
}



/* Поле для кода купона */
.woocommerce-cart .cart .actions .input-text, .input-text .qty .text, .orderby {
  border: none;
  background: #f6f5ec;
  border-radius: 1em;
  padding: 0.8em 1.2em;
  font-size: 1.1em;
  outline: none;
  box-shadow: 0 1px 7px #e0edb6;
  transition: box-shadow 0.22s;
}
.woocommerce-cart .cart .actions .input-text:focus, .input, .orderby:focus, .input-text .qty .text:focus {
  box-shadow: 0 2px 15px #d6e47b;
}

/* Оформление блока купона */

.woocommerce-cart .cart .actions .coupon {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  justify-content: center;
}

.woocommerce-cart .cart .actions .input-text:focus {
  box-shadow: 0 2px 15px #d6e47b;
}

/* Кнопка применить купон */
.woocommerce-cart .cart .actions .button,
.woocommerce-cart .cart .actions input[type="submit"] {
  background: linear-gradient(90deg, #90ba1e 0%, #d3f85a 100%);
  border: none;
  color: #3c1101;
  border-radius: 1em;
  font-weight: 600;
  font-size: 1.05em;
  padding: 0.7em 1.5em;
  cursor: pointer;
  box-shadow: 0 1px 7px #d0eb99;
  transition: background 0.18s, box-shadow 0.22s, color 0.2s;
}
.woocommerce-cart .cart .actions .button:hover,
.woocommerce-cart .cart .actions input[type="submit"]:hover {
  background: linear-gradient(90deg, #d3f85a 0%, #90ba1e 100%);
  color: #e46719;
  box-shadow: 0 4px 18px #d0eb99;
}

/* Серое неактивное поле */
.woocommerce-cart .cart .actions input[disabled] {
  background: #e2e4d3;
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

.woocommerce-cart .cart .actions .button[name="update_cart"] {
  /* Стили кнопки по центру */
  margin: 1.5rem auto 0 auto;
  display: block;
  min-width: 180px;  /* по желанию — шире */
  font-size: 1.1rem;
  background-color: transparent;
}

/* Центрируем цену в карточке товара */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  display: block;
  text-align: center;
  margin: 0.5em auto 0.7em auto;
  font-size: 1.12em;
  font-weight: 600;
  width: 100%;
}

/* Для надёжности — если там вдруг inline или inline-block */
.woocommerce ul.products li.product .price > *,
.woocommerce-page ul.products li.product .price > * {
  display: inline-block;
  text-align: center;
  width: auto;
}

.wp-post-image {
  width: 300px;
}

/* Product page - other */

.woocommerce-product-gallery__wrapper {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  height: auto;
  width: 100% !important;
  padding: 20px;
}

.woocommerce-product-gallery__image img {
  width: 100% !important;
  max-width: 450px;
  height: auto !important;
  object-fit: contain;
}

.woocommerce-Tabs-panel--additional_information h2 {
    display: none !important;
}

.woocommerce-product-attributes {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    text-align: center !important;
    font-size: 1.3rem;
    font-family: "Fredoka Bold";
    vertical-align: middle !important;
    padding: 0.4em 1.2em;
}
.woocommerce-product-attributes th {
    color: #3c1101;
    font-family: "Fredoka Bold";
    font-weight: 700;
    font-size: 1.3rem;
    background: none;
    border: none;
}

.woocommerce-product-attributes td {
    color: #3c1101;
    font-family: "Fredoka Medium";
    font-weight: 500;
    font-size: 1.3rem;
    background: none;
    border: none;
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
    vertical-align: middle !important;
}

#tab-title-additional_information {
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  color:#7aa20c;
}

/* Выровнять форму по центру */
.single-product .variations_form,
.single-product .product .summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
}

/* Контейнер для свойств (вариаций) */
.variations {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Заголовок свойства (Art) */
.variations th,
.variations label {
    font-size: 1.3rem;
    color: #3c1101;
    font-family: "Fredoka Bold";
    text-align: center;
    padding-bottom: 0.5rem;
}

/* Селект вариаций */
.variations select {
    width: 100%;
    max-width: 350px;
    padding: 0.7em 1.2em;
    font-size: 1.1rem;
    border-radius: 1.1em;
    border: 2px solid #d3f85a;
    background: #fff;
    box-shadow: 0 2px 10px rgba(144,186,30,0.09);
    color: #3c1101;
    outline: none;
    transition: border .2s;
}

.variations select:focus {
    border-color: #7aa20c;
}

/* Поле количества */
.single-product .quantity input[type="number"] {
    width: 100%;
    max-width: 350px;
    padding: 0.7em 1.2em;
    font-size: 1.1rem;
    border-radius: 1.1em;
    border: 2px solid #d3f85a;
    margin-bottom: 1.5rem;
    background: #fff;
    color: #3c1101;
}

.single-product .single_add_to_cart_button:hover {
    background: linear-gradient(90deg, #d3f85a 0%, #99ba1e 100%);
    transform: translateY(-2px) scale(1.03);
}

@media (max-width: 600px) {
    .variations,
    .single-product .single_add_to_cart_button,
    .single-product .quantity input[type="number"] {
        max-width: 95vw;
        font-size: 1rem;
    }
}

/* Центрировать строку вариации (Art + селект) */
.single-product .variations tr {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.2rem; /* большее расстояние между label и select */
}

/* Центрировать название свойства Art */
.single-product .variations th, 
.single-product .variations label {
    text-align: center !important;
    width: 100%;
    font-size: 1.3rem;
    color: #3c1101;
    font-family: "Fredoka Bold";
    margin-bottom: 0; /* убирает доп. отступы */
}

/* Селект - по центру, чуть больше отступа сверху */
.single-product .variations select {
    margin: 0 auto 0.8em auto;
    display: block;
    width: 100%;
    max-width: 350px;
    padding: 0.7em 1.2em;
    font-size: 1.1rem;
    border-radius: 1.1em;
    border: 2px solid #d3f85a;
    background: #fff;
    box-shadow: 0 2px 10px rgba(144,186,30,0.09);
    color: #3c1101;
    outline: none;
    transition: border .2s;
}

.wc-tabs-wrapper {
  padding: 20px;
}

/* Gallery */

.product-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 2rem;
  padding: 1rem;
}

.woocommerce-product-gallery__image {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  height: auto !important;
  float: none !important;
  width: auto !important;
  margin: 0 auto;
}



.woocommerce-product-gallery__image img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Лупа (иконка увеличения) */
.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 10px !important;
  right: 10px !important;
  z-index: 10;
  font-size: 1.4rem;
  color: #333;
  transition: all 0.3s ease;
}

.woocommerce-product-gallery__trigger:hover {
  transform: scale(1.1);
  color: #d63b3b;
}

.message__container .locale--DE{
  text-align: center !important;
}

/* --- Корзина: мобильно дружелюбная таблица --- */
@media (max-width: 600px) {

    /* Убираем горизонтальный скролл */
    .woocommerce-cart table.shop_table {
        display: block;
        width: 100%;
        overflow-x: auto;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .woocommerce-cart table.shop_table thead {
        display: none; /* Скрыть шапку таблицы для мобильных */
    }

    .woocommerce-cart table.shop_table tbody, 
    .woocommerce-cart table.shop_table tr, 
    .woocommerce-cart table.shop_table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .woocommerce-cart table.shop_table td {
        padding: 0.7em 0.5em;
        text-align: left;
        border: none;
        border-bottom: 1px solid #f3f3e6;
        background: #fff9ee;
        margin-bottom: 0.6em;
        font-size: 1.05em;
    }

    /* Названия полей */
    .woocommerce-cart table.shop_table td:before {
        content: attr(data-title) ": ";
        font-weight: bold;
        color: #3c1101;
        display: block;
        margin-bottom: 0.2em;
        font-size: 1em;
    }

    /* Картинка товара - центрировать */
    .woocommerce-cart table.shop_table td.product-thumbnail img {
        display: block;
        margin: 0 auto 0.7em auto;
        max-width: 90px;
        height: auto;
    }

    /* Название товара и цена - жирно, по центру */
    .woocommerce-cart table.shop_table td.product-name,
    .woocommerce-cart table.shop_table td.product-price {
        font-weight: bold;
        text-align: center;
    }

    /* Кнопки корзины - по центру и меньше */
    .woocommerce-cart .actions,
    .woocommerce-cart .coupon {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8em;
        width: 100%;
    }

    .woocommerce-cart .coupon input,
    .woocommerce-cart .coupon button,
    .woocommerce-cart .actions button {
        width: 90vw;
        max-width: 340px;
        font-size: 1.08em;
        margin: 0 auto !important;
        box-sizing: border-box;
    }

    /* Кнопка "В корзину" — центр */
    .woocommerce-cart .actions .button,
    .woocommerce-cart .actions input[type="submit"] {
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    /* Суммы — по центру */
    .cart_totals,
    .cart_totals table,
    .cart_totals th, 
    .cart_totals td {
        text-align: center !important;
        margin: 0 auto;
    }

    /* Сделать отступы для футера */
    .maerchen-footer {
        margin-top: 2em;
    }
}

@media (max-width: 600px) {
    /* Контейнер всей корзины */
    .woocommerce-cart .entry-content,
    .woocommerce-cart .container,
    .woocommerce-cart .woocommerce,
    .woocommerce-cart .cart,
    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-cart .cart-collaterals {
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box;
        width: 100% !important;
        margin: 0 auto !important;
    }
    /* Выровнять все содержимое по центру */
    .woocommerce-cart .entry-content,
    .woocommerce-cart .woocommerce,
    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-cart .cart_totals,
    .woocommerce-cart .cart,
    .woocommerce-cart .cart-collaterals,
    .woocommerce-cart h1,
    .woocommerce-cart h2,
    .woocommerce-cart h3,
    .woocommerce-cart table,
    .woocommerce-cart td,
    .woocommerce-cart th,
    .woocommerce-cart label,
    .woocommerce-cart .actions,
    .woocommerce-cart .coupon,
    .woocommerce-cart .cart_totals,
    .woocommerce-cart .order-total,
    .woocommerce-cart .checkout-button {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    /* Блоки, строки таблицы, кнопки — отступ между элементами */
    .woocommerce-cart .woocommerce,
    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-cart .cart_totals,
    .woocommerce-cart .cart-collaterals,
    .woocommerce-cart table.shop_table,
    .woocommerce-cart .actions,
    .woocommerce-cart .coupon,
    .woocommerce-cart .checkout-button {
        margin-bottom: 10px !important;
    }
    /* Инпуты и кнопки на всю ширину */
    .woocommerce-cart input[type="text"],
    .woocommerce-cart input[type="number"],
    .woocommerce-cart input[type="submit"],
    .woocommerce-cart button,
    .woocommerce-cart .checkout-button,
    .woocommerce-cart .button,
    .woocommerce-cart .actions .button {
        width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    /* Количество по центру */
    .woocommerce-cart input.qty {
        text-align: center;
    }
    /* Корректный размер полей купона */
    .woocommerce-cart .coupon input[type="text"] {
        width: 100% !important;
        margin-bottom: 12px !important;
    }
    /* Чтобы не вылезало за края */
    body.woocommerce-cart {
        overflow-x: hidden !important;
    }
}

/* --- Checkout Table — Desktop --- */
.woocommerce-checkout-review-order-table {
    background: #F4F4F2 !important;
    border-radius: 1.5em;
    box-shadow: 0 4px 36px 0 rgba(50,45,17,0.09);
    padding: 2em 2em 2.5em 2em !important;
    margin: 2em 0 !important;
    font-size: 1.18em;
    color: #3c1101;
    font-family: 'Fredoka', 'Nunito', Arial, sans-serif;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none !important;
    padding: 1.1em 1em !important;
    vertical-align: middle !important;
    text-align: left !important;
    background: transparent !important;
}

.woocommerce-checkout-review-order-table thead th {
    font-weight: 700;
    color: #3c1101;
    font-size: 1.15em;
}

.woocommerce-checkout-review-order-table .product-thumbnail img {
    border-radius: 1em;
    max-width: 85px;
    box-shadow: 0 2px 12px rgba(60,17,1,0.07);
}

.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td {
    font-weight: 700;
    font-size: 1.15em;
}

/* Суммы крупнее */
.woocommerce-checkout-review-order-table .order-total strong,
.woocommerce-checkout-review-order-table .cart-subtotal td {
    font-size: 1.2em;
    color: #3c1101;
}

/* --- Mobile: Stack to column --- */
@media (max-width: 600px) {
    .woocommerce-checkout-review-order-table,
    .woocommerce-checkout-review-order-table tbody,
    .woocommerce-checkout-review-order-table tr,
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .woocommerce-checkout-review-order-table {
        padding: 1.2em 0.5em !important;
        border-radius: 1.2em;
        font-size: 1em;
    }

    .woocommerce-checkout-review-order-table thead {
        display: none;
    }

    .woocommerce-checkout-review-order-table tr {
        margin-bottom: 1.4em !important;
        border-bottom: 1px solid #ebe9e4;
        padding-bottom: 1.2em !important;

    }

    .woocommerce-checkout-review-order-table .product-thumbnail {
        text-align: center !important;
        margin-bottom: 0.8em;
    }
    .woocommerce-checkout-review-order-table .product-thumbnail img {
        max-width: 120px;
        margin: 0 auto !important;
        display: block;
        text-align: center;
    }

    .woocommerce-checkout-review-order-table .product-name,
    .woocommerce-checkout-review-order-table .product-total {
        text-align: center !important;
        font-size: 1.1em !important;
    }

    .woocommerce-checkout-review-order-table tfoot tr th,
    .woocommerce-checkout-review-order-table tfoot tr td {
        text-align: center !important;
        padding: 0.7em 0 !important;
        font-size: 1.1em !important;
    }
}
/* --- Чекаут таблица: строгие колонки, аккуратный вид --- */
.woocommerce-checkout-review-order-table {
    width: 100%;
    table-layout: fixed !important;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    vertical-align: middle !important;
    padding: 1.1em 0.8em !important;
    text-align: center !important;
}

.woocommerce-checkout-review-order-table th.product-thumbnail,
.woocommerce-checkout-review-order-table td.product-thumbnail {
    width: 110px !important;
    min-width: 100px !important;
    text-align: center !important;
}

.woocommerce-checkout-review-order-table th.product-name,
.woocommerce-checkout-review-order-table td.product-name {
    width: 60% !important;
    text-align: left !important;
    padding-left: 1.5em !important;
    font-size: 1.13em;
    font-weight: 500;
}

.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total {
    width: 18% !important;
    text-align: right !important;
    font-size: 1.13em;
}

.woocommerce-checkout-review-order-table .product-thumbnail img {
    display: block;
    margin: 0 auto;
    max-width: 80px;
    border-radius: 1em;
    box-shadow: 0 2px 12px rgba(60,17,1,0.08);
}

/* --- СТИЛИ ДЛЯ ТАБЛИЦЫ ЗАКАЗА НА ЧЕКАУТЕ --- */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tr,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    background: #f3f3f3 !important;
    border: none !important;
    box-shadow: none !important;
}

.woocommerce-checkout-review-order-table {
    width: 100%;
    border-radius: 1.4em;
    overflow: hidden;
    margin-bottom: 2.5em;
    font-family: 'Fredoka Medium', Nunito, Arial, sans-serif;
    font-size: 1.07em;
}

/* Фото товара */
.woocommerce-checkout-review-order-table .product-thumbnail img {
    max-width: 90px;
    width: 80px;
    border-radius: 1em;
    margin: 0 auto 0.5em auto;
    display: block;
    box-shadow: 0 2px 12px rgba(60,17,1,0.08);
}

/* Название и количество */
.woocommerce-checkout-review-order-table .product-name {
    text-align: left !important;
    font-weight: bold;
    color: #4b250e;
    padding-bottom: 0.2em !important;
}
.woocommerce-checkout-review-order-table .product-name strong,
.woocommerce-checkout-review-order-table .product-name .product-quantity {
    color: #542303;
    font-size: 1.18em;
    font-weight: 700;
}

/* Цена */
.woocommerce-checkout-review-order-table .product-total {
    text-align: right !important;
    font-size: 1.11em;
    font-weight: 500;
    color: #4b250e;
}

/* Строки итогов */
.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td {
    text-align: left !important;
    font-size: 1.08em;
    font-weight: 600;
    color: #542303;
    background: none !important;
    padding: 0.7em 1.1em !important;
}

.woocommerce-checkout-review-order-table tfoot tr td {
    text-align: right !important;
    font-size: 1.15em;
    font-weight: 700;
}

/* --- Мобильно! --- */
@media (max-width: 600px) {
  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td {
    padding: 0.6em 0.7em !important;
    font-size: 1em;
  }
  .woocommerce-checkout-review-order-table .product-thumbnail,
  .woocommerce-checkout-review-order-table .product-name,
  .woocommerce-checkout-review-order-table .product-total {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    text-align: center !important;
    margin: 0 auto;
    float: none !important;
  }
  .woocommerce-checkout-review-order-table tr,
  .woocommerce-checkout-review-order-table td,
  .woocommerce-checkout-review-order-table th {
    display: block;
    width: 100% !important;
    text-align: center !important;
    margin: 0;
    border: none !important;
  }
  .woocommerce-checkout-review-order-table .product-name {
    margin-top: 1.1em;
    margin-bottom: 0.3em;
  }
  .woocommerce-checkout-review-order-table .product-total {
    margin-bottom: 1.2em;
    font-size: 1.21em;
  }
  .woocommerce-checkout-review-order-table tfoot tr th,
  .woocommerce-checkout-review-order-table tfoot tr td {
    text-align: center !important;
    font-size: 1.11em;
  }
}

/* == Чекаут. Выравнивание и стилизация == */
.woocommerce-checkout-review-order-table,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tr,
.woocommerce-checkout-review-order-table td,
.woocommerce-checkout-review-order-table th {
    background: #f3f3f3 !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center !important;
}

/* Контейнер таблицы: скругление и центрирование */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-radius: 1.2em;
    overflow: hidden;
    margin-bottom: 2em;
    font-family: 'Fredoka Medium', Nunito, Arial, sans-serif;
    font-size: 1.12em;
}

/* Фото товара */
.woocommerce-checkout-review-order-table .product-thumbnail img {
    max-width: 90px;
    border-radius: 1em;
    margin: 0 auto 0.7em auto;
    display: block;
    box-shadow: 0 2px 12px rgba(60,17,1,0.08);
}

/* Название и количество */
.woocommerce-checkout-review-order-table .product-name {
    font-weight: 600;
    color: #542303;
    font-size: 1.14em;
    padding-bottom: 0.2em;
}
.woocommerce-checkout-review-order-table .product-name strong,
.woocommerce-checkout-review-order-table .product-name .product-quantity {
    color: #a14d09;
    font-size: 1.22em;
    font-weight: 700;
}

/* Цена */
.woocommerce-checkout-review-order-table .product-total {
    font-size: 1.15em;
    font-weight: 600;
    color: #7d2d10;
    padding-bottom: 1.2em;
}

/* Итоги */
.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td {
    background: none !important;
    padding: 0.45em 1.1em !important;
    font-size: 1em;
    color: #542303;
    text-align: center !important;
}

/* Общая сумма — выделить */
.woocommerce-checkout-review-order-table tfoot tr.order-total td,
.woocommerce-checkout-review-order-table tfoot tr.order-total th {
    font-size: 1.38em !important;
    font-weight: 900 !important;
    color: #7aa20c !important;
    letter-spacing: 0.01em;
    padding-top: 1em !important;
    padding-bottom: 0.9em !important;
}

/* НДС — сделать меньше и светлее */
.woocommerce-checkout-review-order-table tfoot tr.tax-total td,
.woocommerce-checkout-review-order-table tfoot tr.tax-total th {
    font-size: 0.93em !important;
    color: #a1a187 !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    padding-top: 0.2em !important;
    padding-bottom: 0.2em !important;
}

.woocommerce-checkout-review-order-table tfoot tr.tax-total + tr td {
    font-size: 1em !important;
    color: #8d613b !important;
    font-weight: 600;
    padding-bottom: 1.2em !important;
}

@media (max-width: 600px) {
    .woocommerce-checkout-review-order-table th,
    .woocommerce-checkout-review-order-table td {
        font-size: 1em;
        padding: 0.55em 0.8em !important;
    }
    .woocommerce-checkout-review-order-table .product-thumbnail,
    .woocommerce-checkout-review-order-table .product-name,
    .woocommerce-checkout-review-order-table .product-total {
        display: block;
        width: 100% !important;
        margin: 0 auto;
        float: none !important;
        text-align: center !important;
    }
    .woocommerce-checkout-review-order-table .product-name {
        margin-bottom: 0.5em;
    }
    .woocommerce-checkout-review-order-table .product-total {
        margin-bottom: 1.1em;
    }
    .woocommerce-checkout-review-order-table tfoot tr th,
    .woocommerce-checkout-review-order-table tfoot tr td {
        text-align: center !important;
        font-size: 1.09em;
    }
    /* Уменьшить отступы между секциями */
    .woocommerce-checkout-review-order-table tr,
    .woocommerce-checkout-review-order-table td,
    .woocommerce-checkout-review-order-table th {
        margin: 0;
        border: none !important;
        padding-top: 0.4em !important;
        padding-bottom: 0.35em !important;
    }
}


    .magic-line {
      font-size: 1.8em;
      font-weight: bold;
      text-align: center;
      margin-top: 40px;
      color: #7d3200;
      position: relative;
      animation: floatText 5s ease-in-out infinite;
    }

    .magic-line::after {
      content: '✨';
      position: absolute;
      padding-right: 20px;
      top: -10px;
      right: -20px;
      font-size: 1.5em;
      animation: twinkle 2s infinite ease-in-out;
    }

    .magic-line::before {
      content: '✨';
      position: absolute;
      padding-left: 20px;
      top: -10px;
      left: -20px;
      font-size: 1.5em;
      animation: twinkle 3s infinite ease-in-out;
    }

    @keyframes twinkle {
      0%, 100% { opacity: 0.2; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.4); }
    }

    @keyframes floatText {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }

    /* Optional: Background sparkles */
    .about-us-text::before {
      content: '';
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-image: radial-gradient(circle, #ffcce6 1px, transparent 1px);
      background-size: 40px 40px;
      z-index: -1;
      opacity: 0.3;
    }

    .about, .datenschutz {
      text-align: left !important;
    }

.datenschutz {
    padding: 20px;
}

@media (max-width: 768px) {
  .woocommerce .woocommerce-ordering {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding-right: 10px;
    padding-left: 10px;
    margin: 0 auto;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100%;
    max-width: 100%;
  }
}
