/* ── Top nav row ── */
.cart-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.woocommerce-notices-wrapper{
    display:none;
}

.cart-back-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #1b1b1b;
  font-size: 16px;
  font-weight: 500;
  transition: opacity 0.15s;
}

.cart-back-link:hover {
  opacity: 0.65;
}

.cart-back-arrow {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-step-label {
  font-size: 16px;
  color: #424242;
  font-weight: 500;
}

/* ── Main heading ── */
.cart-main-heading {
  font-size: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
}

/* ── Layout: left + right ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: start;
}

/* ── Left column ── */
.cart-left-col {
  display: flex;
  flex-direction: column;
}

/* ── Select all row ── */
.cart-select-all-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 0;
}

.cart-select-all-label {
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* ── Table header ── */
.cart-table-header {
  display: grid;
  /* grid-template-columns: 1fr 120px 160px 120px 60px; */
  grid-template-columns: 1fr 115px 154px 120px 60px;
  gap: 0;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8e8;
}

.cart-col-header {
  font-size: 14px;
  color: #424242;
  font-weight: 500;
}

/* ── Product row ── */
.cart-product-row {
  display: grid;
  /* grid-template-columns: 40px 1fr 120px 160px 120px 60px; */
  grid-template-columns: 40px 1fr 107px 153px 92px 60px;
  gap: 13px;
  padding: 18px 0;
  border-bottom: 1px solid #e8e8e8;
  align-items: center;
}

.cart-product-checkbox-cell {
  display: flex;
  align-items: center;
  margin-bottom: auto;
}

.cart-product-info-cell {
  display: flex;
  align-items: center;
  gap: 26px;
}

.cart-product-img-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Placeholder bucket icon */
.cart-product-img-placeholder {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-product-code {
  font-size: 14px;
  color: #767676;
}

.cart-product-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.cart-product-price-cell {
  font-size: 14px;
  font-weight: 500;
}

/* ── Quantity stepper ── */
.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 5px;
  padding: 12px 14px;
  width: fit-content;
  background: #ebebeb;
  width: 100px;
}

.cart-qty-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: #444;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
  font-weight: 500;
}

.cart-qty-btn:hover {
  color: #000;
}

.cart-qty-value {
  font-size: 14px;
  font-weight: 600;
  min-width: 16px;
  text-align: center;
}

.cart-product-total-cell {
  font-size: 14px;
  font-weight: 700;
}

/* ── Action icons cell ── */
.cart-product-actions-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.cart-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #ccc;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #efefef;
  width: 34px;
  height: 34px;
  border-radius: 5px;
}

.cart-icon-btn:hover svg path {
  fill: #e05555;
}

.cart-icon-btn--heart:hover {
  color: #e05555;
}

.cart-icon-btn--heart {
  display: none;
}

.cart-icon-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
}

.cart-heart-icon-filled {
  stroke: #e05555;
  color: #e05555;
}

.cart-clear-btn {
  width: 200px;
  margin-top: 30px;
}

/* ── Right sidebar ── */
.cart-sidebar-card {
  border: 1px solid #a2a2a2;
  box-shadow: 0px 0px 18.4px #cecece;
  border-radius: 10px;
  padding: 40px 25px;
  position: sticky;
  top: 24px;
}

.cart-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cart-sidebar-divider {
  height: 1px;
  background: #ebebeb;
  margin-bottom: 14px;
}

.cart-sidebar-count {
  font-size: 13px;
  color: #424242;
  margin-bottom: 10px;
}

.cart-sidebar--box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cart-sidebar-total-price {
  font-size: 18px;
  font-weight: 500;
}

.cart-sidebar-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.cart-sidebar-total-label {
  font-size: 16px;
  font-weight: bold;
}

.cart-sidebar-total-amount {
  font-size: 18px;
  font-weight: bold;
}

