.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.colour-palette-page {
  min-width: 0;
  overflow-x: hidden;
  background: #f5f7fb;
  color: #111b26;
}

.colour-palette-page *,
.colour-palette-page *::before,
.colour-palette-page *::after {
  box-sizing: border-box;
}

.colour-palette-page a {
  color: inherit;
}

.colour-palette-page p {
  color: #5f6875;
  font-size: 16px;
  line-height: 1.68;
  overflow-wrap: break-word;
}

.colour-palette-page svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.colour-palette-page :focus-visible {
  outline: 3px solid rgba(225, 10, 24, 0.42);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.colour-palette-page .container {
  max-width: 1180px;
  min-width: 0;
}

.colour-palette-page .header_area {
  padding: 0;
}

.colour-palette-page .header_navbar {
  position: fixed;
  padding: 0 30px;
  background: #ffffff;
  box-shadow: 0 8px 28px rgba(17, 27, 38, 0.08);
}

.colour-palette-page .header_navbar.sticky {
  box-shadow: 0 12px 32px rgba(17, 27, 38, 0.12);
}

.colour-palette-page .header_navbar .container-fluid {
  max-width: 1320px;
  min-width: 0;
}

.colour-palette-page .navbar {
  min-height: 88px;
}

.colour-palette-page .navbar-brand img {
  width: 145px;
  max-height: 58px;
  object-fit: contain;
}

.colour-palette-page .navbar-toggler {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-radius: 6px;
}

.colour-palette-page .navbar-toggler .toggler-icon {
  background-color: #1c2633;
}

.colour-palette-page .navbar-nav {
  margin-right: 20px;
}

.colour-palette-page .navbar-nav .nav-item a {
  padding: 34px 13px;
  color: #101820;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.colour-palette-page .navbar-nav .nav-item a::before {
  top: auto;
  bottom: 21px;
  left: 13px;
  height: 3px;
  background: #e10a18;
}

.colour-palette-page .navbar-nav .nav-item.active > a,
.colour-palette-page .navbar-nav .nav-item:hover > a {
  color: #e10a18;
}

.colour-palette-page .navbar-nav .nav-item.active > a::before,
.colour-palette-page .navbar-nav .nav-item:hover > a::before {
  width: calc(100% - 26px);
}

.colour-palette-page .navbar-btn .main-btn,
.colour-palette-page .navbar-btn .nav-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  color: #ffffff;
  line-height: 48px;
  background: #e10a18;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 8px 20px rgba(225, 10, 24, 0.2);
}

.colour-palette-page .navbar-btn .main-btn:hover,
.colour-palette-page .navbar-btn .nav-shop-btn:hover {
  color: #ffffff;
  background: #b90814;
}

.colour-main {
  padding-top: 88px;
}

.palette-hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(7, 19, 34, 0.99) 0%, rgba(10, 23, 39, 0.98) 50%, rgba(12, 15, 22, 0.98) 100%),
    radial-gradient(circle at 14% 22%, rgba(225, 10, 24, 0.18), transparent 30%),
    #071322;
}

.palette-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.28;
}

.palette-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1320px;
}

.palette-hero-grid {
  display: grid;
  grid-template-columns: minmax(620px, 0.98fr) minmax(0, 1.02fr);
  align-items: center;
  min-height: 520px;
  gap: 44px;
  min-width: 0;
}

.palette-hero-copy {
  min-width: 0;
  max-width: 620px;
  padding: 74px 0;
}

.palette-kicker,
.browser-kicker,
.sidebar-kicker {
  display: inline-block;
  color: #e10a18;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.palette-hero h1 {
  margin-top: 18px;
  color: #ffffff;
  font-size: 45px;
  font-weight: 800;
  line-height: 1.05;
  overflow-wrap: normal;
}

.palette-hero p {
  max-width: 470px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.72;
}

.palette-hero-rule {
  display: block;
  width: 78px;
  height: 4px;
  margin-top: 28px;
  background: #e10a18;
  border-radius: 999px;
}

.palette-hero-media {
  position: relative;
  min-height: 430px;
  min-width: 0;
  align-self: center;
}

.palette-hero-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center right;
  filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.34));
  animation: paletteHeroIn 720ms ease both;
}

.palette-tools {
  position: relative;
  z-index: 2;
  margin-top: -46px;
  padding-bottom: 64px;
}

.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  min-width: 0;
}

.tool-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  padding: 28px 26px 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(17, 27, 38, 0.06);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(17, 27, 38, 0.12);
}

