/* Targeted production improvements. Existing visual tokens and page styling remain authoritative. */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--navy, #0f1729);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid rgba(232, 84, 44, 0.42);
  outline-offset: 3px;
}

.auth-box h1,
.cart-page-wrap .section-head h1 {
  font-family: var(--font-head);
  color: var(--navy);
}

.auth-box h1 { font-size: 1.8rem; margin-bottom: 0.4rem; }

.checkout-form select {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.7rem 0.85rem;
  font: inherit;
}

.auth-submit-btn,
.place-order-btn,
.add-cart-btn,
.ltg-tool-button,
.ltg-dealer-button { min-height: 2.75rem; }

.ltg-tools-section {
  padding: clamp(4rem, 7vw, 7rem) 0;
  background: var(--cream-2, #f5f0e7);
}

.product-anchor {
  position: absolute;
  top: -7rem;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.prod-panel { position: relative; }

.ltg-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.ltg-tool-panel {
  border: 1px solid var(--line, #d8d5ce);
  border-radius: 1rem;
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.ltg-tool-panel h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.ltg-tool-panel > p {
  margin: 0 0 1.25rem;
  color: var(--grey);
  line-height: 1.65;
}

.ltg-tool-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.ltg-tool-field {
  display: grid;
  gap: 0.4rem;
}

.ltg-tool-field--wide {
  grid-column: 1 / -1;
}

.ltg-tool-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.ltg-tool-field input,
.ltg-tool-field select {
  width: 100%;
  min-height: 3rem;
  border: 1px solid var(--line, #c9c7c1);
  border-radius: 0.65rem;
  background: #fff;
  color: var(--navy);
  padding: 0.7rem 0.8rem;
  font: inherit;
}

.ltg-tool-button {
  width: 100%;
  min-height: 3.1rem;
  margin-top: 1rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--orange, #e8542c);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.ltg-tool-button:hover { filter: brightness(0.96); }
.ltg-tool-button:active { transform: translateY(1px); }

.ltg-tool-result {
  margin-top: 1rem;
  border-left: 4px solid var(--orange, #e8542c);
  border-radius: 0 0.7rem 0.7rem 0;
  background: var(--cream, #faf7f0);
  padding: 1rem 1.05rem;
}

.ltg-tool-result:focus { outline: none; }
.ltg-tool-result > strong { font-family: var(--font-head); font-size: 1.05rem; }
.ltg-tool-result p { margin: 0.5rem 0 0; line-height: 1.55; color: var(--grey); }

.ltg-tool-link {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--orange, #e8542c);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.ltg-result-numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.ltg-result-numbers > div {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  padding: 0.8rem;
}

.ltg-result-numbers span,
.ltg-result-numbers strong { display: block; }
.ltg-result-numbers span { color: var(--grey); font-size: 0.72rem; }
.ltg-result-numbers strong { margin-top: 0.25rem; font-size: 1.1rem; }

.ltg-data-note { padding-top: 0.65rem; }
.ltg-disclaimer { display: block; margin-top: 0.9rem; color: var(--grey); line-height: 1.5; }

.ltg-comparison-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ltg-comparison-card {
  border-top: 4px solid var(--orange, #e8542c);
  background: #fff;
  padding: 1.35rem;
}

.ltg-comparison-card h3 { margin: 0 0 0.25rem; font-family: var(--font-head); }
.ltg-comparison-code { color: var(--orange); font: 700 0.75rem/1.4 var(--font-mono); letter-spacing: 0.08em; }
.ltg-comparison-card dl { margin: 1rem 0 0; }
.ltg-comparison-card dl > div { padding: 0.65rem 0; border-top: 1px solid var(--line); }
.ltg-comparison-card dt { color: var(--grey); font-size: 0.72rem; }
.ltg-comparison-card dd { margin: 0.18rem 0 0; font-weight: 650; line-height: 1.45; }

.ltg-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.ltg-faq-item {
  padding: 1.35rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.ltg-faq-item:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.ltg-faq-item h3 { margin: 0 0 0.55rem; font-family: var(--font-head); font-size: 1.05rem; }
.ltg-faq-item p { margin: 0; color: var(--grey); line-height: 1.65; }

.ltg-product-enquiry {
  width: 100%;
  min-height: 2.65rem;
  margin-top: 0.55rem;
  border: 1px solid var(--navy);
  border-radius: 0.6rem;
  background: transparent;
  color: var(--navy);
  font: 700 0.78rem/1 var(--font-head);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.ltg-product-enquiry:hover { background: var(--navy); color: #fff; }

.ltg-wholesale-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.ltg-wholesale-banner h2 { margin: 0 0 0.4rem; font-family: var(--font-head); font-size: clamp(1.35rem, 2.3vw, 2rem); }
.ltg-wholesale-banner p { margin: 0; max-width: 65ch; color: var(--grey); line-height: 1.6; }
.ltg-wholesale-banner a { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1rem; border-radius: 0.65rem; background: var(--orange); color: #fff; font-weight: 800; white-space: nowrap; }
.ltg-visually-clear-label { display: block; margin-top: 1rem; font-size: 0.76rem; font-weight: 800; }
.ltg-dealer-area { width: min(100%, 30rem); min-height: 3rem; margin-top: 0.4rem; border: 1px solid var(--line); border-radius: 0.65rem; padding: 0.7rem 0.8rem; font: inherit; }
.ltg-dealer-button { min-height: 3rem; border: 0; border-radius: 0.65rem; background: var(--orange); color: #fff; padding: 0.75rem 1rem; font-weight: 800; cursor: pointer; white-space: nowrap; }

.ltg-dealer-directory {
  border-top: 4px solid var(--orange);
  background: #fff;
  padding: clamp(1.35rem, 3vw, 2.5rem);
}

.ltg-dealer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem);
  gap: clamp(1rem, 4vw, 3.5rem);
  align-items: end;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.ltg-section-kicker {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--orange);
  font: 800 0.68rem/1.2 var(--font-mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ltg-dealer-heading h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.ltg-dealer-heading p,
.ltg-dealer-note {
  margin: 0;
  color: var(--grey);
  line-height: 1.65;
}

.ltg-dealer-note {
  border-left: 2px solid var(--line);
  padding-left: 1rem;
  font-size: 0.86rem;
}

.ltg-dealer-search { padding: 1.1rem 0 0.35rem; }
.ltg-dealer-search .ltg-visually-clear-label { margin-top: 0; }
.ltg-dealer-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.6rem; align-items: center; }
.ltg-dealer-search-row .ltg-dealer-area { width: 100%; margin-top: 0; }
.ltg-dealer-reset { min-height: 3rem; border: 1px solid var(--navy); border-radius: 0.65rem; background: transparent; color: var(--navy); padding: 0.75rem 1rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.ltg-dealer-button:hover { background: #d94220; }
.ltg-dealer-reset:hover { background: var(--navy); color: #fff; }

.ltg-dealer-status { min-height: 1.3rem; margin: 0.65rem 0 1rem; color: var(--grey); font-size: 0.84rem; }
.ltg-dealer-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.ltg-dealer-results[aria-busy="true"] { min-height: 9rem; }
.ltg-dealer-card { min-width: 0; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.ltg-dealer-card:nth-child(odd) { padding-right: clamp(1rem, 3vw, 2rem); border-right: 1px solid var(--line); }
.ltg-dealer-card:nth-child(even) { padding-left: clamp(1rem, 3vw, 2rem); }
.ltg-dealer-card h3 { margin: 0; font-family: var(--font-head); font-size: 1.03rem; line-height: 1.35; }
.ltg-dealer-address { min-height: 2.65rem; margin: 0.45rem 0 0; color: var(--grey); font-size: 0.84rem; line-height: 1.55; }
.ltg-dealer-actions { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.85rem; }
.ltg-dealer-actions a { display: inline-flex; align-items: center; min-height: 2.35rem; border: 1px solid var(--line); border-radius: 999px; padding: 0.52rem 0.75rem; color: var(--navy); font-size: 0.76rem; font-weight: 800; }
.ltg-dealer-actions a:first-child { border-color: var(--navy); background: var(--navy); color: #fff; }
.ltg-dealer-actions a:hover { border-color: var(--orange); color: var(--orange); }
.ltg-dealer-actions a:first-child:hover { background: var(--orange); color: #fff; }
.ltg-dealer-empty { grid-column: 1 / -1; padding: 1.5rem 0; color: var(--grey); }
.ltg-dealer-load-more-wrap { grid-column: 1 / -1; display: flex; justify-content: center; padding: 1.25rem 0 0.35rem; }
.ltg-dealer-load-more { min-height: 2.75rem; border: 1px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); padding: 0.7rem 1.15rem; font: inherit; font-weight: 800; cursor: pointer; }
.ltg-dealer-load-more:hover,
.ltg-dealer-load-more:focus-visible { border-color: var(--orange); color: var(--orange); outline: 3px solid rgba(232, 84, 44, 0.18); outline-offset: 2px; }
.ltg-dealer-fallback { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; padding-top: 1.2rem; color: var(--grey); font-size: 0.84rem; }
.ltg-dealer-text-button { border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--orange); padding: 0; font: inherit; font-weight: 800; cursor: pointer; }

.ltg-documents { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.ltg-document-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.ltg-document-link { border: 1px solid var(--line); padding: 1rem; background: #fff; color: var(--navy); }
.ltg-document-link span, .ltg-document-link small { display: block; }
.ltg-document-link span { font-weight: 800; }
.ltg-document-link small { margin-top: 0.25rem; color: var(--grey); }

.ltg-review-skeleton {
  min-height: 10rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
  padding: 1.25rem;
}

.ltg-review-skeleton span {
  display: block;
  height: 0.75rem;
  margin-bottom: 0.7rem;
  border-radius: 0.3rem;
  background: linear-gradient(90deg, #ece9e2 25%, #f7f4ee 50%, #ece9e2 75%);
  background-size: 200% 100%;
  animation: ltgSkeleton 1.2s linear infinite;
}

.ltg-review-skeleton span:first-child { width: 45%; }
.ltg-review-skeleton span:last-child { width: 70%; }
@keyframes ltgSkeleton { to { background-position: -200% 0; } }

@media (max-width: 760px) {
  .ltg-tools-grid,
  .ltg-comparison-cards,
  .ltg-faq-grid,
  .ltg-document-list { grid-template-columns: 1fr; }

  .ltg-tool-fields { grid-template-columns: 1fr; }
  .ltg-tool-field--wide { grid-column: auto; }
  .ltg-faq-item,
  .ltg-faq-item:nth-child(even) { padding: 1.15rem 0; border-left: 0; }
  .ltg-result-numbers { grid-template-columns: 1fr; }
  .ltg-wholesale-banner { grid-template-columns: 1fr; }
  .ltg-dealer-heading,
  .ltg-dealer-results { grid-template-columns: 1fr; }
  .ltg-dealer-note { border-left: 0; border-top: 1px solid var(--line); padding: 0.9rem 0 0; }
  .ltg-dealer-search-row { grid-template-columns: 1fr 1fr; }
  .ltg-dealer-search-row .ltg-dealer-area { grid-column: 1 / -1; }
  .ltg-dealer-card:nth-child(odd),
  .ltg-dealer-card:nth-child(even) { padding-left: 0; padding-right: 0; border-right: 0; }
  .ltg-dealer-address { min-height: 0; }
}

@media (max-width: 430px) {
  .ltg-dealer-search-row { grid-template-columns: 1fr; }
  .ltg-dealer-search-row .ltg-dealer-area { grid-column: auto; }
  .ltg-dealer-button,
  .ltg-dealer-reset { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .ltg-tool-button,
  .ltg-product-enquiry { transition: none; }
  .ltg-review-skeleton span { animation: none; }
}

/* Public language switcher: one-click choices on desktop and mobile. */
.ltg-language-control {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  flex: 0 0 auto;
  min-height: 2.65rem;
  padding: 0.2rem 0.3rem;
  border: 1px solid #e3e5e8;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(15, 23, 41, 0.055);
}

.ltg-language-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7rem;
  height: 2rem;
  flex: 0 0 1.7rem;
  color: #df4521;
}

.ltg-language-label svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 0.95rem;
}

.ltg-language-options {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
}

.ltg-language-options button {
  position: relative;
  min-width: 1.85rem;
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.36rem 0.4rem;
  background: transparent;
  color: #303949;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ltg-language-options button[data-language="en"] {
  font-family: var(--font-body);
}

.ltg-language-options button[data-language="si"] {
  font-family: "Noto Sans Sinhala", "Nirmala UI", "Iskoola Pota", sans-serif;
}

.ltg-language-options button[data-language="ta"] {
  font-family: "Noto Sans Tamil", "Nirmala UI", "Latha", sans-serif;
}

.ltg-language-options button + button {
  margin-left: 0.18rem;
}

.ltg-language-options button + button::before {
  content: "|";
  position: absolute;
  left: -0.22rem;
  top: 50%;
  color: #c3c9d1;
  font: 400 0.66rem/1 var(--font-body);
  transform: translateY(-52%);
  pointer-events: none;
}

.ltg-language-options button:hover {
  color: #df4521;
  background: rgba(239, 81, 44, 0.075);
}

.ltg-language-options button:active { transform: scale(0.96); }

.ltg-language-options button.is-active {
  background: rgba(239, 81, 44, 0.105);
  color: #df4521;
  box-shadow: inset 0 0 0 1px rgba(239, 81, 44, 0.16);
}

.ltg-language-options button:focus-visible {
  outline: 2px solid rgba(239, 81, 44, 0.38);
  outline-offset: 1px;
}

.ltg-language-control--mobile { display: none; }

/* Sinhala needs its own glyph metrics; the Latin display face is too tall and wide. */
html[lang="si"] body {
  --font-body: "Noto Sans Sinhala", "Nirmala UI", "Iskoola Pota", "Segoe UI", sans-serif;
  --font-head: "Noto Sans Sinhala", "Nirmala UI", "Iskoola Pota", "Segoe UI", sans-serif;
  --font-mono: "Noto Sans Sinhala", "Nirmala UI", "Iskoola Pota", "Segoe UI", sans-serif;
}

html[lang="si"] .ltg-home-modern .hero h1 {
  max-width: 35rem !important;
  font-size: clamp(2.35rem, 2.7vw, 3rem) !important;
  line-height: 1.17 !important;
  letter-spacing: -0.025em !important;
  text-wrap: balance;
}

html[lang="si"] .ltg-home-modern .hero-copy .eyebrow {
  max-width: min(100%, 31rem) !important;
  font-size: 0.62rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0.08em !important;
  text-wrap: balance;
}

@media (max-width: 1180px) and (min-width: 961px) {
  .ltg-language-label { width: 1.55rem; flex-basis: 1.55rem; }
  .ltg-language-options button { min-width: 1.75rem; padding-inline: 0.3rem; }
}

@media (max-width: 960px) {
  .ltg-language-control--desktop { display: none; }

  #navlinks.mobile-open .ltg-language-control--mobile {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.38rem 0.45rem;
    border-radius: 0.75rem;
  }

  .ltg-language-control--mobile .ltg-language-label {
    width: 2rem;
    height: 2.65rem;
    padding: 0;
  }

  .ltg-language-control--mobile .ltg-language-options {
    width: 100%;
  }

  .ltg-language-control--mobile .ltg-language-options button {
    flex: 1 1 0;
    min-height: 2.65rem;
    font-size: 0.75rem;
  }

  html[lang="si"] .ltg-home-modern .hero h1 {
    max-width: 100% !important;
    font-size: clamp(2rem, 9vw, 2.55rem) !important;
    line-height: 1.2 !important;
  }
}

html:lang(ta) .ltg-home-modern .hero h1 {
  max-width: 35rem !important;
  font-size: clamp(2.35rem, 2.7vw, 3rem) !important;
  line-height: 1.17 !important;
  letter-spacing: -0.02em !important;
  text-wrap: balance;
}

html:lang(ta) .ltg-home-modern .hero-copy .eyebrow {
  max-width: min(100%, 31rem) !important;
  font-size: 0.62rem !important;
  line-height: 1.35 !important;
  letter-spacing: 0.07em !important;
  text-wrap: balance;
}

@media (min-width: 961px) {
  html:lang(ta) .ltg-home-modern .hero-actions {
    flex-wrap: nowrap !important;
    gap: 0.65rem !important;
  }

  html:lang(ta) .ltg-home-modern .hero-actions :where(a, button) {
    min-height: 3rem !important;
    padding: 0.7rem 0.85rem !important;
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }
}

@media (min-width: 961px) and (max-width: 1199px) {
  html:lang(si) .ltg-home-modern .hero-range,
  html:lang(si) .ltg-home-modern .hero-stats-bar,
  html:lang(ta) .ltg-home-modern .hero-range,
  html:lang(ta) .ltg-home-modern .hero-stats-bar {
    transform: translate3d(0, 0, 0) !important;
  }
}

@media (min-width: 1200px) and (max-width: 1499px) {
  html:lang(si) .ltg-home-modern .hero-range,
  html:lang(si) .ltg-home-modern .hero-stats-bar {
    transform: translate3d(0, -70px, 0) !important;
  }

  html:lang(ta) .ltg-home-modern .hero-range,
  html:lang(ta) .ltg-home-modern .hero-stats-bar {
    transform: translate3d(0, -15px, 0) !important;
  }
}

@media (min-width: 1500px) {
  html:lang(si) .ltg-home-modern .hero-range,
  html:lang(si) .ltg-home-modern .hero-stats-bar {
    transform: translate3d(0, -85px, 0) !important;
  }

  html:lang(ta) .ltg-home-modern .hero-range,
  html:lang(ta) .ltg-home-modern .hero-stats-bar {
    transform: translate3d(0, -40px, 0) !important;
  }
}

@media (max-width: 960px) {
  html:lang(ta) .ltg-home-modern .hero h1 {
    max-width: 100% !important;
    font-size: clamp(2rem, 9vw, 2.55rem) !important;
    line-height: 1.2 !important;
  }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  html:lang(si) header nav,
  html:lang(ta) header nav {
    width: calc(100% - 1.5rem);
    max-width: none;
    gap: 0.75rem;
    padding-inline: 0.75rem;
  }

  html:lang(si) header .brand,
  html:lang(ta) header .brand {
    gap: 0.45rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  html:lang(si) header .brand img,
  html:lang(ta) header .brand img {
    height: 1.9rem;
  }

  html:lang(si) header .brand .sub,
  html:lang(ta) header .brand .sub {
    display: none;
  }

  html:lang(si) header .navlinks,
  html:lang(ta) header .navlinks {
    gap: clamp(0.6rem, 1vw, 0.9rem);
    font-size: 0.76rem;
  }

  html:lang(si) header .nav-actions,
  html:lang(ta) header .nav-actions {
    gap: 0.38rem;
  }

  html:lang(si) header .ltg-language-control,
  html:lang(ta) header .ltg-language-control {
    padding: 0.2rem 0.28rem;
  }

  html:lang(si) header .ltg-language-options button,
  html:lang(ta) header .ltg-language-options button {
    min-width: 1.65rem;
    padding-inline: 0.25rem;
  }

  html:lang(si) header .nav-shop-btn,
  html:lang(ta) header .nav-shop-btn,
  html:lang(si) header .nav-cta,
  html:lang(ta) header .nav-cta {
    min-height: 2.5rem;
    padding: 0.58rem 0.55rem !important;
    font-size: 0.72rem;
    line-height: 1.15;
    text-align: center;
  }

  html:lang(si) header .nav-cta,
  html:lang(ta) header .nav-cta {
    max-width: 10.5rem;
  }
}

@media (min-width: 1280px) {
  html:lang(en) body header nav,
  html:lang(si) body header nav,
  html:lang(ta) body header nav {
    width: calc(100% - 1.5rem) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    gap: clamp(0.55rem, 0.8vw, 0.9rem) !important;
  }

  html:lang(en) body header .brand,
  html:lang(si) body header .brand,
  html:lang(ta) body header .brand {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    gap: 0.45rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap !important;
  }

  html:lang(en) body header .brand img,
  html:lang(si) body header .brand img,
  html:lang(ta) body header .brand img {
    width: auto !important;
    height: 2.15rem !important;
  }

  html:lang(en) body header .brand > div,
  html:lang(si) body header .brand > div,
  html:lang(ta) body header .brand > div {
    flex: 0 0 auto !important;
    overflow: visible !important;
    white-space: nowrap !important;
  }

  html:lang(en) body header .brand .sub,
  html:lang(si) body header .brand .sub,
  html:lang(ta) body header .brand .sub {
    display: none !important;
  }

  html:lang(en) body header .navlinks,
  html:lang(si) body header .navlinks,
  html:lang(ta) body header .navlinks {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    gap: 0 !important;
  }

  html:lang(en) body header .navlinks > a,
  html:lang(en) body header .nav-dropdown-trigger,
  html:lang(si) body header .navlinks > a,
  html:lang(si) body header .nav-dropdown-trigger,
  html:lang(ta) body header .navlinks > a,
  html:lang(ta) body header .nav-dropdown-trigger {
    padding-inline: clamp(0.42rem, 0.55vw, 0.65rem) !important;
    font-size: clamp(0.72rem, 0.72vw, 0.82rem) !important;
  }

  html:lang(en) body header .nav-actions,
  html:lang(si) body header .nav-actions,
  html:lang(ta) body header .nav-actions {
    flex: 0 0 auto !important;
    min-width: max-content !important;
    gap: 0.38rem !important;
    margin-left: 0 !important;
  }

  html:lang(en) body header .nav-shop-btn,
  html:lang(si) body header .nav-shop-btn,
  html:lang(ta) body header .nav-shop-btn,
  html:lang(en) body header .nav-cta,
  html:lang(si) body header .nav-cta,
  html:lang(ta) body header .nav-cta {
    padding-inline: 0.7rem !important;
    font-size: 0.74rem !important;
  }

  html:lang(en) body header .nav-cta,
  html:lang(si) body header .nav-cta,
  html:lang(ta) body header .nav-cta {
    max-width: 9.5rem !important;
    padding-inline: 0.7rem !important;
    white-space: normal !important;
    text-align: center !important;
  }

  html:lang(en) body header .cart-icon-wrap,
  html:lang(si) body header .cart-icon-wrap,
  html:lang(ta) body header .cart-icon-wrap {
    display: flex !important;
    flex: 0 0 2.65rem !important;
    width: 2.65rem !important;
    min-width: 2.65rem !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

@media (min-width: 961px) and (max-width: 1279px) {
  html:lang(si) header nav,
  html:lang(ta) header nav {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 4.5rem;
    padding: 0.75rem 1.1rem;
  }

  html:lang(si) header .brand,
  html:lang(ta) header .brand {
    min-width: 0;
    flex: 1 1 auto;
    order: 0;
  }

  html:lang(si) header .brand .sub,
  html:lang(ta) header .brand .sub {
    display: none;
  }

  html:lang(si) header nav #navlinks:not(.mobile-open),
  html:lang(ta) header nav #navlinks:not(.mobile-open) {
    display: none !important;
  }

  html:lang(si) header .nav-actions,
  html:lang(ta) header .nav-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem !important;
    order: 1;
    margin-left: auto;
  }

  html:lang(si) header .nav-actions > :where(.ltg-language-control--desktop, .nav-shop-btn, .nav-cta, .account-pill, .nav-ref-btn),
  html:lang(ta) header .nav-actions > :where(.ltg-language-control--desktop, .nav-shop-btn, .nav-cta, .account-pill, .nav-ref-btn) {
    display: none !important;
  }

  html:lang(si) header .profile-auth-wrap,
  html:lang(ta) header .profile-auth-wrap {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  html:lang(si) header .navburger,
  html:lang(ta) header .navburger {
    display: flex !important;
    width: 1.65rem;
    height: 1.5rem;
    flex: 0 0 1.65rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    order: 2;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  html:lang(si) header .navburger span,
  html:lang(ta) header .navburger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--navy) !important;
  }

  html:lang(si) header #navlinks.mobile-open,
  html:lang(ta) header #navlinks.mobile-open {
    position: absolute !important;
    top: 100% !important;
    left: 1rem !important;
    right: 1rem !important;
    width: auto !important;
    z-index: 600;
    display: flex !important;
    max-height: calc(100dvh - 5rem);
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-y: auto;
    border: 1px solid rgba(15, 23, 41, 0.1);
    border-radius: 0 0 1.25rem 1.25rem;
    background: #fff;
    box-shadow: 0 20px 40px rgba(15, 23, 41, 0.14);
    padding: 0.75rem 1.1rem 1.25rem !important;
  }

  html:lang(si) header #navlinks.mobile-open > a:not(.navlinks-shop-mobile):not(.navlinks-contact-mobile),
  html:lang(ta) header #navlinks.mobile-open > a:not(.navlinks-shop-mobile):not(.navlinks-contact-mobile),
  html:lang(si) header #navlinks.mobile-open .nav-dropdown-trigger,
  html:lang(ta) header #navlinks.mobile-open .nav-dropdown-trigger {
    display: block !important;
    width: 100%;
    border-bottom: 1px solid rgba(15, 23, 41, 0.08) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--navy) !important;
    padding: 0.85rem 0.25rem !important;
    font-size: 0.94rem !important;
    font-weight: 650 !important;
    line-height: 1.35;
    text-align: left !important;
    opacity: 1 !important;
  }

  html:lang(si) header #navlinks.mobile-open .nav-dropdown,
  html:lang(ta) header #navlinks.mobile-open .nav-dropdown {
    display: block !important;
    width: 100%;
  }

  html:lang(si) header #navlinks.mobile-open .nav-dropdown-menu,
  html:lang(ta) header #navlinks.mobile-open .nav-dropdown-menu {
    position: static !important;
    display: none;
    min-width: 0 !important;
    margin: 0.25rem 0 0.5rem !important;
    border: 0 !important;
    border-radius: 0.7rem !important;
    background: rgba(15, 23, 41, 0.035) !important;
    box-shadow: none !important;
    padding: 0.25rem 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  html:lang(si) header #navlinks.mobile-open .nav-dropdown.open .nav-dropdown-menu,
  html:lang(ta) header #navlinks.mobile-open .nav-dropdown.open .nav-dropdown-menu,
  html:lang(si) header #navlinks.mobile-open .nav-dropdown-menu.is-open,
  html:lang(ta) header #navlinks.mobile-open .nav-dropdown-menu.is-open {
    display: block !important;
  }

  html:lang(si) header #navlinks.mobile-open .nav-dropdown-menu a,
  html:lang(ta) header #navlinks.mobile-open .nav-dropdown-menu a {
    display: block !important;
    padding: 0.7rem 0.9rem !important;
    font-size: 0.9rem !important;
    line-height: 1.35;
  }

  html:lang(si) header #navlinks.mobile-open :where(.navlinks-shop-mobile, .navlinks-contact-mobile),
  html:lang(ta) header #navlinks.mobile-open :where(.navlinks-shop-mobile, .navlinks-contact-mobile) {
    display: block !important;
    width: 100% !important;
    min-height: 2.8rem;
    margin-top: 0.6rem !important;
    border: 0 !important;
    border-radius: 0.75rem !important;
    padding: 0.72rem 0.9rem !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 750 !important;
    line-height: 1.35;
    text-align: center !important;
  }

  html:lang(si) header #navlinks.mobile-open .navlinks-shop-mobile,
  html:lang(ta) header #navlinks.mobile-open .navlinks-shop-mobile {
    background: var(--orange) !important;
  }

  html:lang(si) header #navlinks.mobile-open .navlinks-contact-mobile,
  html:lang(ta) header #navlinks.mobile-open .navlinks-contact-mobile {
    background: var(--navy) !important;
  }

  html:lang(si) header #navlinks.mobile-open .navlinks-account-mobile,
  html:lang(ta) header #navlinks.mobile-open .navlinks-account-mobile {
    display: flex !important;
    gap: 0.6rem !important;
    margin-top: 0.65rem !important;
  }

  html:lang(si) header #navlinks.mobile-open .navlinks-account-mobile a,
  html:lang(ta) header #navlinks.mobile-open .navlinks-account-mobile a {
    min-width: 0;
    flex: 1 1 0;
    border: 1px solid rgba(15, 23, 41, 0.14) !important;
    border-radius: 0.7rem !important;
    padding: 0.7rem 0.55rem !important;
    font-size: 0.86rem !important;
    line-height: 1.35;
    text-align: center !important;
  }

  html:lang(si) header #navlinks.mobile-open .ltg-language-control--mobile,
  html:lang(ta) header #navlinks.mobile-open .ltg-language-control--mobile {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    width: 100%;
    margin-top: 0.7rem;
    padding: 0.35rem 0.45rem;
    border-radius: 0.75rem;
  }

  html:lang(si) header #navlinks.mobile-open .ltg-language-control--mobile .ltg-language-options button,
  html:lang(ta) header #navlinks.mobile-open .ltg-language-control--mobile .ltg-language-options button {
    min-height: 2.55rem;
    flex: 1 1 0;
    font-size: 0.75rem;
  }
}

html:lang(si) #site[data-page="dealers"] :where(#dealerHelpTitle, #dealerHelpPanelTitle, .dealer-page-hero p),
html:lang(ta) #site[data-page="dealers"] :where(#dealerHelpTitle, #dealerHelpPanelTitle, .dealer-page-hero p),
html:lang(si) #site[data-page="dealers"] .ltg-dealer-heading p,
html:lang(ta) #site[data-page="dealers"] .ltg-dealer-heading p {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  html:lang(si) #site[data-page="dealers"] .dealer-page-hero .tag-pill,
  html:lang(ta) #site[data-page="dealers"] .dealer-page-hero .tag-pill {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .ltg-language-control--mobile {
    grid-template-columns: 2rem minmax(0, 1fr) !important;
    gap: 0.1rem;
  }

  .ltg-language-control--mobile .ltg-language-label {
    padding: 0;
  }
}

/* Keep the desktop hero inside the viewport on laptop-width screens. */
.ltg-home-modern .hero-corner-logo {
  display: none !important;
}

@media (max-width: 960px) {
  .ltg-home-modern .hero-inner,
  .ltg-home-modern .hero-top,
  .ltg-home-modern .hero-copy {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 360px) {
  .ltg-home-modern .hero-copy .eyebrow {
    width: auto !important;
    max-width: 100% !important;
    padding-inline: 10px !important;
    font-size: 0.52rem !important;
    letter-spacing: 1.15px !important;
  }
}

@media (min-width: 1200px) {
  .ltg-home-modern .hero-copy {
    transform: translateX(0) !important;
  }

  .ltg-home-modern .hero-range,
  .ltg-home-modern .hero-stats-bar {
    transform: translate(0, -32px) !important;
  }
}

@media (min-width: 1500px) {
  .ltg-home-modern .hero-range,
  .ltg-home-modern .hero-stats-bar {
    transform: translate(0, -54px) !important;
  }
}

/* Public dealer directory */
.dealer-page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #f7f4ee;
  padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(2.8rem, 5vw, 4.75rem);
}

.dealer-page-hero::after {
  content: "";
  position: absolute;
  top: -8rem;
  right: -5rem;
  width: 23rem;
  height: 23rem;
  border: 1px solid rgba(232, 84, 44, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(232, 84, 44, 0.035), 0 0 0 7rem rgba(15, 23, 41, 0.025);
  pointer-events: none;
}

.dealer-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.dealer-page-hero h1 {
  max-width: 15ch;
  margin: 1rem 0 0.8rem;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5.4vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.dealer-page-hero p {
  max-width: 49rem;
  margin: 0;
  color: var(--grey);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.7;
}

.dealer-page-assurance {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--navy);
}

.dealer-page-assurance span {
  position: relative;
  padding: 0.9rem 0 0.9rem 1.35rem;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 750;
}

.dealer-page-assurance span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.38rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--orange);
}

.dealer-page-main { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); }

.dealer-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 20rem);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.dealer-page-layout .ltg-dealer-directory { min-width: 0; }

.dealer-quick-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  padding: 0.65rem 0 0.3rem;
}

