/* ====== CART SIDEBAR STYLES — rec switched to #rec1474010131, font = "YoungRich" ====== */

/* Кнопка CHECK OUT — как кнопки размеров, НЕ жирная */
#rec1474010131 .t706__sidebar-bottom .t-btnflex.t-btnflex_type_button.t706__sidebar-continue{
  display: flex !important;
  align-items: center; justify-content: center;
  width: 100% !important;
  height: 44px !important;
  padding: 0 22px !important;

  font-family: "YoungRich", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 400 !important;            /* не жирный */
  font-size: 14px !important;
  letter-spacing: normal !important;
  text-transform: uppercase !important;

  background: transparent !important;
  color: #111 !important;
  -webkit-text-fill-color: #111 !important;

  border: 1px solid var(--size-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
#rec1474010131 .t706__sidebar-bottom .t-btnflex.t-btnflex_type_button.t706__sidebar-continue:hover{
  background: var(--size-fill) !important;
  border-color: var(--size-hover) !important;
}
#rec1474010131 .t706__sidebar-bottom .t-btnflex__text{ color: inherit !important; }
/* На всякий случай глушим инлайн- внутри кнопки */
#rec1474010131 .t706__sidebar-bottom style{ display:none !important; }

/* ====== Скрыть плюс/минус полностью ====== */
#rec1474010131 .t706__product-plusminus .t706__product-minus,
#rec1474010131 .t706__product-plusminus .t706__product-plus{
  display: none !important;
}
#rec1474010131 .t706__product-plusminus img{ display: none !important; }
#rec1474010131 .t706__product-plusminus{
  min-width: 24px; text-align: center;
}

/* ====== Крестик удаления: ровный X без кружка ====== */
#rec1474010131 .t706__product-del img{ display: none !important; } /* убираем стандартную иконку */
#rec1474010131 .t706__product-del{
  position: relative; display: inline-block;
  width: 20px; height: 20px; cursor: pointer;
}
#rec1474010131 .t706__product-del::before,
#rec1474010131 .t706__product-del::after{
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 16px; height: 2px; background: #000; transform-origin: center;
}
#rec1474010131 .t706__product-del::before{ transform: translate(-50%,-50%) rotate(45deg); }
#rec1474010131 .t706__product-del::after{  transform: translate(-50%,-50%) rotate(-45deg); }
#rec1474010131 .t706__product-del:hover::before,
#rec1474010131 .t706__product-del:hover::after{ background: #111; }

/* ====== Разделители: только перекрасить (не добавляем новые) ====== */
#rec1474010131 .t706__product,
#rec1474010131 .t706__sidebar-top,
#rec1474010131 .t706__sidebar-products,
#rec1474010131 .t706__sidebar-prodamount-wrap,
#rec1474010131 .t706__sidebar-bottom{
  border-color: var(--size-border) !important;
}

/* выравниваем строку итога: текст слева, сумма справа */
#rec1474010131 .t706__cartwin-totalamount-content{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  padding:10px 0 !important;
}
/* на всякий случай убираем возможные старые псевдо-лейблы */
#rec1474010131 .t706__cartwin-totalamount-content::before,
#rec1474010131 .t706__sidebar-prodamount-wrap::before{ content:none !important; }

/* ПРЯЧЕМ исходный текст "Сумма:" и подменяем на Estimated Total */
#rec1474010131 .t706__sidebar-totalamount-label{
  font-size:0 !important;
  line-height:0 !important;
  color:transparent !important;
  font-weight:400 !important;         /* чтобы точно не было жирным */
  text-transform:none !important;
  position:relative;
  white-space:nowrap;
}
#rec1474010131 .t706__sidebar-totalamount-label::after{
  content:"ESTIMATED TOTAL";
  font-family:"YoungRich", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size:14px;
  line-height:1.4;
  font-weight:400;                    /* не жирный */
  color:#111;
  letter-spacing:normal;
}

/* Сумма — справа и жирная */
#rec1474010131 .t706__sidebar-totalamount{
  margin-left:auto !important;
  display:flex !important;
  align-items:baseline !important;
  gap:4px !important;
  color:#111 !important;
  font-weight:700 !important;
}
#rec1474010131 .t706__sidebar-totalamount .t706__cartwin-prodamount-price,
#rec1474010131 .t706__sidebar-totalamount .t706__cartwin-prodamount-currency{
  font-weight:700 !important;
}

/* если вдруг используется альтернативный набор классов — тоже перекроем */
#rec1474010131 .t706__cartwin-totalamount-label{ display:none !important; }
#rec1474010131 .t706__cartwin-totalamount{
  margin-left:auto !important;
  display:flex !important;
  gap:4px !important;
  font-weight:700 !important;
}

/* Триггеры открытия корзины */
a[href="#open-cart"],
.js-open-cart{
  cursor: pointer !important;
}

/* Цвета для рамок/ховера */
:root{
  --size-border: #9a9a9a; /* серая обводка */
  --size-fill:   #ececec; /* светло-серый фон на hover */
  --size-hover:  #a8a8a8; /* обводка на hover */
}

