.shop-page {
  background: #fff;
}

.shop-page .ss-page-home .ss-layout-element.ss-layout-element-ab3497d .ss-component-btn {
  border-radius: 8px;
}

.shop-hero-title {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-family: borsok;
  font-size: 62.5px;
  font-weight: 400;
  line-height: 1;
  text-align: left;
  -webkit-text-stroke: 5px #f00;
  paint-order: stroke fill;
}

.shop-products-section {
  padding: 74px clamp(22px, 5vw, 72px) 88px;
  border-top: 9px solid #d90000;
  background: #fff;
  color: #111;
  text-align: center;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.shop-product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #d90000;
  border-radius: 9px 9px 7px 7px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,.47);
}

.shop-product-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #d90000;
  border-radius: 9px 9px 0 0;
}

.shop-product-panel {
  display: grid;
  gap: 16px;
  margin-top: auto;
  padding: 22px 22px 24px;
  background: #d90000;
  color: #fff;
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
}

.shop-product-panel h2 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.shop-product-price {
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.shop-add-cart,
.shop-load-more,
.shop-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  cursor: pointer;
}

.shop-add-cart {
  gap: 12px;
  min-height: 66px;
  margin-top: 2px;
  border: 0;
  background: #fff;
  color: #d90000;
  font-size: 24px;
}

.shop-cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shop-cart-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.shop-add-cart:hover,
.shop-add-cart:focus-visible {
  background: #001eaa;
  color: #fff;
}

.shop-load-more {
  width: min(312px, 100%);
  min-height: 62px;
  margin: 46px auto 0;
  border: 2px solid #d90000;
  background: #d90000;
  color: #fff;
  font-size: 18px;
}

.shop-load-more:hover,
.shop-load-more:focus-visible {
  background: #001eaa;
  border-color: #001eaa;
}

.shop-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  border: 0;
  background: rgba(0,0,0,.48);
  cursor: pointer;
}

.shop-cart {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1201;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(440px, calc(100vw - 24px));
  height: 100vh;
  background: #fff;
  color: #111;
  font-family: "Montserrat", "Poppins", Arial, sans-serif;
  box-shadow: -18px 0 42px rgba(0,0,0,.28);
  transform: translateX(104%);
  transition: transform .24s ease;
}

.cart-open .shop-cart {
  transform: translateX(0);
}

.cart-open .shop-cart-overlay {
  display: block;
}

.shop-cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: #001eaa;
  color: #fff;
}

.shop-cart-header h2 {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.shop-cart-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.shop-cart-close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.shop-cart-items {
  overflow-y: auto;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.shop-cart-empty {
  margin: 0;
  color: #444;
  font-size: 17px;
  font-weight: 600;
}

.shop-cart-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(217,0,0,.35);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.shop-cart-item img {
  width: 76px;
  height: 76px;
  border: 1px solid #d90000;
  border-radius: 6px;
  object-fit: cover;
}

.shop-cart-item h3 {
  margin: 0;
  color: #111;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.shop-cart-item p {
  margin: 6px 0 0;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.shop-cart-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: #001eaa;
  font-size: 15px;
  font-weight: 900;
}

.shop-cart-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.shop-cart-control {
  display: grid;
  gap: 6px;
}

.shop-cart-control > span {
  color: #6a6a6a;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.shop-cart-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  overflow: hidden;
  min-height: 44px;
  border: 1px solid rgba(0,30,170,.28);
  border-radius: 8px;
  background: #fff;
}

.shop-cart-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 8px;
  color: #001eaa;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.shop-cart-step-buttons {
  display: grid;
  border-left: 1px solid rgba(0,30,170,.18);
}

.shop-cart-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-height: 21px;
  border: 0;
  background: #f2f4ff;
  color: #001eaa;
  cursor: pointer;
}

.shop-cart-step + .shop-cart-step {
  border-top: 1px solid rgba(0,30,170,.18);
}

.shop-cart-step svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.shop-cart-footer {
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(0,0,0,.14);
  background: #fff;
}

.shop-cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
}

.shop-checkout {
  width: 100%;
  min-height: 58px;
  border: 2px solid #d90000;
  background: #d90000;
  color: #fff;
  font-size: 18px;
}

.shop-checkout:hover,
.shop-checkout:focus-visible {
  border-color: #001eaa;
  background: #001eaa;
}

@media (max-width: 1024px) {
  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }
}

@media (max-width: 767px) {
  .shop-products-section {
    padding: 48px 22px 64px;
  }

  .shop-hero-title {
    font-size: 52.5px;
  }

  .shop-product-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .shop-cart {
    width: min(390px, 100vw);
  }
}
