/* AstoriaMall product page - retail layout v6 cart and description */
body.ares-product-retail-active {
  background: #fff;
}

.ares-product-retail-original-hidden {
  display: none !important;
}

.ares-product-retail-v4-shell,
.ares-product-retail-v4-shell * {
  box-sizing: border-box;
}

.ares-product-retail-v4-shell {
  width: min(100%, 1220px);
  margin: 0 auto 44px;
  padding: 0 18px;
  color: #151922;
  font-family: Arial, Helvetica, sans-serif;
}

.ares-product-retail-crumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #777f8d !important;
  font-size: 12px !important;
  line-height: 18px !important;
  max-width: 100% !important;
}

.ares-product-retail-crumbs * {
  font-size: 12px !important;
  line-height: 18px !important;
  color: #777f8d !important;
  font-weight: 400 !important;
  min-height: 0 !important;
  max-width: 760px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ares-product-retail-crumbs button,
.ares-product-retail-crumbs a {
  padding: 0 4px !important;
  background: transparent !important;
}

.ares-product-retail-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  margin: 0 0 10px;
}

.ares-product-retail-title-main,
.ares-product-retail-title-block {
  min-width: 0;
  max-width: 760px;
}

.ares-product-retail-title-main h1,
.ares-product-retail-title-main h2,
.ares-product-retail-title-main h3,
.ares-product-retail-title-main [role="heading"] {
  margin: 0 !important;
  padding: 0 !important;
  color: #181c24 !important;
  font-size: 26px !important;
  line-height: 1.16 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  max-width: 760px !important;
}

.ares-product-retail-title-block > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.ares-product-retail-code,
.ares-product-retail-code * {
  margin: 0 !important;
  padding: 0 !important;
  color: #687182 !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
  line-height: 18px !important;
}

.ares-product-retail-code {
  padding-top: 8px;
}

.ares-product-retail-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 22px;
  margin: 0 0 22px;
}

.ares-product-retail-badge {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 22px !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  background: #4b5563 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.ares-product-retail-badge.danger {
  background: #970026 !important;
}

.ares-product-retail-badge.outline-danger {
  background: #fff !important;
  color: #cf0039 !important;
  border: 1px solid #eb7f9c !important;
  margin-bottom: 10px !important;
}

.ares-product-retail-grid {
  display: grid;
  grid-template-columns: minmax(390px, 450px) minmax(250px, 1fr) minmax(310px, 340px);
  gap: 34px;
  align-items: start;
}

.ares-product-retail-gallery-col,
.ares-product-retail-specs-col,
.ares-product-retail-buy-col {
  min-width: 0;
}

.ares-product-retail-gallery {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.ares-product-retail-gallery img {
  object-fit: contain !important;
  max-width: 100% !important;
}

.ares-product-retail-gallery > div:first-child,
.ares-product-retail-gallery [class*="AspectRatio"],
.ares-product-retail-gallery [style*="aspect-ratio"] {
  background: #fff !important;
  border: 0 !important;
  border-radius: 4px !important;
}

.ares-product-retail-gallery div[style*="60px"],
.ares-product-retail-gallery div[style*="64px"],
.ares-product-retail-gallery div[style*="70px"] {
  width: 58px !important;
  height: 58px !important;
  border-radius: 6px !important;
  border-color: #d9dee8 !important;
  background: #fff !important;
}

.ares-product-retail-col-heading {
  margin: 0 0 14px;
  color: #1b202b;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.ares-product-retail-spec-list {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: block !important;
}

.ares-product-retail-spec-list > * {
  display: grid !important;
  grid-template-columns: minmax(110px, 45%) minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: baseline !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid #edf0f5 !important;
  background: transparent !important;
}

.ares-product-retail-spec-list > *:last-child {
  border-bottom: 0 !important;
}

.ares-product-retail-spec-list *,
.ares-product-retail-generated-specs * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.ares-product-retail-spec-list p:first-child,
.ares-product-retail-spec-list span:first-child,
.ares-product-retail-generated-specs span {
  color: #687182 !important;
  font-weight: 400 !important;
}

.ares-product-retail-spec-list p:last-child,
.ares-product-retail-spec-list span:last-child,
.ares-product-retail-generated-specs b {
  color: #171b24 !important;
  font-weight: 500 !important;
}

.ares-product-retail-all-specs {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 0 0;
  color: #1267b1;
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  cursor: pointer;
}

.ares-product-retail-all-specs:hover {
  color: #e6003c;
}

.ares-product-retail-buy-col {
  position: sticky;
  top: 14px;
}

.ares-product-retail-buy-card,
.ares-product-retail-service-panel {
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(16, 24, 40, .07);
}

.ares-product-retail-buy-card {
  padding: 18px 18px 16px;
  margin: 0 0 12px;
}

.ares-product-retail-buy-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: #9aa2af;
  font-size: 12px;
  line-height: 16px;
  margin: 0 0 16px;
}

