/* =========================================================
   ZIPPO / WooCommerce Cart (SHORTCODE VERSION)
   assets/css/woocommerce-cart.css
   Для классической корзины WooCommerce через [woocommerce_cart]
   ========================================================= */

:root {
  --zip-cart-bg: #070708;
  --zip-cart-bg-2: #0b0b0f;
  --zip-cart-bg-3: #111117;
  --zip-cart-surface: rgba(14, 14, 18, 0.96);
  --zip-cart-surface-2: rgba(255, 255, 255, 0.03);

  --zip-cart-text: #f4f4f6;
  --zip-cart-muted: rgba(255, 255, 255, 0.58);
  --zip-cart-line: rgba(255, 255, 255, 0.08);
  --zip-cart-line-2: rgba(255, 255, 255, 0.12);

  --zip-cart-accent: #a5332b;
  --zip-cart-accent-hover: #c34a40;
  --zip-cart-danger: #a5332b;

  --zip-cart-radius-sm: 10px;
  --zip-cart-radius: 16px;
  --zip-cart-radius-lg: 20px;

  --zip-cart-shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.22);
  --zip-cart-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);

  --zip-cart-container: 1440px;
}

/* =========================================================
   BASE
   ========================================================= */

body.woocommerce-cart {
  background:
    radial-gradient(circle at top left, rgba(120, 20, 12, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 18%),
    linear-gradient(180deg, #070708 0%, #0a0a0d 100%);
  color: var(--zip-cart-text);
}

body.woocommerce-cart .site-main,
body.woocommerce-cart .content-area,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .post,
body.woocommerce-cart .page {
  color: var(--zip-cart-text);
}

body.woocommerce-cart .woocommerce {
  max-width: var(--zip-cart-container);
  margin: 0 auto;
  min-width: 0;
}

body.woocommerce-cart .woocommerce a {
  color: var(--zip-cart-text);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

body.woocommerce-cart .woocommerce a:hover {
  color: var(--zip-cart-accent-hover);
}

body.woocommerce-cart .woocommerce h1,
body.woocommerce-cart .woocommerce h2,
body.woocommerce-cart .woocommerce h3,
body.woocommerce-cart .woocommerce h4,
body.woocommerce-cart .woocommerce h5,
body.woocommerce-cart .woocommerce h6 {
  color: var(--zip-cart-text);
}

body.woocommerce-cart .entry-title,
body.woocommerce-cart .woocommerce h1 {
  margin: 0 0 28px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.select2-container--default .select2-selection--single {
  background-color: #0d0d11 !important;
  padding: 5px 10px;
  border: 1px solid #ffffff !important;
  border-radius: 0;
  height: 47px !important;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: row;
}

/* =========================================================
   NOTICES
   ========================================================= */

body.woocommerce-cart .woocommerce-notices-wrapper {
  margin-bottom: 20px;
}

body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message {
  margin: 0 0 14px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--zip-cart-line);
  background: var(--zip-cart-surface);
  color: var(--zip-cart-text);
  box-shadow: var(--zip-cart-shadow-sm);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding-left: 51px;
}

body.woocommerce-cart .woocommerce-error {
  border-color: rgba(255, 100, 100, 0.22);
  background: rgba(110, 20, 20, 0.22);
}

body.woocommerce-cart .woocommerce-message {
  border-color: rgba(142, 93, 196, 0.26);
}

body.woocommerce-cart .woocommerce-info {
  border-color: rgba(255, 255, 255, 0.1);
}

body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-cart .woocommerce-info .button,
body.woocommerce-cart .woocommerce-error .button {
  margin-left: 12px;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  top: 18px !important;
}

.woocommerce-message::before {
  content: "\e015";
  color: #a5332b !important;
}

/* =========================================================
   LAYOUT
   ========================================================= */

body.woocommerce-cart .woocommerce-cart-form {
  width: 100%;
  min-width: 0;
}

body.woocommerce-cart .cart-collaterals {
  width: 100%;
  margin-top: 28px;
  min-width: 0;
}

body.woocommerce-cart .cart-collaterals::after,
body.woocommerce-cart .cart-collaterals::before,
body.woocommerce-cart .woocommerce::after,
body.woocommerce-cart .woocommerce::before {
  content: "";
  display: table;
}

body.woocommerce-cart .cart-collaterals::after,
body.woocommerce-cart .woocommerce::after {
  clear: both;
}

body.woocommerce-cart .cart_totals {
  float: none !important;
  width: min(100%, 440px);
  margin-left: auto;
  min-width: 0;
}

/* =========================================================
   TABLE WRAP
   ========================================================= */

body.woocommerce-cart .woocommerce-cart-form__contents,
body.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

body.woocommerce-cart table.shop_table {
  margin: 0;
  border: 1px solid var(--zip-cart-line);
  border-radius: var(--zip-cart-radius-lg);
  overflow: hidden;
  background: var(--zip-cart-surface);
  box-shadow: var(--zip-cart-shadow-sm);
  table-layout: fixed;
}

body.woocommerce-cart table.shop_table thead th {
  padding: 16px 18px;
  border: 0;
  border-bottom: 1px solid var(--zip-cart-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--zip-cart-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.woocommerce-cart table.shop_table tbody td,
body.woocommerce-cart table.shop_table tbody th {
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--zip-cart-line);
  background: transparent;
  vertical-align: middle;
  color: var(--zip-cart-text);
  min-width: 0;
}

body.woocommerce-cart table.shop_table tbody tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-cart table.shop_table tr {
  background: transparent;
}

/* =========================================================
   COLUMN WIDTHS
   ========================================================= */

body.woocommerce-cart table.shop_table .product-remove {
  width: 54px;
  text-align: center;
}

body.woocommerce-cart table.shop_table .product-thumbnail {
  width: 110px;
}

body.woocommerce-cart table.shop_table .product-name {
  min-width: 280px;
  width: auto;
}

body.woocommerce-cart table.shop_table .product-price,
body.woocommerce-cart table.shop_table .product-quantity,
body.woocommerce-cart table.shop_table .product-subtotal {
  white-space: nowrap;
}

/* =========================================================
   REMOVE BUTTON
   ========================================================= */

body.woocommerce-cart table.shop_table .product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--zip-cart-danger) !important;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
}

body.woocommerce-cart table.shop_table .product-remove a.remove:hover {
  background: rgba(165,51,43, 0.12);
  color: #c34a40 !important;
}

/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

body.woocommerce-cart table.shop_table .product-thumbnail a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

body.woocommerce-cart table.shop_table .product-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
  box-shadow: none;
}

/* =========================================================
   PRODUCT NAME / META
   ========================================================= */

body.woocommerce-cart table.shop_table .product-name,
body.woocommerce-cart table.shop_table .product-name * {
  min-width: 0;
}

body.woocommerce-cart table.shop_table .product-name a {
  color: var(--zip-cart-text);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: none;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  display: inline;
}

body.woocommerce-cart table.shop_table .product-name a:hover {
  color: var(--zip-cart-accent-hover);
}

body.woocommerce-cart table.shop_table .product-name dl.variation {
  margin: 10px 0 0;
  color: var(--zip-cart-muted);
  font-size: 12px;
  line-height: 1.45;
}

body.woocommerce-cart table.shop_table .product-name dl.variation dt,
body.woocommerce-cart table.shop_table .product-name dl.variation dd {
  margin: 0;
}

body.woocommerce-cart table.shop_table .product-name dl.variation dd p:last-child {
  margin-bottom: 0;
}

body.woocommerce-cart table.shop_table .product-price,
body.woocommerce-cart table.shop_table .product-subtotal {
  font-size: 16px;
  font-weight: 700;
  color: var(--zip-cart-text);
}

body.woocommerce-cart table.shop_table .amount,
body.woocommerce-cart table.shop_table bdi {
  color: inherit;
  font-weight: inherit;
}

/* =========================================================
   QUANTITY
   ========================================================= */

body.woocommerce-cart table.shop_table .quantity {
  display: inline-flex;
  align-items: center;
}

body.woocommerce-cart table.shop_table .quantity .qty {
  width: 72px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--zip-cart-line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--zip-cart-text);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  outline: none;
  box-shadow: none;
  -moz-appearance: textfield;
}

