:root {
  --master-polish-radius-lg: 28px;
  --master-polish-radius-md: 22px;
  --master-polish-radius-sm: 16px;
  --master-polish-shadow: 0 18px 52px rgba(22, 9, 5, .22);
}

.page-card,
.article-card,
.tool-card,
.calc-panel,
.calc-box,
.calc-result,
.contact-card,
.contact-panel,
.product-line-card,
.product-catalog-card,
.color-page .acor-color-panel,
.color-page .acor-color-card,
.home-actions .action-card,
.heritage-card {
  border-radius: var(--master-polish-radius-lg);
}

.btn,
button,
.button,
.product-line-actions a,
.article-card a,
.quick-actions a,
.acor-color-seg,
.acor-color-quick-btn,
.calc-submit,
.calc-result a {
  border-radius: 999px;
  min-height: 44px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}

.acor-color-clear,
.color-page button,
.color-page .btn,
.color-page .acor-color-seg,
.color-page .acor-color-quick-btn {
  min-height: 44px;
}

.btn:hover,
button:hover,
.product-line-actions a:hover,
.article-card a:hover,
.quick-actions a:hover,
.calc-submit:hover {
  transform: translateY(-1px);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(212, 160, 37, .72);
  outline-offset: 3px;
}

.product-catalog-page .product-line-body,
.article-card,
.page-card {
  line-height: 1.55;
}

.product-catalog-page .product-line-actions,
.article-actions,
.cta-row,
.page-actions {
  gap: 12px;
}

.product-catalog-page .product-line-card {
  overflow: hidden;
}

.product-catalog-page .product-line-media img,
.article-card img,
.page-card img,
.heritage-card img {
  border-radius: var(--master-polish-radius-md);
}

@media (max-width: 560px) {
  .ct,
  .container {
    width: min(100% - 28px, var(--container, 1180px));
  }

  .page-section,
  .section,
  .product-section,
  .blog-section,
  .calc-section {
    padding-block: clamp(34px, 10vw, 58px);
  }

  .page-title,
  .section-title,
  .product-section-title,
  .article-title {
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .page-lead,
  .section-lead,
  .product-line-text,
  .article-card p,
  .calc-panel p {
    line-height: 1.58;
  }

  .product-catalog-page .product-catalog-grid,
  .product-catalog-grid,
  .blog-grid,
  .article-list,
  .guides-grid,
  .quick-actions-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .product-catalog-page .product-line-card {
    min-height: 0;
  }

  .product-catalog-page .product-line-media {
    min-height: 154px;
    padding: 16px;
  }

  .product-catalog-page .product-line-media img {
    width: 100%;
    height: auto;
    max-height: 168px;
    object-fit: contain;
  }

  .product-catalog-page .product-line-body {
    min-height: 0;
    padding: 20px 17px 18px;
    gap: 12px;
  }

  .product-catalog-page .product-line-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .product-catalog-page .product-line-actions a,
  .article-card a,
  .page-card a,
  .calc-submit {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .calc-grid,
  .calc-result-grid,
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .calc-panel,
  .calc-result,
  .color-page .acor-color-panel,
  .article-card,
  .page-card {
    overflow: hidden;
  }

  .acor-color-segments {
    flex-wrap: wrap;
    overflow: visible;
  }

  .acor-color-seg {
    flex: 1 1 calc(50% - 6px);
    min-width: 128px;
    white-space: normal;
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  .ct,
  .container {
    width: min(100% - 22px, var(--container, 1180px));
  }

  .product-catalog-page .product-line-body {
    padding-inline: 15px;
  }

  .product-catalog-page .product-line-title {
    font-size: clamp(1.24rem, 7.4vw, 1.68rem);
  }

  .page-title,
  .article-title {
    font-size: clamp(2rem, 12vw, 2.9rem);
  }
}