.ares-product-retail-compare {
  background: #f6f7f9;
  border: 1px solid #edf0f5;
  color: #7a8290;
  border-radius: 4px;
  padding: 4px 8px;
}

.ares-product-retail-rating {
  color: #7a8290;
}

.ares-product-retail-price-block {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ares-product-retail-price-block > * {
  margin: 0 !important;
}

.ares-product-retail-price-block h1,
.ares-product-retail-price-block h2,
.ares-product-retail-price-block h3,
.ares-product-retail-price-block h4,
.ares-product-retail-price-block p,
.ares-product-retail-price-block span,
.ares-product-retail-price-block [class*="Typography"] {
  font-size: 32px !important;
  line-height: 1.05 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #151922 !important;
}

.ares-product-retail-price-block [style*="line-through"],
.ares-product-retail-price-block del {
  color: #9aa2af !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}

.ares-product-retail-price-block [class*="Chip"],
.ares-product-retail-price-block span:empty {
  font-size: 14px !important;
}

.ares-product-retail-variants-block {
  margin: 0 0 13px !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #edf0f5 !important;
}

.ares-product-retail-variants-block * {
  font-size: revert !important;
  line-height: revert !important;
}

.ares-product-retail-variants-block > * {
  box-shadow: none !important;
  border-color: #e8edf4 !important;
}

.ares-product-retail-variant-details {
  margin: 0 0 13px !important;
  padding: 10px 0 !important;
  border-top: 1px solid #edf0f5 !important;
}

.ares-product-retail-variant-details * {
  font-size: 13px !important;
  line-height: 1.35 !important;
}

.ares-product-retail-actions-block {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #edf0f5 !important;
  background: transparent !important;
}

.ares-product-retail-actions-block > * {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.ares-product-retail-actions-block > div:first-child {
  width: 100% !important;
  min-width: 0 !important;
  border-radius: 7px !important;
  border-color: #dfe5ee !important;
}

.ares-product-retail-actions-block > div:last-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 52px !important;
  gap: 12px !important;
  width: 100% !important;
}

.ares-product-retail-cart-button {
  min-height: 48px !important;
  border-radius: 7px !important;
  background: #e6003c !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 20px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.ares-product-retail-cart-button:hover {
  background: #c90034 !important;
}

.ares-product-retail-service-panel {
  overflow: hidden;
  padding: 0 16px;
}

.ares-product-retail-service-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid #edf0f5;
}

.ares-product-retail-service-row:last-child {
  border-bottom: 0;
}

.ares-product-retail-service-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #f1f4f8;
  color: #344054;
  font-weight: 700;
  font-size: 11px;
}

.ares-product-retail-service-row b {
  display: block;
  margin: 0 0 3px;
  color: #202634;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.ares-product-retail-service-row small {
  display: block;
  color: #788293;
  font-size: 12px;
  line-height: 1.3;
}

.ares-product-retail-lower {
  max-width: 820px;
  margin: 28px 0 0 calc(min(450px, 38vw) + 34px);
}