body.woocommerce-cart table.shop_table .quantity .qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.woocommerce-cart table.shop_table .quantity .qty:focus {
  border-color: rgba(157, 105, 216, 0.5);
  box-shadow: 0 0 0 3px rgba(157, 105, 216, 0.12);
}

/* =========================================================
   ACTIONS ROW
   ========================================================= */

body.woocommerce-cart table.shop_table td.actions {
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
}

body.woocommerce-cart .coupon {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.woocommerce-cart .coupon label {
  display: none;
}

body.woocommerce-cart .coupon input[type="text"] {
  width: 240px;
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--zip-cart-line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--zip-cart-text);
  font-size: 14px;
  box-shadow: none;
  outline: none;
}

body.woocommerce-cart .coupon input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body.woocommerce-cart .coupon input[type="text"]:focus {
  border-color: rgba(157, 105, 216, 0.5);
  box-shadow: 0 0 0 3px rgba(157, 105, 216, 0.12);
}

body.woocommerce-cart .actions .button,
body.woocommerce-cart .coupon .button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart .woocommerce-message .button,
body.woocommerce-cart .woocommerce-info .button,
body.woocommerce-cart .woocommerce-error .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--zip-cart-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.05s ease;
}

body.woocommerce-cart .actions .button:hover,
body.woocommerce-cart .coupon .button:hover,
body.woocommerce-cart .woocommerce-message .button:hover,
body.woocommerce-cart .woocommerce-info .button:hover,
body.woocommerce-cart .woocommerce-error .button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--zip-cart-line-2);
  color: var(--zip-cart-accent-hover);
}

