/* =========================================================
   GrandPodium — корзина, вход, оформление (25.09)
   Подключается после style.css. Селекторы с html body — чтобы
   перебить старые слои стилей без правки style.css.
========================================================= */

/* ---------- Товар: кнопка "В корзину" ---------- */
html body.single-product div.product form.cart button.single_add_to_cart_button {
  background: var(--gp-accent) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(11, 61, 46, 0.28) !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease !important;
}
html body.single-product div.product form.cart button.single_add_to_cart_button:hover {
  background: #1c1c1c !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25) !important;
}
html body.single-product div.product form.cart button.single_add_to_cart_button:active { transform: translateY(1px); }
html body.single-product div.product form.cart button.single_add_to_cart_button.disabled,
html body.single-product div.product form.cart button.single_add_to_cart_button:disabled,
html body.single-product div.product form.cart button.single_add_to_cart_button.wc-variation-selection-needed {
  background: #d9dfdb !important;
  color: #8a948f !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}
html body.single-product div.product .stock.in-stock { color: var(--gp-accent) !important; font-weight: 600; }
html body.single-product div.product .product_meta { display: none !important; }

/* ---------- Шапка без телефона и соцсетей ---------- */
html body .gp-header__top { grid-template-columns: 1fr !important; justify-items: center !important; }

/* ---------- Футер: контакты ---------- */
.site-footer__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.site-footer__contacts a { color: #fff; text-decoration: none; }
.site-footer__phone { font-size: 16px; font-weight: 700; }
.site-footer__social { display: flex; gap: 8px; }
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.site-footer__social a:hover { background: rgba(255,255,255,0.1); }
@media (min-width: 768px) {
  html body .site-footer__inner { display: grid !important; grid-template-columns: 1fr auto; gap: 16px 40px !important; align-items: start; }
  html body .site-footer__contacts { justify-content: flex-end; }
  html body .site-footer__links { grid-column: 1 / -1; flex-wrap: wrap; gap: 8px 24px !important; }
}

/* ---------- Пустая корзина ---------- */
.gp-empty-cart { max-width: 560px; margin: 32px auto 48px; display: flex; flex-direction: column; gap: 16px; }
.gp-empty-cart__card {
  display: flex; align-items: center; gap: 16px;
  padding: 24px; background: var(--gp-soft); border-radius: 20px;
}
.gp-empty-cart__text { flex: 1; }
.gp-empty-cart__title { margin: 0 0 6px !important; font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.01em; }
.gp-empty-cart__sub { margin: 0 !important; font-size: 15px; line-height: 1.45; color: #6b6660; }
.gp-empty-cart__icon { flex-shrink: 0; color: var(--gp-accent); }
.gp-empty-cart__btn {
  display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: 14px; background: var(--gp-accent); color: #fff !important;
  font-size: 16px; font-weight: 600; text-decoration: none !important;
}
.gp-empty-cart__btn:hover { background: #1c1c1c; }
html body.woocommerce-cart .return-to-shop,
html body.woocommerce-cart .cart-empty.woocommerce-info { display: none !important; }
@media (max-width: 767px) {
  .gp-empty-cart { margin: 16px 0 24px; }
  .gp-empty-cart__card { padding: 20px 16px; }
  .gp-empty-cart__title { font-size: 20px !important; }
  .gp-empty-cart__sub { font-size: 14px; }
  .gp-empty-cart__icon { width: 52px; height: 52px; }
}

/* ---------- Корзина: гостю — вход ---------- */
.gp-cart-login-note { margin: 10px 0 0 !important; font-size: 13px; line-height: 1.45; color: #6b6660; text-align: center; }
.gp-login-hint {
  margin: 16px 0; padding: 14px 16px; border-radius: 14px;
  background: #e8efea; color: var(--gp-text); font-size: 14px; line-height: 1.45;
}

/* =========================================================
   ОФОРМЛЕНИЕ ЗАКАЗА — все ширины
========================================================= */
html body.woocommerce-checkout .gp-hidden-field,
html body.woocommerce-checkout #billing_country_field,
html body.woocommerce-checkout .woocommerce-NoticeGroup-checkout,
html body.woocommerce-checkout .woocommerce-shipping-fields,
html body.woocommerce-checkout .woocommerce-account-fields { display: none !important; }

/* Автозаполнение */
.gp-autofill {
  margin: 0 0 24px; padding: 16px; border: 1px solid var(--gp-accent); border-radius: 16px;
  background: #f4f8f5; display: flex; flex-direction: column; gap: 10px;
}
.gp-autofill__title { font-size: 15px; font-weight: 700; }
.gp-autofill__text { font-size: 13px; line-height: 1.5; color: #4a4a4a; }
.gp-autofill__actions { display: flex; gap: 8px; }
.gp-autofill__actions button {
  flex: 1; height: 40px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: inherit;
}
.gp-autofill__use { border: none; background: var(--gp-accent); color: #fff; }
.gp-autofill__use:hover { background: #1c1c1c; }
.gp-autofill__skip { border: 1px solid var(--gp-line); background: #fff; color: var(--gp-text); }

/* Поля */
html body.woocommerce-checkout form.checkout .form-row {
  float: none !important; width: 100% !important; padding: 0 !important; margin: 0 0 16px !important;
}
html body.woocommerce-checkout form.checkout .form-row > label {
  display: block !important; font-size: 13px !important; font-weight: 600 !important;
  line-height: 1.3 !important; margin: 0 0 6px !important; color: var(--gp-text) !important;
}
html body.woocommerce-checkout form.checkout .form-row label .optional { font-weight: 400; color: #8a8a8a; }
html body.woocommerce-checkout form.checkout .form-row input.input-text,
html body.woocommerce-checkout form.checkout .form-row select:not(.select2-hidden-accessible) {
  width: 100% !important; height: 48px !important; padding: 0 14px !important;
  font-size: 16px !important; border: 1px solid var(--gp-line) !important; border-radius: 12px !important;
  background: #fff !important; box-sizing: border-box !important; box-shadow: none !important;
}
html body.woocommerce-checkout form.checkout .form-row textarea {
  width: 100% !important; min-height: 96px !important; padding: 12px 14px !important; font-size: 16px !important;
  border: 1px solid var(--gp-line) !important; border-radius: 12px !important; box-sizing: border-box !important;
}
html body.woocommerce-checkout form.checkout .form-row input.input-text:focus,
html body.woocommerce-checkout form.checkout .form-row textarea:focus {
  border-color: var(--gp-accent) !important; outline: none !important; box-shadow: 0 0 0 3px rgba(11,61,46,0.12) !important;
}
/* Ошибки у полей — спокойно, без красных заголовков */
html body.woocommerce-checkout form.checkout .form-row.woocommerce-invalid > label { color: var(--gp-text) !important; }
html body.woocommerce-checkout form.checkout .form-row.woocommerce-invalid input.input-text {
  border-color: #c4452f !important; background: #fffaf9 !important;
}
html body.woocommerce-checkout form.checkout .form-row.woocommerce-validated input.input-text { border-color: var(--gp-line) !important; }
html body.woocommerce-checkout .checkout-inline-error-message {
  margin: 6px 0 0 !important; font-size: 12px !important; color: #c4452f !important; line-height: 1.35;
}
html body.woocommerce-checkout h3 {
  font-size: 20px !important; font-weight: 800 !important; letter-spacing: -0.01em !important; margin: 0 0 16px !important;
}

/* "Ваш заказ" */
html body.woocommerce-checkout #order_review {
  background: var(--gp-soft) !important; border-radius: 20px !important; padding: 20px !important; box-sizing: border-box;
}
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  width: 100% !important; margin: 0 0 8px !important; border: none !important; border-radius: 0 !important;
  background: transparent !important; border-collapse: collapse !important;
}
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table thead { display: none !important; }
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table,
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tbody,
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot { display: block !important; }
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr {
  display: flex !important; justify-content: space-between !important; align-items: baseline !important; gap: 12px !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total { border-bottom: none !important; }
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  display: block !important; padding: 12px 0 !important; border: none !important; background: transparent !important;
  font-size: 15px !important; font-weight: 400 !important; text-align: left !important;
}
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table td:last-child { text-align: right !important; white-space: nowrap; }
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td { font-size: 18px !important; font-weight: 800 !important; }

/* Доставка: способы — карточками на всю ширину */
html body.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
  flex-direction: column !important; align-items: stretch !important; gap: 0 !important;
}
html body.woocommerce-checkout tr.woocommerce-shipping-totals th { padding-bottom: 8px !important; font-weight: 700 !important; }
html body.woocommerce-checkout tr.woocommerce-shipping-totals td { text-align: left !important; white-space: normal !important; padding-top: 0 !important; }
html body.woocommerce-checkout ul#shipping_method { margin: 0 !important; padding: 0 !important; list-style: none !important; display: flex; flex-direction: column; gap: 8px; }
html body.woocommerce-checkout ul#shipping_method li {
  margin: 0 !important; padding: 12px 14px !important; background: #fff; border: 1px solid var(--gp-line);
  border-radius: 12px; display: flex; align-items: center; gap: 10px; font-size: 14px; text-indent: 0 !important;
}
html body.woocommerce-checkout ul#shipping_method li input { margin: 0 !important; accent-color: var(--gp-accent); width: 18px; height: 18px; }
html body.woocommerce-checkout ul#shipping_method li:has(input:checked) { border: 2px solid var(--gp-accent); padding: 11px 13px !important; }
html body.woocommerce-checkout ul#shipping_method li label { margin: 0 !important; font-weight: 600; }

/* Оплата */
html body.woocommerce-checkout #payment { background: transparent !important; border-radius: 0 !important; }
html body.woocommerce-checkout #payment ul.payment_methods {
  margin: 8px 0 0 !important; padding: 0 0 16px !important; border: none !important; list-style: none !important;
  display: flex; flex-direction: column; gap: 8px;
}
html body.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0 !important; padding: 14px 16px !important; background: #fff !important; border: 1px solid var(--gp-line);
  border-radius: 14px; font-size: 15px !important; line-height: 1.4 !important;
}
html body.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border: 2px solid var(--gp-accent); padding: 13px 15px !important; }
html body.woocommerce-checkout #payment ul.payment_methods li > input { accent-color: var(--gp-accent); width: 18px; height: 18px; margin: 0 8px 0 0 !important; vertical-align: -3px; }
html body.woocommerce-checkout #payment ul.payment_methods li > label { font-weight: 700 !important; display: inline !important; }
html body.woocommerce-checkout #payment div.payment_box {
  margin: 6px 0 0 26px !important; padding: 0 !important; background: transparent !important;
  font-size: 13px !important; color: #6b6660 !important; line-height: 1.45 !important;
}
html body.woocommerce-checkout #payment div.payment_box::before { display: none !important; }
html body.woocommerce-checkout #payment div.payment_box p { margin: 0 !important; }
html body.woocommerce-checkout #payment div.form-row.place-order {
  padding: 16px 0 0 !important; margin: 0 !important; background: transparent !important; border-top: 1px solid rgba(0,0,0,0.08);
}

/* Галочки */
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row,
html body.woocommerce-checkout .gp-consent-row {
  margin: 0 0 10px !important; padding: 8px 10px !important; border-radius: 10px; border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label,
html body.woocommerce-checkout .gp-consent-row label {
  display: flex !important; align-items: flex-start !important; gap: 10px !important;
  font-size: 13px !important; font-weight: 400 !important; line-height: 1.45 !important; margin: 0 !important;
}
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label span,
html body.woocommerce-checkout .gp-consent-row label span { font-weight: 400 !important; }
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
html body.woocommerce-checkout .gp-consent-row input[type="checkbox"] {
  width: 20px !important; height: 20px !important; margin: 0 !important; flex-shrink: 0; accent-color: var(--gp-accent);
}
html body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper abbr.required,
html body.woocommerce-checkout .gp-consent-row abbr.required { display: none !important; }
html body.woocommerce-checkout .gp-invalid { border-color: #c4452f !important; background: #fffaf9; }
html body.woocommerce-checkout .gp-invalid label::after {
  content: "Нужно отметить, чтобы оформить заказ"; display: none;
}

/* Общая ошибка (оплата, лимиты) — над кнопкой */
.gp-checkout-alert {
  margin: 4px 0 12px; padding: 12px 14px; border-radius: 12px;
  background: #fff4f2; border: 1px solid #f0c7bf; color: #8f2d1f; font-size: 13px; line-height: 1.45;
}
.gp-checkout-alert div + div { margin-top: 4px; }

/* Кнопка */
html body.woocommerce-checkout #place_order {
  float: none !important; width: 100% !important; min-height: 54px !important; margin: 4px 0 0 !important;
  border-radius: 14px !important; font-size: 16px !important; font-weight: 600 !important;
}

/* ---------- Десктоп: форма слева, заказ справа ---------- */
@media (min-width: 768px) {
  html body.woocommerce-checkout .site-main .woocommerce { max-width: 1120px !important; margin: 0 auto !important; }
  html body.woocommerce-checkout form.checkout {
    display: grid !important; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 48px; align-items: start;
  }
  html body.woocommerce-checkout form.checkout > * { grid-column: 1; }
  html body.woocommerce-checkout form.checkout > .gp-autofill { grid-row: 1; }
  html body.woocommerce-checkout form.checkout > #customer_details { grid-row: 2 / span 6; }
  html body.woocommerce-checkout form.checkout > #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 12px !important; }
  html body.woocommerce-checkout form.checkout > #order_review { grid-column: 2; grid-row: 2 / span 6; position: sticky; top: 150px; }
  html body.woocommerce-checkout #customer_details.col2-set,
  html body.woocommerce-checkout #customer_details .col-1,
  html body.woocommerce-checkout #customer_details .col-2 { float: none !important; width: 100% !important; max-width: none !important; }
  html body.woocommerce-checkout .woocommerce-form-coupon-toggle,
  html body.woocommerce-checkout form.checkout_coupon { max-width: none; }
}

/* ---------- Кабинет: вход/регистрация на десктопе — аккуратные карточки ---------- */
@media (min-width: 768px) {
  html body.woocommerce-account:not(.logged-in) .site-main .woocommerce { max-width: 880px !important; margin: 0 auto !important; }
  html body.woocommerce-account form.woocommerce-form-login,
  html body.woocommerce-account form.woocommerce-form-register {
    border: 1px solid var(--gp-line) !important; border-radius: 20px !important; padding: 24px !important; margin: 0 !important;
  }
  html body.woocommerce-account form .form-row input.input-text {
    height: 48px !important; padding: 0 14px !important; font-size: 16px !important;
    border: 1px solid var(--gp-line) !important; border-radius: 12px !important; width: 100% !important; box-sizing: border-box;
  }
  html body.woocommerce-account form button.button { min-height: 50px !important; border-radius: 14px !important; width: 100%; }
}

/* =========================================================
   КОРЗИНА — десктоп: товары слева, сумма справа
========================================================= */
html body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 100% !important; min-height: 54px !important; margin: 0 !important; padding: 0 20px !important;
  border-radius: 14px !important; font-size: 16px !important; line-height: 1.2 !important; text-align: center !important;
}
@media (min-width: 768px) {
  html body.woocommerce-cart .site-main .woocommerce {
    max-width: 1120px !important; margin: 0 auto !important;
    display: grid !important; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 48px; align-items: start;
  }
  html body.woocommerce-cart .site-main .woocommerce > * { grid-column: 1 / -1; }
  html body.woocommerce-cart .site-main .woocommerce > form.woocommerce-cart-form { grid-column: 1; grid-row: 2; }
  html body.woocommerce-cart .site-main .woocommerce > .cart-collaterals { grid-column: 2; grid-row: 2; position: sticky; top: 150px; width: 100% !important; margin: 0 !important; }
  html body.woocommerce-cart .cart-collaterals .cart_totals { float: none !important; width: 100% !important; }

  /* Строки товаров */
  html body.woocommerce-cart table.cart { border: none !important; border-radius: 0 !important; margin: 0 !important; background: transparent !important; }
  html body.woocommerce-cart table.cart thead { display: none !important; }
  html body.woocommerce-cart table.cart,
  html body.woocommerce-cart table.cart tbody { display: block !important; width: 100% !important; }
  html body.woocommerce-cart table.cart tr.cart_item {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) 80px 120px 36px;
    grid-template-areas: "thumb name qty sub remove" "thumb price qty sub remove";
    grid-template-rows: auto 1fr;
    column-gap: 20px; row-gap: 6px; align-items: start;
    padding: 20px 0 !important; border-bottom: 1px solid var(--gp-line) !important;
  }
  html body.woocommerce-cart table.cart tr.cart_item td {
    display: block !important; padding: 0 !important; border: none !important; background: transparent !important; text-align: left !important;
  }
  html body.woocommerce-cart table.cart td.product-thumbnail { grid-area: thumb; }
  html body.woocommerce-cart table.cart td.product-thumbnail img { width: 96px !important; height: 120px !important; object-fit: cover; border-radius: 14px !important; }
  html body.woocommerce-cart table.cart td.product-name { grid-area: name; }
  html body.woocommerce-cart table.cart td.product-name,
  html body.woocommerce-cart table.cart td.product-name a { font-size: 16px !important; font-weight: 600 !important; color: var(--gp-text) !important; text-decoration: none !important; line-height: 1.35; }
  html body.woocommerce-cart table.cart td.product-price { grid-area: price; font-size: 14px !important; color: #6b6660 !important; }
  html body.woocommerce-cart table.cart td.product-quantity { grid-area: qty; align-self: center; }
  html body.woocommerce-cart table.cart td.product-quantity input.qty {
    width: 72px !important; height: 44px !important; padding: 0 !important; text-align: center !important; font-size: 16px !important;
    border: 1px solid var(--gp-line) !important; border-radius: 10px !important; background: #fff !important;
  }
  html body.woocommerce-cart table.cart td.product-subtotal { grid-area: sub; align-self: center; text-align: right !important; font-size: 17px !important; font-weight: 700 !important; white-space: nowrap; }
  html body.woocommerce-cart table.cart td.product-remove { grid-area: remove; align-self: center; justify-self: end; }
  html body.woocommerce-cart table.cart td.product-remove a.remove {
    display: flex !important; align-items: center; justify-content: center;
    width: 36px !important; height: 36px !important; border-radius: 10px !important;
    font-size: 22px !important; color: #8a8a8a !important; background: transparent !important;
  }
  html body.woocommerce-cart table.cart td.product-remove a.remove:hover { background: var(--gp-soft) !important; color: var(--gp-text) !important; }
  html body.woocommerce-cart table.cart td::before { display: none !important; }

  /* Промокод */
  html body.woocommerce-cart table.cart tr:not(.cart_item) { display: block !important; padding: 20px 0 0 !important; border: none !important; }
  html body.woocommerce-cart table.cart td.actions { display: block !important; padding: 0 !important; border: none !important; background: transparent !important; }
  html body.woocommerce-cart table.cart td.actions .coupon { display: flex !important; gap: 8px !important; max-width: 440px; float: none !important; }
  html body.woocommerce-cart table.cart td.actions .coupon label { display: none !important; }
  html body.woocommerce-cart table.cart td.actions .coupon input#coupon_code {
    flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; height: 48px !important; margin: 0 !important;
    padding: 0 14px !important; font-size: 15px !important; border: 1px solid var(--gp-line) !important; border-radius: 12px !important; background: #fff !important;
  }
  html body.woocommerce-cart table.cart td.actions .coupon button[name="apply_coupon"] {
    height: 48px !important; margin: 0 !important; padding: 0 20px !important; font-size: 14px !important; font-weight: 600 !important;
    color: #fff !important; background: var(--gp-text) !important; border: none !important; border-radius: 12px !important; white-space: nowrap;
  }

  /* Сумма заказа */
  html body.woocommerce-cart .cart_totals { background: var(--gp-soft) !important; border-radius: 20px !important; padding: 24px 20px 20px !important; box-sizing: border-box; }
  html body.woocommerce-cart .cart_totals h2 { font-size: 22px !important; font-weight: 800 !important; margin: 0 0 8px !important; }
  html body.woocommerce-cart .cart_totals table.shop_table { border: none !important; border-radius: 0 !important; background: transparent !important; margin: 0 0 16px !important; width: 100% !important; border-collapse: collapse !important; }
  html body.woocommerce-cart .cart_totals table.shop_table tbody { display: block; }
  html body.woocommerce-cart .cart_totals table.shop_table tr { display: flex !important; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(0,0,0,0.06) !important; }
  html body.woocommerce-cart .cart_totals table.shop_table tr:last-child { border-bottom: none !important; }
  html body.woocommerce-cart .cart_totals table.shop_table th,
  html body.woocommerce-cart .cart_totals table.shop_table td { display: block !important; padding: 12px 0 !important; border: none !important; background: transparent !important; font-size: 15px !important; font-weight: 400 !important; }
  html body.woocommerce-cart .cart_totals table.shop_table td { text-align: right !important; }
  html body.woocommerce-cart .cart_totals tr.order-total th,
  html body.woocommerce-cart .cart_totals tr.order-total td { font-size: 18px !important; font-weight: 800 !important; }
  html body.woocommerce-cart .cart_totals ul#shipping_method { margin: 0 !important; padding: 0 !important; list-style: none !important; }
  html body.woocommerce-cart .wc-proceed-to-checkout { padding: 0 !important; }
}