.ares-product-retail-description {
  margin: 0 !important;
  padding: 22px 0 0 !important;
  border-top: 1px solid #edf0f5 !important;
  background: transparent !important;
}

.ares-product-retail-description * {
  max-height: none !important;
  overflow: visible !important;
  white-space: pre-line !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
}

.ares-product-retail-description h1,
.ares-product-retail-description h2,
.ares-product-retail-description h3,
.ares-product-retail-description h4,
.ares-product-retail-description [role="heading"] {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

@media (max-width: 1120px) {
  .ares-product-retail-grid {
    grid-template-columns: minmax(340px, 420px) minmax(240px, 1fr);
  }
  .ares-product-retail-buy-col {
    position: static;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 16px;
  }
  .ares-product-retail-lower {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .ares-product-retail-v4-shell {
    padding: 0 12px;
  }
  .ares-product-retail-title-row,
  .ares-product-retail-grid,
  .ares-product-retail-buy-col {
    display: block;
  }
  .ares-product-retail-title-main h1,
  .ares-product-retail-title-main h2,
  .ares-product-retail-title-main h3,
  .ares-product-retail-title-main [role="heading"] {
    font-size: 23px !important;
  }
  .ares-product-retail-code {
    padding-top: 8px;
  }
  .ares-product-retail-badges {
    margin-bottom: 18px;
  }
  .ares-product-retail-specs-col,
  .ares-product-retail-buy-col {
    margin-top: 22px;
  }
  .ares-product-retail-service-panel {
    margin-top: 12px;
  }
}


/* v5 overrides */
.ares-product-retail-title-row {
  margin: 0 0 8px;
}

.ares-product-retail-code {
  align-self: start;
  justify-self: end;
  text-align: right;
}

.ares-product-retail-buy-card {
  overflow: hidden;
}

.ares-product-retail-actions-block {
  padding-top: 14px !important;
}

.ares-product-retail-actions-block > div:first-child {
  width: 132px !important;
  min-width: 132px !important;
  max-width: 132px !important;
}

.ares-product-retail-actions-block > div:last-child {
  display: flex !important;
  align-items: stretch !important;
  gap: 12px !important;
  width: 100% !important;
}

.ares-product-retail-actions-block > div:last-child > button:first-child,
.ares-product-retail-actions-block > div:last-child > [role="button"]:first-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.ares-product-retail-actions-block > div:last-child > button:last-child,
.ares-product-retail-actions-block > div:last-child > [role="button"]:last-child {
  flex: 0 0 52px !important;
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
}

.ares-product-retail-cart-button,
.ares-product-retail-actions-block .ares-product-retail-cart-button {
  min-height: 52px !important;
  height: 52px !important;
  border-radius: 10px !important;
  background: #e3063b !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 0 18px !important;
  white-space: nowrap !important;
}

.ares-product-retail-price-block {
  margin-bottom: 18px !important;
}

.ares-product-retail-description {
  max-width: 100% !important;
}

@media (max-width: 760px) {
  .ares-product-retail-actions-block > div:first-child {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
  .ares-product-retail-actions-block > div:last-child {
    width: 100% !important;
  }
}


/* v6 - cart counter, button animation, description recovery */
.ares-product-retail-buy-card {
  position: relative;
}

.ares-product-retail-actions-block {
  display: grid !important;
  grid-template-columns: 124px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: stretch !important;
  width: 100% !important;
}

.ares-product-retail-actions-block > div:first-child {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 52px !important;
  width: 124px !important;
  min-width: 124px !important;
  max-width: 124px !important;
  border: 1px solid #dfe5ee !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}

.ares-product-retail-actions-block > div:first-child button {
  width: 38px !important;
  min-width: 38px !important;
  height: 50px !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.ares-product-retail-actions-block > div:first-child p,
.ares-product-retail-actions-block > div:first-child span {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #151922 !important;
}

.ares-product-retail-actions-block > div:last-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 52px !important;
  gap: 12px !important;
  align-items: stretch !important;
  min-width: 0 !important;
}

.ares-product-retail-actions-block > div:last-child > button:first-child {
  width: 100% !important;
  min-width: 0 !important;
}

.ares-product-retail-actions-block > div:last-child > button:last-child {
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: 52px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.ares-product-retail-cart-button {
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease !important;
}

.ares-product-retail-cart-button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px rgba(230, 6, 59, .22) !important;
}

.ares-product-retail-cart-button:active {
  transform: translateY(0) scale(.98) !important;
}

.ares-product-retail-cart-pulse {
  animation: aresCartPulse .58s ease !important;
}

.ares-product-retail-buy-card-pulse {
  animation: aresBuyCardPulse .72s ease !important;
}

.ares-product-retail-add-bubble {
  position: absolute;
  right: 18px;
  top: 86px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  background: #13a65b;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(19, 166, 91, .22);
  pointer-events: none;
  animation: aresAddBubble 1.15s ease forwards;
}

@keyframes aresCartPulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.025); }
  100% { transform: scale(1); }
}

@keyframes aresBuyCardPulse {
  0% { box-shadow: 0 10px 22px rgba(16, 24, 40, .07); }
  45% { box-shadow: 0 14px 30px rgba(230, 6, 59, .16); }
  100% { box-shadow: 0 10px 22px rgba(16, 24, 40, .07); }
}

@keyframes aresAddBubble {
  0% { opacity: 0; transform: translateY(8px) scale(.94); }
  18% { opacity: 1; transform: translateY(0) scale(1); }
  78% { opacity: 1; transform: translateY(-6px) scale(1); }
  100% { opacity: 0; transform: translateY(-16px) scale(.98); }
}

.ares-product-retail-lower {
  max-width: 760px;
  margin: 34px 0 0 calc(min(450px, 38vw) + 34px);
}

.ares-product-retail-description {
  padding: 22px 24px !important;
  border: 1px solid #e8edf4 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .045) !important;
}

.ares-product-retail-description > *:first-child,
.ares-product-retail-description h1,
.ares-product-retail-description h2,
.ares-product-retail-description h3,
.ares-product-retail-description h4,
.ares-product-retail-description [role="heading"] {
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #151922 !important;
  margin: 0 0 12px !important;
}

.ares-product-retail-description p,
.ares-product-retail-description-text,
.ares-product-retail-description [class*="Typography"]:not(:first-child) {
  color: #2b3240 !important;
  font-size: 14px !important;
  line-height: 1.62 !important;
  font-weight: 400 !important;
  white-space: pre-line !important;
  margin: 0 !important;
}

@media (max-width: 1120px) {
  .ares-product-retail-actions-block {
    grid-template-columns: 132px minmax(0, 1fr) !important;
  }
  .ares-product-retail-actions-block > div:first-child {
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
  }
}

@media (max-width: 760px) {
  .ares-product-retail-actions-block {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  .ares-product-retail-actions-block > div:first-child {
    width: 100% !important;
    max-width: none !important;
  }
  .ares-product-retail-lower {
    margin: 24px 0 0;
    max-width: 100%;
  }
}

/* AstoriaMall product page - v7 custom full retail layout */
body.ares-product-retail-active {
  background: #fff;
}

.ares-product-retail-v7-shell,
.ares-product-retail-v7-shell * {
  box-sizing: border-box;
}

.ares-product-retail-v7-shell {
  --ares-red: #e3063b;
  --ares-text: #151923;
  --ares-muted: #697386;
  --ares-border: #e8edf4;
  --ares-soft: #f6f8fb;
  width: min(100%, 1240px);
  margin: 0 auto 46px;
  padding: 0 24px;
  color: var(--ares-text);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

.ares-product-retail-v7-shell .ares-product-retail-crumbs {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  color: #70798a !important;
  font-size: 13px !important;
  line-height: 20px !important;
}

.ares-product-retail-v7-shell .ares-product-retail-crumbs * {
  color: #70798a !important;
  font-size: 13px !important;
  line-height: 20px !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

.ares-product-retail-v7-shell .ares-product-retail-grid {
  display: grid;
  grid-template-columns: minmax(430px, 500px) minmax(300px, 360px) minmax(300px, 320px);
  gap: 40px;
  align-items: start;
}

.ares-product-retail-v7-shell .ares-product-retail-gallery-col,
.ares-product-retail-v7-shell .ares-product-retail-info-col,
.ares-product-retail-v7-shell .ares-product-retail-buy-col {
  min-width: 0;
}

.ares-product-retail-v7-shell .ares-product-retail-gallery {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ares-product-retail-v7-shell .ares-product-retail-gallery img {
  object-fit: contain !important;
  max-width: 100% !important;
}

.ares-product-retail-v7-shell .ares-product-retail-gallery > div:first-child,
.ares-product-retail-v7-shell .ares-product-retail-gallery [class*="AspectRatio"] {
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #fff !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .06) !important;
}

.ares-product-retail-v7-shell .ares-product-retail-gallery div[style*="60px"],
.ares-product-retail-v7-shell .ares-product-retail-gallery div[style*="64px"],
.ares-product-retail-v7-shell .ares-product-retail-gallery div[style*="70px"] {
  width: 76px !important;
  height: 76px !important;
  border-radius: 10px !important;
  background: #fff !important;
  border: 1px solid var(--ares-border) !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .05) !important;
}

.ares-product-retail-info-col {
  padding-top: 6px;
}

.ares-product-retail-info-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
}

.ares-product-retail-info-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ares-product-retail-center-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px;
  border-radius: 9px;
  background: #e8faef;
  color: #15803d;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.ares-product-retail-sku-block,
.ares-product-retail-sku-block * {
  color: #4b5565 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

.ares-product-retail-v7-shell .ares-product-retail-title-block {
  display: block !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ares-product-retail-v7-shell .ares-product-retail-title-block h1,
.ares-product-retail-v7-shell .ares-product-retail-title-block h2,
.ares-product-retail-v7-shell .ares-product-retail-title-block h3,
.ares-product-retail-v7-shell .ares-product-retail-title-block [role="heading"] {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ares-text) !important;
  font-size: 30px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.ares-product-retail-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: #535f72;
  font-size: 14px;
  line-height: 20px;
}

.ares-product-retail-stars {
  color: #f8bf24;
  letter-spacing: 2px;
  font-size: 16px;
  line-height: 1;
}

.ares-product-retail-review-text {
  color: #697386;
}

.ares-product-retail-soft-divider {
  height: 1px;
  background: var(--ares-border);
  margin: 0 0 22px;
}

.ares-product-retail-v7-shell .ares-product-retail-spec-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ares-product-retail-v7-shell .ares-product-retail-spec-list > * {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  column-gap: 14px !important;
  align-items: center !important;
  min-height: 48px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

.ares-product-retail-v7-shell .ares-product-retail-spec-list > *::before {
  content: '✓';
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f1f7f3;
  color: #23a455;
  font-size: 20px;
  font-weight: 800;
  grid-row: 1 / span 2;
}

.ares-product-retail-v7-shell .ares-product-retail-spec-list * {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  color: var(--ares-text) !important;
  font-size: 15px !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  white-space: normal !important;
}

.ares-product-retail-v7-shell .ares-product-retail-spec-list p:first-child,
.ares-product-retail-v7-shell .ares-product-retail-spec-list span:first-child {
  color: var(--ares-text) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

.ares-product-retail-v7-shell .ares-product-retail-spec-list p:last-child,
.ares-product-retail-v7-shell .ares-product-retail-spec-list span:last-child,
.ares-product-retail-v7-shell .ares-product-retail-spec-list b {
  color: #697386 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-weight: 500 !important;
}

.ares-product-retail-promo-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin: 8px 0 0;
  padding: 18px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fafc, #eef4ff);
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .75);
}

.ares-product-retail-promo-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #fff;
  color: #b7791f;
  font-size: 28px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);
}

.ares-product-retail-promo-card b {
  display: block;
  color: var(--ares-text);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 6px;
}

.ares-product-retail-promo-card span {
  display: block;
  color: #697386;
  font-size: 13px;
  line-height: 1.35;
}

.ares-product-retail-buy-col {
  position: sticky;
  top: 16px;
}

.ares-product-retail-v7-shell .ares-product-retail-buy-card {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--ares-border);
  border-radius: 16px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .1);
  overflow: hidden;
}