.tool-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 76px;
  height: 76px;
  content: "";
  background: radial-gradient(circle at 100% 100%, rgba(225, 10, 24, 0.1), transparent 70%);
}

.tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #e10a18;
  background: #fff4f5;
  border: 1px solid rgba(225, 10, 24, 0.16);
  border-radius: 8px;
}

.tool-icon svg {
  width: 26px;
  height: 26px;
}

.tool-card h2 {
  margin-top: 22px;
  color: #111b26;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.tool-card p {
  margin-top: 12px;
  color: #6a7280;
  font-size: 15px;
  line-height: 1.58;
  overflow-wrap: break-word;
}

.tool-arrow {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  color: #e10a18;
}

.tool-arrow svg {
  width: 20px;
  height: 20px;
}

.palette-browser {
  padding: 18px 0 76px;
  background:
    linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
}

.browser-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.collection-sidebar,
.trending-sidebar,
.popular-panel {
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(17, 27, 38, 0.06);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(17, 27, 38, 0.08);
}

.collection-sidebar,
.trending-sidebar {
  padding: 24px;
}

.sidebar-kicker {
  display: block;
  margin-bottom: 20px;
  color: #111b26;
  font-size: 13px;
}

.collection-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.collection-button {
  display: flex;
  width: 100%;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: #394351;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  background: #f6f8fb;
  border: 1px solid transparent;
  border-radius: 7px;
  cursor: pointer;
}

.collection-button:hover {
  color: #e10a18;
  background: #fff5f6;
  border-color: rgba(225, 10, 24, 0.14);
}

.collection-button.is-active {
  color: #ffffff;
  background: #e10a18;
  box-shadow: 0 12px 24px rgba(225, 10, 24, 0.2);
}

.popular-panel {
  padding: 30px 30px 32px;
}

.browser-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  min-width: 0;
  margin-bottom: 24px;
}

.browser-heading > * {
  min-width: 0;
}