body.woocommerce-cart .actions .button:active,
body.woocommerce-cart .coupon .button:active,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:active {
  transform: translateY(1px);
}

body.woocommerce-cart button[name="update_cart"],
body.woocommerce-cart input[name="update_cart"] {
  min-width: 170px;
}

body.woocommerce-cart button[name="update_cart"]:disabled,
body.woocommerce-cart input[name="update_cart"]:disabled,
body.woocommerce-cart .button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* =========================================================
   CART TOTALS
   ========================================================= */

body.woocommerce-cart .cart_totals {
  padding: 0;
}

body.woocommerce-cart .cart_totals h2 {
  margin: 0 0 18px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--zip-cart-text);
}

body.woocommerce-cart .cart_totals table.shop_table {
  border-radius: var(--zip-cart-radius);
  overflow: hidden;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--zip-cart-line);
  font-size: 15px;
  vertical-align: top;
}

body.woocommerce-cart .cart_totals table.shop_table tr:last-child th,
body.woocommerce-cart .cart_totals table.shop_table tr:last-child td {
  border-bottom: 0;
}

body.woocommerce-cart .cart_totals table.shop_table th {
  width: 38%;
  color: var(--zip-cart-text);
  font-weight: 700;
}

body.woocommerce-cart .cart_totals table.shop_table td {
  color: var(--zip-cart-text);
  font-weight: 600;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
  font-size: 18px;
  font-weight: 800;
}