.ares-product-retail-v7-shell .ares-product-retail-price-block {
  display: flex !important;
  align-items: baseline !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.ares-product-retail-v7-shell .ares-product-retail-price-block h1,
.ares-product-retail-v7-shell .ares-product-retail-price-block h2,
.ares-product-retail-v7-shell .ares-product-retail-price-block h3,
.ares-product-retail-v7-shell .ares-product-retail-price-block h4,
.ares-product-retail-v7-shell .ares-product-retail-price-block p,
.ares-product-retail-v7-shell .ares-product-retail-price-block span,
.ares-product-retail-v7-shell .ares-product-retail-price-block [class*="Typography"] {
  color: var(--ares-text) !important;
  font-size: 44px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
}

.ares-product-retail-v7-shell .ares-product-retail-variant-details {
  margin: 0 0 24px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.ares-product-retail-v7-shell .ares-product-retail-variant-details * {
  font-size: 14px !important;
  line-height: 20px !important;
}

.ares-product-retail-v7-shell .ares-product-retail-variant-details [class*="Chip"],
.ares-product-retail-v7-shell .ares-product-retail-variant-details span:first-child {
  border-radius: 999px !important;
}

.ares-product-retail-v7-shell .ares-product-retail-variants-block {
  margin: 0 0 18px !important;
  padding: 0 !important;
  border: 0 !important;
}

.ares-product-retail-v7-shell .ares-product-retail-actions-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 0 24px !important;
  border-bottom: 1px solid var(--ares-border) !important;
  border-top: 0 !important;
  background: transparent !important;
}

.ares-product-retail-v7-shell .ares-product-retail-actions-block::before {
  content: 'Количество';
  color: #374151;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  margin-bottom: -6px;
}

.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:first-child {
  width: 170px !important;
  min-width: 170px !important;
  height: 54px !important;
  border: 1px solid #dbe3ee !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  background: #fff !important;
}

.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:first-child button {
  height: 54px !important;
  width: 54px !important;
}

.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  width: 100% !important;
}

