/* ===== Leonardite: общий слой дизайна поверх style.css ===== */
:root {
  --lg-g1: #00bd26; --lg-g2: #009d03;
  --lg-grad: linear-gradient(135deg, #00c92a 0%, #009d03 100%);
  --lg-deep: linear-gradient(160deg, #0d5a20 0%, #062a12 70%);
  --lg-ink: #15221a; --lg-muted: #6b7b70; --lg-line: #e3eae4; --lg-soft: #f4f8f3;
  --lg-ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---- на всю ширину окна: убираем обрезку 1920px ---- */
html { overflow-x: clip; }
body { max-width: none; }
header { max-width: none; left: 0; right: 0; }
.inner_m_ban_block_slider img { max-height: 88vh; object-fit: cover; object-position: right center; }

/* ---- меню шапки: одной строкой, пилюлей ---- */
.in_header_left { max-width: none; width: auto; }
header nav { display: flex; align-items: center; gap: 2px; margin-left: 22px; padding: 5px; border-radius: 40px;
  background: var(--lg-soft); border: 1px solid var(--lg-line); transition: background .35s, border-color .35s; }
header nav a { margin: 0; padding: 10px 16px; border-radius: 30px; font-size: 15px; color: var(--lg-ink); transition: background .3s, color .3s, box-shadow .3s; }
header nav a:hover { background: #fff; color: var(--lg-g2); box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .4); }
header nav a.is-active { background: var(--lg-grad); color: #fff; box-shadow: 0 10px 20px -12px rgba(0, 157, 3, .9); }
@media (max-width: 1440px) { header nav a { padding: 9px 12px; font-size: 14px; } }
@media (max-width: 1280px) { header nav { display: none; } }
.shop_ic span { transition: transform .35s var(--lg-ease); }
.shop_ic:hover span { transform: scale(1.2); }
.menu-btn { transition: transform .35s var(--lg-ease), box-shadow .35s; }
.menu-btn:hover { transform: rotate(-6deg) scale(1.05); }

/* ---- кнопки ---- */
.btn_main { transition: transform .3s var(--lg-ease), box-shadow .3s, filter .3s; box-shadow: 0 14px 26px -14px rgba(0, 157, 3, .95); }
.btn_main:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn_1 span { transition: transform .4s var(--lg-ease), box-shadow .4s; box-shadow: 0 14px 26px -14px rgba(0, 157, 3, .95); }
.btn_1:hover span { transform: scale(1.06); }

/* ---- подписка ---- */
.subscribe_us { position: relative; max-width: 1100px; margin: 20px auto 90px; padding: 56px 40px; border-radius: 32px; text-align: center;
  background: radial-gradient(circle at 90% 10%, rgba(0, 201, 42, .16), transparent 45%), var(--lg-soft); border: 1px solid var(--lg-line); overflow: hidden; }
.subscribe_us::before { content: ''; position: absolute; width: 260px; height: 260px; left: -90px; bottom: -120px; border-radius: 50%; background: rgba(0, 189, 38, .1); }
.subscribe_us > * { position: relative; }
.subscribe_us form div { background: #fff; border-color: var(--lg-line); box-shadow: 0 14px 30px -22px rgba(10, 58, 22, .5); transition: box-shadow .3s, border-color .3s; }
.subscribe_us form div:focus-within { border-color: var(--lg-g1); box-shadow: 0 0 0 4px rgba(0, 189, 38, .14); }
.subscribe_us form div button { transition: transform .3s var(--lg-ease); cursor: pointer; }
.subscribe_us form div button:hover { transform: scale(1.06) rotate(-8deg); }
.lg-subscribed { color: var(--lg-g2); font-weight: 500; margin-top: 16px; }

/* ---- подвал: тёмно-зелёный, на всю ширину ---- */
footer { position: relative; background: var(--lg-deep); color: #dff5e3; overflow: hidden; padding-top: 30px; }
footer::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 0%, rgba(0, 201, 42, .35), transparent 45%), radial-gradient(circle at 0% 100%, rgba(255, 213, 74, .12), transparent 40%); }
footer::after { content: ''; position: absolute; top: -1px; left: 0; right: 0; height: 40px; pointer-events: none;
  background: #fff; clip-path: ellipse(55% 100% at 50% 0%); }
footer .container { position: relative; z-index: 1; }
.before_footer { border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 40px 0 30px; }
.social { gap: 10px; }
.social a { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background .3s, transform .3s var(--lg-ease); margin: 0; }
.social a:hover { background: var(--lg-grad); transform: translateY(-3px); }
.n_txt p { color: #a9dcb2; }
.n_txt a { transition: color .3s; }
.n_txt a:hover { color: #8ff0a2; }
footer .btn_1 b { color: #fff; }
.in_footer { padding: 36px 0 44px; gap: 30px; }
.in_footer_left p { color: #8fb79a; }
.in_footer_nav h4 { color: #fff; }
.in_footer_nav a { color: #b9dcc0; transition: color .25s, padding-left .25s; }
.in_footer_nav a:hover { color: #8ff0a2; padding-left: 4px; }

/* ---- текстовые страницы: контакты, доставка ---- */
.lg-page { padding: 170px 0 70px; }
.lg-page-head { margin-bottom: 36px; animation: lgUp .7s var(--lg-ease) both; }
.lg-kicker { display: inline-block; padding: 7px 14px; border-radius: 30px; background: var(--lg-soft); border: 1px solid var(--lg-line); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--lg-g2); }
.lg-page-head h1 { font-family: 'RF Dewi', sans-serif; font-weight: 700; font-size: 56px; line-height: 1.05; margin: 16px 0 10px; color: var(--lg-ink); }
.lg-page-head p { color: var(--lg-muted); font-size: 17px; max-width: 640px; }
.lg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.lg-card { position: relative; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--lg-line); box-shadow: 0 2px 10px rgba(10, 58, 22, .05);
  transition: transform .45s var(--lg-ease), box-shadow .45s var(--lg-ease); animation: lgUp .7s var(--lg-ease) both; animation-delay: calc(var(--d, 0) * 90ms); }
.lg-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(10, 58, 22, .45); }
.lg-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--lg-grad); margin-bottom: 18px; box-shadow: 0 12px 22px -12px rgba(0, 157, 3, .9); }
.lg-ic svg { width: 24px; height: 24px; }
.lg-card h3 { font-family: 'RF Dewi', sans-serif; font-weight: 700; font-size: 20px; margin: 0 0 8px; color: var(--lg-ink); }
.lg-card p { font-size: 14px; line-height: 1.6; color: var(--lg-muted); margin: 0 0 6px; }
.lg-card a { color: var(--lg-g2); text-decoration: none; font-weight: 500; }
.lg-card a:hover { text-decoration: underline; }
.lg-big { font-family: 'RF Dewi', sans-serif; font-weight: 700; font-size: 24px; color: var(--lg-ink) !important; }
.lg-price { display: inline-block; margin-top: 12px; padding: 7px 14px; border-radius: 30px; background: var(--lg-soft); border: 1px solid var(--lg-line); font-weight: 700; color: var(--lg-g2); font-size: 15px; }
.lg-banner { margin-top: 22px; padding: 26px 30px; border-radius: 24px; color: #fff; background: var(--lg-grad); display: flex; align-items: center; gap: 18px; box-shadow: 0 24px 40px -24px rgba(0, 157, 3, .9); animation: lgUp .7s .3s var(--lg-ease) both; }
.lg-banner b { font-family: 'RF Dewi', sans-serif; font-size: 22px; }
.lg-note { margin-top: 18px; font-size: 14px; color: var(--lg-muted); }
.lg-map { margin-top: 22px; border-radius: 24px; overflow: hidden; border: 1px solid var(--lg-line); box-shadow: 0 20px 40px -30px rgba(10, 58, 22, .5); }
.lg-map iframe { display: block; height: 460px; }
.lg-req { font-size: 14px; line-height: 1.8; color: var(--lg-muted); }
.lg-req b { color: var(--lg-ink); }
@keyframes lgUp { from { opacity: 0; transform: translateY(24px); } }

/* ---- корзина / заказ звонка ---- */
.corzine_block { background: linear-gradient(180deg, #f5f5f5, #eef4ed); }
.corzine_block_flex_right { border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(10, 58, 22, .5); }
.lg-empty { text-align: center; padding: 70px 20px; animation: lgUp .7s var(--lg-ease) both; }
.lg-empty-ic { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 20px 40px -24px rgba(10, 58, 22, .5); animation: lgBob 4s ease-in-out infinite; }
.lg-empty-ic img { width: 34px; height: 34px; }
@keyframes lgBob { 50% { transform: translateY(-8px); } }
.lg-empty h3 { font-family: 'RF Dewi', sans-serif; font-size: 30px; margin: 0 0 8px; color: var(--lg-ink); }
.lg-empty p { color: var(--lg-muted); margin: 0 0 24px; }
.lg-empty .btn_main { margin: 0 auto; max-width: 260px; text-decoration: none; }
.lg-msg { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-size: 15px; }
.lg-msg.ok { background: #e7f7ea; color: #0a6b1c; }
.lg-msg.err { background: #fde8e8; color: #a12a2f; }

@media (max-width: 760px) {
  .lg-page { padding: 130px 0 50px; }
  .lg-page-head h1 { font-size: 38px; }
  .subscribe_us { margin: 10px 15px 60px; padding: 36px 20px; border-radius: 24px; }
  .lg-map iframe { height: 340px; }
  footer::after { height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .lg-card, .lg-page-head, .lg-banner, .lg-empty, .lg-empty-ic { animation: none; }
}
body:has(.corzine_block) footer::after { background: #eef4ed; }

/* ===== корзина и формы заказа / звонка ===== */
.corzine_block { padding: 170px 0 90px; }
.corzine_block_flex { gap: 34px; align-items: flex-start; }
.corzine_block_flex_left { flex: 1; min-width: 0; }
.to_back { display: inline-flex; align-items: center; gap: 10px; max-width: none; font-size: 15px; font-weight: 700; padding: 10px 18px 10px 14px; margin: 0 0 22px;
  border-radius: 40px; background: #fff; border: 1px solid var(--lg-line); color: var(--lg-ink); background-image: none !important; cursor: pointer; transition: transform .3s var(--lg-ease), box-shadow .3s; }
.to_back::before { content: '←'; font-size: 16px; transition: transform .3s var(--lg-ease); }
.to_back:hover { box-shadow: 0 12px 24px -16px rgba(10, 58, 22, .5); }
.to_back:hover::before { transform: translateX(-4px); }

/* таблица корзины → карточка */
#cart-wrap { background: #fff; border-radius: 26px; border: 1px solid var(--lg-line); box-shadow: 0 30px 60px -44px rgba(10, 58, 22, .55); padding: 10px 26px 6px; }
.corzine_block_flex_left_in table { width: 100%; border-collapse: collapse; }
.corzine_block_flex_left_in th { background: none; color: var(--lg-muted); font: 500 12px 'Montserrat', sans-serif; text-transform: uppercase; letter-spacing: .08em; padding: 16px 0; border-bottom: 1px solid var(--lg-line); }
.corzine_block_flex_left_in th:nth-child(1) { padding-left: 0; }
.corzine_block_flex_left_in td { border-bottom: 1px dashed var(--lg-line); padding: 12px 0; }
.t_prd > span { width: 84px; height: 84px; margin-right: 18px; border-radius: 18px; background: var(--lg-soft); border: 1px solid var(--lg-line); }
.t_prd > span img { height: 100%; width: 100%; object-fit: cover; }
.t_prd > p { font-family: 'RF Dewi', sans-serif; font-weight: 700; font-size: 16px !important; }
.corzine_block_flex_left_in .amount { display: inline-flex; align-items: center; width: auto; height: 40px; padding: 0 4px; border-radius: 40px; background: var(--lg-soft); border: 1px solid var(--lg-line); }
.corzine_block_flex_left_in .amount .down, .corzine_block_flex_left_in .amount .up { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); cursor: pointer; transition: background .25s, color .25s; }
.corzine_block_flex_left_in .amount .down:hover, .corzine_block_flex_left_in .amount .up:hover { background: var(--lg-grad); color: #fff; }
.corzine_block_flex_left_in .amount input { width: 34px; text-align: center; font-weight: 700; background: transparent; border: 0; }
.corzine_block_flex_left_in td.remove { cursor: pointer; text-align: center; color: transparent; position: relative; width: 44px; }
.corzine_block_flex_left_in td.remove::after { content: '×'; position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #c94045; background: #fdeeee; font-size: 20px; transition: background .25s, color .25s, transform .25s var(--lg-ease); }
.corzine_block_flex_left_in td.remove:hover::after { background: #e5484d; color: #fff; transform: rotate(90deg); }
.tot_bl { padding: 20px 0 18px; }
.tot_bl h3 { font-size: 30px; }
.tot_bl h3:last-child { color: var(--lg-g2); }

/* форма: карточка с полями */
.corzine_block_flex_right { max-width: 520px; background: #fff; border-radius: 28px; border: 1px solid var(--lg-line); padding: 34px 34px 36px; box-shadow: 0 34px 70px -46px rgba(10, 58, 22, .6); overflow: visible; }
.corzine_block_flex_right .to_back { margin-bottom: 18px; }
.corzine_block_flex_right h3 { font-size: 34px; margin: 0 0 22px; line-height: 1.1; }
.corzine_block_flex_right h5 { display: flex; align-items: center; gap: 10px; background: none; color: var(--lg-ink); padding: 0; margin: 22px 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.corzine_block_flex_right h5::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--lg-g1); box-shadow: 0 0 0 5px rgba(0, 189, 38, .14); }
.corzine_block_flex_right h5:first-of-type, .corzine_block_flex_right form > h5:first-child { margin-top: 0; }
.corzine_block_flex_right div { padding: 0; border: 0; margin-bottom: 12px; }
.corzine_block_flex_right form > div { position: relative; }
.corzine_block_flex_right div span { font-size: 12px; color: var(--lg-muted); margin: 0 0 6px 4px; }
.corzine_block_flex_right div input, .corzine_block_flex_right .select-css {
  width: 100%; height: 52px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--lg-line); background: var(--lg-soft);
  font: 15px 'Montserrat', sans-serif; color: var(--lg-ink); box-shadow: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.corzine_block_flex_right div input::placeholder { color: #a7b3aa; }
.corzine_block_flex_right div input:focus, .corzine_block_flex_right .select-css:focus { outline: none; border-color: var(--lg-g1); background: #fff; box-shadow: 0 0 0 4px rgba(0, 189, 38, .14); }
.corzine_block_flex_right div input.error { border-color: #e5484d; background: #fff6f6 !important; }
.corzine_block_flex_right .select-css { appearance: none; -webkit-appearance: none; font-weight: 500; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23009d03' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 14px; }
.corzine_block_flex_right .btn_main { width: 100%; max-width: none; margin-top: 22px; padding: 18px; font-size: 16px; }
.corzine_block_flex_right label.error, .corzine_block_flex_right div label.error { display: block; font-size: 12px; color: #c94045; margin: 6px 0 0 4px; }
.corzine_block_flex2 .corzine_block_flex_right { margin: 0 auto; }
@media (max-width: 1100px) { .corzine_block_flex { flex-direction: column; } .corzine_block_flex_right { max-width: none; } }
@media (max-width: 760px) {
  .corzine_block { padding: 130px 0 60px; }
  #cart-wrap { padding: 6px 14px; overflow-x: auto; }
  .corzine_block_flex_right { padding: 24px 18px 26px; border-radius: 22px; }
  .corzine_block_flex_right h3 { font-size: 28px; }
}
.add_cart.in_cart { cursor: pointer; }
.add_cart.in_cart:hover { background: #f1fbf3 !important; }
.lg-grid:has(.lg-card:nth-child(5)) { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* ===== личный кабинет ===== */
.acc-login { max-width: 560px; margin: 0 auto; text-align: center; }
.acc-login .lg-page-head p { margin: 0 auto; }
.acc-form { display: flex; flex-direction: column; gap: 14px; text-align: left; padding: 30px; }
.acc-form label span { display: block; font-size: 12px; color: var(--lg-muted); margin: 0 0 6px 4px; }
.acc-form input { width: 100%; height: 54px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--lg-line); background: var(--lg-soft); font: 16px 'Montserrat', sans-serif; color: var(--lg-ink); transition: border-color .25s, box-shadow .25s, background .25s; }
.acc-form input:focus { outline: none; border-color: var(--lg-g1); background: #fff; box-shadow: 0 0 0 4px rgba(0, 189, 38, .14); }
.acc-form .btn_main { width: 100%; max-width: none; margin-top: 6px; }
.acc-help { font-size: 13px; color: var(--lg-muted); text-align: center; margin: 4px 0 0; }
.acc-help a { color: var(--lg-g2); }
.acc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.acc-actions { display: flex; gap: 10px; }
.acc-btn { display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 40px; background: var(--lg-grad); color: #fff; text-decoration: none; font: 700 14px 'RF Dewi', sans-serif; box-shadow: 0 12px 24px -14px rgba(0, 157, 3, .9); transition: transform .3s var(--lg-ease); }
.acc-btn:hover { transform: translateY(-2px); }
.acc-btn.ghost { background: #fff; color: var(--lg-ink); border: 1px solid var(--lg-line); box-shadow: none; }
.acc-orders { display: flex; flex-direction: column; gap: 22px; }
.acc-order { background: #fff; border: 1px solid var(--lg-line); border-radius: 26px; padding: 26px 28px; box-shadow: 0 24px 50px -40px rgba(10, 58, 22, .55);
  animation: lgUp .7s var(--lg-ease) both; animation-delay: calc(var(--d, 0) * 90ms); scroll-margin-top: 140px; }
.acc-order:target { border-color: var(--lg-g1); box-shadow: 0 0 0 4px rgba(0, 189, 38, .12), 0 24px 50px -40px rgba(10, 58, 22, .55); }
.acc-order.is-cancelled { opacity: .75; }
.acc-order-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acc-order-head > div { display: flex; flex-direction: column; margin-right: auto; }
.acc-num { font: 700 22px 'RF Dewi', sans-serif; color: var(--lg-ink); }
.acc-date { font-size: 13px; color: var(--lg-muted); }
.acc-status { padding: 7px 14px; border-radius: 30px; font-size: 13px; font-weight: 500; background: #e7f7ea; color: #0a6b1c; }
.acc-status.s-new { background: #e8f0fd; color: #1f5fbf; }
.acc-status.s-processing { background: #fff3dc; color: #9a6300; }
.acc-status.s-shipped { background: #efe9fd; color: #5b3bc4; }
.acc-status.s-cancelled { background: #fde8e8; color: #a12a2f; }
.acc-total { font: 700 24px 'RF Dewi', sans-serif; color: var(--lg-g2); }
.acc-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 26px 0 6px; }
.acc-line { position: absolute; left: 12.5%; right: 12.5%; top: 17px; height: 4px; border-radius: 4px; background: var(--lg-line); overflow: hidden; }
.acc-line i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--lg-grad); animation: accFill 1.2s .3s var(--lg-ease) backwards; }
@keyframes accFill { from { transform: scaleX(0); } }
.acc-step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.acc-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 14px 'RF Dewi', sans-serif; background: #fff; border: 2px solid var(--lg-line); color: var(--lg-muted); transition: .4s; }
.acc-step.done .acc-dot { background: var(--lg-grad); border-color: transparent; color: #fff; }
.acc-step.current .acc-dot { background: #fff; border-color: var(--lg-g1); color: var(--lg-g2); box-shadow: 0 0 0 6px rgba(0, 189, 38, .14); animation: accPulse 2s ease-in-out infinite; }
@keyframes accPulse { 50% { box-shadow: 0 0 0 11px rgba(0, 189, 38, .05); } }
.acc-step-name { font-size: 13px; color: var(--lg-muted); }
.acc-step.done .acc-step-name, .acc-step.current .acc-step-name { color: var(--lg-ink); font-weight: 500; }
.acc-hint { margin: 14px 0 0; padding: 12px 16px; border-radius: 14px; background: var(--lg-soft); font-size: 14px; color: var(--lg-ink); }
.acc-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; margin-top: 20px; }
.acc-items { display: flex; flex-direction: column; gap: 10px; }
.acc-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; border: 1px solid var(--lg-line); }
.acc-item-img { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--lg-soft); flex-shrink: 0; }
.acc-item-img img { width: 100%; height: 100%; object-fit: cover; }
.acc-item > div { flex: 1; min-width: 0; }
.acc-item b { display: block; font: 700 15px 'RF Dewi', sans-serif; color: var(--lg-ink); }
.acc-item small { font-size: 12px; color: var(--lg-muted); }
.acc-item-sum { font-weight: 700; white-space: nowrap; }
.acc-info { display: grid; grid-template-columns: 110px 1fr; gap: 10px 14px; margin: 0; font-size: 14px; align-content: start; }
.acc-info dt { color: var(--lg-muted); }
.acc-info dd { margin: 0; color: var(--lg-ink); word-break: break-word; }
.acc-info a { color: var(--lg-g2); font-weight: 500; }
.acc-muted { color: var(--lg-muted); }
/* значок кабинета в шапке */
.acc_ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; margin: 0 0 0 16px; color: var(--lg-ink);
  box-shadow: 0 7px 12px 0 rgba(0, 0, 0, .1); transition: transform .35s var(--lg-ease), color .3s; flex-shrink: 0; }
.acc_ic svg { width: 22px; height: 22px; }
.acc_ic:hover { transform: translateY(-2px); color: var(--lg-g2); }
.in_header_right { display: flex; align-items: center; }
.in_header_right .shop_ic { margin-left: 16px; }
.lg-msg a { color: inherit; font-weight: 700; }
@media (max-width: 860px) {
  .acc-body { grid-template-columns: 1fr; }
  .acc-order { padding: 20px 16px; }
  .acc-step-name { font-size: 11px; }
  .acc_ic { width: 50px; height: 50px; margin-left: 10px; }
}

/* изменение данных заказа */
.acc-flash { margin-bottom: 18px; }
.acc-edit { margin-top: 18px; border: 1px dashed var(--lg-line); border-radius: 18px; background: var(--lg-soft); overflow: hidden; }
.acc-edit summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font: 700 15px 'RF Dewi', sans-serif; color: var(--lg-g2); }
.acc-edit summary::-webkit-details-marker { display: none; }
.acc-edit summary span::before { content: '✎'; margin-right: 10px; }
.acc-edit summary small { font: 13px 'Montserrat', sans-serif; color: var(--lg-muted); }
.acc-edit summary::after { content: '▾'; color: var(--lg-muted); transition: transform .3s var(--lg-ease); }
.acc-edit[open] summary::after { transform: rotate(180deg); }
.acc-edit[open] { border-style: solid; background: #fff; }
.acc-edit-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 4px 18px 18px; animation: lgUp .45s var(--lg-ease) both; }
.acc-edit-form .full { grid-column: 1 / -1; }
.acc-edit-form label span { display: block; font-size: 12px; color: var(--lg-muted); margin: 0 0 6px 4px; }
.acc-edit-form input, .acc-edit-form select { width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--lg-line); background: var(--lg-soft); font: 15px 'Montserrat', sans-serif; color: var(--lg-ink); transition: border-color .25s, box-shadow .25s, background .25s; }
.acc-edit-form select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23009d03' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px; }
.acc-edit-form input:focus, .acc-edit-form select:focus { outline: none; border-color: var(--lg-g1); background: #fff; box-shadow: 0 0 0 4px rgba(0, 189, 38, .14); }
.acc-edit-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.acc-edit-actions button { border: 0; cursor: pointer; }
.acc-edit-actions span { font-size: 13px; color: var(--lg-muted); }
.acc-locked { margin: 16px 0 0; font-size: 13px; color: var(--lg-muted); }
.acc-locked a { color: var(--lg-g2); }
@media (max-width: 760px) { .acc-edit-form { grid-template-columns: 1fr; } .acc-edit summary small { display: none; } }

.acc-edit-form label span em { font-style: normal; color: #a7b3aa; }
.acc-all { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--lg-ink); }
.acc-all input { width: 20px; height: 20px; accent-color: #00a91c; flex-shrink: 0; }
.acc-all span { margin: 0 !important; font-size: 14px !important; color: var(--lg-ink) !important; }

.acc-note { display: flex; gap: 12px; margin-top: 10px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid color-mix(in srgb, #00bd26 35%, #e3eae4); animation: lgUp .6s var(--lg-ease) both; }
.acc-note-ic { font-size: 18px; line-height: 1.4; }
.acc-note b { font: 700 14px 'RF Dewi', sans-serif; color: var(--lg-ink); }
.acc-note small { font-size: 12px; color: var(--lg-muted); margin-left: 6px; }
.acc-note p { margin: 4px 0 0; font-size: 14px; color: var(--lg-ink); }

/* ===== Кнопка «Уже в корзине» на обычных страницах: белый фон + зелёный текст всегда ===== */
.add_cart.in_cart {
  color: #009d03;
  background: #fff;
  border: 1.5px solid #00bd26;
}
.add_cart.in_cart:hover {
  color: #009d03 !important;
  background: #f1fbf3 !important;
  transform: translateY(-2px);
}
.add_cart.in_cart .fa-trash {
  color: #d93a3f;
  margin-left: 8px;
  padding: 5px;
  border-radius: 50%;
  transition: background .2s;
}
.add_cart.in_cart .fa-trash:hover { background: rgba(217, 58, 63, .12); }
