/* Local design fixes for the offline mirror. */

.productCard-hero__content-purchase__bottom {
  padding: 24px 24px 24px 96px !important;
  min-height: 128px;
}

.open_modal[data-modal="oneclick"] {
  display: none !important;
}

.local-cart {
  display: grid;
  grid-column: 1;
  gap: 14px;
  align-self: start;
  padding: 0;
}

.local-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 40px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px 28px;
  background: #fff;
}

.local-page h1 {
  grid-column: 1 / -1;
  margin: 6px 0 4px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.local-page .breadcrumbs {
  grid-column: 1 / -1;
  color: #8b8b8b;
  font-size: 13px;
}

.local-cart-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 118px 126px 82px;
  align-items: center;
  gap: 18px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .04);
}

.local-cart-image,
.local-cart-placeholder {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.local-cart-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.local-cart-title {
  color: #000;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.local-cart-price {
  margin-top: 6px;
  color: #757575;
}

.local-cart-qty {
  display: grid;
  grid-template-columns: 34px 40px 34px;
  align-items: center;
  gap: 0;
  text-align: center;
  width: 108px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.local-cart-qty button,
.local-cart-remove {
  min-height: 34px;
  border: 0;
  background: #fff;
  cursor: pointer;
}

.local-cart-qty button {
  font-size: 18px;
  font-weight: 800;
}

.local-cart-qty button:hover,
.local-cart-remove:hover {
  background: #f5f5f5;
}

.local-cart-qty span {
  font-weight: 800;
}

.local-cart-remove {
  min-height: 36px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  color: #777;
  font-weight: 700;
}

.local-cart-sum,
.local-cart-total {
  font-weight: 800;
}

.local-cart-sum {
  font-size: 17px;
}

.local-cart-total {
  grid-column: 2;
  align-self: end;
  margin: 0;
  padding: 22px 22px 6px;
  border: 1px solid #ededed;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fafafa;
  font-size: 18px;
  text-align: left;
}

.local-cart-total strong {
  display: block;
  margin-top: 6px;
  font-size: 30px;
  line-height: 1.1;
}

.local-checkout {
  grid-column: 2;
  align-self: start;
  position: sticky;
  top: 18px;
  margin-top: 0;
  padding: 22px;
  border: 1px solid #ededed;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #fafafa;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .05);
}

.local-checkout h2 {
  margin: 0 0 18px;
  font-size: 22px;
  line-height: 1.2;
}

.local-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.local-checkout label {
  display: grid;
  gap: 7px;
  font-weight: 600;
}

.local-checkout input,
.local-checkout textarea {
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.local-checkout input:focus,
.local-checkout textarea:focus {
  outline: none;
  border-color: #ffd400;
  box-shadow: 0 0 0 3px rgba(255, 212, 0, .2);
}

.local-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
}

.local-checkout .local-choice-row label,
.local-checkout .local-consent {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-weight: 700;
}

.local-checkout .local-consent {
  display: flex !important;
  align-items: flex-start;
  margin-top: 10px;
  padding: 12px 14px;
  line-height: 1.25;
  font-size: 14px;
}

.local-checkout .local-consent input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.local-checkout .local-consent a {
  color: #111;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.local-choice-row input,
.local-consent input {
  width: auto;
}

.local-checkout textarea {
  min-height: 88px;
  resize: vertical;
}

.local-checkout-note,
.local-pickup-note {
  color: #555;
}

.local-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 7px;
  background: #ffd400;
  color: #000;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(255, 212, 0, .25);
}

.local-submit:hover {
  background: #ffdf2d;
}

.local-submit:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.local-order-status {
  min-height: 22px;
  margin-top: 10px;
  font-weight: 700;
}

.local-order-status.is-success {
  color: #1f8f3a;
}

.local-order-status.is-error {
  color: #d20f2a;
}

.local-cart-empty {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #d8d8d8;
  border-radius: 8px;
  background: #fafafa;
  color: #777;
  font-size: 18px;
  font-weight: 800;
}

.local-cart-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #111;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.local-cart-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.footer-legal-details {
  margin-top: 22px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #a8a8a8;
  font-size: 13px;
  line-height: 1.55;
}

.footer-legal-details p {
  margin: 0 0 4px;
}

.footer-legal-details strong,
.footer-legal-details a {
  color: #fff;
}

.footer__content-top .btn-global,
.footer__content-bottom__block-social,
.footer__content-bottom__block p:has(+ .footer__content-bottom__block-social) {
  display: none !important;
}

.local-info-page {
  padding: 42px 0 64px;
  background: #fff;
}

.local-info-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

.local-info-page__content {
  max-width: 820px;
  color: #333;
  font-size: 16px;
  line-height: 1.65;
}

.local-info-page__content h2 {
  margin: 0 0 14px;
  color: #000;
  font-size: 26px;
  line-height: 1.2;
}

.local-info-page__content h2:not(:first-child) {
  margin-top: 34px;
}

.local-info-page__content p {
  margin: 0 0 14px;
}

.local-info-page__content a,
.local-info-card a {
  color: #000;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.local-info-page__aside {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 18px;
}

.local-info-card {
  padding: 22px;
  border: 1px solid #ededed;
  border-radius: 8px;
  background: #fafafa;
  color: #555;
  line-height: 1.55;
}

.local-info-card strong {
  display: block;
  margin-bottom: 12px;
  color: #000;
  font-size: 18px;
}

.local-info-card p {
  margin: 0 0 8px;
}

@media (max-width: 768px) {
  .local-page {
    display: block;
    padding: 22px 16px 48px;
  }

  .local-cart-row {
    grid-template-columns: 82px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .local-cart-qty,
  .local-cart-sum,
  .local-cart-remove {
    grid-column: 2;
  }

  .local-cart-image,
  .local-cart-placeholder {
    width: 72px;
    height: 72px;
  }

  .local-cart-total {
    margin-top: 18px;
    border: 1px solid #ededed;
    border-radius: 8px 8px 0 0;
  }

  .local-checkout {
    position: static;
    border-top: 0;
    border-radius: 0 0 8px 8px;
  }

  .local-form-grid {
    grid-template-columns: 1fr;
  }

  .local-info-page {
    padding: 28px 0 44px;
  }

  .local-info-page__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .local-info-page__content {
    font-size: 15px;
  }

  .local-info-page__content h2 {
    font-size: 22px;
  }

  .local-info-page__aside {
    position: static;
  }
}

.productCard-hero__content-purchase__bottom-header {
  width: 56px !important;
  height: 56px !important;
  top: 24px !important;
  left: 24px !important;
  transform: none !important;
  justify-content: center;
  align-items: center;
}

.productCard-hero__content-purchase__bottom-header img {
  width: 56px !important;
  height: 56px !important;
  display: block;
}

@media (max-width: 480px) {
  .productCard-hero__content-purchase__bottom {
    padding: 20px 18px 20px 82px !important;
  }

  .productCard-hero__content-purchase__bottom-header {
    width: 48px !important;
    height: 48px !important;
    top: 20px !important;
    left: 18px !important;
  }

  .productCard-hero__content-purchase__bottom-header img {
    width: 48px !important;
    height: 48px !important;
  }
}
