/*
Theme Name: Maison De Fleur
Author: Auto Converted
Version: 1.0
Description: Кастомная тема WordPress, основанная на вёрстке Tilda
*/
@font-face {
  font-family: 'Cormorant SC';
  src: url('/wp-content/themes/maisonenfleur/assets/fonts/cormorant/CormorantSC-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Circe';
  src: url('/wp-content/themes/maisonenfleur/assets/fonts/circe/Circe-Regular.ttf') format('truetype');
}

.price {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.price del.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
}

.price ins.new-price {
    color: #d00;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
}


@font-face {
  font-family: 'Manrope';
  src: url('/wp-content/themes/maisonenfleur/assets/fonts/manrope/Manrope-Regular.ttf') format('truetype');
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
	font-family: 'Manrope';
}


ul, ol
{
	list-style:none;
}
a
{
	color:black;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-next::before,
.swiper-button-prev::before {
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border: solid gray;
  border-width: 0 4px 4px 0;
  padding: 3px;
  margin: auto;
}

.swiper-button-next::before {
  transform: rotate(-45deg);
}

.swiper-button-prev::before {
  transform: rotate(135deg);
}

.navbar
{
	position: absolute;
	top: 0;
	width: 100%;
	color: white;
	z-index: 100;
	transition: all 0.3s ease;
	max-height:74px;
}

.navbar.fixed {
  position: fixed;
  background: white;
  color: black;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container
{
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 40px;
}

.navbar > .nav-container
{
	background: transparent !important;
	background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.7) 100%) !important;
	border-bottom: none !important;
}

.fixed > .nav-container
{
	background: none !important;
}

.nav-left
{
	display: flex;
	align-items: center;
	/*margin-top:-5px;*/
}

.menu {
  display: flex;
}

.menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: inherit;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  /*text-align: center;*/
  margin-left:200px;
  flex-grow: 1;
}

.logo a {
  text-decoration: none;
  color: inherit;
}

.nav-right
{
	display: flex;
	align-items: center;
	gap: 15px;
	/*margin-top:15px;*/
}