.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:last-child > button,
.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:last-child > [role="button"] {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.ares-product-retail-v7-shell .ares-product-retail-cart-button {
  min-height: 64px !important;
  height: 64px !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, #f40745, #df0039) !important;
  color: #fff !important;
  font-size: 18px !important;
  line-height: 24px !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 28px rgba(227, 6, 59, .27) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}

.ares-product-retail-v7-shell .ares-product-retail-cart-button:hover {
  transform: translateY(-1px) !important;
  filter: brightness(1.02) !important;
  box-shadow: 0 18px 34px rgba(227, 6, 59, .34) !important;
}

.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:last-child > button:last-child,
.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:last-child > [role="button"]:last-child {
  min-height: 56px !important;
  height: 56px !important;
  border-radius: 10px !important;
  border: 1px solid #dbe3ee !important;
  background: #fff !important;
  color: #374151 !important;
}

.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:last-child > button:last-child::after,
.ares-product-retail-v7-shell .ares-product-retail-actions-block > div:last-child > [role="button"]:last-child::after {
  content: 'Добавить в избранное';
  margin-left: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #374151;
}

.ares-product-retail-v7-shell .ares-product-retail-service-panel {
  padding: 22px 0 0;
  margin: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.ares-product-retail-v7-shell .ares-product-retail-service-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 0;
}

.ares-product-retail-v7-shell .ares-product-retail-service-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f6f8fb;
  color: #111827;
  font-size: 17px;
}