.cart-checkout-btn {
  width: 100%;
  padding: 12px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cart-checkout-btn:hover {
  background: transparent;
  outline: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.cart-layout__calculation .tab-btn {
  background: #ebebeb;
  border-radius: 10px;
  width: 200px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: none;
  font-weight: bold;
  color: #888888;
  cursor: pointer;
  transition: 0.4s;
}

.cart-layout__calculation .tab-btn.active,
.cart-layout__calculation .tab-btn:hover {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.cart-layout__calculation .tab-btn:first-child.active svg path,
.cart-layout__calculation .tab-btn:first-child:hover svg path {
  stroke: var(--color-primary);
}

.cart-layout__calculation .tab-btn:last-child.active svg path,
.cart-layout__calculation .tab-btn:last-child:hover svg path {
  fill: var(--color-primary);
}

.cart-layout__calculation .tab-switcher {
  gap: 20px;
  display: flex;
  margin-bottom: 30px;
  background: transparent;
}

.cart-layout__fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 30px;
}

.cart-layout__fields .fields:first-child {
  grid-column: 3/1;
}

.fields {
  border-radius: 10px;
  border: 1px solid #a2a2a2;
  padding: 16px 30px;
  font-size: 14px;
  width: 100%;
}

.fields::placeholder {
  color: #a2a2a2;
}

.cart-layout__label {
  margin-bottom: 35px;
  font-weight: bold;
  font-size: 16px;
}

.field-wrapper .cart-layout__label{
  margin-bottom: 20px;
}

.cart-layout__info {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
}

.cart-layout__box:not(:last-child) {
  margin-bottom: 45px;
}

.input-radio__check {
  background: #ffffff;
  border: 1px solid #a2a2a2;
  border-radius: 10px;
  padding: 25px 20px;
  display: flex;
  gap: 10px;
  position: relative;
}

.input-radio__check .cart-layout__box-content{
  display: flex;
  gap: 10px;
}

.input-radio__check:not(:last-child) {
  margin-bottom: 20px;
}

.input-radio__check--text {
  flex: 2;
}

.input-radio__check--text--t {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.input-radio__check--label {
  font-size: 14px;
  font-weight: bold;
}

.checkboxs--field {
  position: relative;
}

.checkboxs--field input {
  opacity: 0;
  position: absolute;
  width: 19px;
  height: 19px;
  left: 0;
  top: 0;
  margin: 0;
  cursor: pointer;
}

.checkboxs--field input:checked + .checkmark {
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 14 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.585655 2.8631L5.33566 8.8006L12.4607 0.488098' stroke='%23007CD4' stroke-width='1.5'/%3E%3C/svg%3E%0A");
  background-position: 100% 50%;
  background-repeat: no-repeat;
  border-color: var(--color-primary);
}

.checkmark {
  width: 19px;
  height: 19px;
  border: 2px solid #a2a2a2;
  border-radius: 5px;
  display: block;
}

.input-radio__check--info {
  margin-left: 39px;
  font-size: 14px;
  font-weight: 500;
}

.input-radio__check__dates {
  flex: 1;
  display: flex;
  margin-left: auto;
  z-index: 1;
  gap: 15px;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
}

.input-radio__check .checkboxs--field {
  position: static;
}

.input-radio__check .checkboxs--field input {
  inset: 0;
  width: 100%;
  height: 100%;
}

.input-radio__check--date {
  border-radius: 10px;
  border: 1px solid #a2a2a2;
  padding: 4px 15px 4px 15px;
  min-width: 121px;
  height: max-content;
}

.input-radio__check--top span {
  font-size: 12px;
  color: #1b1b1b;
}

.input-radio__check--arrow {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.input-radio__check--arrow svg {
  width: 8px;
  height: 6px;
}

.input-radio__check--ins {
  font-size: 14px;
  color: #1b1b1b;
  outline: none;
}

.input-radio__check .input-radio__check--ins::placeholder{
  color: #1b1b1b;
  opacity: 0;
}

.input-radio__check--top {
  display: flex;
  gap: 10px;
}

.input-radio__check:has(.checkboxs--field input:checked)
  .input-radio__check__dates {
  opacity: 1;
  pointer-events: all;
}

.cart-fields--input {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-fields--input label,
.cart-fields--input > p {
  font-weight: bold;
  font-size: 16px;
}

.cart-fields-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 42px;
  margin-top: 40px;
}

.block-show-sh {
  background: #ffffff;
  border: 1px solid #a2a2a2;
  box-shadow: 0px 0px 18.4px #cecece;
  border-radius: 10px;
  padding: 20px;
  position: absolute;
  top: 122%;
  width: 320px;
  right: 0;
  transition: 0.4s;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.cart-fields--arrow {
  position: relative;
}

.cart-fields--arrow:after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='15' height='9' viewBox='0 0 15 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.5498 0.510345L7.0498 7.51035L0.549805 0.510345' stroke='%23A2A2A2' stroke-width='1.5'/%3E%3C/svg%3E%0A");
  width: 15px;
  height: 9px;
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 17px;
  cursor: pointer;
}

.input-radio__check .cart-fields--arrow:after {
  display: none;
}

.block-show-sh__time {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 20px;
}

.block-show-sh__time--item {
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  color: var(--color-primary);
  padding: 7px 19px;
  font-size: 14px;
  background: transparent;
  cursor: pointer;
}

.block-show-sh.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.tab--payment {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 42px;
  margin-bottom: 20px;
}

.tab--payment .tab-btn {
  display: flex;
  align-items: center;
  position: relative;
  height: 53px;
  border: 1px solid #a2a2a2;
  padding: 17px 21px;
  gap: 32px;
  border-radius: 10px;
  background: transparent;
}

.tab--payment .tab-btn.active {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tab--payment .checkboxs--field {
  position: static;
}

.tab--payment .checkboxs--field input {
  inset: 0;
  width: 100%;
  height: 100%;
}

.cart-fields__polyc {
  display: flex;
  gap: 33px;
  margin-top: 20px;
}

.cart-fields__polyc span {
  font-size: 12px;
  color: #838383;
  line-height: 150%;
}

.cart-fields__polyc span a {
  text-decoration: underline;
}

[data-tab-panel="check"] .cart-fields-col {
  margin-top: 0;
}

[data-tab-panel="check"] {
  display: grid;
  grid-gap: 30px;
}

.account__inner--wrapp {
  border-radius: 10px;
  border: 1px solid #a2a2a2;
  box-shadow: 0px 0px 18.4px #eeeeee;
  padding: 50px 60px;
}

.orders-top {
  display: grid;
  grid-gap: 10px;
  border-bottom: 1px solid #a2a2a2;
  padding-bottom: 25px;
  margin-bottom: 40px;
}

.orders-bottom {
  display: grid;
  grid-gap: 25px;
}

.orders-bottom__box {
  display: flex;
  gap: 30px;
}

.order-bottom__step {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #838383;
  font-size: 16px;
  font-weight: bold;
}

.order-bottom__step.passed {
  color: #2bd314;
}

.order-bottom__step.passed svg path {
  stroke: #2bd314;
}

.order-bottom__step.passed:nth-of-type(2) svg path {
  fill: #2bd314;
  stroke: transparent;
}

.order-bottom__step:not(:last-child):after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='67' height='13' viewBox='0 0 67 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 6.66314H65M65 6.66314L54.0312 0.43457M65 6.66314L54.0312 12.4346' stroke='%23838383'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: 0 50%;
  width: 67px;
  height: 13px;
  margin-left: 20px;
}

.order-bottom__step.passed:has(+ .passed):after {
  background-image: url("data:image/svg+xml,%3Csvg width='67' height='13' viewBox='0 0 67 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 6.66314H65M65 6.66314L54.0312 0.43457M65 6.66314L54.0312 12.4346' stroke='%232BD314'/%3E%3C/svg%3E%0A");
}

.orders-bottom__line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.orders-bottom__line--right {
  display: flex;
  gap: 30px;
}

.orders-block-title {
  font-size: 20px;
  font-weight: bold;
  color: #1b1b1b;
}

.orders-bottom__line--info {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.orders-bottom__line--item {
  flex: 1;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.orders-bottom__line--item span {
  font-weight: bold;
}

.cart-product-checkbox-cell .cart-product-img-placeholder,
.cart-product-info-cell .cart-product-price-cell {
  display: none;
}

@media (max-width: 992px) {
  .cart-icon-btn {
    width: 26px;
    height: 26px;
  }
  .cart-icon-btn svg {
    width: 11px;
    height: 11px;
  }
  .tab--payment,
  .cart-fields-col {
    grid-template-columns: 100%;
    grid-gap: 20px;
  }
  .cart-fields-col {
    margin-top: 30px;
  }
  .fields {
    padding: 13px 25px;
  }
  .cart-fields__polyc {
    gap: 15px;
  }
  .tab--payment .tab-btn {
    font-size: 14px;
    gap: 19px;
  }
  .orders-block-title {
    font-size: 18px;
  }
  .orders-bottom__line .orders-block-title {
    margin-bottom: 20px;
  }
  .orders-bottom__line {
    flex-direction: column;
  }
  .orders-bottom__line--info {
    flex-direction: column;
    gap: 35px;
  }
  .orders-bottom__box {
    flex-direction: column;
    gap: 15px;
  }
  .order-bottom__step {
    flex-wrap: wrap;
  }
  .order-bottom__step:not(:last-child):after {
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='27' viewBox='0 0 13 27' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.1894 0V26M6.1894 26L12.418 17.225M6.1894 26L0.417969 17.225' stroke='%23838383'/%3E%3C/svg%3E%0A");
    width: 100%;
    height: 27px;
    margin-left: 0;
  }
  .order-bottom__step.passed:has(+ .passed):after {
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='27' viewBox='0 0 13 27' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.1894 0V26M6.1894 26L12.418 17.225M6.1894 26L0.417969 17.225' stroke='%232BD314'/%3E%3C/svg%3E%0A");
  }
  .cart-product-info-cell .cart-product-img-placeholder {
    display: none;
  }
  .cart-product-checkbox-cell {
    flex-direction: column;
    display: flex;
    gap: 20px;
  }
  .cart-product-checkbox-cell .checkboxs--field {
    margin-right: auto;
  }

  .cart-product-row {
    grid-template-columns: 20% 1fr 30%;
    grid-template-rows: auto auto;
  }

  /* .cart-product-price-cell,
  .cart-product-total-cell {
    grid-column: 3;
  } */

  .cart-product-total-cell {
    grid-column: 3;
    grid-row: 2 / 2;
    font-size: 18px;
  }

  .cart-layout {
    grid-template-columns: 100%;
    grid-gap: 45px;
  }
  .cart-product-info-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cart-product-info-cell .cart-product-price-cell {
    display: block;
    font-size: 16px;
    color: #888888;
  }
  .cart-product-price-cell {
    display: none;
  }
  .cart-product-checkbox-cell .cart-product-img-placeholder {
    display: block;
  }
  .cart-qty-cell {
    grid-row: 2 / 2;
    grid-column: 3 / 1;
  }
  .cart-qty-stepper {
    margin-left: auto;
    display: flex;
    width: 71%;
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .input-radio__check:has(.checkboxs--field input:checked)
    .input-radio__check__dates {
    display: flex;
  }
  .input-radio__check--text--t {
    gap: 16px;
  }
  .input-radio__check--info {
    margin-left: 0;
  }
  .input-radio__check {
    flex-direction: column;
  }
  .input-radio__check .cart-layout__box-content{
    flex-direction: column;
  }
  .input-radio__check__dates {
    width: 100%;
    margin: auto;
    display: none;
  }
  .cart-layout__label {
    margin-bottom: 20px;
  }
  .cart-layout__info {
    font-size: 14px;
    margin-top: 30px;
  }
  .cart-layout__fields {
    grid-template-columns: 100%;
  }
  .cart-layout__fields .fields:first-child {
    grid-column: auto;
  }
  .cart-layout__calculation .tab-btn {
    font-size: 14px;
  }
  .cart-layout__calculation .tab-switcher {
    gap: 18px;
  }
  .account__inner--wrapp {
    padding: 40px 25px;
  }

  .cart-table-header {
    display: none;
  }
}

/* Стили для работы с tabs.js */
[data-tab-panel][hidden] {
  display: none !important;
}


/* Стили для ошибок валидации */
.cart-fields--input {
  position: relative;
}

.cart-fields-col .cart-fields--input {
  position: relative;
}

.field-error {
  color: red;
  font-size: 12px;
  position: absolute;
  bottom: -20px;
  left: 0;
  white-space: nowrap;
}

/* Empty cart state */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 60px 20px;
    text-align: center;
}

.cart-empty-state__icon {
    margin-bottom: 32px;
    animation: fadeInScale 0.5s ease-out;
    background: var(--color-light);
    border-radius: 50%;
    padding: 25px;
}

.cart-empty-state__icon svg {
    display: block;
    width: 60px;
    height: 60px;
}

.cart-empty-state__title {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #1B1B1B;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.cart-empty-state__text {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #888888;
    margin-bottom: 32px;
    max-width: 400px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.cart-empty-state__button {
    display: inline-block;
    background: #007CD4;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 40px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.cart-empty-state__button:hover {
    background: #0066b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 212, 0.3);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .cart-empty-state {
        min-height: 50vh;
        padding: 40px 20px;
    }
    
    .cart-empty-state__title {
        font-size: 24px;
    }
    
    .cart-empty-state__text {
        font-size: 14px;
    }
    
    .cart-empty-state__button {
        padding: 14px 32px;
        font-size: 14px;
    }
}

/* Toast notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast--show {
    opacity: 1;
    transform: translateX(0);
}

.toast--info {
    border-left: 4px solid #2196F3;
}

.toast--success {
    border-left: 4px solid #4CAF50;
}

.toast--error {
    border-left: 4px solid #F44336;
}

.toast__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.toast__message {
    flex: 1;
    font-size: 14px;
    color: #1B1B1B;
    line-height: 1.4;
}

.toast__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast__restore {
    background: #007CD4;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.toast__restore:hover {
    background: #0066b3;
}

.toast__restore:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.toast__close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: #888;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast__close:hover {
    color: #1B1B1B;
}

[data-tab-panel="payment-cheque"] .cart-fields-col{
  margin-top: 0;
  margin-bottom: 30px;
}

.variation-item{
  display: flex;
  gap: 4px;
  font-size: 12px;
  opacity: .5;
  margin-top: 3px;
}

@media (max-width: 768px) {
    .toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .toast__content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toast__actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Кастомное отображение атрибутов товара в корзине */
.woocommerce-cart-form__cart-item .product-name {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.woocommerce-cart-form__cart-item .variation {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.woocommerce-cart-form__cart-item .variation dt,
.woocommerce-cart-form__cart-item .variation dd {
  display: inline;
  margin: 0;
  font-size: 13px;
}

.woocommerce-cart-form__cart-item .variation dt {
  font-weight: 500;
  color: #757575;
}

.woocommerce-cart-form__cart-item .variation dt::after {
  content: ': ';
}

.woocommerce-cart-form__cart-item .variation dd {
  color: #424242;
}

.woocommerce-cart-form__cart-item .variation p {
  margin: 0;
  display: flex;
  gap: 4px;
}

/* Для мини-корзины */
.widget_shopping_cart .variation {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
  font-size: 12px;
}

.widget_shopping_cart .variation dt {
  font-weight: 500;
  color: #757575;
}

.widget_shopping_cart .variation dt::after {
  content: ': ';
}

.widget_shopping_cart .variation dd {
  color: #424242;
  margin: 0;
}