.dealer-quick-search > span {
  margin-right: 0.2rem;
  color: var(--grey);
  font-size: 0.75rem;
  font-weight: 700;
}

.dealer-quick-search button {
  min-height: 2.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  padding: 0.45rem 0.72rem;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 750;
  cursor: pointer;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.dealer-quick-search button:hover,
.dealer-quick-search button:focus-visible {
  border-color: var(--orange);
  background: #fff8f5;
  color: #c83f1e;
}

.dealer-help-panel {
  position: sticky;
  top: 6.25rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  background: #f7f4ee;
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.dealer-help-panel h2 {
  margin: 0.55rem 0 0.7rem;
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.08;
}

.dealer-help-panel p,
.dealer-help-panel li { color: var(--grey); font-size: 0.88rem; line-height: 1.55; }
.dealer-help-panel ul { display: grid; gap: 0.45rem; margin: 1.1rem 0 1.35rem; padding-left: 1.1rem; }
.dealer-help-panel a { display: flex; min-height: 2.8rem; align-items: center; justify-content: center; border-radius: 0.6rem; padding: 0.7rem 0.85rem; font-size: 0.82rem; font-weight: 800; text-align: center; }
.dealer-help-primary { background: var(--orange); color: #fff; }
.dealer-help-primary:hover { background: #d94220; }
.dealer-help-secondary { margin-top: 0.55rem; border: 1px solid var(--navy); color: var(--navy); }
.dealer-help-secondary:hover { background: var(--navy); color: #fff; }

/* Technical enquiry */
.technical-enquiry-section { padding: clamp(2.75rem, 6vw, 5.5rem) 0; background: #0f1729; color: #fff; }
.technical-enquiry-grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(2rem, 7vw, 6.5rem); align-items: start; }
.technical-enquiry-copy .ltg-section-kicker { color: #ff8a68; }
.technical-enquiry-copy h2 { max-width: 13ch; margin: 0.7rem 0 0.9rem; color: #fff !important; font-family: var(--font-head); font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -0.045em; }
.technical-enquiry-copy p { max-width: 38rem; margin: 0; color: #c6ccd6 !important; line-height: 1.7; }
.technical-enquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid rgba(255,255,255,0.35); padding-top: 1.3rem; }
.technical-enquiry-field { display: grid; gap: 0.45rem; }
.technical-enquiry-field--wide { grid-column: 1 / -1; }
.technical-enquiry-form label { color: #fff !important; font-size: 0.76rem; font-weight: 750; }
.technical-enquiry-form select,
.technical-enquiry-form input,
.technical-enquiry-form textarea { width: 100%; min-height: 3rem; border: 1px solid rgba(255,255,255,0.28); border-radius: 0.55rem; background: #182236; color: #fff; padding: 0.72rem 0.82rem; font: inherit; }
.technical-enquiry-form textarea { min-height: 7.25rem; resize: vertical; }
.technical-enquiry-form select:focus,
.technical-enquiry-form input:focus,
.technical-enquiry-form textarea:focus { outline: 2px solid rgba(255, 122, 82, 0.7); outline-offset: 2px; border-color: #ff7a52; }
.technical-enquiry-submit { grid-column: 1 / -1; display: inline-flex; min-height: 3.2rem; align-items: center; justify-content: center; border: 0; border-radius: 0.6rem; background: var(--orange); color: #fff; padding: 0.78rem 1rem; font: inherit; font-weight: 850; cursor: pointer; }
.technical-enquiry-submit:hover { background: #ff6840; }
.technical-enquiry-note { grid-column: 1 / -1; margin: -0.2rem 0 0; color: #cbd5e1 !important; font-size: 0.78rem; line-height: 1.55; }
.product-technical-cta { display: inline-flex; min-height: 2.8rem; align-items: center; justify-content: center; margin-top: 1.1rem; border: 1px solid var(--navy); border-radius: 0.6rem; color: var(--navy); padding: 0.65rem 0.9rem; font-weight: 800; }
.product-technical-cta:hover { border-color: var(--orange); background: var(--orange); color: #fff; }

/* Grout shade explorer */
.grout-shade-explorer { margin-top: clamp(2.5rem, 6vw, 5rem); border-top: 4px solid var(--orange); background: #fff; padding: clamp(1.25rem, 3vw, 2.25rem); }
.grout-shade-explorer-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.55fr); gap: 1.5rem; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.grout-shade-explorer h2 { margin: 0.45rem 0 0; font-family: var(--font-head); font-size: clamp(1.8rem, 3.5vw, 3rem); }
.grout-shade-explorer-head p { margin: 0; color: var(--grey); font-size: 0.86rem; line-height: 1.55; }
.grout-shade-toolbar { display: grid; grid-template-columns: minmax(13rem, 1fr) auto; gap: 0.7rem; margin: 1.2rem 0; }
.grout-shade-search { min-height: 2.85rem; border: 1px solid var(--line); border-radius: 0.6rem; padding: 0.65rem 0.8rem; font: inherit; }
.grout-tone-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.grout-tone-filter { min-height: 2.85rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); padding: 0.55rem 0.75rem; font: inherit; font-size: 0.74rem; font-weight: 800; cursor: pointer; }
.grout-tone-filter.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.grout-shade-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.55rem; }
.grout-shade-card { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0.65rem; align-items: center; min-height: 4.2rem; border: 1px solid var(--line); border-radius: 0.55rem; background: #fff; padding: 0.55rem; color: var(--navy); text-align: left; cursor: pointer; }
.grout-shade-card[hidden],
#groutSwatches .sw[hidden] { display: none !important; }
.grout-shade-card:hover,
.grout-shade-card:focus-visible { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(232, 84, 44, 0.12); }
.grout-shade-card.is-selected { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.grout-shade-chip { width: 2.25rem; height: 2.25rem; border: 1px solid rgba(15,23,41,0.16); border-radius: 50%; background: var(--shade); }
.grout-shade-card strong { display: block; font-size: 0.78rem; line-height: 1.3; }
.grout-shade-card small { color: var(--grey); font-size: 0.65rem; text-transform: capitalize; }
.grout-shade-empty { grid-column: 1 / -1; padding: 1.5rem 0; color: var(--grey); }
.grout-shade-selection { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; justify-content: space-between; margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.grout-shade-selection-copy { display: flex; gap: 0.7rem; align-items: center; }
.grout-shade-selection-copy .grout-shade-chip { width: 2.75rem; height: 2.75rem; }
.grout-shade-selection-copy span { display: grid; }
.grout-shade-selection-copy small { color: var(--grey); }
.grout-shade-selection-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.grout-shade-selection-actions a,
.grout-shade-selection-actions button { display: inline-flex; min-height: 2.75rem; align-items: center; justify-content: center; border: 1px solid var(--navy); border-radius: 0.55rem; background: #fff; color: var(--navy); padding: 0.65rem 0.85rem; font: inherit; font-size: 0.78rem; font-weight: 800; cursor: pointer; }
.grout-shade-selection-actions a:first-child { background: var(--orange); border-color: var(--orange); color: #fff; }
.grout-screen-note { margin: 0.9rem 0 0; color: var(--grey); font-size: 0.72rem; line-height: 1.5; }

.grout-colour-popover .grout-shade-toolbar { grid-template-columns: 1fr; margin: 0 0 0.8rem; }
.grout-colour-popover .grout-tone-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.2rem; }
.grout-colour-popover .grout-tone-filter { min-height: 2.45rem; white-space: nowrap; }
.grout-colour-popover .grout-shade-search { min-height: 2.65rem; }

/* Ordering status clarity */
.order-request-notice { margin: 1rem 0 1.25rem; border-left: 4px solid var(--orange); background: #fff7f3; padding: 0.85rem 1rem; color: #3f4652; font-size: 0.82rem; line-height: 1.55; }
.order-request-notice strong { color: var(--navy); }

@media (max-width: 1080px) {
  .dealer-page-layout { grid-template-columns: minmax(0, 1fr); }
  .dealer-help-panel { position: static; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.45rem 1rem; align-items: center; }
  .dealer-help-panel .ltg-section-kicker,
  .dealer-help-panel h2,
  .dealer-help-panel p,
  .dealer-help-panel ul { grid-column: 1; }
  .dealer-help-panel a { grid-column: 2; min-width: 13rem; }
  .dealer-help-primary { grid-row: 2 / span 2; }
  .dealer-help-secondary { grid-row: 4; margin-top: 0; }
  .grout-shade-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .dealer-page-hero-grid,
  .technical-enquiry-grid,
  .grout-shade-explorer-head { grid-template-columns: 1fr; }
  .dealer-page-hero { padding-top: 2.7rem; }
  .dealer-page-hero h1 { max-width: 12ch; font-size: clamp(2.3rem, 12vw, 3.8rem); }
  .dealer-page-hero,
  .dealer-page-main { overflow-x: clip; }
  .dealer-page-hero-grid,
  .dealer-page-layout,
  .dealer-page-hero-grid > *,
  .dealer-page-layout > *,
  .dealer-page-layout .ltg-dealer-directory,
  .ltg-dealer-heading,
  .ltg-dealer-search,
  .ltg-dealer-search-row {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .dealer-page-hero .tag-pill {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  html[lang="si"] .dealer-page-hero h1,
  html[lang="ta"] .dealer-page-hero h1 {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: clamp(2rem, 9.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  .dealer-quick-search {
    width: 100%;
    max-width: 100%;
  }
  .dealer-page-assurance { margin-top: 0.4rem; }
  .dealer-help-panel { display: block; }
  .dealer-help-panel a { min-width: 0; }
  .dealer-help-secondary { margin-top: 0.55rem; }
  .technical-enquiry-form { grid-template-columns: 1fr; }
  .technical-enquiry-field--wide,
  .technical-enquiry-submit,
  .technical-enquiry-note { grid-column: auto; }
  .grout-shade-toolbar { grid-template-columns: 1fr; }
  .grout-tone-filters { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.25rem; }
  .grout-tone-filter { white-space: nowrap; }
  .grout-shade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grout-shade-selection { align-items: stretch; }
  .grout-shade-selection-actions { width: 100%; }
  .grout-shade-selection-actions a,
  .grout-shade-selection-actions button { flex: 1 1 10rem; }
}

@media (max-width: 430px) {
  .dealer-page-main { padding-top: 1.4rem; }
  .dealer-page-layout .ltg-dealer-directory,
  .dealer-help-panel,
  .grout-shade-explorer { margin-inline: -0.15rem; }
  .dealer-quick-search { flex-wrap: nowrap; overflow-x: auto; }
  .dealer-quick-search > span,
  .dealer-quick-search button { flex: 0 0 auto; }
  .grout-shade-grid { grid-template-columns: 1fr 1fr; gap: 0.45rem; }
  .grout-shade-card { grid-template-columns: 1.85rem minmax(0, 1fr); gap: 0.48rem; min-height: 3.75rem; padding: 0.45rem; }
  .grout-shade-chip { width: 1.85rem; height: 1.85rem; }
  .ltg-dealer-search-row {
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .ltg-dealer-search-row > * {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* Public navigation and product support links */
.navlinks > .public-dealers-link { white-space: nowrap; }
.product-technical-cta { display: block; margin: 0; padding: clamp(1.6rem, 3vw, 2.6rem) 0; background: #f7f4ee; }
.product-technical-cta__inner { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; border-left: 4px solid var(--orange); background: #fff; padding: clamp(1.1rem, 2.5vw, 1.7rem); }
.product-technical-cta__inner div { display: grid; gap: 0.2rem; }
.product-technical-cta__inner span { color: var(--grey); font-size: 0.8rem; }
.product-technical-cta__inner strong { font-family: var(--font-head); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.product-technical-cta__inner a { display: inline-flex; min-height: 2.9rem; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 0.55rem; background: var(--orange); color: #fff; padding: 0.7rem 1rem; font-size: 0.8rem; font-weight: 850; }
.product-technical-cta__inner a:hover { background: #d94220; color: #fff; }
.grout-technical-link { margin: clamp(1.4rem, 3vw, 2.5rem) 0 clamp(1.2rem, 2.5vw, 2rem); }

/* Interactive grout explorer */
.grout-shade-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr); gap: 1.5rem; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.grout-shade-intro p { max-width: 48rem; margin: 0.55rem 0 0; color: var(--grey); font-size: 0.85rem; line-height: 1.6; }
.grout-shade-selected { display: grid; grid-template-columns: 2.65rem minmax(0, 1fr) auto; gap: 0.7rem; align-items: center; }
.grout-shade-selected-chip { width: 2.65rem; height: 2.65rem; border: 1px solid rgba(15,23,41,0.18); border-radius: 50%; }
.grout-shade-selected div { display: grid; }
.grout-shade-selected small { color: var(--grey); font-size: 0.68rem; }
.grout-shade-selected a { border-bottom: 1px solid currentColor; color: var(--navy); font-size: 0.75rem; font-weight: 850; }
.grout-shade-filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.15rem 0; }
.grout-shade-filters button { min-height: 2.55rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); padding: 0.52rem 0.85rem; font: inherit; font-size: 0.74rem; font-weight: 800; cursor: pointer; }
.grout-shade-filters button.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
.grout-shade-card > span:last-child { font-size: 0.76rem; font-weight: 750; line-height: 1.25; }

/* Compact searchable shade picker in the shop */
.grout-shop-toolbar { display: grid; gap: 0.55rem; margin: 0 0 0.8rem; }
.grout-shop-toolbar > label { font-size: 0.7rem; font-weight: 800; }
.grout-shop-toolbar > input { width: 100%; min-height: 2.55rem; border: 1px solid var(--line); border-radius: 0.55rem; padding: 0.55rem 0.7rem; font: inherit; }
.grout-shop-toolbar > input:focus { outline: 2px solid rgba(232,84,44,0.25); border-color: var(--orange); }
.grout-shop-filters { display: flex; gap: 0.35rem; overflow-x: auto; padding-bottom: 0.15rem; }
.grout-shop-filter { min-height: 2.2rem; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); padding: 0.42rem 0.65rem; font: inherit; font-size: 0.67rem; font-weight: 800; cursor: pointer; }
.grout-shop-filter.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }

@media (max-width: 760px) {
  .product-technical-cta__inner { align-items: stretch; flex-direction: column; }
  .product-technical-cta__inner a { width: 100%; }
  .grout-shade-intro { grid-template-columns: 1fr; }
  .grout-shade-selected { grid-template-columns: 2.5rem minmax(0, 1fr); }
  .grout-shade-selected a { grid-column: 1 / -1; display: inline-flex; min-height: 2.65rem; align-items: center; justify-content: center; border: 1px solid var(--navy); border-radius: 0.5rem; }
}

/* Keep the complete homepage product selector and proof rail inside the first
   desktop viewport. The hero copy remains untouched; only the two lower rails
   move into the intentional open space beneath it. */
@media (min-width: 1200px) {
  .ltg-home-modern .hero-range,
  .ltg-home-modern .hero-stats-bar {
    transform: translate3d(0, -70px, 0) !important;
  }
}

@media (min-width: 1500px) {
  .ltg-home-modern .hero-range,
  .ltg-home-modern .hero-stats-bar {
    transform: translate3d(0, -120px, 0) !important;
  }
}

/* Product-page mastheads: let the product name lead without a redundant label. */
#page-adhesive .page-hero-bar .product-page-title,
#page-grout .page-hero-bar .product-page-title {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 18px;
  padding: 0 0 13px;
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
  font-size: clamp(2.15rem, 3.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

#page-adhesive .page-hero-bar .product-page-title::after,
#page-grout .page-hero-bar .product-page-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: clamp(64px, 35%, 108px);
  height: 4px;
  border-radius: 999px;
  background: var(--orange);
  transform: translateX(-50%);
}

@media (max-width: 560px) {
  #page-adhesive .page-hero-bar .product-page-title,
  #page-grout .page-hero-bar .product-page-title {
    margin-bottom: 15px;
    padding-bottom: 11px;
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    letter-spacing: -0.025em;
  }

  #page-adhesive .page-hero-bar .product-page-title::after,
  #page-grout .page-hero-bar .product-page-title::after {
    height: 3px;
  }
}

/* Keep both product pages on one clean white canvas. */
#page-adhesive .page-hero-bar,
#page-adhesive #products.products,
#page-adhesive .products,
#page-grout .page-hero-bar,
#page-grout #colours {
  background: #fff !important;
}

/* Shop flow: title, wholesale information, then products without dead space. */
#page-shop .shop-wholesale-section {
  padding: clamp(1.25rem, 2.4vw, 2rem) 0 0.5rem !important;
  background: #fff !important;
}

#page-shop .shop-wholesale-section .ltg-wholesale-banner {
  padding: clamp(1.15rem, 2.2vw, 1.6rem);
}

#page-shop .shop-products-container .order-request-notice {
  margin: 0.75rem 0 clamp(2rem, 4vw, 3rem);
}

#site[data-page="shop"] > main > #page-shop > .shop-products-container {
  padding: 0 !important;
}

#page-shop .shop-products-container .shop-grid {
  padding: clamp(0.75rem, 1.8vw, 1.35rem) 0 0.65rem !important;
}

@media (max-width: 760px) {
  #page-shop .shop-wholesale-section {
    padding: 1rem 0 0.35rem !important;
  }

  #page-shop .shop-wholesale-section .ltg-wholesale-banner {
    gap: 1rem;
    padding: 1rem;
  }

  #page-shop .shop-products-container .shop-grid {
    padding: 0.65rem 0 0.45rem !important;
  }
}

/* --------------------------------------------------------------------------
   Final site polish: shared rhythm, interaction quality and mobile clearance
   -------------------------------------------------------------------------- */

html {
  scroll-padding-top: 5.5rem;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

:where(h1, h2, h3, h4) {
  text-wrap: balance;
}

:where(p, li, blockquote) {
  text-wrap: pretty;
}

:where(.price, .amt, .total, .shop-price, .mg-order-card, .st-store-meta, .stat-box) {
  font-variant-numeric: tabular-nums;
}

:where(input, select, textarea, button, a) {
  -webkit-tap-highlight-color: transparent;
}

:where(input, select, textarea) {
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

:where(input, select, textarea):focus-visible {
  border-color: var(--orange) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 4px rgba(232, 84, 44, 0.14) !important;
}

:where(button, [role="button"], .btn, .nav-shop-btn, .nav-cta, .ltg-dealer-button, .ltg-wholesale-banner a) {
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
    border-color 180ms ease, color 180ms ease;
}

:where(button, [role="button"], .btn, .nav-shop-btn, .nav-cta, .ltg-dealer-button, .ltg-wholesale-banner a):active {
  transform: translateY(1px) scale(0.985);
}

:where(button, [role="button"], .btn, a):focus-visible {
  outline: 3px solid rgba(232, 84, 44, 0.42) !important;
  outline-offset: 3px !important;
}

/* Tamil contains longer unbroken word forms than English. Allow those labels
   to wrap naturally instead of extending beyond their cards or controls. */
html:lang(ta) #site[data-page="contact"] :where(h1, h2),
html:lang(ta) #site[data-page="dealers"] :where(h1, h2),
html:lang(ta) #site[data-page="login"] h1,
html:lang(ta) #site[data-page="checkout"] h1,
html:lang(ta) #site[data-page="reset-password"] h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

html:lang(ta) .ltg-dealer-button,
html:lang(ta) .ltg-dealer-reset {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

@media (max-width: 760px) {
  html:lang(ta) #site[data-page="login"] h1,
  html:lang(ta) #site[data-page="checkout"] h1,
  html:lang(ta) #site[data-page="reset-password"] h1 {
    font-size: clamp(1.45rem, 7vw, 1.65rem);
  }
}

/* Product pages should introduce the product quickly, not spend half a screen
   on an empty masthead. */
#page-adhesive .page-hero-bar,
#page-grout .page-hero-bar {
  padding: clamp(5.75rem, 8vw, 7rem) 0 clamp(2.5rem, 4vw, 3.25rem) !important;
}

#page-adhesive #products.products {
  padding-top: clamp(3.25rem, 5vw, 4.75rem) !important;
}

#page-adhesive #products .section-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem) !important;
}

/* Refine the shop introduction so it reads like one useful business notice,
   not a second hero card. */
#page-shop .shop-wholesale-section .ltg-wholesale-banner {
  border: 1px solid rgba(15, 23, 41, 0.12);
  border-left: 4px solid var(--orange);
  border-radius: 0 1rem 1rem 0;
  background: linear-gradient(90deg, rgba(232, 84, 44, 0.035), #fff 38%);
  box-shadow: 0 18px 48px rgba(15, 23, 41, 0.055);
}

#page-shop .shop-wholesale-section .ltg-wholesale-banner a:hover {
  background: #d94824;
  box-shadow: 0 12px 26px rgba(232, 84, 44, 0.24);
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 4.75rem;
  }

  #page-adhesive .page-hero-bar,
  #page-grout .page-hero-bar {
    padding: 4.75rem 0 2.25rem !important;
  }

  #page-adhesive #products.products {
    padding-top: 2.75rem !important;
  }

  #page-adhesive #products .section-head {
    margin-bottom: 1.5rem !important;
  }

  #page-shop .shop-wholesale-section .ltg-wholesale-banner {
    padding: 1.15rem 1rem 1rem !important;
    border-radius: 0 0.85rem 0.85rem 0;
    box-shadow: 0 12px 30px rgba(15, 23, 41, 0.05);
  }

  #page-shop .shop-wholesale-section .ltg-wholesale-banner h2 {
    font-size: clamp(1.35rem, 7vw, 1.7rem);
    line-height: 1.15;
  }

  #page-shop .shop-wholesale-section .ltg-wholesale-banner p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  #page-shop .shop-wholesale-section .ltg-wholesale-banner a {
    width: 100%;
    min-height: 2.85rem;
  }

  /* The navbar already exposes the Shop label. Keep the persistent mobile
     action useful but compact so it no longer covers headings or form fields. */
  html body #floatShopBtn,
  html body #floatShopBtn.show {
    width: 3.25rem !important;
    height: 3.25rem !important;
    min-width: 3.25rem !important;
    min-height: 3.25rem !important;
    padding: 0 !important;
    gap: 0 !important;
    border-radius: 0.9rem !important;
    font-size: 0 !important;
  }

  html body #floatShopBtn svg,
  html body #floatShopBtn.show svg {
    width: 1.15rem !important;
    height: 1.15rem !important;
    flex-basis: 1.15rem !important;
  }

  /* Reduce the empty mobile product stage while keeping every product image
     and selector in normal document flow. */
  body #page-home .hero .hero-product-stage {
    min-height: 230px !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  :where(.shop-card, .home-prod-card, .ltg-dealer-card, .st-store-card, .mg-order-card):hover {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* Keep navigation labels geometrically stable on hover and keyboard focus. */
header .navlinks > a,
header .nav-dropdown-trigger,
.ltg-home-modern header .navlinks > a,
.ltg-home-modern header .nav-dropdown-trigger {
  box-sizing: border-box !important;
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  letter-spacing: normal !important;
  line-height: 20px !important;
}

header .navlinks > a:hover,
header .navlinks > a:focus-visible,
header .nav-dropdown-trigger:hover,
header .nav-dropdown-trigger:focus-visible,
.ltg-home-modern header .navlinks > a:hover,
.ltg-home-modern header .navlinks > a:focus-visible,
.ltg-home-modern header .nav-dropdown-trigger:hover,
.ltg-home-modern header .nav-dropdown-trigger:focus-visible {
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  letter-spacing: normal !important;
  line-height: 20px !important;
}

/* Homepage nav stability: active/hover states must never change text metrics.
   A weight change alters each link's intrinsic width and makes the centered
   navigation row appear to jump sideways. Keep interaction feedback color-only. */
html body.ltg-home-modern header .navlinks > a,
html body.ltg-home-modern header .nav-dropdown-trigger,
html body.ltg-home-modern header .navlinks > a:hover,
html body.ltg-home-modern header .navlinks > a:focus-visible,
html body.ltg-home-modern header .navlinks > a.active,
html body.ltg-home-modern header .nav-dropdown-trigger:hover,
html body.ltg-home-modern header .nav-dropdown-trigger:focus-visible,
html body.ltg-home-modern header .nav-dropdown-trigger.active {
  min-height: 40px !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border-width: 0 !important;
  font-family: var(--font-body) !important;
  font-size: .86rem !important;
  font-weight: 600 !important;
  font-variation-settings: normal !important;
  letter-spacing: normal !important;
  line-height: 20px !important;
  transform: none !important;
  translate: none !important;
  scale: 1 !important;
  transition: color .2s ease, opacity .2s ease !important;
}

/* Use one readable ink color for every inactive homepage nav label.
   The dropdown trigger previously escaped the links' opacity rule. */
html body.ltg-home-modern header .navlinks > a:not(.active),
html body.ltg-home-modern header .nav-dropdown-trigger:not(.active) {
  color: #283141 !important;
  -webkit-text-fill-color: #283141 !important;
  opacity: 1 !important;
}

html body.ltg-home-modern header .navlinks > a:hover,
html body.ltg-home-modern header .navlinks > a:focus-visible,
html body.ltg-home-modern header .navlinks > a.active,
html body.ltg-home-modern header .nav-dropdown-trigger:hover,
html body.ltg-home-modern header .nav-dropdown-trigger:focus-visible,
html body.ltg-home-modern header .nav-dropdown-trigger.active {
  color: #ef512c !important;
  -webkit-text-fill-color: #ef512c !important;
  opacity: 1 !important;
}