/* shipping methods */
body.woocommerce-cart .woocommerce-shipping-methods {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-cart .woocommerce-shipping-methods li {
  margin: 0 0 12px;
  padding: 0;
}

body.woocommerce-cart .woocommerce-shipping-methods li:last-child {
  margin-bottom: 0;
}

body.woocommerce-cart .woocommerce-shipping-methods label {
  color: var(--zip-cart-text);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.woocommerce-cart .woocommerce-shipping-methods input[type="radio"] {
  accent-color: var(--zip-cart-accent);
  transform: translateY(1px);
}

body.woocommerce-cart .shipping-calculator-button,
body.woocommerce-cart .woocommerce-shipping-destination {
  color: var(--zip-cart-muted);
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: anywhere;
}

body.woocommerce-cart .shipping-calculator-button:hover {
  color: var(--zip-cart-accent-hover);
}

/* =========================================================
   CHECKOUT BUTTON
   ========================================================= */

body.woocommerce-cart .wc-proceed-to-checkout {
  margin: 16px 0 0;
  padding: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
      width: -webkit-fill-available;
  min-height: 56px;
  padding: 0 24px;
  background: var(--accent-red-color);
  border-color: var(--accent-red-color);
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  max-width: none;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: var(--zip-cart-accent-hover);
  border-color: var(--zip-cart-accent-hover);
  color: #fff !important;
}

/* =========================================================
   FORMS / SELECTS
   ========================================================= */

body.woocommerce-cart input[type="text"],
body.woocommerce-cart input[type="email"],
body.woocommerce-cart input[type="tel"],
body.woocommerce-cart input[type="number"],
body.woocommerce-cart select,
body.woocommerce-cart textarea {
  border: 1px solid var(--zip-cart-line-2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--zip-cart-text);
  box-shadow: none;
  max-width: 100%;
}

body.woocommerce-cart select {
  min-height: 42px;
  border-radius: 12px;
  padding: 0 14px;
}

body.woocommerce-cart textarea {
  min-height: 110px;
  border-radius: 12px;
  padding: 12px 14px;
}

body.woocommerce-cart input:focus,
body.woocommerce-cart select:focus,
body.woocommerce-cart textarea:focus {
  outline: none;
  border-color: rgba(157, 105, 216, 0.5);
  box-shadow: 0 0 0 3px rgba(157, 105, 216, 0.12);
}

/* autofill */
body.woocommerce-cart input:-webkit-autofill,
body.woocommerce-cart input:-webkit-autofill:hover,
body.woocommerce-cart input:-webkit-autofill:focus,
body.woocommerce-cart select:-webkit-autofill,
body.woocommerce-cart textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.03) inset !important;
  -webkit-text-fill-color: var(--zip-cart-text) !important;
  transition: background-color 9999s ease-in-out 0s !important;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: right;
  width: 100% !important;
}

.wc-edostavka-method-additional-info {
  background-color: #121216 !important;
  padding: 1em;
  margin-top: 0.5em;
  border-radius: 5px;
  font-weight: 500;
  font-size: 17px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* =========================================================
   CROSS SELLS
   ========================================================= */

body.woocommerce-cart .cross-sells {
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--zip-cart-line);
  border-radius: var(--zip-cart-radius-lg);
  background: var(--zip-cart-surface);
  box-shadow: var(--zip-cart-shadow-sm);
}

body.woocommerce-cart .cross-sells > h2 {
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 700;
  color: var(--zip-cart-text);
}

body.woocommerce-cart .cross-sells ul.products {
  margin: 0;
}

/* =========================================================
   EMPTY CART
   ========================================================= */

body.woocommerce-cart .cart-empty,
body.woocommerce-cart .return-to-shop {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.woocommerce-cart .cart-empty {
  margin-top: 0;
  margin-bottom: 16px;
  padding: 28px;
  border: 1px solid var(--zip-cart-line);
  border-radius: var(--zip-cart-radius-lg);
  background: var(--zip-cart-surface);
  box-shadow: var(--zip-cart-shadow-sm);
  color: var(--zip-cart-text);
  font-size: 18px;
  font-weight: 600;
}

body.woocommerce-cart .return-to-shop .button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--zip-cart-accent);
  color: #fff;
  border: 1px solid var(--zip-cart-accent);
}