.ares-product-retail-v7-shell .ares-product-retail-service-row b {
  display: block;
  color: #202634;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 4px;
}

.ares-product-retail-v7-shell .ares-product-retail-service-row small {
  display: block;
  color: #6b7484;
  font-size: 12px;
  line-height: 1.35;
}

.ares-product-retail-content-tabs {
  margin: 58px 0 0;
  padding: 0;
  border: 1px solid var(--ares-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
  overflow: hidden;
}

.ares-product-retail-tabs-head {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 16px;
  border-bottom: 1px solid var(--ares-border);
  background: #fff;
}

.ares-product-retail-tabs-head button {
  appearance: none;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  padding: 18px 26px 16px;
  color: #3f4857;
  font-size: 16px;
  line-height: 22px;
  font-weight: 800;
  cursor: pointer;
}

.ares-product-retail-tabs-head button.active {
  color: #111827;
  border-bottom-color: #111827;
}

.ares-product-retail-description-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  padding: 34px 34px;
  align-items: start;
}

.ares-product-retail-description-copy h3 {
  margin: 0 0 18px;
  color: var(--ares-text);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 900;
}

.ares-product-retail-description-copy p {
  max-width: 700px;
  margin: 0;
  color: #394354;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 500;
  white-space: pre-line;
}