.browser-heading h2 {
  margin-top: 10px;
  color: #111b26;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}

.browser-heading p {
  margin-top: 8px;
  color: #6a7280;
  font-size: 15px;
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 16px;
  min-width: 0;
}

.colour-swatch {
  min-width: 0;
}

.swatch-chip {
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.swatch-name {
  display: block;
  margin-top: 10px;
  color: #151f2b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.swatch-code {
  display: block;
  margin-top: 3px;
  color: #7b8492;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.popular-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.outline-button,
.cta-button-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 800;
  border-radius: 7px;
}

.outline-button {
  color: #e10a18;
  background: #ffffff;
  border: 1px solid rgba(225, 10, 24, 0.42);
}

.outline-button:hover {
  color: #ffffff;
  background: #e10a18;
  border-color: #e10a18;
}

.trending-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trending-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.trending-chip {
  display: block;
  width: 58px;
  height: 48px;
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 8px;
}

.trending-name {
  display: block;
  color: #151f2b;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.trending-code {
  display: block;
  margin-top: 3px;
  color: #7b8492;
  font-size: 12px;
  font-weight: 700;
}

.trending-action {
  margin-top: 24px;
}

.trending-action .outline-button {
  width: 100%;
}

.palette-store-cta {
  padding: 0 0 76px;
  background: #ffffff;
}

.store-cta-strip {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding: 34px 38px;
  color: #ffffff;
  background:
    linear-gradient(110deg, rgba(7, 19, 34, 0.99), rgba(13, 30, 49, 0.98)),
    radial-gradient(circle at 20% 10%, rgba(225, 10, 24, 0.2), transparent 26%);
  border-radius: 8px;
  box-shadow: 0 22px 46px rgba(7, 19, 34, 0.18);
}

.store-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  color: #ffffff;
  background: #e10a18;
  border-radius: 8px;
  box-shadow: 0 16px 28px rgba(225, 10, 24, 0.28);
}

.store-cta-icon svg {
  width: 31px;
  height: 31px;
}

.store-cta-copy h2 {
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
  line-height: 1.22;
}

.store-cta-copy p {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.cta-button-red {
  gap: 9px;
  min-height: 50px;
  color: #ffffff;
  background: #e10a18;
  box-shadow: 0 12px 26px rgba(225, 10, 24, 0.24);
}

.cta-button-red:hover {
  color: #ffffff;
  background: #b90814;
}

.cta-button-red svg {
  width: 18px;
  height: 18px;
}

.tool-card {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  animation: paletteFadeUp 560ms ease both;
}

.tool-card:nth-child(2) {
  animation-delay: 70ms;
}

.tool-card:nth-child(3) {
  animation-delay: 140ms;
}

.tool-card:nth-child(4) {
  animation-delay: 210ms;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(225, 10, 24, 0.16);
  box-shadow: 0 22px 50px rgba(17, 27, 38, 0.16);
}

.collection-button {
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.results-summary {
  margin-top: 7px;
  color: #87909d;
  font-size: 13px;
  font-weight: 700;
}

.palette-search {
  flex: 0 1 310px;
  min-width: 230px;
}

.palette-search input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  color: #151f2b;
  font-size: 14px;
  font-weight: 700;
  background: #f6f8fb;
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.palette-search input::placeholder {
  color: #8993a0;
  font-weight: 600;
}

.palette-search input:focus {
  background: #ffffff;
  border-color: rgba(225, 10, 24, 0.42);
  box-shadow: 0 0 0 4px rgba(225, 10, 24, 0.08);
  outline: 0;
}

.colour-swatch {
  position: relative;
  transition: transform 180ms ease;
}

.colour-swatch:hover,
.colour-swatch:focus-within {
  transform: translateY(-3px);
}

.swatch-open {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.swatch-chip {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.swatch-open:hover .swatch-chip,
.swatch-open:focus-visible .swatch-chip {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 12px 24px rgba(17, 27, 38, 0.16);
}

.swatch-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 32px;
  margin-top: 10px;
}

.swatch-icon-btn,
.swatch-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #394351;
  background: #f6f8fb;
  border: 1px solid rgba(17, 27, 38, 0.08);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.swatch-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.swatch-icon-btn svg {
  width: 16px;
  height: 16px;
}

.swatch-compare-btn {
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
}

.swatch-icon-btn:hover,
.swatch-icon-btn[aria-pressed="true"],
.swatch-compare-btn:hover,
.swatch-compare-btn[aria-pressed="true"] {
  color: #ffffff;
  background: #e10a18;
  border-color: #e10a18;
}

.colour-empty-state {
  margin: 20px 0 0;
  padding: 24px;
  color: #5f6875;
  font-weight: 700;
  text-align: center;
  background: #f6f8fb;
  border: 1px dashed rgba(17, 27, 38, 0.14);
  border-radius: 8px;
}

.outline-button,
.cta-button-red {
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.compact-button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.compact-button:disabled,
.cta-button-red:disabled,
.outline-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.trending-item {
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease;
}

.trending-item:hover,
.trending-item:focus-visible {
  transform: translateX(4px);
}

.palette-modal-open {
  overflow: hidden;
}

.palette-modal[hidden],
.compare-tray[hidden] {
  display: none;
}

.palette-modal {
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.palette-modal.is-open {
  pointer-events: auto;
}

.palette-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 19, 34, 0.58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.palette-modal.is-open .palette-modal-backdrop {
  opacity: 1;
}

.palette-drawer,
.palette-dialog {
  position: relative;
  z-index: 1;
  color: #111b26;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(7, 19, 34, 0.24);
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.palette-drawer {
  width: min(500px, 100%);
  height: 100%;
  padding: 34px 34px 40px;
  overflow-y: auto;
  transform: translateX(36px);
}

.palette-dialog {
  width: min(960px, calc(100% - 32px));
  max-height: min(88vh, 780px);
  margin: auto;
  padding: 34px;
  overflow-y: auto;
  border-radius: 8px;
  transform: translateY(24px);
}

.palette-modal.is-open .palette-drawer,
.palette-modal.is-open .palette-dialog {
  opacity: 1;
  transform: none;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 40px;
  height: 40px;
  color: #111b26;
  font-size: 27px;
  line-height: 1;
  background: #f6f8fb;
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 50%;
  cursor: pointer;
}

.detail-preview {
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 210px;
  padding: 22px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 18px 34px rgba(17, 27, 38, 0.14);
}

.detail-heading {
  margin-top: 26px;
}

.detail-code {
  color: #e10a18;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-heading h2,
.palette-dialog h2 {
  margin-top: 8px;
  color: #111b26;
  font-size: 32px;
  font-weight: 850;
  line-height: 1.1;
}

.detail-heading p,
.palette-dialog p {
  margin-top: 12px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0 0;
}

.detail-meta div,
.comparison-card dl div {
  min-width: 0;
  padding: 14px;
  background: #f6f8fb;
  border: 1px solid rgba(17, 27, 38, 0.06);
  border-radius: 8px;
}

.detail-meta dt,
.comparison-card dt {
  color: #7b8492;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-meta dd,
.comparison-card dd {
  margin: 4px 0 0;
  color: #151f2b;
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.detail-tags {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.detail-tags h3,
.related-panel h3 {
  color: #111b26;
  font-size: 15px;
  font-weight: 900;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-list span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  color: #394351;
  font-size: 12px;
  font-weight: 800;
  background: #f6f8fb;
  border-radius: 999px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.related-panel {
  margin-top: 30px;
}

.related-colours {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.related-colour {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  color: inherit;
  text-align: left;
  background: #f6f8fb;
  border: 1px solid rgba(17, 27, 38, 0.06);
  border-radius: 8px;
  cursor: pointer;
}

.related-colour span {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.related-colour strong,
.related-colour small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.related-colour strong {
  color: #151f2b;
  font-size: 13px;
}

.related-colour small {
  color: #7b8492;
  font-size: 11px;
  font-weight: 800;
}

.compare-tray {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100100;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(17, 27, 38, 0.08);
  box-shadow: 0 -18px 44px rgba(17, 27, 38, 0.14);
  backdrop-filter: blur(14px);
  transform: translateY(100%);
  transition: transform 220ms ease;
}

.compare-tray.is-visible {
  transform: translateY(0);
}

.compare-tray-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.compare-tray-inner strong {
  display: block;
  color: #111b26;
  font-weight: 900;
}

.compare-tray-inner > div:first-child span {
  color: #7b8492;
  font-size: 12px;
  font-weight: 800;
}

.compare-tray-list {
  display: flex;
  gap: 10px;
  min-width: 0;
  overflow-x: auto;
  padding: 3px;
}

.compare-pill {
  display: grid;
  grid-template-columns: 38px minmax(92px, 1fr) auto;
  gap: 9px;
  align-items: center;
  min-width: 190px;
  padding: 8px 10px;
  background: #f6f8fb;
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 8px;
}

.compare-pill-chip {
  width: 38px;
  height: 34px;
  border-radius: 7px;
}

.compare-pill strong,
.compare-pill small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compare-pill strong {
  color: #151f2b;
  font-size: 13px;
}

.compare-pill small {
  color: #7b8492;
  font-size: 11px;
  font-weight: 800;
}

.compare-pill button {
  color: #e10a18;
  font-size: 11px;
  font-weight: 900;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.compare-tray-actions {
  display: flex;
  gap: 10px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.comparison-card {
  min-width: 0;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17, 27, 38, 0.08);
}

.comparison-swatch {
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 14px;
  font-weight: 900;
  border-radius: 8px;
}

.comparison-card h3 {
  margin-top: 14px;
  color: #151f2b;
  font-size: 18px;
  font-weight: 900;
}

.comparison-card p {
  margin-top: 4px;
  color: #7b8492;
  font-size: 13px;
}

.comparison-card dl {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
}

.readability-indicator {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-top: 12px;
  padding: 0 10px;
  color: #0f5132;
  font-size: 12px;
  font-weight: 900;
  background: #e9f7ef;
  border-radius: 999px;
}

.upload-panel {
  display: grid;
  place-items: center;
  min-height: 150px;
  margin-top: 22px;
  padding: 24px;
  text-align: center;
  background: #f6f8fb;
  border: 1px dashed rgba(225, 10, 24, 0.34);
  border-radius: 8px;
  cursor: pointer;
}

.upload-panel input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-panel span {
  color: #e10a18;
  font-size: 16px;
  font-weight: 900;
}

.upload-panel small {
  margin-top: 6px;
  color: #7b8492;
  font-weight: 800;
}

.match-preview-wrap {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 22px;
}

.match-preview-wrap img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.match-result {
  display: grid;
  gap: 12px;
}

.match-average {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: #f6f8fb;
  border-radius: 8px;
}

.match-average > span {
  width: 58px;
  height: 52px;
  border-radius: 8px;
}

.match-average strong,
.match-average small {
  display: block;
}

.match-average strong {
  color: #151f2b;
  font-weight: 900;
}

.match-average small {
  color: #7b8492;
  font-weight: 800;
}

.visualise-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 22px;
}

.visualise-controls label {
  color: #394351;
  font-size: 13px;
  font-weight: 900;
}

.visualise-controls select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: #151f2b;
  background: #f6f8fb;
  border: 1px solid rgba(17, 27, 38, 0.08);
  border-radius: 8px;
}

.room-preview {
  --preview-colour: #6B806F;
  position: relative;
  min-height: 320px;
  margin-top: 24px;
  overflow: hidden;
  background: #e8edf2;
  border-radius: 8px;
}

.room-preview-wall {
  position: absolute;
  inset: 0 0 32%;
  background: var(--preview-colour);
  transition: background 180ms ease;
}

.room-preview-floor {
  position: absolute;
  inset: 68% 0 0;
  background: linear-gradient(90deg, #d8c6ae, #c3aa8d);
}

.room-window {
  position: absolute;
  top: 48px;
  right: 60px;
  width: 92px;
  height: 112px;
  background: rgba(255, 255, 255, 0.86);
  border: 8px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 18px 34px rgba(17, 27, 38, 0.16);
}

.room-frame {
  position: absolute;
  bottom: 44px;
  left: 56px;
  width: 170px;
  height: 72px;
  background: #111b26;
  border-radius: 8px 8px 0 0;
  box-shadow: 180px 20px 0 -22px #ffffff;
}

@keyframes paletteHeroIn {
  from {
    opacity: 0;
    transform: translateX(28px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes paletteFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.palette-hero {
  height: 330px;
  min-height: 330px;
  background: #0b1015;
}

.palette-hero::before {
  z-index: 1;
  opacity: 0.18;
}

.palette-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 13, 19, 0.99) 0%, rgba(8, 13, 19, 0.96) 34%, rgba(8, 13, 19, 0.54) 54%, rgba(8, 13, 19, 0.08) 100%),
    radial-gradient(circle at 78% 15%, rgba(225, 10, 24, 0.28), transparent 30%);
}

.palette-hero .container {
  z-index: 2;
  max-width: 1366px;
}

.palette-hero-grid {
  grid-template-columns: minmax(570px, 0.44fr) minmax(0, 0.56fr);
  height: 330px;
  min-height: 330px;
  gap: 0;
}

.palette-hero-copy {
  position: relative;
  z-index: 2;
  height: 330px;
  max-width: 590px;
  padding: 44px 0 0;
}

.palette-hero h1 {
  margin-top: 17px;
  font-size: 44px;
  line-height: 1.06;
}

.palette-hero p {
  max-width: 465px;
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.58;
}

.palette-hero-rule {
  display: none;
}

.palette-hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 60%;
  height: 100%;
  min-height: 0;
}

.palette-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: none;
  animation: none;
}

.palette-tools {
  margin-top: -33px;
  padding-bottom: 24px;
}

.palette-tools .container,
.palette-browser .container,
.palette-store-cta .container {
  max-width: 1366px;
}

.tool-card-grid {
  gap: 18px;
}

.tool-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 22px;
  grid-template-areas:
    "icon title arrow"
    "icon text arrow";
  column-gap: 16px;
  height: 139px;
  min-height: 0;
  padding: 21px 20px;
  align-items: center;
  align-content: center;
  border-color: rgba(17, 27, 38, 0.08);
  box-shadow: 0 12px 28px rgba(17, 27, 38, 0.13);
  animation: none;
}

.tool-icon {
  grid-area: icon;
  width: 62px;
  height: 62px;
  color: #e10a18;
  background: transparent;
  border: 0;
}

.tool-icon svg {
  width: 47px;
  height: 47px;
  stroke-width: 1.65;
}

.tool-card h2 {
  grid-area: title;
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.tool-card p {
  grid-area: text;
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.tool-arrow {
  grid-area: arrow;
  align-self: end;
  justify-self: end;
  width: 22px;
  height: 22px;
  margin: 0;
}

.tool-arrow svg {
  width: 17px;
  height: 17px;
}

.palette-browser {
  padding: 0 0 28px;
  background: #ffffff;
}

.browser-layout {
  grid-template-columns: 230px minmax(0, 1fr) 230px;
  gap: 25px;
}

.collection-sidebar,
.trending-sidebar,
.popular-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.collection-sidebar {
  padding: 0 0 0 2px;
}

.popular-panel {
  padding: 0 0 0 25px;
  border-left: 1px solid #e7ebf1;
}

.trending-sidebar {
  padding: 0 0 0 25px;
  border-left: 1px solid #e7ebf1;
}

.sidebar-kicker {
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 900;
}

.collection-list {
  gap: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(17, 27, 38, 0.08);
}

.collection-button {
  min-height: 28px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
  border: 0;
  border-radius: 0;
}

.collection-button.is-active {
  min-height: 31px;
  box-shadow: none;
}

.browser-heading {
  align-items: flex-start;
  margin-bottom: 20px;
}

.browser-heading h2 {
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.browser-heading p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.25;
}

.browser-kicker {
  display: none;
}

.palette-search {
  flex: 0 0 250px;
  min-width: 0;
  display: none;
}

.palette-browser.is-searching .palette-search {
  display: block;
}

.palette-search input {
  height: 38px;
  font-size: 12px;
  border-radius: 7px;
}

.swatch-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 28px;
}

.colour-swatch {
  min-height: 110px;
}

.swatch-open {
  text-align: center;
}

.swatch-chip {
  aspect-ratio: 1.52;
  border-radius: 7px;
}

.swatch-name {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.1;
}

.swatch-code {
  margin-top: 3px;
  font-size: 12px;
}

.swatch-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  margin-top: 0;
  opacity: 0;
  transition: opacity 160ms ease;
}

.colour-swatch:hover .swatch-actions,
.colour-swatch:focus-within .swatch-actions {
  opacity: 1;
}

.swatch-compare-btn {
  min-height: 28px;
  padding: 0 9px;
  font-size: 11px;
}

.popular-actions {
  margin-top: 22px;
}

.trending-list {
  gap: 15px;
}

.trending-item {
  grid-template-columns: 66px minmax(0, 1fr);
}

.trending-chip {
  width: 66px;
  height: 37px;
  border-radius: 5px;
}

.trending-name {
  font-size: 13px;
}

.trending-code {
  margin-top: 2px;
  font-size: 12px;
}

.palette-store-cta {
  padding: 0 0 52px;
}

.store-cta-strip {
  grid-template-columns: 56px minmax(0, 1fr) 260px;
  padding: 18px 168px;
  color: #111b26;
  background:
    linear-gradient(90deg, #f5f6f8, #f1f3f6);
  box-shadow: none;
}

.store-cta-icon {
  width: 42px;
  height: 42px;
  color: #e10a18;
  background: #ffffff;
  border: 1px solid rgba(225, 10, 24, 0.25);
  box-shadow: none;
}

.store-cta-icon svg {
  width: 26px;
  height: 26px;
}

.store-cta-copy h2 {
  color: #111b26;
  font-size: 18px;
}

.store-cta-copy p {
  margin-top: 3px;
  color: #5f6875;
  font-size: 13px;
  line-height: 1.35;
}

.store-cta-strip .cta-button-red {
  width: 100%;
  min-height: 46px;
}

.colour-palette-page .footer_area {
  background: #071523;
}

.colour-palette-page .footer_wrapper {
  padding: 58px 0 42px;
}

.colour-palette-page .footer_wrapper::before {
  display: none;
}

.colour-palette-page .footer_about img {
  width: 128px;
}

.colour-palette-page .footer_about p {
  max-width: 330px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.colour-palette-page .footer_about .social li {
  margin-top: 28px;
}

.colour-palette-page .footer_about .social li a {
  width: 42px;
  height: 42px;
  line-height: 44px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.colour-palette-page .footer_about .social li a:hover {
  background: #e10a18;
  border-color: #e10a18;
}

.colour-palette-page .footer_title {
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}

.colour-palette-page .footer_link {
  width: auto;
  padding-left: 0;
  margin-top: 8px;
}

.colour-palette-page .footer_link .link {
  padding-top: 18px;
}

.colour-palette-page .footer_link .link li {
  margin-top: 8px;
}

.colour-palette-page .footer_link .link li a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.colour-palette-page .footer_link .link li a:hover {
  color: #ffffff;
}

.colour-palette-page .footer_contact {
  margin-top: 8px;
}

.colour-palette-page .footer_info {
  padding-top: 18px;
}

.colour-palette-page .footer_info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.55;
}

.colour-palette-page .footer_info a {
  color: rgba(255, 255, 255, 0.9);
}

.colour-palette-page .footer_info a:hover {
  color: #ffffff;
}

.footer-info-icon {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.footer-info-icon svg {
  width: 21px;
  height: 21px;
}

.colour-palette-page .footer_bottom {
  display: flex;
  gap: 18px;
  justify-content: center;
  padding: 22px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.colour-palette-page .footer_bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.colour-palette-page .footer_bottom a {
  color: #e10a18;
}

.colour-palette-page .back-to-top {
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  color: #ffffff;
  line-height: 58px;
  background: #e10a18;
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(225, 10, 24, 0.34);
}

.colour-palette-page .back-to-top svg {
  width: 25px;
  height: 25px;
}

.colour-palette-page .back-to-top:hover {
  color: #ffffff;
  background: #b90814;
}

@media only screen and (min-width: 1400px) {
  .colour-palette-page .header_area,
  .colour-palette-page .header_navbar {
    padding-left: 0;
    padding-right: 0;
  }
}

@media only screen and (max-width: 1199px) {
  .colour-palette-page .header_navbar {
    padding: 0 18px;
  }

  .colour-palette-page .navbar-nav .nav-item a {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 14px;
  }

  .colour-palette-page .navbar-nav .nav-item a::before {
    left: 9px;
  }

  .colour-palette-page .navbar-nav .nav-item.active > a::before,
  .colour-palette-page .navbar-nav .nav-item:hover > a::before {
    width: calc(100% - 18px);
  }

  .palette-hero-grid {
    grid-template-columns: minmax(500px, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
  }

  .palette-hero h1 {
    font-size: 46px;
  }

  .palette-hero-media,
  .palette-hero-media img {
    min-height: 400px;
    height: 400px;
  }

  .browser-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .trending-sidebar {
    grid-column: 1 / -1;
  }

  .trending-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .trending-item {
    grid-template-columns: 1fr;
  }

  .trending-chip {
    width: 100%;
  }
}

@media only screen and (max-width: 991px) {
  .colour-main {
    padding-top: 82px;
  }

  .colour-palette-page .navbar {
    min-height: 82px;
    padding: 14px 0;
  }

  .colour-palette-page .navbar-toggler {
    display: inline-flex;
  }

  .colour-palette-page .navbar-brand img {
    width: 130px;
  }

  .colour-palette-page .navbar-collapse {
    top: calc(100% + 1px);
    max-width: calc(100vw - 36px);
    padding: 14px 22px 18px;
  }

  .colour-palette-page .navbar-nav {
    align-items: flex-start !important;
    margin-right: 0;
  }

  .colour-palette-page .navbar-nav .nav-item {
    width: 100%;
  }

  .colour-palette-page .navbar-nav .nav-item a {
    display: block;
    width: 100%;
    padding: 13px 0;
  }

  .colour-palette-page .navbar-nav .nav-item a::before {
    display: none;
  }

  .palette-hero {
    min-height: auto;
  }

  .palette-hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
  }

  .palette-hero-copy {
    max-width: 680px;
    padding: 74px 0 34px;
  }

  .palette-hero-media {
    min-height: 330px;
  }

  .palette-hero-media img {
    width: 100%;
    height: 330px;
    object-position: center;
  }

  .tool-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .browser-layout {
    grid-template-columns: 1fr;
  }

  .collection-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swatch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trending-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trending-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .store-cta-strip {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .store-cta-strip .cta-button-red {
    grid-column: 2;
    justify-self: start;
  }

  .colour-palette-page .footer_link,
  .colour-palette-page .footer_contact {
    margin-top: 34px;
  }
}

@media only screen and (max-width: 767px) {
  .colour-palette-page .header_navbar {
    width: 100%;
    padding: 0 14px;
  }

  .colour-palette-page .navbar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .colour-palette-page .navbar-brand img {
    width: 118px;
  }

  .palette-hero-copy {
    max-width: 100%;
    padding: 64px 0 28px;
  }

  .palette-hero h1 {
    font-size: 38px;
    overflow-wrap: break-word;
  }

  .palette-hero p {
    font-size: 16px;
  }

  .palette-tools {
    margin-top: 0;
    padding: 28px 0 56px;
    background: #f5f7fb;
  }

  .tool-card-grid,
  .collection-list,
  .swatch-grid,
  .trending-list {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 0;
  }

  .popular-panel,
  .collection-sidebar,
  .trending-sidebar {
    padding: 24px 20px;
  }

  .browser-heading {
    display: block;
  }

  .browser-heading h2 {
    font-size: 27px;
  }

  .swatch-grid {
    gap: 18px;
  }

  .swatch-chip {
    aspect-ratio: 2.7;
  }

  .store-cta-strip {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: center;
  }

  .store-cta-icon,
  .store-cta-strip .cta-button-red {
    justify-self: center;
  }

  .store-cta-strip .cta-button-red {
    grid-column: auto;
  }

  .store-cta-copy h2 {
    font-size: 25px;
  }

  .colour-palette-page .footer_wrapper {
    padding-top: 48px;
  }

  .colour-palette-page .footer_bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media only screen and (max-width: 480px) {
  .colour-palette-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .colour-palette-page .container,
  .colour-palette-page .container-fluid {
    width: 100%;
    max-width: 100vw;
    min-width: 0;
  }

  .colour-main {
    padding-top: 78px;
  }

  .colour-palette-page .navbar {
    min-height: 78px;
  }

  .palette-hero h1 {
    max-width: calc(100vw - 30px);
    font-size: 32px;
  }

  .palette-hero-copy,
  .palette-hero p {
    width: 100%;
  }

  .palette-hero-media {
    min-height: 270px;
  }

  .palette-hero-media img {
    width: 100%;
    height: 270px;
  }

  .tool-card,
  .popular-panel,
  .collection-sidebar,
  .trending-sidebar {
    border-radius: 8px;
  }

  .palette-browser {
    padding-bottom: 56px;
  }

  .palette-store-cta {
    padding-bottom: 58px;
  }
}

@media only screen and (max-width: 1199px) {
  .comparison-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 991px) {
  .browser-heading {
    align-items: flex-start;
  }

  .palette-search {
    flex-basis: 100%;
    width: 100%;
  }

  .compare-tray-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .compare-tray-actions {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 767px) {
  .palette-search {
    min-width: 0;
    margin-top: 16px;
  }

  .collection-list {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .collection-list li {
    flex: 0 0 auto;
  }

  .collection-button {
    white-space: nowrap;
  }

  .swatch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swatch-chip {
    aspect-ratio: 1.65;
  }

  .palette-drawer {
    width: 100%;
    padding: 28px 20px 34px;
  }

  .palette-dialog {
    width: calc(100% - 24px);
    padding: 28px 20px;
  }

  .detail-meta,
  .comparison-grid,
  .visualise-controls,
  .match-preview-wrap {
    grid-template-columns: 1fr;
  }

  .related-colours {
    grid-template-columns: 1fr;
  }

  .room-preview {
    min-height: 250px;
  }

  .compare-tray {
    padding: 12px;
  }

  .compare-tray-actions {
    flex-wrap: wrap;
  }

  .compare-tray-actions .compact-button {
    flex: 1 1 150px;
  }
}

@media only screen and (max-width: 480px) {
  .swatch-grid {
    grid-template-columns: 1fr;
  }

  .swatch-chip {
    aspect-ratio: 2.7;
  }

  .detail-heading h2,
  .palette-dialog h2 {
    font-size: 27px;
  }

  .detail-actions .compact-button {
    width: 100%;
  }

  .compare-pill {
    min-width: 170px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .colour-palette-page *,
  .colour-palette-page *::before,
  .colour-palette-page *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

.results-summary {
  display: none;
}

.palette-browser.is-searching .results-summary {
  display: block;
}

@media only screen and (min-width: 992px) {
  .browser-heading {
    margin-bottom: 14px;
  }

  .swatch-grid {
    gap: 8px 28px;
  }

  .swatch-name {
    margin-top: 7px;
  }

  .swatch-code {
    margin-top: 0;
  }

  .popular-actions {
    margin-top: 12px;
  }

  .popular-actions .outline-button {
    min-height: 36px;
    padding: 0 24px;
    font-size: 13px;
  }
}

@media only screen and (max-width: 991px) {
  .palette-hero {
    height: auto;
    min-height: 0;
  }

  .palette-hero::after {
    background:
      linear-gradient(180deg, rgba(8, 13, 19, 0.98) 0%, rgba(8, 13, 19, 0.9) 48%, rgba(8, 13, 19, 0.18) 100%),
      radial-gradient(circle at 82% 18%, rgba(225, 10, 24, 0.22), transparent 34%);
  }

  .palette-hero-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .palette-hero-copy {
    height: auto;
    max-width: 680px;
    padding: 64px 0 28px;
  }

  .palette-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    min-height: 320px;
  }

  .palette-hero-media img {
    height: 320px;
    object-position: center;
  }

  .store-cta-strip {
    grid-template-columns: 68px minmax(0, 1fr);
    padding: 28px 32px;
  }
}

@media only screen and (max-width: 767px) {
  .palette-hero-copy {
    padding: 56px 0 26px;
  }

  .palette-hero-media,
  .palette-hero-media img {
    height: 270px;
    min-height: 270px;
  }

  .tool-card {
    grid-template-columns: 70px minmax(0, 1fr) 22px;
    height: 132px;
    padding: 18px 18px;
  }
}