body.woocommerce-cart .return-to-shop .button:hover {
  background: var(--zip-cart-accent-hover);
  border-color: var(--zip-cart-accent-hover);
  color: #fff;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
  body.woocommerce-cart .entry-title,
  body.woocommerce-cart .woocommerce h1 {
    margin-bottom: 24px;
  }

  body.woocommerce-cart table.shop_table thead th,
  body.woocommerce-cart table.shop_table tbody td {
    padding: 16px;
  }

  body.woocommerce-cart .cart_totals {
    width: min(100%, 420px);
  }
}

@media (max-width: 991px) {
  body.woocommerce-cart .cart_totals {
    width: 100%;
    max-width: none;
    margin-top: 22px;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 28px;
    margin-bottom: 14px;
  }

  body.woocommerce-cart .cross-sells {
    padding: 18px;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart .entry-title,
  body.woocommerce-cart .woocommerce h1 {
    margin-bottom: 20px;
    font-size: clamp(28px, 8vw, 38px);
  }

  body.woocommerce-cart table.shop_table {
    border-radius: 16px;
    table-layout: auto;
  }

  body.woocommerce-cart table.shop_table thead {
    display: none;
  }

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

  body.woocommerce-cart table.shop_table tbody tr.cart_item {
    position: relative;
    padding: 18px;
    border-bottom: 1px solid var(--zip-cart-line);
    min-width: 0;
    overflow: hidden;
	width:85%;
	padding-right:22px!important;
  }
	

    .woocommerce #content table.cart td.actions .button, .woocommerce table.cart td.actions .button, .woocommerce-page #content table.cart td.actions .button, .woocommerce-page table.cart td.actions .button {
        display: block;
        width: 85%!important;
    }

	.wp-block-group {
    box-sizing: border-box;
    display: none;
}
	
	    body.woocommerce-cart table.shop_table tbody, body.woocommerce-cart table.shop_table tr, body.woocommerce-cart table.shop_table td {
        display: block;
        width: 94%;
        padding: 10px;
    }
	
	    body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
        min-height: 50px;
        font-size: 15px;
        width: -webkit-fill-available;
    }
	
	body.woocommerce-cart .shipping-calculator-button, body.woocommerce-cart .woocommerce-shipping-destination {
    color: rgb(255 255 255);
    font-size: 13px;
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-weight: 400;
}
	
	body.woocommerce-cart table.shop_table .product-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--zip-cart-danger) !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    opacity: 1;
    position: absolute;
    right: -15px;
}

  body.woocommerce-cart table.shop_table tbody tr.cart_item:last-child {
    border-bottom: 0;
  }

  body.woocommerce-cart table.shop_table tbody tr.cart_item td {
    padding: 0;
    border: 0;
    background: transparent;
    min-width: 0;
    max-width: 100%;
  }

  body.woocommerce-cart table.shop_table .product-remove {
    position: absolute;
    top: 14px;
    right: 14px;
    width: auto;
    text-align: right;
    z-index: 2;
  }

  body.woocommerce-cart table.shop_table .product-thumbnail {
    width: auto;
    margin-bottom: 14px;
  }

  body.woocommerce-cart table.shop_table .product-thumbnail a {
    width: 88px;
    height: 88px;
    margin: 0;
  }

  body.woocommerce-cart table.shop_table .product-name {
    margin-bottom: 14px;
    padding-right: 30px;
    min-width: 0;
    width: 100%;
  }

  body.woocommerce-cart table.shop_table .product-name a {
    font-size: 15px;
    line-height: 1.35;
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  body.woocommerce-cart table.shop_table .product-price,
  body.woocommerce-cart table.shop_table .product-quantity,
  body.woocommerce-cart table.shop_table .product-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid var(--zip-cart-line);
    white-space: normal;
    min-width: 0;
    width: 100%;
  }

  body.woocommerce-cart table.shop_table .product-price::before,
  body.woocommerce-cart table.shop_table .product-quantity::before,
  body.woocommerce-cart table.shop_table .product-subtotal::before {
    display: block;
    flex: 0 0 auto;
    color: var(--zip-cart-muted);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  body.woocommerce-cart table.shop_table .product-price::before {
    content: "Цена";
  }

  body.woocommerce-cart table.shop_table .product-quantity::before {
    content: "Количество";
  }

  body.woocommerce-cart table.shop_table .product-subtotal::before {
    content: "Подытог";
  }

  body.woocommerce-cart table.shop_table .product-price,
  body.woocommerce-cart table.shop_table .product-subtotal {
    font-size: 15px;
  }

  body.woocommerce-cart table.shop_table .product-price > *,
  body.woocommerce-cart table.shop_table .product-quantity > *,
  body.woocommerce-cart table.shop_table .product-subtotal > * {
    min-width: 0;
    max-width: 100%;
    text-align: right;
  }

  body.woocommerce-cart table.shop_table .product-quantity .quantity {
    margin-left: auto;
    flex: 0 0 auto;
  }

  body.woocommerce-cart table.shop_table .quantity .qty {
    width: 76px;
    height: 38px;
    font-size: 14px;
  }

  body.woocommerce-cart table.shop_table td.actions {
    padding: 16px;
  }

  body.woocommerce-cart .coupon {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }

  body.woocommerce-cart .coupon input[type="text"] {
    width: 100%;
  }

  body.woocommerce-cart .actions .button,
  body.woocommerce-cart .coupon .button,
  body.woocommerce-cart button[name="update_cart"],
  body.woocommerce-cart input[name="update_cart"] {
    width: 100%;
  }

  body.woocommerce-cart .cart_totals table.shop_table th,
  body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 14px 16px;
    font-size: 14px;
  }

  body.woocommerce-cart .cart_totals .order-total th,
  body.woocommerce-cart .cart_totals .order-total td {
    font-size: 16px;
  }

  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    min-height: 52px;
    font-size: 16px;
    max-width: none;
  }

  body.woocommerce-cart .cross-sells {
    margin-top: 24px;
    padding: 16px;
  }

  body.woocommerce-cart .cross-sells > h2 {
    font-size: 22px;
  }

  body.woocommerce-cart .woocommerce-error,
  body.woocommerce-cart .woocommerce-info,
  body.woocommerce-cart .woocommerce-message {
    gap: 12px;
    padding: 14px 14px 14px 42px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .woocommerce-error::before,
  .woocommerce-info::before,
  .woocommerce-message::before {
    top: 15px !important;
    left: 14px !important;
  }

  .wc-edostavka-method-additional-info {
    font-size: 14px;
  }
}