.ares-product-retail-description-image {
  min-height: 190px;
  border-radius: 14px;
  overflow: hidden;
  background: #f7f8fb;
  box-shadow: inset 0 0 0 1px rgba(226, 232, 240, .8);
}

.ares-product-retail-description-image img {
  width: 100%;
  height: 100%;
  max-height: 230px;
  object-fit: cover;
  display: block;
}

body.ares-product-retail-active h1:has(+ .ares-product-retail-v7-shell),
body.ares-product-retail-active .ares-product-retail-lower,
body.ares-product-retail-active .ares-product-retail-description {
  display: none !important;
}

body.ares-product-retail-active table {
  font-family: Inter, Arial, Helvetica, sans-serif;
}

@media (max-width: 1180px) {
  .ares-product-retail-v7-shell .ares-product-retail-grid {
    grid-template-columns: minmax(360px, 1fr) minmax(280px, 360px);
  }
  .ares-product-retail-v7-shell .ares-product-retail-buy-col {
    position: static;
    grid-column: 1 / -1;
  }
  .ares-product-retail-v7-shell .ares-product-retail-buy-card {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 22px;
    align-items: start;
  }
  .ares-product-retail-v7-shell .ares-product-retail-service-panel {
    padding-top: 0;
  }
}

@media (max-width: 760px) {
  .ares-product-retail-v7-shell {
    padding: 0 14px;
  }
  .ares-product-retail-v7-shell .ares-product-retail-grid,
  .ares-product-retail-v7-shell .ares-product-retail-buy-card,
  .ares-product-retail-description-card {
    display: block;
  }
  .ares-product-retail-v7-shell .ares-product-retail-info-col,
  .ares-product-retail-v7-shell .ares-product-retail-buy-col,
  .ares-product-retail-content-tabs {
    margin-top: 24px;
  }
  .ares-product-retail-v7-shell .ares-product-retail-title-block h1,
  .ares-product-retail-v7-shell .ares-product-retail-title-block h2,
  .ares-product-retail-v7-shell .ares-product-retail-title-block h3,
  .ares-product-retail-v7-shell .ares-product-retail-title-block [role="heading"] {
    font-size: 24px !important;
  }
  .ares-product-retail-description-card {
    padding: 24px 18px;
  }
  .ares-product-retail-description-image {
    margin-top: 22px;
  }
  .ares-product-retail-tabs-head {
    overflow-x: auto;
    padding: 0 6px;
  }
  .ares-product-retail-tabs-head button {
    white-space: nowrap;
    padding-left: 16px;
    padding-right: 16px;
  }
}