@media (min-width: 768px) {
  html body.woocommerce-cart .site-main .woocommerce,
  html body.woocommerce-checkout .site-main .woocommerce { margin-top: 40px !important; margin-bottom: 64px !important; }

  /* Подвал: контакты слева, ссылки справа, копирайт внизу */
  html body .site-footer__inner {
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    grid-template-areas: "contacts links" "copy copy";
    gap: 24px 48px !important;
    max-width: 1200px; margin: 0 auto; padding: 0 40px !important; box-sizing: border-box; align-items: center !important;
  }
  html body .site-footer__contacts { grid-area: contacts; justify-content: flex-start !important; }
  html body .site-footer__links { grid-area: links; grid-column: auto !important; display: flex !important; justify-content: flex-end; flex-wrap: wrap; gap: 8px 24px !important; }
  html body .site-footer__links a { font-size: 14px !important; color: #fff !important; opacity: 0.8; text-decoration: none; }
  html body .site-footer__links a:hover { opacity: 1; }
  html body .site-footer__copy { grid-area: copy; margin: 0 !important; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px !important; opacity: 0.55; }
}

/* =========================================================
   ВХОД / РЕГИСТРАЦИЯ
========================================================= */
html body.woocommerce-account form.woocommerce-form-login button.button,
html body.woocommerce-account form.woocommerce-form-register button.button {
  background: var(--gp-accent) !important; color: #fff !important; border: none !important;
  display: flex !important; align-items: center; justify-content: center;
  width: 100% !important; min-height: 50px !important; border-radius: 14px !important; font-size: 16px !important; font-weight: 600 !important;
}
html body.woocommerce-account form.woocommerce-form-login button.button:hover,
html body.woocommerce-account form.woocommerce-form-register button.button:hover { background: #1c1c1c !important; }
html body.woocommerce-account form .form-row > label { display: block !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1.3 !important; margin: 0 0 6px !important; }
html body.woocommerce-account form .form-row input.input-text {
  width: 100% !important; height: 48px !important; padding: 0 14px !important; font-size: 16px !important;
  border: 1px solid var(--gp-line) !important; border-radius: 12px !important; box-sizing: border-box !important; background: #fff !important;
}
html body.woocommerce-account .password-input { display: block !important; position: relative; width: 100%; }
html body.woocommerce-account .gp-consent-row label {
  display: flex !important; align-items: flex-start !important; gap: 10px !important;
  font-size: 13px !important; font-weight: 400 !important; line-height: 1.45 !important;
}
html body.woocommerce-account .gp-consent-row input { width: 20px !important; height: 20px !important; margin: 0 !important; flex-shrink: 0; accent-color: var(--gp-accent); }
html body.woocommerce-account .gp-consent-row abbr.required { display: none !important; }
html body.woocommerce-account .woocommerce-form-login__rememberme { display: inline-flex !important; align-items: center; gap: 8px; font-size: 14px !important; font-weight: 400 !important; margin: 0 0 16px !important; }
html body.woocommerce-account .woocommerce-LostPassword { margin: 14px 0 0 !important; text-align: center; font-size: 14px; }

@media (min-width: 768px) {
  html body.woocommerce-account:not(.logged-in) .site-main .woocommerce {
    display: block !important; max-width: 880px !important; margin: 40px auto 64px !important;
  }
  html body.woocommerce-account .gp-login-hint { margin: 0 0 24px !important; }
  html body.woocommerce-account #customer_login.col2-set {
    display: grid !important; grid-template-columns: 1fr 1fr; gap: 32px; width: 100% !important; float: none !important;
  }
  html body.woocommerce-account #customer_login .col-1,
  html body.woocommerce-account #customer_login .col-2 { float: none !important; width: 100% !important; max-width: none !important; padding: 0 !important; }
  html body.woocommerce-account #customer_login h2 { font-size: 24px !important; font-weight: 800 !important; margin: 0 0 16px !important; }
  html body.woocommerce-account #customer_login form { height: calc(100% - 50px); box-sizing: border-box; }
}
/* clearfix-псевдоэлементы WooCommerce не должны становиться ячейками сетки */
html body.woocommerce-account #customer_login.col2-set::before,
html body.woocommerce-account #customer_login.col2-set::after,
html body.woocommerce-checkout form.checkout::before,
html body.woocommerce-checkout form.checkout::after,
html body.woocommerce-cart .site-main .woocommerce::before,
html body.woocommerce-cart .site-main .woocommerce::after { display: none !important; content: none !important; }
html body.woocommerce-checkout .woocommerce-additional-fields > h3 { display: none !important; }