@media (max-width: 540px) {
  body.woocommerce-cart table.shop_table tbody tr.cart_item {
    padding: 16px 14px;
  }

  body.woocommerce-cart table.shop_table .product-thumbnail a {
    width: 80px;
    height: 80px;
    border-radius: 12px;
  }

  body.woocommerce-cart table.shop_table .product-name {
    padding-right: 26px;
  }

  body.woocommerce-cart table.shop_table .product-name a {
    font-size: 14px;
  }

  body.woocommerce-cart table.shop_table .product-name dl.variation {
    font-size: 11px;
  }

  body.woocommerce-cart table.shop_table .product-price::before,
  body.woocommerce-cart table.shop_table .product-quantity::before,
  body.woocommerce-cart table.shop_table .product-subtotal::before {
    font-size: 11px;
  }

  body.woocommerce-cart table.shop_table .product-price,
  body.woocommerce-cart table.shop_table .product-quantity,
  body.woocommerce-cart table.shop_table .product-subtotal {
    gap: 10px;
  }

  body.woocommerce-cart table.shop_table .product-price,
  body.woocommerce-cart table.shop_table .product-subtotal {
    font-size: 14px;
  }

  body.woocommerce-cart table.shop_table .quantity .qty {
    width: 68px;
    height: 36px;
    font-size: 13px;
  }

  body.woocommerce-cart .cart_totals h2 {
    font-size: 24px;
  }

  body.woocommerce-cart .cart_totals table.shop_table th,
  body.woocommerce-cart .cart_totals table.shop_table td {
    padding: 13px 14px;
    font-size: 13px;
  }

  body.woocommerce-cart .cart_totals .order-total th,
  body.woocommerce-cart .cart_totals .order-total td {
    font-size: 15px;
  }

  body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    min-height: 50px;
    font-size: 15px;
  }

  body.woocommerce-cart .cross-sells {
    padding: 14px;
  }

  body.woocommerce-cart .cross-sells > h2 {
    font-size: 20px;
  }

  body.woocommerce-cart .cart-empty {
    padding: 22px 16px;
    font-size: 16px;
  }

  .wc-edostavka-method-additional-info {
    font-size: 13px;
    padding: 12px;
  }
}

