/*
  Корзина, личный кабинет, калькулятор керамогранита и плавная галерея товара.
  Оформление продолжает строгий монохромный стиль V22.
*/

/* ---------- Шапка: кабинет и корзина ---------- */

.store-header-shop {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.store-header-account,
.store-header-cart {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  color: #303338;
  background: #fff;
  border: 1px solid #cfd1d3;
  transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.store-header-account:hover,
.store-header-cart:hover,
.store-header-account.active,
.store-header-cart.active {
  color: #fff;
  background: #303338;
  border-color: #303338;
}

.store-header-account i,
.store-header-cart i {
  font-size: 15px;
  font-style: normal;
  line-height: 1;
}

.store-header-account span {
  display: grid;
  line-height: 1.25;
  text-align: left;
}

.store-header-account b { font-size: 12px; font-weight: 600; }
.store-header-account small { font-size: 9px; letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.store-header-cart span { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

.store-cart-badge[hidden] { display: none; }

.store-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  color: #fff;
  background: #303338;
  border: 1px solid #fff;
  font-size: 10px;
  font-weight: 700;
}

.store-header-cart:hover .store-cart-badge,
.store-header-cart.active .store-cart-badge { color: #303338; background: #fff; border-color: #303338; }

.store-footer-grid { grid-template-columns: 1.3fr .7fr .8fr .9fr; }

@media (max-width: 1280px) {
  .store-header-account small { display: none; }
  .store-header-account b { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .store-header-account { padding: 0 12px; }
}

@media (max-width: 980px) {
  .store-header-cart span { display: none; }
  .store-header-cart { padding: 0 12px; }
}

@media (max-width: 680px) {
  .store-header-shop { gap: 4px; }
  .store-header-account,
  .store-header-cart { min-height: 40px; padding: 0 10px; }
  .store-footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Кнопка «В корзину» ---------- */

.shop-add-button {
  min-height: 44px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  color: #fff;
  background: #303338;
  border: 1px solid #303338;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color .15s ease, color .15s ease;
}

.shop-add-button:hover { background: #17191b; border-color: #17191b; }
.shop-add-button--ghost { color: #303338; background: #fff; }
.shop-add-button--ghost:hover { color: #fff; background: #303338; }
.shop-add-button--wide { width: auto; padding: 0 26px; }

/* ---------- Уведомление ---------- */

.shop-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 300;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  color: #fff;
  background: #202326;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
  font-size: 13px;
}

.shop-toast.show { opacity: 1; pointer-events: auto; transform: none; }
.shop-toast a { color: #fff; border-bottom: 1px solid currentColor; font-weight: 600; white-space: nowrap; }

@media (max-width: 620px) {
  .shop-toast { right: 12px; left: 12px; bottom: 12px; max-width: none; }
}

/* ---------- Калькулятор керамогранита ---------- */

.calc-modal { position: fixed; inset: 0; z-index: 250; display: none; }
.calc-modal.open { display: block; }
.calc-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: rgba(24, 27, 30, .58); border: 0; cursor: pointer; }

.calc-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100% - 28px));
  max-height: min(92vh, 780px);
  overflow: auto;
  padding: 30px;
  background: #fff;
  border: 1px solid #bfc2c5;
  transform: translate(-50%, -50%);
  animation: calc-pop .22s ease;
}

@keyframes calc-pop {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.calc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  color: #303338;
  background: #f2f2f2;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.calc-close:hover { color: #fff; background: #303338; }
.calc-label { display: block; margin-bottom: 8px; color: #73777c; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.calc-dialog h2 { margin: 0 0 20px; color: #2c2f33; font-size: 26px; font-weight: 500; letter-spacing: -.03em; }

.calc-product {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: #f5f5f5;
  border: 1px solid #d7d9db;
}

.calc-product img { width: 76px; height: 64px; object-fit: contain; background: #fff; }
.calc-product strong { display: block; color: #2c2f33; font-size: 14px; font-weight: 500; line-height: 1.35; }
.calc-product span { display: block; margin-top: 5px; color: #73777c; font-size: 11px; }

.calc-question { margin: 20px 0 14px; color: #62666a; font-size: 13px; line-height: 1.55; }

.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-fields label:last-child { grid-column: 1 / -1; }
.calc-fields label { display: grid; gap: 6px; }
.calc-fields span { color: #73777c; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.calc-fields input,
.calc-fields select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: #292c30;
  background: #fff;
  border: 1px solid #cfd1d3;
  border-radius: 0;
  outline: 0;
  font-size: 15px;
}

.calc-fields input:focus,
.calc-fields select:focus { border-color: #303338; box-shadow: inset 0 -2px 0 #303338; }

.calc-result { display: none; margin-top: 18px; border-top: 1px solid #d7d9db; }
.calc-result.filled { display: block; }
.calc-result > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e6e7e8; }
.calc-result span { color: #73777c; font-size: 12px; }
.calc-result strong { color: #3a3e42; font-size: 13px; font-weight: 500; text-align: right; }
.calc-result strong b { color: #202326; font-size: 17px; font-weight: 600; }

.calc-error { min-height: 18px; margin: 10px 0 0; color: #8a3232; font-size: 12px; }

.calc-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

.calc-primary,
.calc-secondary {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background-color .15s ease, color .15s ease;
}

.calc-primary { color: #fff; background: #303338; border: 1px solid #303338; }
.calc-primary:hover:not(:disabled) { background: #17191b; }
.calc-primary:disabled { background: #b9bcbf; border-color: #b9bcbf; cursor: not-allowed; }
.calc-secondary { color: #303338; background: #fff; border: 1px solid #bfc2c5; }
.calc-secondary:hover { color: #fff; background: #303338; }

@media (max-width: 560px) {
  .calc-dialog { padding: 22px 16px; }
  .calc-fields { grid-template-columns: 1fr; }
}

/* ---------- Плавная галерея на странице товара ---------- */

.product-gallery-stage {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
  background: #f5f5f5;
}

.product-gallery-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .45s ease, transform .45s ease;
  will-change: opacity, transform;
}

.product-gallery-layer.is-active { opacity: 1; transform: none; }

.product-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #303338;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #cfd1d3;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .25s ease, color .15s ease, background-color .15s ease;
}

.product-photo-panel--gallery:hover .product-gallery-arrow,
.product-gallery-arrow:focus-visible { opacity: 1; }
.product-gallery-arrow:hover { color: #fff; background: #303338; border-color: #303338; }
.product-gallery-arrow--prev { left: 10px; }
.product-gallery-arrow--next { right: 10px; }

.product-thumb-row button { transition: border-color .2s ease, opacity .2s ease; opacity: .75; }
.product-thumb-row button:hover,
.product-thumb-row button.active { opacity: 1; }

.product-buy-row { display: grid; gap: 8px; margin-top: 12px; }
.product-buy-note { margin: 10px 0 0; color: #73777c; font-size: 11px; line-height: 1.5; }

@media (max-width: 700px) {
  .product-gallery-stage { height: 290px; }
  .product-gallery-arrow { opacity: 1; }
}

/* ---------- Кнопка в карточке каталога ---------- */

/* Колонка карточки прижимает содержимое вправо — обе кнопки растягиваем на всю ширину,
   чтобы «Подробнее» и «В корзину» стояли одинаково. */
.store-product-side .store-product-detail-button,
.store-product-side .shop-add-button {
  align-self: stretch;
  width: 100%;
}

.store-product-side .shop-add-button { margin-top: 6px; }

/* ---------- Общие блоки страниц корзины и кабинета ---------- */

.shop-page { padding: 0 0 80px; }
.shop-page .store-container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.shop-head { padding: 34px 0 26px; border-bottom: 1px solid #cfd1d3; }
.shop-head h1 { margin: 0; color: #2c2f33; font-size: 34px; font-weight: 500; letter-spacing: -.035em; }
.shop-head p { margin: 8px 0 0; max-width: 720px; color: #73777c; font-size: 13px; }
.shop-kicker { display: block; margin-bottom: 10px; color: #565b60; font-size: 10px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }

.shop-panel { margin-top: 24px; padding: 26px; background: #fff; border: 1px solid #cfd1d3; }
.shop-panel h2 { margin: 0 0 6px; color: #2c2f33; font-size: 21px; font-weight: 500; }
.shop-panel > p { margin: 0 0 18px; color: #73777c; font-size: 12px; }

.shop-empty { padding: 60px 26px; text-align: center; background: #fff; border: 1px solid #cfd1d3; margin-top: 24px; }
.shop-empty strong { display: block; color: #2c2f33; font-size: 20px; font-weight: 500; }
.shop-empty p { margin: 8px 0 20px; color: #73777c; font-size: 13px; }

.shop-note { margin-top: 20px; padding: 16px 18px; color: #62666a; background: #f5f5f5; border: 1px solid #d7d9db; font-size: 12px; line-height: 1.6; }

/* ---------- Корзина ---------- */

.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 24px; }

.cart-list { background: #fff; border: 1px solid #cfd1d3; }

.cart-line {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) 190px;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #e0e1e2;
}

.cart-line:last-child { border-bottom: 0; }
.cart-line-image { display: block; height: 116px; background: #f5f5f5; border: 1px solid #e0e1e2; }
.cart-line-image img { width: 100%; height: 100%; object-fit: contain; }

.cart-line-main h3 { margin: 0 0 6px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.cart-line-main h3 a:hover { text-decoration: underline; }
.cart-line-meta { color: #85898d; font-size: 11px; }
.cart-line-meta span + span::before { content: '·'; margin: 0 7px; }

.cart-calc { margin-top: 12px; padding: 12px 14px; background: #f5f5f5; border: 1px solid #dfe0e1; }
.cart-calc b { display: block; margin-bottom: 7px; color: #303338; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.cart-calc ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cart-calc li { display: flex; justify-content: space-between; gap: 14px; color: #62666a; font-size: 12px; }
.cart-calc li strong { color: #303338; font-weight: 500; }

.cart-line-side { display: grid; align-content: start; justify-items: end; gap: 12px; }
.cart-line-price { color: #202326; font-size: 20px; font-weight: 600; }
.cart-line-unit { color: #85898d; font-size: 11px; text-align: right; }

.cart-qty { display: inline-flex; align-items: stretch; border: 1px solid #cfd1d3; }
.cart-qty button { width: 38px; color: #303338; background: #fff; border: 0; cursor: pointer; font-size: 17px; line-height: 1; }
.cart-qty button:hover { color: #fff; background: #303338; }
.cart-qty input { width: 76px; padding: 8px 6px; color: #202326; background: #fff; border: 0; border-inline: 1px solid #cfd1d3; outline: 0; text-align: center; font-size: 14px; font-weight: 600; }

.cart-line-remove { padding: 0; color: #8a3232; background: none; border: 0; cursor: pointer; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }

.cart-summary { position: static; padding: clamp(20px, 3vw, 36px); background: #fff; border: 2px solid #303338; }
.cart-summary h2 { margin: 0 0 16px; font-size: 19px; font-weight: 500; }
.cart-summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid #ecedee; color: #62666a; font-size: 13px; }
.cart-summary-row strong { color: #303338; font-weight: 500; }
.cart-summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 16px 0 18px; }
.cart-summary-total span { color: #303338; font-size: 18px; font-weight: 600; }
.cart-summary-total b { color: #202326; font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -.02em; }
.cart-summary .shop-add-button { margin-bottom: 8px; }
.cart-summary-hint { margin: 10px 0 0; color: #85898d; font-size: 11px; line-height: 1.55; }
.cart-summary-hint a { text-decoration: underline; text-underline-offset: 3px; }

.cart-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; background: #f5f5f5; border: 1px solid #cfd1d3; border-bottom: 0; }
.cart-toolbar span { color: #73777c; font-size: 12px; }
.cart-toolbar button { padding: 0; color: #62666a; background: none; border: 0; cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cart-toolbar button:hover { color: #8a3232; }

@media (max-width: 1020px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

@media (max-width: 720px) {
  .shop-page .store-container { width: calc(100% - 28px); }
  .cart-line { grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .cart-line-image { height: 84px; }
  .cart-line-side { grid-column: 1 / -1; justify-items: stretch; }
  .cart-line-price, .cart-line-unit { text-align: left; }
  .cart-qty { justify-self: start; }
}

/* ---------- Оформление заказа ---------- */

.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-grid label,
.checkout-full { display: grid; gap: 6px; }
.checkout-full { margin-top: 14px; }
.checkout-grid span,
.checkout-full > span { color: #73777c; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

.checkout-grid input,
.checkout-full input,
.checkout-full textarea,
.checkout-full select,
.checkout-grid select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: #292c30;
  background: #fff;
  border: 1px solid #cfd1d3;
  border-radius: 0;
  outline: 0;
  font-size: 14px;
}

.checkout-full textarea { min-height: 96px; resize: vertical; }
.checkout-grid input:focus,
.checkout-full input:focus,
.checkout-full textarea:focus,
.checkout-full select:focus,
.checkout-grid select:focus { border-color: #303338; box-shadow: inset 0 -2px 0 #303338; }
.checkout-grid input:disabled { color: #73777c; background: #f5f5f5; }

.checkout-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.order-success { padding: 30px; background: #fff; border: 1px solid #303338; margin-top: 24px; }
.order-success strong { display: block; color: #202326; font-size: 24px; font-weight: 500; }
.order-success p { margin: 10px 0 0; color: #62666a; font-size: 13px; line-height: 1.6; }
.order-success-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

@media (max-width: 720px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* ---------- Личный кабинет ---------- */

.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }

.auth-tabs { display: flex; gap: 24px; margin-bottom: 22px; border-bottom: 1px solid #d7d9db; }
.auth-tabs button { position: relative; min-height: 44px; padding: 0; color: #85898d; background: none; border: 0; cursor: pointer; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.auth-tabs button.active { color: #202326; }
.auth-tabs button.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #303338; }

.auth-field { display: grid; gap: 6px; margin-bottom: 14px; }
.auth-field > span { color: #73777c; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.auth-field input,
.auth-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: #292c30;
  background: #fff;
  border: 1px solid #cfd1d3;
  border-radius: 0;
  outline: 0;
  font-size: 14px;
}
.auth-field input:focus,
.auth-field select:focus { border-color: #303338; box-shadow: inset 0 -2px 0 #303338; }
.auth-field input.invalid { border-color: #8a3232; }
.auth-field small { color: #8f9397; font-size: 11px; }
.auth-field-error { min-height: 15px; color: #8a3232; font-size: 11px; font-style: normal; }
.auth-field select { appearance: auto; }

.auth-message { min-height: 18px; margin: 4px 0 12px; font-size: 12px; }
.auth-message.error { color: #8a3232; }
.auth-message.success { color: #2f6042; }

.profile-card { display: grid; gap: 0; margin-bottom: 22px; border-top: 1px solid #d7d9db; }
.profile-card > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid #e6e7e8; }
.profile-card span { color: #85898d; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.profile-card strong { color: #2c2f33; font-size: 14px; font-weight: 500; text-align: right; }

.account-orders { display: grid; gap: 14px; }

.order-card { background: #fff; border: 1px solid #cfd1d3; }
.order-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; background: #f5f5f5; border-bottom: 1px solid #dfe0e1; }
.order-card-head b { color: #202326; font-size: 15px; font-weight: 600; }
.order-card-head time { display: block; margin-top: 3px; color: #85898d; font-size: 11px; }
.order-card-body { padding: 16px 20px; }
.order-card-items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.order-card-items li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #ecedee; }
.order-card-items li:last-child { border-bottom: 0; padding-bottom: 0; }
.order-card-items img { width: 52px; height: 46px; object-fit: contain; background: #f5f5f5; border: 1px solid #e6e7e8; }
.order-card-items strong { display: block; font-size: 13px; font-weight: 500; line-height: 1.35; }
.order-card-items small { display: block; margin-top: 3px; color: #85898d; font-size: 11px; }
.order-card-items em { font-style: normal; color: #202326; font-size: 14px; font-weight: 600; white-space: nowrap; }
.order-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid #e6e7e8; }
.order-card-foot span { color: #73777c; font-size: 12px; }
.order-card-foot b { color: #202326; font-size: 19px; font-weight: 600; }

.order-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border: 1px solid #bfc2c5;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.order-status--new { color: #fff; background: #303338; border-color: #303338; }
.order-status--in-work { color: #303338; background: #fff; }
.order-status--done { color: #2f6042; background: #eef4f0; border-color: #bcd2c5; }
.order-status--cancelled { color: #8a3232; background: #f7eeee; border-color: #d9bebe; }

@media (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
}

/* Official vector brand asset, separate from product photography. */
img.product-brand-logo { display:inline-block; width:102px!important; height:15px!important; min-height:0!important; object-fit:contain!important; border-radius:0!important; margin:6px 0; vertical-align:middle; }
.dns-brand-word img.product-brand-logo { width:162px!important; height:24px!important; }
img.product-brand-logo--dv { width:122px!important; height:25px!important; }
.dns-brand-word img.product-brand-logo--dv { width:162px!important; height:34px!important; }
body[data-page="catalog"] .store-category-chip--brand { background:#fff!important; color:#202326!important; border-color:#cfd1d3!important; }
body[data-page="catalog"] .store-category-chip--brand.active { background:#f2f2f2!important; border-color:#202326!important; box-shadow:inset 0 -3px #202326!important; }
body[data-page="catalog"] .store-category-chip--brand img { max-width:100%; }
  .auth-layout { grid-template-columns: 1fr; }
}

/* Clear product savings and the final deduction in the order summary. */
.product-discount { display: grid; gap: 5px; width: 100%; margin: 12px 0; padding: 12px 14px; color: #24553b; background: #eef7f0; border-left: 4px solid #38744f; text-align: left; }
.product-discount b { font-size: 16px; line-height: 1.35; }
.product-discount span, .dns-price-box .product-discount span { color: #365d45; font-size: 13px; line-height: 1.5; }
.product-discount s { color: #59655c; }
.cart-line-discount { margin-top: 14px; padding: 12px 14px; color: #24553b; background: #eef7f0; font-size: 15px; }
.cart-line-discount span { display: block; margin-top: 4px; font-size: 12px; }
.cart-subtotal { font-size: 17px; }
.cart-discount-total { margin-top: 20px; padding: 20px; color: #204c32; background: #eef7f0; border: 1px solid #b6d5c0; }
.cart-discount-total > div { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 20px; font-weight: 600; }
.cart-discount-total strong { font-size: clamp(24px, 4vw, 32px); }
.cart-discount-total p { margin: 8px 0 0; font-size: 14px; }
.cart-summary-total { flex-wrap: wrap; }
.shop-admin-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; padding: 12px 20px; background: #eef2f5; border-bottom: 1px solid #cfd1d3; font-size: 14px; }
.shop-admin-bar a { text-decoration: underline; text-underline-offset: 3px; }
.sale-price-label, .dns-price-box .sale-price-label { color: #24553b; font-size: 13px; font-weight: 600; }

/* Full-height header sections for catalogue, account and basket. */
.store-header-main > .store-catalog-dropdown,
.store-header-main > .store-header-shop { align-self: stretch; }
.store-header-main > .store-catalog-dropdown { display: flex; align-items: stretch; }
.store-header-main .store-catalog-button {
  align-self: stretch;
  min-height: 0;
  padding-inline: 18px;
  border: 0;
  border-inline: 1px solid #303338;
  border-radius: 0;
  margin: 0;
}
.store-header-main .store-header-shop { align-items: stretch; gap: 0; }
.store-header-main .store-header-account,
.store-header-main .store-header-cart {
  align-self: stretch;
  min-height: 0;
  margin: 0;
  padding-inline: 18px;
  border: 0;
  border-left: 1px solid #cfd1d3;
  border-radius: 0;
  box-shadow: none;
}
.store-header-main .store-header-cart { border-right: 1px solid #cfd1d3; }
.store-header-main .store-cart-badge { top: 7px; right: 5px; }
.store-header-main .store-catalog-menu { top: 100%; }
@media (max-width: 720px) {
  .store-header-main .store-catalog-button,
  .store-header-main .store-header-account,
  .store-header-main .store-header-cart { padding-inline: 10px; }
}