.icon {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.banner {
  position: relative;
  cursor: pointer;
}

.banner img {
  width: 100%;
  display: block;
}

.banner-text {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: inherit;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  width: 100%;
  height: 100%;
  z-index: 200;
  padding: 30px;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .close {
  background: none;
  border: none;
  font-size: 24px;
  align-self: flex-end;
  margin-bottom: 20px;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu ul a {
  text-decoration: none;
  font-size: 18px;
  color: black;
}

.mobile-icons {
  display: flex;
  justify-content: end;
  gap: 20px;
  font-size: 24px;
}

@media (max-width: 768px)
{
	.fixed > .nav-container
	{
		padding:15px 10px;
	}
	.nav-container
	{
		padding:15px 10px;
	}
	.logo-img
	{
		max-width:120px;
	}
	.navbar.fixed .logo a
	{
		position:relative !important;
		top:unset !important;
		left:unset !important;
	}
	.logo
	{
		margin-left:0px;
	}
	
  .menu{
	display: none;
  }

  .burger {
	display: block;
  }

  .logo {
	text-align: center;
	flex-grow: 1;
  }
}

.mainproducts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 60px 20px;
}

.t-store__card {
  background-color: #fff;
  text-align: center;
  transition: all 0.3s ease;
}

.t-store__card a {
  color: inherit;
  text-decoration: none;
}

/* Адаптив */
@media (max-width: 1200px) {
  .mainproducts {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mainproducts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .mainproducts {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .t-store__card__textwrapper {
    padding: 10px;
  }
}

.site-footer {
  background: #fff;
  padding: 60px 20px;
  border-top: 1px solid #eaeaea;
  font-size: 14px;
  color: #333;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-block {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-logo {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 12px;
  color: #777;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

.footer-block ul li {
  margin-bottom: 6px;
}

.footer-block ul a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

.footer-block ul a:hover {
  color: #000;
}

.footer-socials {
  display: flex;
  gap: 15px;
  font-size: 24px;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-note {
  text-align: center;
  font-size: 12px;
  color: #888;
}

/* Адаптив */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    /*text-align: center;*/
  }

  .footer-block {
    width: 100%;
    margin-bottom: 30px;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* ===== Стили для всех страниц (НЕ главной) ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  /*background: white;*/
  color: black;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar a,
.navbar .logo a,
.navbar .icon,
.navbar .burger {
  color: black;
}

/* ===== Стили для главной страницы (body.home) ===== */
body.home .navbar {
  position: absolute;
  background: transparent;
  color: white;
  box-shadow: none;
}

body.home .navbar a,
body.home .navbar .logo a,
body.home .navbar .icon,
body.home .navbar .burger {
  color: white;
}

/* ===== Когда фиксированная навигация даже на главной (при прокрутке) ===== */
.navbar.fixed {
  position: fixed !important;
  background: white !important;
  color: black !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.navbar.fixed a,
.navbar.fixed .logo a,
.navbar.fixed .icon,
.navbar.fixed .burger {
  color: black !important;
}

.catalog-wrapper
{
	margin-top:80px;
}

.catalog-header {
  /*display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 20px;
  flex-wrap: wrap;
  gap: 15px;*/
  padding-left:50px;
}

.filter-toggle {
  background: none;
  border: 0px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
}

.filter-panel {
  display: none;
  padding: 20px;
  margin-bottom: 30px;
}

.filter-panel.open {
  display: block;
}

.filter-section {
  margin-bottom: 20px;
}

.filter-section h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.filter-label {
  display: inline-block;
  border: 1px solid #000;
  padding: 6px 12px;
  margin: 5px 10px 5px 0;
  cursor: pointer;
  font-size: 14px;
}

.filter-label input {
  margin-right: 6px;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-range input {
  width: 100px;
  padding: 5px;
  border: 1px solid #000;
  font-size: 14px;
}

@media (max-width: 768px) {
  .catalog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-label {
    width: 100%;
  }

  .price-range {
    flex-direction: column;
    align-items: flex-start;
  }
}

.filter-panel {
  padding: 20px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}

.filter-row h4 {
  margin-right: 20px;
  font-size: 16px;
  min-width: 100px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-label {
  display: inline-block;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
  border: 1px solid transparent;
  transition: border 0.3s;
}

.filter-label input:checked + span {
  border: 1px solid #000;
  padding: 6px 14px;
  display: inline-block;
}

.filter-label span {
  display: inline-block;
}

.price-slider {
  width: 200px;
  height: 5px;
  background: #ccc;
  position: relative;
  margin-top: 5px;
}

/*.price-slider::before {
  content: '';
  position: absolute;
  height: 5px;
  width: 40%;
  background: #000;
  left: 20%;
}*/

/* Контейнер товаров */
.catalog-items,
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
}

/* Карточка товара */
.t-store__card {
  background-color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Обёртка изображения */
.t-store__card__imgwrapper {
  position: relative;
  padding-bottom: 130%;
  overflow: hidden;
  background-color: #f9f9f9;
}

.t-store__card__bgimg {
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* Текстовая часть */
.t-store__card__textwrapper {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height:auto !important;
}

.t-store__card__title
{
	font-size: 16px;
	font-weight: 30%;
	margin-bottom: 8px;
	height:45px;
}

.t-store__card__descr {
  font-size: 12px;
  color: #777;
  margin-bottom: 10px;
}

.t-store__card__price-wrapper {
  font-size: 15px;
  font-weight: bold;
  color: #000;
}

/* Адаптив */
@media (max-width: 1024px) {
  .catalog-items,
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .catalog-items,
  .products {
    grid-template-columns: 1fr;
  }

  .t-store__card__textwrapper {
    padding: 12px;
  }

  .t-store__card__title {
    font-size: 15px;
  }
}

.catalog-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
}

@media (max-width: 1024px) {
  .catalog-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .catalog-items {
    grid-template-columns: 1fr;
  }
}
.t-store__grid-cont,
.t-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.noUi-connect
{
	background:none !important;
}

.noUi-target
{
	background:black !important;
	height:2px !important;
	box-shadow:none !important;
	border:0px !important;
}

.price-slider-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

#price-slider {
  margin-top: 20px;
}

.price-values {
  display: flex;
  justify-content: space-between;
  padding: 6px 2px 0;
  font-size: 14px;
  color: #222;
}

.noUi-handle
{
	border-radius:50% !important;
	box-shadow:none !important;
	width:28px !important;
	height:28px !important;
	border: 1px solid black !important;
}

.noUi-horizontal .noUi-handle
{
	top:-12px !important;
}

.slider-wrapper
{
	margin-left:100px;
	flex-basis: 100%;
}

#price-max
{
	margin-left:100px;
}

.logo a
{
	font-family: 'Montserrat';
}

/* === Сетка карточки === */
.t-store__product-popup {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* Левая колонка с фото */
.t-store__prod-popup__col-left {
  flex: 1 1 45%;
  min-width: 300px;
}

/* Правая колонка с описанием */
.t-store__prod-popup__col-right {
  flex: 1 1 45%;
  min-width: 300px;
}

.woocommerce-product-gallery {
  max-width: 100%;
}

.woocommerce-product-gallery img {
  width: 100%;
  border-radius: 10px;
}

/* === Название и цена === */
.t-store__prod-popup__title-wrapper h1 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 10px;
  text-align: left;
}

.t-store__prod-popup__price-wrapper {
  margin-bottom: 20px;
}

.t-store__prod-popup__price {
  font-size: 20px;
  font-weight: bold;
}

/* === Опции (размер, цвет и т.д.) === */
.t-product__option {
  margin-bottom: 20px;
}

.t-product__option-title {
  font-weight: 500;
 /* margin-bottom: 10px;*/
}

.t-product__option-item_active {
  border: 1px solid #000;
}

/* === Контент товара === */
.t-descr {
  font-size: 14px;
  line-height: 1.5;
  /*margin-bottom: 20px;*/
}

/* === Кнопка "Добавить в корзину" === */
form.cart button.single_add_to_cart_button {
  background: #000;
  color: #fff;
  padding: 14px 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  max-width: 260px;
  transition: background 0.2s ease;
  margin-top: 20px;
}

form.cart button.single_add_to_cart_button:hover {
  background: #333;
}


/* === Мобильная адаптация === */
@media (max-width: 768px) {
  .t-store__product-popup {
    flex-direction: column;
    gap: 20px;
  }

  .t-store__prod-popup__col-left,
  .t-store__prod-popup__col-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .t-store__card {
    width: 48%;
    margin: 1%;
  }
}

@media (max-width: 480px) {
  .t-store__card {
    width: 100%;
    margin: 0 0 20px 0;
  }

  .t-store__prod-popup__title-wrapper h1 {
    font-size: 20px;
  }

  .t-store__prod-popup__price {
    font-size: 18px;
  }

  form.cart button.single_add_to_cart_button {
    padding: 12px;
    font-size: 14px;
  }
}

/* === Галерея Woo === */
.woocommerce-product-gallery {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.woocommerce-product-gallery__image {
  border-radius: 12px;
  overflow: hidden;
}

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

/* Миниатюры галереи */
.flex-control-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.flex-control-thumbs img {
  width: 60px;
  height: 80px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: border 0.2s;
  cursor: pointer;
}

.flex-control-thumbs img.flex-active {
  border-color: #000;
}

/* === Кнопка корзины === */
form.cart .single_add_to_cart_button {
  background: #000;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
  display: inline-block;
  cursor: pointer;
}

form.cart .single_add_to_cart_button:hover {
  background: #333;
}

/* === Уведомление добавления в корзину === */
#cart-notice {
  display: none;
  background: #f0fff0;
  color: #008000;
  padding: 12px 18px;
  margin-top: 20px;
  border: 1px solid #008000;
  border-radius: 6px;
  font-size: 14px;
}

.addcart_btns {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 80px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  text-align: center;
  text-decoration: none;
}

.addcart_btns:hover {
  background-color: #333;
}

.js-product-edition-option {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* Чтобы на мобилках переносилось */
  margin-bottom: 20px;
}

.js-product-edition-option-name {
  white-space: nowrap;
  margin: 0;
  font-weight: 600;
}

.t-product__option-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  background: #fff;
}

.t-product__option-item:hover {
  border-color: #999;
}

.t-product__option-item_active {
  border-color: #000;
  background-color: #f4f4f4;
}

/* Скрываем саму радиокнопку */
.t-product__option-input {
  display: none;
}

/* Убираем пустой блок-подсказку, если он не нужен */
.t-product__option-checkmark {
  display: none;
}

.cart-popup {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  padding: 14px 22px;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}

.cart-popup.show {
  display: flex;
  opacity: 1;
  bottom: 60px;
}

.cart-popup__icon {
  font-size: 20px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.textpage
{
	margin:auto;
	margin-top:60px;
	padding:25px;
	width:80%;
}

@media (max-width: 768px) {
	.single-product .cart
	{
		padding:20px;
	}
	.logo > a
	{
		left:15% !important;
	}
	.flexi > div
	{
		width:100% !important;
	}

	.flexi
	{
		display:block !important;
	}
	.footer-block
	{
		flex: 1 1 0px;
		margin-bottom:0px;
	}
}

.flexi > div > img
{
	width:100vh;
}

.flexi > div
{
	width:48%;
}

.flexi
{
	display: flex;
	gap: 20px;
	width: 80%;
	margin: auto;
	justify-content:space-between;
	margin-top:75px;
}

.wp-block-woocommerce-cart
{
	margin-top:75px;
}

.textpage > h1
{
    font-weight: 600;
	text-align: center;
}

#primary
{
	margin-top:100px !important;
}

.woocommerce-breadcrumb
{
  display: none !important;
}

.woocommerce .columns-3
{
	margin:auto;
	max-width:75%;
}

.related-products-custom > h2
{
	text-align:center;
}

.woocommerce-product-gallery__trigger
{
	display:none;
}

.logo > a
{
	position:absolute;
	top:20px;
	left:50%;
	font-size:30px;
	font-weight:normal;
}

#mobileMenu a
{
	color:black;
}

.mainproducts-wrapper {
  position: relative;
}

.swiper {
  padding: 20px 0;
}

.swiper-slide {
  box-sizing: border-box;
  padding: 0 10px;
}

.swiper-button-prev,
.swiper-button-next {
  color: black;
  top: 40%;
  width: 35px;
  height: 35px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 20px;
}

.mainproducts-swiper
{
	margin-top:30px;
	margin-bottom:30px;
}

/* Только на мобилках включаем swiper */
@media (min-width: 769px) {
  .mainproducts-swiper .swiper-wrapper {
    display: flex;
    gap: 20px;
  }

  .swiper-slide {
    flex: 1;
    width: 25% !important;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

.nav-right .header-icon {
  transition: fill 0.3s ease;
  color: white;
}

.navbar.fixed .nav-right .header-icon {
  color: black;
}

.nav-right .icon img {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px)
{
	.nav-right .icon img {
    width: 20px;
    height: 20px;
  }
}

/* Чёрно-белые иконки */
.icon-img.icon-white {
  display: inline-block;
  width: 27px;
}
.icon-img.icon-black {
  display: none;
}
.navbar.fixed .icon-img.icon-white {
  display: none;
}
.navbar.fixed .icon-img.icon-black {
  display: inline-block;
}

/* Панель поиска */
.search-bar {
  display: none;
  background: #fff;
  border-bottom: 2px solid #000;
  padding: 15px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.search-bar form {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-bar input[type="search"] {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #000;
  border-radius: 4px;
}
.search-bar button[type="submit"] {
  background: #000;
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.search-bar .search-close {
  background: none;
  border: none;
  font-size: 20px;
  padding: 5px 10px;
  cursor: pointer;
  color: #000;
}

.favorite-button {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  cursor: pointer;
  background: rgba(255,255,255,0.7);
  padding: 4px;
  border: 0px;
  transition: background 0.3s ease;
}

.favorite-button:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* Иконка */
.favorite-icon {
  width: 20px;
  height: 20px;
  stroke: #999;
  fill: none;
  transition: all 0.3s ease;
}

.favorite-button.active .favorite-icon {
  fill: black;
  stroke: black;
}

.product-titles > h3
{
	margin-top:15px;
	margin-bottom:15px;
	font-weight:bold;
}

.logo-img
{
	max-width:150px;
}

/* Контейнер кнопок на странице товара */
.single-product .cart
{
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Кнопка избранного */
.aur-favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
  transition: 0.3s;
  text-decoration: none;
}

.aur-favorite-icon {
  width: 24px;
  height: 24px;
  stroke: #999;
  fill: none;
  transition: all 0.3s ease;
}

.aur-favorite-button.active .aur-favorite-icon {
  fill: black;
  stroke: black;
}

.aur-add-to-cart-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.aur-favorite-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
  transition: 0.3s;
}

.aur-favorite-icon {
  width: 24px;
  height: 24px;
  stroke: #999;
  fill: none;
  transition: all 0.3s ease;
}

.aur-favorite-button.active .aur-favorite-icon {
  fill: black;
  stroke: black;
}

@media (max-width: 768px) {
  .t-store__prod-popup__col-left {
    width: 100% !important;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .woocommerce-product-gallery {
    width: 100% !important;
  }

  .t-store__prod-popup__slider,
  .t-slds__container {
    width: 100% !important;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box
  }
}

.footer-logo
{
	max-width:120px;
}

.custom-empty-cart
{
	margin-top:50px;
}

/* ======= Общий стиль корзины ======= */
.woocommerce {
  font-family: 'Inter', sans-serif;
  color: #111;
  background: #fff;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
  margin-top:75px;
}

.woocommerce h2 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: left;
}

/* ======= Сообщение об успешном добавлении товара ======= */
.woocommerce-message {
  background: #f1f1f1;
  border-left: 4px solid #111;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.woocommerce-message .button {
  background-color: #111;
  color: #fff;
  padding: 0.5rem 1rem;
  margin-left: 1rem;
  border: none;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ======= Таблица товаров ======= */
.woocommerce-cart-form .shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.shop_table th,
.shop_table td {
  text-align: left;
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
}

.shop_table th {
  background: #fff;
  font-weight: 600;
}

.product-thumbnail img {
  width: 80px;
  height: auto;
  border-radius: 6px;
}

.product-name a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
}

.product-remove a {
  color: #c00;
  font-size: 1.2rem;
  text-decoration: none;
}

/* ======= Кнопки и формы ======= */
.coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.coupon input[type="text"] {
  padding: 0.5rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
}

.button {
  background: #111;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.button:hover {
  background: #333;
}

input[disabled].button {
  background: #999;
  cursor: not-allowed;
}

/* ======= Сумма заказа ======= */
.cart_totals {
  padding: 2rem;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.cart_totals h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.cart_totals table {
  width: 100%;
  margin-bottom: 1rem;
}

.cart_totals th,
.cart_totals td {
  text-align: left;
  padding: 0.5rem 0;
  font-size: 1rem;
}

/* ======= Кнопка "Оформить заказ" ======= */
.wc-proceed-to-checkout a.checkout-button {
  background-color: #111;
  color: #fff;
  display: inline-block;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.wc-proceed-to-checkout a.checkout-button:hover {
  background-color: #333;
}

/* ======= Адаптивность ======= */
@media (max-width: 768px) {
  .shop_table thead {
    display: none;
  }

  .shop_table tbody tr {
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
  }

  .shop_table td {
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
  }

  .product-thumbnail img {
    width: 100px;
  }

  .coupon {
    flex-direction: column;
  }

  .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
    text-align: center;
  }
}

.wc-block-components-sidebar-layout
{
	margin-top:50px;
	padding:10px;
}

.aur-favorite-button > img
{
	max-width:25px;
}

.woocommerce-Price-amount > bdi
{
	font-weight:normal;
}

/* Счётчик корзины */
.cart-count {
  position: absolute;
  top: -5px;
  right: -8px;
  background-color: #000;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 18px;
  min-height: 18px;
  display: none; /* Скрыт при 0 */
  justify-content: center;
  align-items: center;
  line-height: 1;
}

/* Контейнер иконки корзины */
.nav-right .icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  /*margin-left: 15px;*/
}

/* Попап корзины */
.cart-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border: 1px solid #e0e0e0;
  padding: 12px 18px;
  border-radius: 8px;
  display: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 9999;
  transition: opacity 0.3s ease;
}
.cart-popup.show { display: block; opacity: 1; }
.cart-popup__icon { margin-right: 8px; }
.cart-popup__content { display: flex; align-items: center; }

.wp-block-woocommerce-checkout
{
	margin-top:50px !important;
}

/* ====== Общие настройки формы ====== */
.aur-checkout { 
  color:#000;
}
.aur-checkout__cols{
  display:grid;
  grid-template-columns: minmax(0,680px) minmax(280px,360px);
  gap:48px;
  justify-content:center;
  align-items:start;
}

/* Группы – без рамок/фона, аккуратные отступы */
.aur-group{
  border:0 !important;
  background:transparent !important;
  padding:0;
  margin:0 0 28px;
}
.aur-group__title{
  margin:0 0 12px;
  font-size:16px;
  font-weight:600;
  color:#000;
  display:none;
}

/* ====== Сетка полей ====== */
.aur-group .aur-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:16px;
}
.aur-grid .form-row{
  display:grid !important;
  grid-template-columns: 180px 1fr;
  column-gap:20px;
  align-items:center;
  margin:0 !important;
}
.aur-grid .form-row > label{
  display:block !important;
  margin:0;
  font-size:14px;
  line-height:1.2;
  color:#000;
}
.aur-grid .form-row .woocommerce-input-wrapper{ width:100%; }
.aur-grid .form-row input.input-text,
.aur-grid .form-row select,
.aur-grid .form-row textarea{
  width:100%;
  height:48px;
  padding:10px 12px;
  border:1px solid #CFCFCF;
  border-radius:4px;
  background:#fff;
  color:#000;
  box-sizing:border-box;
}
.aur-grid .form-row textarea{ height:96px; padding-top:12px; }
.aur-grid .form-row input:focus,
.aur-grid .form-row select:focus,
.aur-grid .form-row textarea:focus{
  outline:0;
  border-color:#000;
  box-shadow:0 0 0 2px rgba(0,0,0,.04);
}
.aur-grid .form-row label .required{ color:#000; opacity:.5; }

/* Адрес: три колонки */
.aur-group--address .aur-grid{
  grid-template-columns: 1fr 160px 1fr;
  gap:16px 20px;
}

/* Доставка */
.aur-ship-list{ list-style:none; padding:0; margin:0; }
.aur-ship{ padding:12px 0; border-top:1px solid #eee; }
.aur-ship:first-child{ border-top:0; }
.aur-ship label{ display:flex; flex-direction:column; gap:6px; cursor:pointer; }
.aur-ship input[type="radio"]{ accent-color:#000; }
.aur-ship__label{ font-weight:600; }
.aur-ship__desc{ font-size:12px; line-height:1.4; opacity:.75; }

/* Итоги (правая колонка) */
.aur-summary{ border:0 !important; background:transparent !important; box-shadow:none !important; padding:0; }
.aur-summary table,
.aur-summary .shop_table,
.woocommerce-checkout-review-order-table{
  border:0 !important; box-shadow:none !important;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td{
  border:0 !important;
}

/* ====== Адаптив ====== */
@media (max-width: 1100px){
  .aur-checkout__cols{ grid-template-columns: minmax(0,720px); gap:32px; }
  .aur-checkout__col--right{ order:2; }
}
@media (max-width: 700px){
  .aur-grid .form-row{ grid-template-columns: 1fr; row-gap:8px; }
  .aur-group--address .aur-grid{ grid-template-columns: 1fr; }
  .aur-checkout .form-row {display:block !important; }
  .aur-checkout .form-row > label { width: 100% !important; }
}

/* === Исправления — показываем оплату и кнопку === */

/* Показываем блок оплаты и кнопку */
#payment {
  display: block !important;
}
#order_review .place-order {
  display: block !important;
}

/* Скрываем только таблицу товаров, оставляем оплату */
.aur-checkout__col--right .woocommerce-checkout-review-order-table {
  /*display: none !important;*/
}

/* Центрируем форму */
.woocommerce-checkout.aur-checkout { max-width: 920px; margin: 0 auto !important; }

/* Поля */
.aur-checkout .form-row {
  grid-template-columns: 180px 1fr;
  column-gap: 20px;
  align-items: center;
  margin: 0 0 14px !important;
}
.aur-checkout .form-row > label { margin: 0 !important; font-size: 14px; font-weight: 600; color: #000; }
.aur-checkout input.input-text,
.aur-checkout select,
.aur-checkout textarea {
  width: 100% !important;
  height: 48px;
  padding: 10px 12px !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 4px !important;
  background: #fff !important;
}
.aur-checkout textarea { min-height: 96px; }

/* Адрес: улица на всю ширину, дом и квартира — в одну строку */
.aur-grid--address { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 20px; row-gap: 14px; }
.aur-grid--address > #billing_address_1_field { grid-column: 1 / -1; }
.aur-grid--address > #billing_house_field,
.aur-grid--address > #billing_address_2_field { grid-column: span 1; }

/* Мобилка */
@media (max-width: 640px) {
  .woocommerce-checkout.aur-checkout { padding: 0 16px; }
  .aur-checkout .form-row { grid-template-columns: 1fr !important; row-gap: 8px; }
  .aur-grid--address { grid-template-columns: 1fr !important; }
}

/* Общая форма: убираем разделение на 2 колонки внутри form-row */
.aur-checkout .form-row {
  display: flex;
  margin-bottom: 16px !important;
  justify-content:space-between;
}

/* Метки полей над полями */
.aur-checkout .form-row > label {
  display: block !important;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

/* Поля на всю ширину */
.aur-checkout input.input-text,
.aur-checkout select,
.aur-checkout textarea {
  width: 100% !important;
  height: 48px;
  padding: 10px 12px !important;
  border: 1px solid #cfcfcf !important;
  border-radius: 4px !important;
  background: #fff !important;
  box-sizing: border-box;
}

/* Адрес: все части в одну колонку */
.aur-grid--address {
  display: block !important;
}

.aur-grid--address .form-row {
  width: 100% !important;
}

/* Чтобы "Дом" и "Квартира/офис" были отдельными строками */
#billing_house_field,
#billing_address_2_field {
  display: flex !important;
  width: 100% !important;
}

/* Для мобильных изменений не нужно, всё и так будет в одну колонку */
/* Делаем checkout в одну колонку */
.aur-checkout {
  display: block !important;
}

/* Правую колонку переносим под левую */
.aur-checkout__col--right {
  width: 100% !important;
  float: none !important;
  /*margin-top: 30px !important;*/
}

/* Левая колонка тоже на всю ширину */
.aur-checkout__col--left {
  width: 100% !important;
  float: none !important;
}

/* Таблица итога на всю ширину */
#order_review {
  width: 100% !important;
}

#place_order
{
	margin-top: 20px;
}

.woocommerce-input-wrapper
{
	display:block;
	width:100%;
}

.aur-checkout .form-row > label
{
	width:300px;
}

.woocommerce-checkout-review-order-table > thead, .woocommerce-checkout-review-order-table > tbody, .woocommerce-terms-and-conditions-wrapper
{
	display:none;
}

/* 1) Контейнеры полей: разрешаем перенос и не выравниваем по центру */
.aur-checkout .form-row {
  flex-wrap: wrap;              /* КЛЮЧЕВОЕ: разрешаем перенос */
  align-items: flex-start;      /* чтобы метки не тянули ошибку вверх/вниз */
}

/* 2) Колонки: метка фикс ширины, инпут — остальное */
.aur-checkout .form-row > label {
  flex: 0 0 180px;              /* ширина колонки с лейблом */
  max-width: 180px;
  margin: 0 !important;
  margin-bottom:5px !important;
}
.aur-checkout .form-row .woocommerce-input-wrapper {
  flex: 1 1 0%;                 /* инпут занимает оставшееся */
  min-width: 0;
}

/* 3) Ошибка: на НОВОЙ строке, выровнена под инпутом (а не под лейблом) */
.aur-checkout .form-row .checkout-inline-error-message {
  flex: 0 0 100%;               /* занять всю следующую строку */
  order: 2;                     /* идти после инпута */
  margin: 4px 0 0 200px;        /* сдвигаем под край инпута, а не под лейбл */
  color: red;
  font-size: 12px;
  width:200px;
}

/* Мобилка: если лейбл сверху, убираем отступ слева у ошибки */
@media (max-width: 640px) {
  .aur-checkout .form-row .checkout-inline-error-message {
    margin-left: 0;
  }
}

.woocommerce-NoticeGroup.woocommerce-NoticeGroup-checkout
{
  display: none;
}

.woocommerce-form-coupon-toggle
{
	margin-bottom:10px;
}


@media (max-width: 768px) {
  .nav-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 74px;
  }

  .nav-left,
  .nav-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .nav-left {
    left: 10px;
  }

  .nav-right {
    right: 10px;
  }

  .logo {
    margin: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
  }

  .logo a {
    position: static;
    left: auto !important;
    top: auto !important;
    transform: none;
  }

  .logo-img {
    max-width: 120px;
    height: auto;
  }
}

/* Свотчи цветов (над кнопкой) */
.aur-color-swatches {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 14px 0 10px;
}

.aur-swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff; /* внутренняя белая рамка */
  background: var(--aur-swatch, #ccc);
  box-shadow: 0 0 0 1px #d0d0d0; /* лёгкая внешняя тень */
  display: inline-block;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.aur-swatch:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 2px #aaa;
}

.aur-swatch.is-active {
  box-shadow: 0 0 0 2px #000; /* чёрная рамка для активного */
}

/* Базовые (страница товара) — у тебя уже стоят */
.aur-color-swatches {
  display:flex; gap:12px; align-items:center; margin:14px 0 10px;
}
.aur-swatch{
  width:26px; height:26px; border-radius:50%;
  border:2px solid #fff; background: var(--aur-swatch,#ccc);
  box-shadow: 0 0 0 1px #d0d0d0; display:inline-block; text-decoration:none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.aur-swatch:hover{ transform:scale(1.08); box-shadow:0 0 0 2px #aaa; }
.aur-swatch.is-active{ box-shadow:0 0 0 2px #000; }

/* Компактная версия для карточек в листинге */
.aur-color-swatches--loop{
  margin: 6px 0 0;           /* под ценой, компактнее */
  justify-content: center;   /* если карточка центрируется по сетке */
}
.aur-color-swatches--loop .aur-swatch{
  width:20px; height:20px;   /* немного меньше */
  border-width:2px;
  box-shadow:0 0 0 1px #d0d0d0;
}

.product-titles { white-space: pre-line; }

/* === ОБЛАСТЬ КАРТИНКИ БЕЗ РАМОК === */
.t-store__card__imgwrapper {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.t-store__card__imgwrapper img,
.t-store__card__imgwrapper .wp-post-image {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

/* === СЛАЙДЕР === */
.aur-card-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.aur-card-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden !important;
}
.aur-card-swiper .swiper-wrapper { height: 100%; display: flex !important; }
.aur-card-swiper .swiper-slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: transparent !important; border: 0 !important; box-shadow: none !important;
}

/* === ИЗОБРАЖЕНИЕ === */
.aur-card-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  background: transparent !important; border: 0 !important; box-shadow: none !important; outline: 0 !important;
}

/* === ССЫЛКА-ОБЁРТКА === */
.aur-card-slide-link { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }

/* ——— стрелки ——— */
.aur-swiper-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:28px; height:28px; border-radius:50%;
  background:transparent; border:none; box-shadow:none;
  z-index:20; cursor:pointer; color:rgba(0,0,0,.45);
  transition:color .15s, background .15s, opacity .15s;
  opacity:.85;
}
.aur-swiper-prev{ left:10px; }
.aur-swiper-next{ right:10px; }
.aur-swiper-nav::before{
  content:''; position:absolute; top:50%; left:50%;
  width:8px; height:8px; border:2px solid currentColor;
  border-top:none; border-right:none;
  transform:translate(-40%,-50%) rotate(45deg);
}
.aur-swiper-next::before{ transform:translate(-60%,-50%) rotate(-135deg); }

@media (pointer:fine){
  .aur-swiper-nav{ opacity:0 !important; } /* всегда скрыты вне ховера */
  .aur-card-slider:hover .aur-swiper-nav{ opacity:.85 !important; }
  /* disabled: видны только в ховере и тусклее */
  .aur-card-slider:hover .aur-swiper-nav.swiper-button-disabled{ opacity:.25 !important; }
  /* вне ховера disabled тоже полностью скрыты */
  .aur-card-slider:not(:hover) .aur-swiper-nav.swiper-button-disabled{ opacity:0 !important; }
}

/* hover/focus — слегка подсветить кружок (по желанию) */
.aur-swiper-nav:hover,
.aur-swiper-nav:focus-visible{
  background:rgba(255,255,255,.15);
  color:rgba(0,0,0,.65);
  outline:none;
}

/* иконка-стрелка (chevron) */
.aur-swiper-nav::before{
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 8px; height: 8px;
  border: 2px solid currentColor;
  border-top: none; border-right: none;
  transform: translate(-40%, -50%) rotate(45deg);
}
.aur-swiper-next::before{ transform: translate(-60%, -50%) rotate(-135deg); }

/* hover/focus — чуть заметнее, но без рамок */
.aur-swiper-nav:hover,
.aur-swiper-nav:focus-visible{
  background: rgba(255,255,255,0.15);
  color: rgba(0,0,0,.65);
  outline: none;
}

.aur-swiper-nav[disabled],
.aur-swiper-nav.swiper-button-disabled{
  opacity: .25; pointer-events: none;
}

/* показывать стрелки только при ховере на десктопах */
@media (pointer:fine){
  .aur-swiper-nav{ opacity: 0; }
  .aur-card-slider:hover .aur-swiper-nav{ opacity: .85; }
}

.aur-card-swiper:not(.swiper-initialized) .swiper-slide{ display:none; }
.aur-card-swiper:not(.swiper-initialized) .swiper-slide:first-child{ display:flex; }


.aur-card-swiper,
.aur-card-slide-link { touch-action: pan-y; }

.aur-card-img {
  -webkit-user-drag: none;
  user-select: none;
}

/* Single product: состав/уход и размеры */
.t-store__prod-popup__info .product-section__title {
  font-weight: 700;
  margin: 16px 0 8px;
}

.t-store__prod-popup__info .product-section__content {
  font-size: 14px;
  line-height: 1.5;
}

.t-store__prod-popup__col-left .woocommerce-product-gallery {
  max-width: 520px;
}

/* Рамка с соотношением сторон */
.t-store__prod-popup__col-left .woocommerce-product-gallery__image {
  aspect-ratio: 4 / 5;       /* поменяй на 3/4, 1/1 и т.п. */
  width: 100%;
  overflow: hidden;
}

.t-store__prod-popup__col-left .woocommerce-product-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* выравниваем колонки по верху */
.aur-checkout__cols { align-items: start; }

/* правую колонку не опускаем дополнительными отступами */
.aur-checkout__col--right { margin-top: 0; padding-top: 0; }

/* по умолчанию у ячеек 10px — поджимаем стык между двумя строками */
.woocommerce-checkout-review-order-table tfoot .cart-subtotal th,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td { padding-bottom: 6px; }

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td { padding-top: 6px; }

/* небольшой правый отступ у сумм в tfoot */
.woocommerce-checkout-review-order-table tfoot td {
  padding-right: 12px;
}

.aur-cci--subtotal { padding-left: 10px; padding-right: 12px; }

.woocommerce-checkout-review-order-table tfoot th {
  text-align: left !important;
  padding-left: 0;
}
.woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  padding-right: 14px;
}

.aur-compact-cart__coupon {
  margin-top: 15px;
}

/* ====== ДЕСКТОП / ТАБЛЕТ ====== */

/* шире правая колонка, чтобы уместить 50px превью и не ломать цены */
@media (min-width: 1100px) {
  .aur-checkout__cols { grid-template-columns: 1fr 450px; }
}

/* фиксированная сетка таблицы + ширины ячеек */
.aur-compact-cart__table{ width:100%; table-layout:fixed; }
.aur-compact-cart__item td.aur-cci--remove   { width:18px; }
.aur-compact-cart__item td.aur-cci--thumb    { width:56px; }
.aur-compact-cart__item td.aur-cci--name     { width:auto; }
.aur-compact-cart__item td.aur-cci--subtotal { width:96px; text-align:right; white-space:nowrap; padding-left:8px; padding-right:14px; }

/* превью 50px */
.aur-cci--thumb img { width:50px; height:auto; display:block; }

/* компактная типографика */
.aur-compact-cart__table td { padding:8px 0; }
.aur-cci--name .aur-cci__name{ font-size:14px; line-height:1.28; }
.aur-cci__qtyprice{ font-size:12px; color:#666; margin-top:2px; }

/* ====== МОБИЛЬНАЯ ВЕРСИЯ ====== */

@media (max-width: 767.98px){
  .aur-checkout__cols{ grid-template-columns: 1fr; }

  .aur-compact-cart__table td{ padding:10px 0; }

  .aur-compact-cart__item td.aur-cci--remove   { width:20px; }
  .aur-compact-cart__item td.aur-cci--thumb    { width:56px; }
  .aur-compact-cart__item td.aur-cci--name     { width:auto; }
  .aur-compact-cart__item td.aur-cci--subtotal { width:88px; padding-right:12px; }

  .aur-cci--name .aur-cci__name{ font-size:13.5px; line-height:1.3; }
  .aur-cci__qtyprice{ font-size:12px; }
}

@media (max-width: 768px){

  .aur-compact-cart__table { width:100%; table-layout: fixed; }
  .aur-compact-cart__table tbody { display: table-row-group !important; }
  .aur-compact-cart__table tr    { display: table-row !important; }
  .aur-compact-cart__table td,
  .aur-compact-cart__table th    { display: table-cell !important; vertical-align: middle; padding:10px 0; }

  .aur-compact-cart__table td::before,
  .aur-compact-cart__table th::before { content: none !important; }

  .aur-compact-cart__table td.aur-cci--remove   { width:20px !important; }
  .aur-compact-cart__table td.aur-cci--thumb    { width:56px !important; }
  .aur-compact-cart__table td.aur-cci--name     { width:auto !important; }
  .aur-compact-cart__table td.aur-cci--subtotal { width:88px !important; text-align:right; white-space:nowrap; padding-left:8px; padding-right:12px; }

  .aur-cci--thumb img { width:50px !important; height:auto !important; display:block; }

  .aur-cci--name .aur-cci__name{ font-size:14px; line-height:1.28; }
  .aur-cci__qtyprice{ font-size:12px; color:#666; margin-top:2px; }

  .aur-checkout__cols{ grid-template-columns: 1fr; }
}

/* --- Блок итогов --- */
.aur-summary .woocommerce-checkout-review-order-table thead { display: none; }
.aur-summary .woocommerce-checkout-review-order-table { table-layout: auto; }
.aur-summary .woocommerce-checkout-review-order-table tfoot th { padding-left: 0; }
.aur-summary .woocommerce-checkout-review-order-table tfoot td {
  text-align: right; white-space: nowrap; padding-right: 10px;
}

/* ======= ДОСТАВКА ======= */
.aur-summary .woocommerce-shipping-totals th { display: none; }
.aur-summary .woocommerce-shipping-totals td { padding: 10px 0; }

/* список способов доставки */
.aur-summary .woocommerce-shipping-methods { margin: 6px 0 0; padding: 0; list-style: none; }
.aur-summary .woocommerce-shipping-methods li {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border: 0 !important;
}
.aur-summary .woocommerce-shipping-methods li::before,
.aur-summary .woocommerce-shipping-methods li::after { display: none !important; content: none !important; }

/* чекбокс */
.aur-summary .woocommerce-shipping-methods .shipping_method{
  display: inline-block !important;
  position: static !important; float: none !important;
  margin: 0; width: 21px; height: 21px;
  appearance: none; -webkit-appearance: none;
  border: 2px solid #cfcfcf; border-radius: 6px; background: #fff;
}
.aur-summary .woocommerce-shipping-methods .shipping_method:checked{
  border-color: #111;
  background: linear-gradient(#111,#111) center/13px 13px no-repeat #fff;
}

.aur-summary .woocommerce-shipping-methods label{
  flex: 1 1 auto;
  display: flex !important; align-items: center; gap: 10px;
  margin: 0; font-weight: 400; line-height: 1.3; color: #111;
  text-align: left; white-space: normal;
}
.aur-summary .woocommerce-shipping-methods label .woocommerce-Price-amount{
  margin-left: auto; white-space: nowrap;
}

.aur-summary .woocommerce-shipping-methods input[type="hidden"].shipping_method + label{
  position: relative; padding-left: 35px;
}
.aur-summary .woocommerce-shipping-methods input[type="hidden"].shipping_method + label::before{
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 21px; height: 21px; border: 2px solid #cfcfcf; border-radius: 6px; background: #fff;
}
.aur-summary .woocommerce-shipping-methods input[type="hidden"].shipping_method + label::after{
  content: ""; position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 13px; height: 13px; background: #111; border-radius: 3px;
}

/* ======= ОПЛАТА ======= */
#payment .wc_payment_methods { margin: 8px 0 0; padding: 0; list-style: none; }
#payment .wc_payment_methods .wc_payment_method{
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid #eee;
}
#payment .wc_payment_methods .wc_payment_method:last-child { border-bottom: 0; }

#payment .wc_payment_methods .wc_payment_method > input.input-radio{
  display: inline-block !important; position: static !important; margin: 0;
  width: 21px; height: 21px; appearance: none; -webkit-appearance: none;
  border: 2px solid #cfcfcf; border-radius: 6px; background: #fff;
}
#payment .wc_payment_methods .wc_payment_method > input.input-radio:checked{
  border-color: #111;
  background: linear-gradient(#111,#111) center/13px 13px no-repeat #fff;
}

#payment .wc_payment_methods .wc_payment_method > label{
  display: flex; align-items: center; gap: 10px;
  margin: 0; font-weight: 700; font-size: 16px; line-height: 1.3; white-space: nowrap;
}
#payment .wc_payment_methods .wc_payment_method > label img{
  height: 28px; width: auto; display: block;
}

/* ======= МОБИЛКА ======= */
@media (max-width: 768px){
  .aur-checkout__cols{ grid-template-columns: 1fr; }
  .section-title{ margin: 14px 0 8px; font-size: 18px; }
  .aur-summary .woocommerce-shipping-methods label,
  #payment .wc_payment_methods .wc_payment_method > label{ cursor: pointer; }
  #place_order{ width: 100%; }
}

/* ===== одинаковые вертикальные отступы между секциями ===== */
.aur-compact-cart{ margin-bottom: 20px; }
.aur-summary .woocommerce-shipping-totals td{ padding: 8px 0; }
#payment{ margin-top: 20px; }
#place_order{ margin-top: 16px; }

.aur-summary .woocommerce-checkout-review-order-table tfoot th,
.aur-summary .woocommerce-checkout-review-order-table tfoot td{
  padding: 6px 0 !important;
  text-align: left !important;
  white-space: nowrap;
}

.aur-summary .woocommerce-checkout-review-order-table tfoot .order-total th,
.aur-summary .woocommerce-checkout-review-order-table tfoot .cart-subtotal th{
  font-weight: 700;
}

.aur-summary .woocommerce-shipping-methods .shipping_method:checked{
  background: linear-gradient(#111,#111) center/13px 13px no-repeat #fff;
}
.aur-summary .woocommerce-shipping-methods label .woocommerce-Price-amount{
  margin-left: auto; white-space: nowrap;
}

.aur-compact-cart { margin-bottom: 20px; }
#payment { margin-top: 20px; }
#place_order { margin-top: 16px; }


.aur-summary { --aur-totals-label-w: 120px; }
.aur-summary .woocommerce-checkout-review-order-table tfoot tr{
  display: flex; align-items: baseline; gap: 12px;
}
.aur-summary .woocommerce-checkout-review-order-table tfoot th{
  flex: 0 0 var(--aur-totals-label-w);
  width: var(--aur-totals-label-w);
  padding: 6px 0 !important;
  text-align: left !important;
}
.aur-summary .woocommerce-checkout-review-order-table tfoot td{
  padding: 6px 0 !important;
  text-align: left !important;
  white-space: nowrap;
}

@media (max-width: 768px){
  .aur-summary { --aur-totals-label-w: 100px; }
}

.aur-summary .section-title { margin: 20px 0 12px; }
.aur-summary .aur-row-shipping-title .section-title { margin: 20px 0 12px; }

#payment { border: 0 !important; background: transparent !important; }
#payment .wc_payment_methods,
#payment .wc_payment_methods .wc_payment_method {
  border: 0 !important;
}

.aur-summary .woocommerce-checkout-review-order-table .aur-row-shipping-title th{
  padding: 0 !important;
  border: 0 !important;
  line-height: 1.2;
}

.aur-summary .aur-row-shipping-title .section-title{
  margin: 20px 0 12px !important;
}

.aur-summary .woocommerce-shipping-totals td{ padding-top: 4px; }




/* Контейнер «спасибо» */
.woocommerce-order {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 32px) 16px 64px;
}

/* Заголовок и подзаголовок */
.ty-head {
  text-align: center;
  margin: clamp(16px, 4vw, 40px) auto;
  max-width: 920px;
}

.ty-title {
  margin: 0 0 8px;
  font-weight: 600;
  line-height: 1.25;
  font-size: clamp(24px, 2.2vw + 14px, 36px);
}

.ty-subtitle {
  margin: 0;
  color: #222;
  opacity: .85;
  line-height: 1.5;
  /* от ~16px до ~20px */
  font-size: clamp(16px, 1vw + 12px, 20px);
}


.ty-order {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  list-style: none;
  padding: 0;
  margin: clamp(12px, 2vw, 24px) auto 32px;
  font-size: 14px;
  color: #555;
}
.ty-order li { margin: 0; }


.ty-hero {
  display: block;
  margin: clamp(12px, 3vw, 28px) auto 0;

  max-width: min(100%, 1080px);
}
.ty-hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}


@media (max-width: 480px) {
  .woocommerce-order { padding-bottom: 40px; }
  .ty-order { font-size: 13px; }
}


.ty-failed {
  text-align: center;
}

.ty-failed .ty-title {
  margin: 0 0 clamp(14px, 3vw, 24px);
}


.ty-retry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 1;
  /*border-radius: 8px;*/
}


@media (min-width: 1024px) {
  .ty-failed .ty-title {
    margin-bottom: 32px;
  }
  .ty-retry-btn {
    padding: 16px 36px;
    font-size: 18px;
    /*border-radius: 10px;*/
  }
}

.ty-retry-btn,
.ty-retry-btn:visited,
.ty-retry-btn:hover,
.ty-retry-btn:focus,
.ty-retry-btn:active {
  text-decoration: none;
}

.ty-retry-btn:focus {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}

/* Контейнер пустой корзины */
.emptycart {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) 16px 64px;
}

.emptycart-head {
  text-align: center;
  margin: 0 auto clamp(24px, 5vw, 56px);
  max-width: 920px;
}

.emptycart-title {
  margin: 0 0 clamp(16px, 3vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  font-size: clamp(22px, 2.2vw + 14px, 34px);
}

.emptycart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  /*border-radius: 8px;*/
  text-decoration: none;
}

@media (min-width: 1024px) {
  .emptycart-btn {
    padding: 16px 36px;
    font-size: 18px;
    /*border-radius: 10px;*/
  }
}

.emptycart-products {
  margin-top: clamp(24px, 6vw, 72px);
}

.return-to-shop { display: none; }

#pk_pay_form input[type="submit"] {
  display: none !important;
}

@media (max-width: 768px) {
  .xoo-wsc-footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
  }
}