/* 1.4.1: shipping needs the entire totals width, rather than a narrow value cell.
   Keep native Woo/plugin fields in place so AJAX and the pickup map still work. */
body.woocommerce-cart .cart_totals table.shop_table,
body.woocommerce-cart .cart_totals table.shop_table > tbody {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0;
}

body.woocommerce-cart .cart_totals table.shop_table tr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--zip-cart-line);
}

body.woocommerce-cart .cart_totals table.shop_table tr:last-child {
  border-bottom: 0;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  display: block;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
}

body.woocommerce-cart .cart_totals table.shop_table td {
  text-align: right;
}

body.woocommerce-cart .cart_totals table.shop_table td::before {
  display: none;
}

body.woocommerce-cart .cart_totals table.shop_table tr.shipping,
body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals {
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

body.woocommerce-cart .cart_totals table.shop_table tr.shipping > td,
body.woocommerce-cart .cart_totals table.shop_table tr.woocommerce-shipping-totals > td {
  width: 100%;
  text-align: left;
  font-weight: 400;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-methods,
body.woocommerce-cart .cart_totals #shipping_method {
  display: grid;
  gap: 7px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.woocommerce-cart .cart_totals #shipping_method > li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 3px 8px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 10px 11px;
  margin: 0;
  border: 1px solid var(--zip-cart-line-2);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.025);
}

body.woocommerce-cart .cart_totals #shipping_method > li:has(input:checked) {
  border-color: #a5332b;
  background: rgba(165, 51, 43, 0.1);
}

body.woocommerce-cart .cart_totals #shipping_method > li > input[type="radio"] {
  grid-column: 1;
  grid-row: 1;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  transform: none;
}

body.woocommerce-cart .cart_totals #shipping_method > li > label {
  display: block;
  grid-column: 2;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--zip-cart-text);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  word-break: normal;
  overflow-wrap: break-word;
  cursor: pointer;
}

body.woocommerce-cart .cart_totals #shipping_method > li > :not(input):not(label) {
  grid-column: 2;
  min-width: 0;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.4;
}

body.woocommerce-cart .cart_totals #shipping_method .amount,
body.woocommerce-cart .cart_totals #shipping_method bdi {
  display: inline;
  white-space: nowrap;
  font-size: inherit;
  font-weight: 500;
}

body.woocommerce-cart .cart_totals .woocommerce-shipping-destination {
  margin: 12px 0 6px;
  color: var(--zip-cart-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
}

body.woocommerce-cart .cart_totals .shipping-calculator-button {
  font-size: 12px;
  line-height: 1.5;
}

body.woocommerce-cart .cart_totals .shipping-calculator-form {
  width: 100%;
  min-width: 0;
}

@media (max-width: 400px) {
  body.woocommerce-cart .cart_totals table.shop_table tr {
    padding: 12px 10px;
  }

  body.woocommerce-cart .cart_totals #shipping_method > li {
    padding: 9px 8px;
  }
}