/* Перебиваем инлайн-стиль внутри submit-кнопки более специфичным селектором */
#rec1474010131 button.t-btnflex.t-btnflex_type_submit{
  display: inline-flex !important;
  align-items: center; justify-content: center;

  height: 44px !important;
  padding: 0 22px !important;

  font-family: "YoungRich", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 400 !important;           /* НЕ жирный */
  font-size: 14px !important;
  letter-spacing: normal !important;
  text-transform: uppercase !important;

  color: #111 !important;
  -webkit-text-fill-color: #111 !important;
  background: transparent !important;

  border: 1px solid var(--size-border) !important; /* серая обводка */
  border-radius: 0 !important;
  box-shadow: none !important;

  transition: background .15s ease, border-color .15s ease, color .15s ease;
  cursor: pointer;
}

/* Подсветка при наведении как у кнопок размеров */
#rec1474010131 button.t-btnflex.t-btnflex_type_submit:hover{
  background: var(--size-fill) !important;
  border-color: var(--size-hover) !important;
}

/* Текст внутри наследует цвет и вес */
#rec1474010131 button.t-btnflex.t-btnflex_type_submit .t-btnflex__text{
  color: inherit !important;
  font-weight: 400 !important;
}

/* Состояние disabled (если используется) */
#rec1474010131 button.t-btnflex.t-btnflex_type_submit:disabled{
  opacity: .6; cursor: not-allowed;
}


/* ====== CART: replace "Ваш заказ" → "YOUR ORDER", set all fonts to 18px, use YoungRich ====== */

/* Base font for the whole cart record */
#rec1474010131,
#rec1474010131 .t706,
#rec1474010131 .t706 *{
  font-family: "YoungRich", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif !important;

}

/* Hide original Russian headings and inject EN text */
#rec1474010131 .t706__cartpage-heading.t-name.t-name_xl,
#rec1474010131 .t706__sidebar-heading.t-name.t-name_xl{
  font-size: 0 !important;       /* hide original */
  line-height: 0 !important;
  color: transparent !important;
  position: relative;
}

#rec1474010131 .t706__cartpage-heading.t-name.t-name_xl::after,
#rec1474010131 .t706__sidebar-heading.t-name.t-name_xl::after{
  content: "YOUR ORDER";
  display: block;
  font-family: "YoungRich", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;               /* как на сайте */
  font-size: 18px;                /* требуемый размер */
  line-height: 1.2;
  color: #111;
  letter-spacing: 0;
}





/* ===== CHECKOUT buttons = 16px (YoungRich) ===== */
#rec1474010131 .t706__sidebar-bottom .t-btnflex.t-btnflex_type_button.t706__sidebar-continue,
#rec1474010131 button.t-btnflex.t-btnflex_type_submit{
  font-family: "YoungRich", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 16px !important;     /* только тут 16px */
  font-weight: 400 !important;    /* не жирная, как и просил */
  letter-spacing: normal !important;
  text-transform: uppercase !important;
}

/* Replace Tilda empty-cart message with "EMPTY" */
/* Tilda: заменить текст "Корзина пуста..." на "EMPTY" */
/* ===== EMPTY state with GREY logo + text ===== */
#rec1474010131 {
  --empty-gray: #6a6a6a; /* подгони оттенок, если нужно */
}

#rec1474010131 .t706__cartpage-products_empty{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 180px;
  color: transparent !important;   /* скрываем русское сообщение */
  text-align: center;
}

/* ЛОГО: красим точно в серый через mask */
#rec1474010131 .t706__cartpage-products_empty::before{
  content: "";
  width: 230px;                  /* можно поменять */
  height: 90px;
  -webkit-mask: url("https://optim.tildacdn.pub/tild3666-6363-4365-b266-633931633735/-/format/webp/PodvalYR.png.webp")
                no-repeat center / contain;
          mask: url("https://optim.tildacdn.pub/tild3666-6363-4365-b266-633931633735/-/format/webp/PodvalYR.png.webp")
                no-repeat center / contain;
  background-color: var(--empty-gray); /* СЕРЫЙ цвет лого */
  -webkit-user-drag: none;
  user-select: none;
}

/* Текст EMPTY — тоже серый */
#rec1474010131 .t706__cartpage-products_empty::after{
  content: "EMPTY";
  font-family: "YoungRich", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--empty-gray);
  letter-spacing: 0;
  pointer-events: none;
}

/* убрать скругления у картинок (cart + store) */
#rec1474010131 .t706__product-imgdiv,
#rec1474010131 .t706__product-img,
.t-store__card__bgimg,
.t-store__card__imgwrapper,
.t-store__card__thumb,
.t-store__img{
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  overflow: visible !important;   /* чтобы не маскировало углы */
  box-shadow: none !important;    /* на всякий — если скругление было тенью */
}

/* если где-то тянут скругление из inline-style */
#rec1474010131 .t706__product-imgdiv[style*="border-radius"],
.t-store__card__bgimg[style*="border-radius"]{
  border-radius: 0 !important;
}


