/*
Theme Name: SCMG Bespoke Theme
Theme URI: https://github.com/998creative/SCMG
Author: 998
Description: A bespoke wordpress theme developed by 998
Version: 2.0.8
Text Domain: scmg-bespoke-theme
*/

:root {
  --scmg-text: #f5f6f6;
  --scmg-solid-header: rgba(11, 16, 20, 0.92);
  --scmg-solid-header-border: rgba(255, 255, 255, 0.1);
  --scmg-overlay: rgba(14, 18, 21, 0.54);
  --scmg-overlay-soft: rgba(14, 18, 21, 0.28);
  --scmg-button-dark: #13191d;
  --scmg-button-light: #f3f3f1;
  --scmg-max-width: 1600px;
  --scmg-header-height: 100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: #0f1417;
  color: var(--scmg-text);
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

body.scmg-no-scroll,
body.scmg-stone-modal-open {
  overflow: hidden;
}

.home .site-main {
  background: #efefef;
  color: #23272b;
}

.home .scmg-hero {
  color: var(--scmg-text);
}

.scmg-reveal-pending {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 560ms ease, transform 560ms ease;
  transition-delay: var(--scmg-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.scmg-reveal-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .scmg-reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.scmg-site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--scmg-solid-header);
  border-bottom: 1px solid var(--scmg-solid-header-border);
  backdrop-filter: blur(10px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home .scmg-site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.page-about-us .scmg-site-header:not(.is-scrolled),
.page-template-page-about-us .scmg-site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.page-contact .scmg-site-header:not(.is-scrolled),
.page-contact-us .scmg-site-header:not(.is-scrolled),
.page-template-page-contact .scmg-site-header:not(.is-scrolled),
.page-template-page-contact-us .scmg-site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.page-services .scmg-site-header:not(.is-scrolled),
.page-template-page-services .scmg-site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

body:has(.scmg-page-hero) .scmg-site-header:not(.is-scrolled):not(.menu-open) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}

.scmg-site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(4, 7, 9, 0.28);
}

.scmg-site-header.menu-open {
  background: var(--scmg-solid-header);
  border-bottom-color: var(--scmg-solid-header-border);
  backdrop-filter: blur(10px);
}

.scmg-site-header__inner {
  max-width: var(--scmg-max-width);
  margin: 0 auto;
  min-height: var(--scmg-header-height);
  padding: 0.95rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.scmg-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
}

.scmg-hero__media {
  position: absolute;
  inset: 0;
}

.scmg-hero__image,
.scmg-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scmg-hero__youtube-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.scmg-hero__youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

.scmg-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 12, 0.5) 0%,
    var(--scmg-overlay-soft) 36%,
    var(--scmg-overlay) 100%
  );
}

.scmg-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--scmg-max-width);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(7.5rem, 16vh, 12rem) 2rem 4rem;
}

.scmg-logo {
  display: inline-flex;
  align-items: center;
  color: var(--scmg-text);
  text-decoration: none;
}

.scmg-logo__image {
  display: block;
  width: auto;
  height: 56px;
  max-width: min(56vw, 320px);
}

.scmg-site-header .scmg-logo__image {
  filter: none;
  width: auto;
  height: 56px;
  max-width: min(56vw, 320px);
}

.scmg-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  font-size: 1.08rem;
}

.scmg-nav ul {
  list-style: none;
  display: flex;
  gap: 1.9rem;
  margin: 0;
  padding: 0;
}

.scmg-nav a {
  color: var(--scmg-text);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.95;
}

.scmg-nav a:hover,
.scmg-mobile-nav a:hover {
  opacity: 1;
}

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

.scmg-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.scmg-header__shop-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--scmg-text);
  text-decoration: none;
  font-weight: 700;
  padding: 0.66rem 1.55rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.scmg-header__shop-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  transform: translateY(-1px);
}

.scmg-header__icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: var(--scmg-text);
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.scmg-header__icon-link svg {
  width: 21px;
  height: 21px;
  display: block;
}

.scmg-header__icon-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.scmg-header__icon-link:focus-visible,
.scmg-header__shop-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.scmg-header-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 21px;
  height: 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.28rem;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #13191d;
  font-size: 0.71rem;
  line-height: 1;
  font-weight: 800;
}

.scmg-header-cart-count.is-empty {
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.scmg-mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(10, 14, 18, 0.34);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.scmg-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

.scmg-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 8, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.scmg-mobile-panel {
  position: fixed;
  top: calc(var(--scmg-header-height) + 0.5rem);
  left: 1rem;
  right: 1rem;
  z-index: 1001;
  background: rgba(10, 14, 18, 0.98);
  color: var(--scmg-text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
  padding: 1.15rem;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform 160ms ease, opacity 160ms ease;
}

.scmg-mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scmg-mobile-nav li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.scmg-mobile-nav a {
  display: block;
  padding: 0.85rem 0.15rem;
  color: var(--scmg-text);
  text-decoration: none;
  font-weight: 700;
}

.scmg-mobile-shop-link {
  margin-top: 1rem;
  width: 100%;
}

.scmg-site-header.menu-open .scmg-mobile-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.scmg-site-header.menu-open .scmg-mobile-panel {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.scmg-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1080px;
  padding-bottom: 4.2rem;
}

.scmg-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.35vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  font-weight: 600;
}

.scmg-hero__subtitle {
  margin: 1.25rem 0 0;
  font-size: clamp(1.12rem, 1.95vw, 1.62rem);
  line-height: 1.32;
  font-weight: 600;
  color: rgba(245, 246, 246, 0.96);
}

.scmg-hero__actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.scmg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 186px;
  padding: 0.92rem 1.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 140ms ease, opacity 140ms ease;
}

.scmg-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.scmg-btn--light {
  color: #1a2024;
  background: var(--scmg-button-light);
}

.scmg-btn--ghost {
  color: var(--scmg-text);
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(17, 23, 28, 0.26);
}

.scmg-btn--dark-outline {
  color: #23272b;
  border-color: rgba(34, 34, 34, 0.5);
  background: transparent;
}

.scmg-btn--dark {
  color: #f5f6f6;
  border-color: #23272b;
  background: #23272b;
}

.scmg-btn--muted {
  color: #fff;
  border-color: #c1c1c1;
  background: #c1c1c1;
}

.scmg-btn--light-outline {
  color: #f5f6f6;
  border-color: rgba(245, 246, 246, 0.86);
  background: transparent;
}

.scmg-section-shell {
  max-width: var(--scmg-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.scmg-section-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.scmg-section-subtitle {
  margin: 0.65rem 0 0;
  font-size: clamp(1.06rem, 1.45vw, 1.32rem);
  line-height: 1.34;
  font-weight: 600;
}

.scmg-services-section,
.scmg-excellence-section,
.scmg-testimonials-section {
  background: #efefef;
  color: #23272b;
}

.scmg-services-section {
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow-x: hidden;
}

.scmg-services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.scmg-rail-controls {
  display: flex;
  gap: 0.9rem;
}

.scmg-rail-btn {
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #23272b;
  font-size: 2.35rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: color 140ms ease, transform 140ms ease;
}

.scmg-rail-btn:hover {
  color: #060708;
  transform: translateY(-1px);
}

.scmg-services__rail {
  margin-top: 2.2rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(340px, calc((100vw - 8rem) / 3.25), 520px);
  gap: 1rem;
  margin-right: calc(-1 * (max(0px, (100vw - var(--scmg-max-width)) / 2) + 2rem));
  padding-right: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.scmg-services__rail::-webkit-scrollbar {
  display: none;
}

.scmg-service-card {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  scroll-snap-align: start;
  cursor: default;
}

.scmg-service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.scmg-service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 20, 24, 0) 46%, rgba(16, 20, 24, 0.72) 100%);
}

.scmg-service-card span {
  position: absolute;
  left: 1.55rem;
  right: 1.55rem;
  bottom: 1.4rem;
  z-index: 1;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.04;
}

.scmg-service-card:hover img {
  transform: scale(1.035);
}

.scmg-services__cta-wrap {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.scmg-excellence-section {
  padding: clamp(1rem, 2vw, 2rem) 0 clamp(4.4rem, 8vw, 7rem);
}

.scmg-excellence__grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.scmg-excellence__image-wrap {
  position: relative;
  padding: 0;
}

.scmg-excellence__image-wrap::before {
  display: none;
}

.scmg-excellence__image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  border-radius: 12px;
  display: block;
  min-height: 640px;
  object-fit: cover;
}

.scmg-excellence__content {
  padding-top: 0.4rem;
}

.scmg-excellence-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.scmg-excellence-list li {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 1rem;
  align-items: start;
}

.scmg-excellence-list__arrow {
  font-size: 1.8rem;
  line-height: 1;
}

.scmg-excellence-list h3 {
  margin: 0;
  font-size: 1.95rem;
  line-height: 1.08;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.11em;
}

.scmg-excellence-list p {
  margin: 0.38rem 0 0;
  font-size: 1.35rem;
  line-height: 1.35;
}

.scmg-testimonials-section {
  padding: clamp(2.5rem, 4vw, 4rem) 0 clamp(4.2rem, 7vw, 5.8rem);
  overflow-x: hidden;
}

.scmg-testimonials__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.scmg-testimonials__rail {
  margin-top: 1.7rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(460px, calc((100vw - 8rem) / 1.72), 760px);
  gap: 1.1rem;
  margin-right: calc(-1 * (max(0px, (100vw - var(--scmg-max-width)) / 2) + 2rem));
  padding-right: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.scmg-testimonials__rail::-webkit-scrollbar {
  display: none;
}

.scmg-testimonial-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
  aspect-ratio: 1.62 / 1;
  scroll-snap-align: start;
}

.scmg-testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scmg-testimonial-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 8, 0.38) 8%, rgba(5, 7, 8, 0.78) 100%),
    linear-gradient(90deg, rgba(5, 7, 8, 0.32) 0%, rgba(5, 7, 8, 0.06) 55%);
}

.scmg-testimonial-card__content {
  position: absolute;
  left: 2.5rem;
  right: 2.5rem;
  bottom: 2.1rem;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.scmg-testimonial-card__quote {
  margin: 0;
  font-size: clamp(1.08rem, 1.16vw, 1.42rem);
  line-height: 1.55;
  max-width: 84%;
}

.scmg-testimonial-card__quote::before {
  content: "\201C";
  display: block;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.scmg-testimonial-card h3 {
  margin: 1.1rem 0 0;
  font-size: clamp(1.1rem, 1.15vw, 1.45rem);
  line-height: 1.1;
  font-weight: 600;
}

.scmg-testimonial-card span {
  display: inline-block;
  margin-top: 0.34rem;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  font-weight: 700;
}

.scmg-visit-section {
  padding: clamp(3.3rem, 6vw, 5.2rem) 0 clamp(3.8rem, 7vw, 6.1rem);
  background: #efefef;
  color: #23272b;
}

.scmg-visit-grid {
  display: grid;
  grid-template-columns: minmax(480px, 1.12fr) minmax(300px, 0.78fr);
  gap: clamp(1.6rem, 3.2vw, 4rem);
  align-items: start;
}

.scmg-visit-copy__body {
  margin: 1.05rem 0 0;
  max-width: 780px;
  font-size: clamp(1.05rem, 1.15vw, 1.32rem);
  line-height: 1.52;
}

.scmg-visit-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.scmg-visit-map-wrap {
  margin-top: 1.6rem;
  border-radius: 0;
  overflow: hidden;
  background: #d8d8d8;
}

.scmg-visit-map {
  display: block;
  width: 100%;
  aspect-ratio: 2.25 / 1;
  min-height: 320px;
  border: 0;
}

.scmg-contact-panel {
  background: #e3e3e3;
  border-radius: 12px;
  padding: clamp(1.5rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.scmg-contact-panel h3 {
  margin: 0;
  font-size: clamp(1.5rem, 1.9vw, 2rem);
  line-height: 1.12;
  font-weight: 600;
}

.scmg-contact-actions {
  display: grid;
  gap: 0.58rem;
}

.scmg-contact-action {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.98rem, 0.98vw, 1.08rem);
  line-height: 1.3;
  text-decoration: underline;
  text-underline-offset: 0.11em;
}

.scmg-contact-action__icon {
  width: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #23272b;
}

.scmg-contact-action__icon svg {
  width: 1rem;
  height: 1rem;
  display: block;
  fill: currentColor;
}

.scmg-contact-panel__book-btn {
  margin-top: 0.3rem;
  width: fit-content;
  min-width: 220px;
  font-size: 0.94rem;
  padding: 0.78rem 1.1rem;
}

.scmg-hours-grid {
  margin-top: 0.1rem;
  display: grid;
  gap: 0.92rem;
}

.scmg-hours-card {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(23, 29, 33, 0.1);
  border-radius: 10px;
  padding: 0.95rem 1rem;
}

.scmg-hours-accordion {
  padding: 0;
}

.scmg-hours-card__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  list-style: none;
  cursor: pointer;
}

.scmg-hours-card__summary::-webkit-details-marker {
  display: none;
}

.scmg-hours-card__summary h4 {
  margin: 0;
}

.scmg-hours-card__summary-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scmg-hours-status--summary {
  display: none;
  margin: 0.5rem 0 0;
}

.scmg-hours-card__title-text {
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

.scmg-hours-card__chevron {
  width: 0.66rem;
  height: 0.66rem;
  border-right: 2px solid rgba(35, 39, 43, 0.78);
  border-bottom: 2px solid rgba(35, 39, 43, 0.78);
  transform: rotate(45deg);
  transition: transform 180ms ease;
  flex-shrink: 0;
  margin-right: 0.1rem;
}

.scmg-hours-accordion[open] .scmg-hours-card__chevron {
  transform: rotate(-135deg);
}

.scmg-hours-card__body {
  padding: 0 1rem 0.95rem;
}

.scmg-hours-card h4 {
  margin: 0;
  font-size: clamp(1.05rem, 1.08vw, 1.2rem);
  line-height: 1.2;
  font-weight: 600;
}

.scmg-hours-status {
  margin: 0.45rem 0 0.58rem;
  font-size: 0.96rem;
  line-height: 1.36;
  font-weight: 600;
}

.scmg-hours-status.is-open {
  color: #1f6b32;
}

.scmg-hours-status.is-closed {
  color: #4a4f53;
}

.scmg-hours-table {
  display: flex;
  flex-direction: column;
}

.scmg-hours-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.5rem 0;
  border-top: 1px solid rgba(23, 29, 33, 0.12);
  font-size: 0.98rem;
  line-height: 1.35;
}

.scmg-hours-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.scmg-hours-row span:first-child {
  font-weight: 500;
}

.scmg-hours-row span:last-child {
  font-weight: 600;
}

.scmg-hours-row.is-closed span:last-child {
  color: rgba(35, 39, 43, 0.78);
}

.scmg-contact-panel__note {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  font-weight: 600;
  line-height: 1.42;
}

@media (min-width: 641px) {
  .scmg-hours-accordion {
    padding: 0.95rem 1rem;
  }

  .scmg-hours-card__summary {
    padding: 0;
    cursor: default;
    pointer-events: none;
  }

  .scmg-hours-card__chevron {
    display: none;
  }

  .scmg-hours-card__body {
    display: block !important;
    padding: 0;
  }
}

.scmg-shop-archive-main {
  min-height: 100vh;
  padding-top: calc(var(--scmg-header-height) + 1.2rem) !important;
  background: linear-gradient(180deg, #efefef 0%, #e9e6e1 100%);
  color: #23272b;
}

body.woocommerce,
body.woocommerce-page {
  background: #efefef;
  color: #23272b;
}

body.woocommerce .site-main,
body.woocommerce-page .site-main,
body.woocommerce #primary,
body.woocommerce-page #primary,
body.woocommerce .content-area,
body.woocommerce-page .content-area {
  background: transparent;
  color: #23272b;
}

/* Cart page styling (classic + Woo blocks). */
body.woocommerce-cart .site-main {
  padding-top: calc(var(--scmg-header-height) + 1.1rem);
}

body.woocommerce-cart .site-main article > div {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.woocommerce-cart .entry-content > .woocommerce,
body.woocommerce-cart .entry-content > .wp-block-woocommerce-cart,
body.woocommerce-cart .site-main article > div > .woocommerce,
body.woocommerce-cart .site-main article > div > .wp-block-woocommerce-cart {
  max-width: var(--scmg-max-width);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.6rem) 0 clamp(3.2rem, 6vw, 4.8rem);
}

body.woocommerce-cart .entry-title,
body.woocommerce-cart h1.page-title {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #23272b;
}

body.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
  align-items: start;
}

body.woocommerce-cart .woocommerce::before,
body.woocommerce-cart .woocommerce::after {
  content: none;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
}

body.woocommerce-cart .woocommerce-cart-form {
  padding: clamp(0.9rem, 1.6vw, 1.2rem);
}

body.woocommerce-cart table.shop_table.cart {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

body.woocommerce-cart table.shop_table.cart th,
body.woocommerce-cart table.shop_table.cart td {
  border-top: 0;
  border-bottom: 1px solid rgba(35, 39, 43, 0.14);
  padding: 0.9rem 0.72rem;
  vertical-align: top;
}

body.woocommerce-cart table.shop_table.cart thead th {
  padding-top: 0.1rem;
  padding-bottom: 0.72rem;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.74);
}

body.woocommerce-cart table.shop_table.cart tbody tr:last-child td,
body.woocommerce-cart table.shop_table.cart tbody tr:last-child th {
  border-bottom: 0;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
  width: 96px;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  width: 78px;
  border-radius: 10px;
  border: 1px solid rgba(35, 39, 43, 0.12);
}

body.woocommerce-cart table.shop_table.cart td.product-name a {
  text-decoration: none;
  color: #23272b;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 700;
}

body.woocommerce-cart table.shop_table.cart td.product-name .variation,
body.woocommerce-cart table.shop_table.cart td.product-name p {
  margin-top: 0.25rem;
  font-size: 1rem;
  line-height: 1.35;
  color: rgba(35, 39, 43, 0.76);
}

body.woocommerce-cart table.shop_table.cart td.product-price,
body.woocommerce-cart table.shop_table.cart td.product-subtotal {
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 700;
  color: rgba(35, 39, 43, 0.86);
}

body.woocommerce-cart table.shop_table.cart td.product-remove a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(35, 39, 43, 0.2);
  border-radius: 999px;
  color: rgba(35, 39, 43, 0.75) !important;
  text-decoration: none;
  font-size: 1.18rem;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a:hover {
  background: rgba(35, 39, 43, 0.08);
  border-color: rgba(35, 39, 43, 0.34);
  color: #23272b !important;
}

body.woocommerce-cart table.shop_table.cart .quantity {
  margin: 0;
}

body.woocommerce-cart table.shop_table.cart .quantity .qty {
  min-height: 46px;
  min-width: 70px;
  border: 1px solid rgba(35, 39, 43, 0.2);
  border-radius: 0;
  background: #efefef;
  color: #23272b;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.5rem 0.65rem;
}

body.woocommerce-cart table.shop_table.cart .quantity.scmg-qty-ready {
  display: inline-flex;
  align-items: stretch;
  min-height: 46px;
  border: 1px solid rgba(35, 39, 43, 0.2);
  border-radius: 0;
  background: #efefef;
}

body.woocommerce-cart table.shop_table.cart .quantity.scmg-qty-ready .qty {
  min-height: 100%;
  min-width: 56px;
  width: 56px;
  border: 0;
  background: transparent;
  text-align: center;
  padding: 0 0.25rem;
  -moz-appearance: textfield;
}

body.woocommerce-cart table.shop_table.cart .quantity.scmg-qty-ready .qty::-webkit-outer-spin-button,
body.woocommerce-cart table.shop_table.cart .quantity.scmg-qty-ready .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.woocommerce-cart table.shop_table.cart .quantity .scmg-qty-btn,
body.woocommerce-cart table.shop_table.cart .quantity button.minus,
body.woocommerce-cart table.shop_table.cart .quantity button.plus {
  width: 46px;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #e3e3e3;
  color: #23272b;
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
}

body.woocommerce-cart table.shop_table.cart td.actions {
  padding-top: 1rem;
  padding-bottom: 0.2rem;
  border-bottom: 0;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text {
  min-height: 46px;
  min-width: 220px;
  border: 1px solid rgba(35, 39, 43, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  padding: 0.56rem 0.85rem;
}

body.woocommerce-cart table.shop_table.cart td.actions button,
body.woocommerce-cart table.shop_table.cart td.actions .button {
  min-height: 46px;
  border: 1px solid #23272b;
  border-radius: 999px;
  background: #23272b;
  color: #f5f6f6;
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
}

body.woocommerce-cart table.shop_table.cart td.actions button[name="update_cart"] {
  background: rgba(35, 39, 43, 0.08);
  color: #23272b;
  border-color: rgba(35, 39, 43, 0.22);
}

body.woocommerce-cart .cart-collaterals {
  width: auto;
}

body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
  margin: 0;
  padding: clamp(0.95rem, 1.8vw, 1.25rem);
}

body.woocommerce-cart .cart-collaterals .cart_totals > h2 {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.74);
}

body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
  border: 0;
  margin: 0;
}

body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th,
body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
  border-top: 0;
  border-bottom: 1px solid rgba(35, 39, 43, 0.14);
  padding: 0.76rem 0;
  font-size: 1.08rem;
  line-height: 1.35;
}

body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
  font-weight: 600;
  color: rgba(35, 39, 43, 0.82);
}

body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
  text-align: right;
  font-weight: 700;
  color: #23272b;
}

body.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
body.woocommerce-cart .cart-collaterals .cart_totals .order-total td {
  font-size: 1.52rem;
}

body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout {
  padding: 0.9rem 0 0;
}

body.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.checkout-button {
  min-height: 54px;
  border: 1px solid #23272b;
  border-radius: 999px;
  background: #23272b;
  color: #f5f6f6;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
}

/* Woo cart block support. */
body.woocommerce-cart .wp-block-woocommerce-cart {
  max-width: var(--scmg-max-width);
}

body.woocommerce-cart .wc-block-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
  align-items: start;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar {
  font-family: "Montserrat", sans-serif;
  font-size: 1.04rem;
  line-height: 1.45;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar {
  margin: 0;
  width: auto !important;
  max-width: none !important;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-main,
body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
}

body.woocommerce-cart .wc-block-cart .wc-block-components-main {
  padding: clamp(0.9rem, 1.6vw, 1.2rem);
}

body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper {
  padding: clamp(0.95rem, 1.8vw, 1.25rem);
}

body.woocommerce-cart .wc-block-cart-items th {
  font-size: 0.92rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.74);
}

body.woocommerce-cart .wc-block-cart-items td {
  border-color: rgba(35, 39, 43, 0.14);
}

body.woocommerce-cart .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-name a {
  color: #23272b;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(1.2rem, 1.2vw, 1.32rem);
}

body.woocommerce-cart .wc-block-components-product-metadata,
body.woocommerce-cart .wc-block-components-product-details {
  color: rgba(35, 39, 43, 0.74);
  font-size: 1.05rem;
  line-height: 1.45;
}

body.woocommerce-cart .wc-block-cart .wc-block-components-product-details p,
body.woocommerce-cart .wc-block-cart .wc-block-components-product-details li {
  font-size: 1.02rem;
  line-height: 1.45;
}

body.woocommerce-cart .wc-block-cart .wc-block-cart-item__prices,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__prices .wc-block-components-product-price,
body.woocommerce-cart .wc-block-cart .wc-block-cart-item__prices .wc-block-formatted-money-amount {
  font-size: 1.14rem;
  font-weight: 600;
  color: rgba(35, 39, 43, 0.86);
}

body.woocommerce-cart .wc-block-components-quantity-selector {
  border: 1px solid rgba(35, 39, 43, 0.2);
  border-radius: 0;
  background: #efefef;
  min-height: 46px;
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button {
  width: 44px;
  background: #e3e3e3;
  color: #23272b;
}

body.woocommerce-cart .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input {
  color: #23272b;
  font-weight: 600;
  font-size: 1.08rem;
}

body.woocommerce-cart .wc-block-components-sidebar .wc-block-cart__totals-title {
  margin: 0 0 0.7rem;
  font-size: 0.96rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.74);
}

body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-coupon,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-shipping-rates-control__package {
  border-color: rgba(35, 39, 43, 0.14);
}

body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-item__value {
  color: #23272b;
  font-size: 1.14rem;
  line-height: 1.35;
}

body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-footer-item {
  font-size: 1.62rem;
  font-weight: 700;
  border-bottom: 0;
}

body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper .wc-block-components-divider,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper > hr {
  display: none;
}

body.woocommerce-cart .wc-block-components-sidebar .wc-block-cart__submit-container {
  border-top: 0;
  padding-top: 0.9rem;
}

body.woocommerce-cart .wc-block-components-sidebar .wc-stripe-cart-message-container,
body.woocommerce-cart .wc-block-components-sidebar .wc-stripe-cart-message-container.stripe_klarna,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-stripe-cart-message-container,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-stripe-cart-message-container.stripe_klarna {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

body.woocommerce-cart .wc-stripe-cart-message-container .StripeElement,
body.woocommerce-checkout .wc-stripe-cart-message-container .StripeElement,
body.single-product .wc-stripe-product-message-container .StripeElement,
body.single-product #wc-stripe-klarna-product-msg .StripeElement {
  display: block !important;
  min-height: 22px;
}

body.woocommerce-cart .wc-stripe-cart-message-container iframe[title="Payment method messaging"],
body.woocommerce-checkout .wc-stripe-cart-message-container iframe[title="Payment method messaging"],
body.single-product .wc-stripe-product-message-container iframe[title="Payment method messaging"],
body.single-product #wc-stripe-klarna-product-msg iframe[title="Payment method messaging"] {
  min-height: 22px !important;
}

body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-button.wp-element-button,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-cart__submit-container .wc-block-components-button {
  width: 100%;
  min-height: 54px;
  border: 1px solid #23272b;
  border-radius: 999px;
  background: #23272b;
  color: #f5f6f6;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.woocommerce-cart .wc-block-components-sidebar .wc-block-components-button.wp-element-button:hover,
body.woocommerce-cart .wc-block-components-sidebar .wc-block-cart__submit-container .wc-block-components-button:hover {
  background: #151a1e;
  border-color: #151a1e;
}

@media (max-width: 1160px) {
  body.woocommerce-cart .woocommerce,
  body.woocommerce-cart .wc-block-cart {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.woocommerce-cart .entry-content > .woocommerce,
  body.woocommerce-cart .entry-content > .wp-block-woocommerce-cart {
    padding-top: 0.8rem;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals .cart_totals,
  body.woocommerce-cart .wc-block-cart .wc-block-components-main,
  body.woocommerce-cart .wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-wrapper {
    border-radius: 12px;
    padding: 0.85rem;
  }

  body.woocommerce-cart .woocommerce-cart-form {
    overflow: hidden;
  }

  body.woocommerce-cart table.shop_table.cart th,
  body.woocommerce-cart table.shop_table.cart td {
    padding-left: 0.58rem;
    padding-right: 0.58rem;
  }

  body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
    width: 74px;
  }

  body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
    width: 58px;
  }

  body.woocommerce-cart table.shop_table.cart td.actions .coupon {
    width: 100%;
  }

  body.woocommerce-cart table.shop_table.cart td.actions .coupon .input-text {
    min-width: 0;
    width: 100%;
  }

  body.woocommerce-cart table.shop_table.cart td.actions button,
  body.woocommerce-cart table.shop_table.cart td.actions .button {
    width: 100%;
  }
}

/* Checkout page styling (Woo blocks + classic fallback). */
body.woocommerce-checkout .site-main {
  padding-top: calc(var(--scmg-header-height) + 1.1rem);
}

body.woocommerce-checkout .site-main article > div {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.woocommerce-checkout .entry-content > .woocommerce,
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .site-main article > div > .woocommerce,
body.woocommerce-checkout .site-main article > div > .wp-block-woocommerce-checkout {
  max-width: var(--scmg-max-width);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.6rem) clamp(0.9rem, 2.3vw, 1.8rem) clamp(3.2rem, 6vw, 4.8rem);
}

@media (min-width: 1161px) {
  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
  body.woocommerce-checkout .site-main article > div > .woocommerce,
  body.woocommerce-checkout .site-main article > div > .wp-block-woocommerce-checkout {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

body.woocommerce-checkout .site-main article {
  max-width: var(--scmg-max-width) !important;
  margin: 0 auto !important;
}

body.woocommerce-checkout .entry-content {
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-checkout .entry-title,
body.woocommerce-checkout h1.page-title {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #23272b;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: none !important;
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignfull,
body.woocommerce-cart .wp-block-woocommerce-cart.alignwide,
body.woocommerce-cart .wp-block-woocommerce-cart.alignfull {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.woocommerce-checkout .is-layout-constrained > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content.is-layout-constrained > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout.alignfull {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.woocommerce-checkout .wc-block-checkout {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 0 !important;
  align-items: start;
  max-width: 100% !important;
  width: 100%;
  margin: 0 auto !important;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar {
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  grid-column: 1 !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__sidebar {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  grid-column: 2 !important;
  align-self: start !important;
}

body.woocommerce-checkout .wc-block-checkout > .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-main {
  order: 1;
  flex: 1 1 0% !important;
  width: auto !important;
  min-width: 0 !important;
}

body.woocommerce-checkout .wc-block-checkout > .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar {
  order: 2;
  flex: 0 0 clamp(340px, 32vw, 460px) !important;
  width: clamp(340px, 32vw, 460px) !important;
  max-width: 460px !important;
  margin-left: auto !important;
  align-self: start !important;
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-main {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  padding: clamp(1rem, 1.9vw, 1.35rem);
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  padding: clamp(0.95rem, 1.8vw, 1.25rem);
}

body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar-layout {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-checkout .wc-block-components-order-summary {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary__content {
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  padding: 0.72rem 0.78rem !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-subtotal-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-taxes-block {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block:not(:has(.wc-block-formatted-money-amount)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block:not(:has(.wc-block-formatted-money-amount)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-shipping-block:not(:has(.wc-block-formatted-money-amount)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-taxes-block:not(:has(.wc-block-formatted-money-amount)) {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step + .wc-block-components-checkout-step {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(35, 39, 43, 0.14);
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  margin: 0 0 0.65rem;
  font-size: clamp(1.3rem, 1.65vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #23272b;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox-control label,
body.woocommerce-checkout .wc-block-components-checkout-step__description {
  color: rgba(35, 39, 43, 0.76);
  font-size: 0.92rem;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox-control .components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  min-height: 54px;
  border: 1px solid rgba(35, 39, 43, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #23272b;
  font-size: 1.06rem;
  line-height: 1.35;
  padding: 0.62rem 0.86rem;
  box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-combobox-control .components-combobox-control__input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
  border-color: rgba(35, 39, 43, 0.46);
  box-shadow: 0 0 0 3px rgba(35, 39, 43, 0.08);
  outline: 0;
}

body.woocommerce-checkout .wc-block-components-checkbox label {
  color: rgba(35, 39, 43, 0.82);
}

body.woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(35, 39, 43, 0.72);
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
  border-color: rgba(195, 53, 47, 0.58);
  background: rgba(252, 233, 232, 0.92);
}

body.woocommerce-checkout .wc-block-components-order-summary__title,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-title {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.74);
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-name a {
  font-size: 1.04rem;
  font-weight: 700;
  color: #23272b;
  text-decoration: none;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-product-details {
  color: rgba(35, 39, 43, 0.76);
  font-size: 0.94rem;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(35, 39, 43, 0.9);
}

body.woocommerce-checkout .wc-block-components-totals-item {
  border-color: rgba(35, 39, 43, 0.14);
  padding-top: 0.72rem !important;
  padding-bottom: 0.72rem !important;
  min-height: 0 !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-panel,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-coupon,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-footer-item {
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-panel:first-of-type,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-item:first-of-type {
  border-top: 0 !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-shipping,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-taxes,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-fees,
body.woocommerce-checkout .wc-block-components-totals-wrapper [class*="totals-shipping"],
body.woocommerce-checkout .wc-block-components-totals-wrapper [class*="totals-taxes"],
body.woocommerce-checkout .wc-block-components-totals-wrapper [class*="totals-fees"] {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__label:empty,
body.woocommerce-checkout .wc-block-components-totals-item__value:empty {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-item:has(.wc-block-components-totals-item__label:empty):has(.wc-block-components-totals-item__value:empty),
body.woocommerce-checkout .wc-block-components-totals-item:has(.wc-block-components-totals-item__label:empty):not(:has(.wc-block-formatted-money-amount)),
body.woocommerce-checkout .wc-block-components-totals-item:has(.wc-block-components-totals-item__value:empty):not(:has(.wc-block-formatted-money-amount)) {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-shipping:has(.wc-block-components-totals-item__value:empty),
body.woocommerce-checkout .wc-block-components-totals-taxes:has(.wc-block-components-totals-item__value:empty),
body.woocommerce-checkout .wc-block-components-totals-fees:has(.wc-block-components-totals-item__value:empty) {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-shipping:not(:has(.wc-block-formatted-money-amount)),
body.woocommerce-checkout .wc-block-components-totals-taxes:not(:has(.wc-block-formatted-money-amount)),
body.woocommerce-checkout .wc-block-components-totals-fees:not(:has(.wc-block-formatted-money-amount)) {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-stripe-cart-message-container,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-stripe-cart-message-container.stripe_klarna,
body.woocommerce-checkout .wc-block-components-totals-wrapper .wc-block-components-totals-item[class*="stripe_klarna"] {
  display: block !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper .scmg-checkout-empty-row {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  color: #23272b;
  font-size: 1.05rem;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
  font-size: 1.48rem;
  font-weight: 700;
}

body.woocommerce-checkout .wc-block-checkout__actions_row {
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(35, 39, 43, 0.14);
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
  color: rgba(35, 39, 43, 0.78);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button.wp-element-button {
  min-height: 54px;
  border: 1px solid #23272b;
  border-radius: 999px;
  background: #23272b;
  color: #f5f6f6;
  font-size: 0.96rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button.wp-element-button:hover {
  background: #151a1e;
  border-color: #151a1e;
}

/* Classic checkout fallback. */
body.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(300px, 420px);
  gap: clamp(1.2rem, 2.2vw, 1.8rem);
  align-items: start;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
  float: none;
  width: auto;
}

body.woocommerce-checkout #customer_details {
  grid-column: 1;
  min-width: 0;
}

body.woocommerce-checkout #order_review {
  grid-column: 2;
  width: 100%;
  max-width: 420px;
  justify-self: end;
}

body.woocommerce-checkout #customer_details {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  padding: clamp(1rem, 1.9vw, 1.35rem);
}

body.woocommerce-checkout #customer_details > div {
  width: 100%;
  float: none;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  width: 100%;
  float: none;
}

body.woocommerce-checkout #customer_details h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.3rem, 1.65vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #23272b;
}

body.woocommerce-checkout form .form-row label {
  margin-bottom: 0.34rem;
  font-size: 0.92rem;
  color: rgba(35, 39, 43, 0.76);
}

body.woocommerce-checkout form .form-row input.input-text,
body.woocommerce-checkout form .form-row select,
body.woocommerce-checkout form .form-row textarea {
  min-height: 54px;
  border: 1px solid rgba(35, 39, 43, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #23272b;
  font-size: 1.06rem;
  line-height: 1.35;
  padding: 0.62rem 0.86rem;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review > h3 {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.74);
}

body.woocommerce-checkout #order_review {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  padding: clamp(0.95rem, 1.8vw, 1.25rem);
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  border: 0;
  margin: 0;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  border-top: 0;
  border-bottom: 1px solid rgba(35, 39, 43, 0.14);
  padding: 0.76rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
  font-size: 1.48rem;
  font-weight: 700;
}

body.woocommerce-checkout #payment {
  margin-top: 0.9rem;
  background: transparent;
  border: 0;
}

body.woocommerce-checkout #payment .wc_payment_methods {
  border-bottom: 1px solid rgba(35, 39, 43, 0.14);
  padding-bottom: 0.9rem;
}

body.woocommerce-checkout #payment .place-order {
  padding: 0.9rem 0 0;
}

body.woocommerce-checkout #payment #place_order {
  min-height: 54px;
  border: 1px solid #23272b;
  border-radius: 999px;
  background: #23272b;
  color: #f5f6f6;
  font-size: 0.96rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 1160px) {
  body.woocommerce-checkout .wc-block-checkout,
  body.woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .wc-block-checkout {
    flex-direction: column !important;
  }

  body.woocommerce-checkout .wc-block-checkout > .wp-block-woocommerce-checkout-fields-block,
  body.woocommerce-checkout .wc-block-checkout > .wp-block-woocommerce-checkout-totals-block,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-checkout__sidebar,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout .entry-content > .woocommerce,
  body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout {
    padding-top: 0.8rem;
  }

  body.woocommerce-checkout .wc-block-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review {
    border-radius: 12px;
    padding: 0.9rem;
  }

  body.woocommerce-checkout .wc-block-components-checkout-step + .wc-block-components-checkout-step {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }

  body.woocommerce-checkout .wc-block-components-title,
  body.woocommerce-checkout .wc-block-components-checkout-step__heading,
  body.woocommerce-checkout #customer_details h3 {
    font-size: clamp(1.2rem, 6vw, 1.45rem);
  }

  body.woocommerce-checkout .wc-block-components-text-input input,
  body.woocommerce-checkout .wc-block-components-combobox-control .components-combobox-control__input,
  body.woocommerce-checkout .wc-block-components-select select,
  body.woocommerce-checkout .wc-block-components-textarea textarea,
  body.woocommerce-checkout form .form-row input.input-text,
  body.woocommerce-checkout form .form-row select,
  body.woocommerce-checkout form .form-row textarea {
    min-height: 50px;
    font-size: 1rem;
  }

  body.woocommerce-checkout .wc-block-checkout__actions_row {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.72rem;
  }
}

body.woocommerce-account:not(.logged-in) .site-main {
  padding-top: calc(var(--scmg-header-height) + 1.1rem);
}

body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(1.2rem, 2vw, 2rem) 0 clamp(3rem, 6vw, 4.8rem);
}

body.woocommerce-account:not(.logged-in) .site-main .woocommerce,
body.woocommerce-account:not(.logged-in) .site-main .woocommerce .u-columns.col2-set {
  width: min(100%, 600px) !important;
  max-width: 600px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-account:not(.logged-in) .entry-header,
body.woocommerce-account:not(.logged-in) .entry-title,
body.woocommerce-account:not(.logged-in) .woocommerce-account-title,
body.woocommerce-account:not(.logged-in) .woocommerce > h1,
body.woocommerce-account:not(.logged-in) h1.page-title {
  display: none !important;
}

body.woocommerce-account:not(.logged-in) .entry-title,
body.woocommerce-account:not(.logged-in) .woocommerce h1 {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #23272b;
  text-align: left;
}

body.woocommerce-account:not(.logged-in).scmg-account-auth-enhanced .entry-title,
body.woocommerce-account:not(.logged-in).scmg-account-auth-enhanced .woocommerce > h1 {
  display: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
  margin-top: 1.15rem;
  padding: clamp(1.15rem, 2vw, 2rem);
  border: 1px solid rgba(35, 39, 43, 0.12);
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 16px 36px rgba(16, 21, 24, 0.06);
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set::before,
body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set::after {
  display: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
  margin-top: 1.2rem !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set.scmg-account-auth-ready .u-column2 {
  margin-top: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set[data-auth-mode="login"] .u-column2,
body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set[data-auth-mode="register"] .u-column1 {
  display: none;
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-intro {
  margin-bottom: 1.15rem;
  text-align: center;
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-intro__title {
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 2.95rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #23272b;
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-intro__copy {
  margin: 0.65rem auto 0;
  max-width: 760px;
  font-size: clamp(1.03rem, 1.22vw, 1.34rem);
  line-height: 1.46;
  color: rgba(35, 39, 43, 0.76);
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-badges {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.52rem;
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-badge {
  border: 1px solid rgba(35, 39, 43, 0.22);
  border-radius: 999px;
  padding: 0.42rem 0.88rem;
  font-size: 0.76rem;
  line-height: 1.15;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(35, 39, 43, 0.82);
  background: rgba(255, 255, 255, 0.7);
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
  padding: 0.38rem;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(35, 39, 43, 0.16);
  border-radius: 999px;
  background: #e3e3e3;
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-tab {
  border: 1px solid rgba(35, 39, 43, 0.06);
  border-radius: 999px;
  padding: 0.84rem 1rem;
  font-size: 0.98rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(35, 39, 43, 0.7);
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-tab.is-active {
  background: #fff;
  border-color: rgba(35, 39, 43, 0.18);
  color: #23272b;
  box-shadow: 0 8px 16px rgba(16, 21, 24, 0.08);
}

body.woocommerce-account:not(.logged-in) .scmg-account-auth-tab:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.35);
  outline-offset: 2px;
}

body.woocommerce-account:not(.logged-in) .woocommerce h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 1.85vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register {
  margin: 0;
  border: 1px solid rgba(35, 39, 43, 0.11);
  border-radius: 22px;
  padding: clamp(1rem, 1.8vw, 1.45rem);
  background: rgba(255, 255, 255, 0.56);
}

body.woocommerce-account:not(.logged-in) .woocommerce form .form-row {
  margin-bottom: 1rem;
}

body.woocommerce-account:not(.logged-in) .woocommerce form label {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .input-text,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="text"],
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="email"],
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="password"] {
  border: 1px solid rgba(35, 39, 43, 0.22);
  border-radius: 16px;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.84);
}

body.woocommerce-account:not(.logged-in) .woocommerce form .input-text:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="text"]:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="email"]:focus,
body.woocommerce-account:not(.logged-in) .woocommerce form input[type="password"]:focus {
  border-color: rgba(35, 39, 43, 0.46);
  box-shadow: 0 0 0 3px rgba(35, 39, 43, 0.08);
  outline: 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-button.button {
  min-height: 56px;
  min-width: 0;
  width: 100%;
  border-radius: 999px;
  border: 1px solid #23272b;
  background: #23272b;
  color: #f5f6f6;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-button.button:hover {
  background: #151a1e;
  border-color: #151a1e;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-login__rememberme {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  margin: 0;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login .form-row:last-of-type,
body.woocommerce-account:not(.logged-in) .woocommerce form.register .form-row:last-of-type {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login .form-row:last-of-type .woocommerce-form-login__submit,
body.woocommerce-account:not(.logged-in) .woocommerce form.register .form-row:last-of-type .woocommerce-form-register__submit {
  order: 1;
  width: 100%;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login .form-row:last-of-type .woocommerce-form-login__rememberme {
  order: 2;
}

body.woocommerce-account:not(.logged-in) .woocommerce form .lost_password {
  margin: 0.35rem 0 0;
  font-weight: 500;
}

body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-login .show-password-input,
body.woocommerce-account:not(.logged-in) .woocommerce .woocommerce-form-register .show-password-input {
  top: 50%;
  transform: translateY(-50%);
  right: 0.85rem;
}

@media (max-width: 640px) {
  body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce {
    padding-top: 1rem;
  }

  body.woocommerce-account:not(.logged-in) .woocommerce .u-columns.col2-set {
    border-radius: 16px;
    padding: 0.9rem;
  }

  body.woocommerce-account:not(.logged-in) .scmg-account-auth-intro__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  body.woocommerce-account:not(.logged-in) .scmg-account-auth-intro__copy {
    font-size: 0.97rem;
    line-height: 1.42;
  }

  body.woocommerce-account:not(.logged-in) .scmg-account-auth-badges {
    gap: 0.4rem;
  }

  body.woocommerce-account:not(.logged-in) .scmg-account-auth-badge {
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    padding: 0.34rem 0.64rem;
  }

  body.woocommerce-account:not(.logged-in) .scmg-account-auth-tabs {
    gap: 0.35rem;
    padding: 0.25rem;
    margin-bottom: 1rem;
  }

  body.woocommerce-account:not(.logged-in) .scmg-account-auth-tab {
    padding: 0.62rem 0.8rem;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
  }

  body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-button.button {
    width: 100%;
    min-width: 0;
  }

  body.woocommerce-account:not(.logged-in) .woocommerce form .woocommerce-form-login__rememberme {
    display: flex;
    margin: 0;
  }
}

/* Logged-in account dashboard layout */
body.woocommerce-account.logged-in .site-main {
  padding-top: calc(var(--scmg-header-height) + 1.1rem);
}

body.woocommerce-account.logged-in .entry-header,
body.woocommerce-account.logged-in .entry-title,
body.woocommerce-account.logged-in .woocommerce-account-title,
body.woocommerce-account.logged-in .woocommerce > h1,
body.woocommerce-account.logged-in h1.page-title {
  display: none !important;
}

body.woocommerce-account.logged-in .entry-content > .woocommerce {
  max-width: var(--scmg-max-width);
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.6rem) 0 clamp(3.2rem, 6vw, 4.8rem);
}

body.woocommerce-account.logged-in .woocommerce {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(0.9rem, 1.8vw, 1.3rem);
  align-items: start;
}

body.woocommerce-account.logged-in .woocommerce::before,
body.woocommerce-account.logged-in .woocommerce::after {
  content: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  float: none;
  width: auto;
  margin: 0;
  position: sticky;
  top: calc(var(--scmg-header-height) + 1rem);
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  overflow: hidden;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0.45rem;
  list-style: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li + li {
  margin-top: 0.2rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 0.66rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 10px;
  color: rgba(35, 39, 43, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #23272b;
  color: #f5f6f6;
  border-color: #23272b;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a:hover {
  background: rgba(35, 39, 43, 0.08);
  border-color: rgba(35, 39, 43, 0.16);
  color: #23272b;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li a:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.4);
  outline-offset: 2px;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
  float: none;
  width: auto;
  margin: 0;
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.82) 0%, rgba(246, 244, 239, 0.76) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  padding: clamp(1rem, 2.1vw, 1.5rem);
  min-height: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content > :first-child {
  margin-top: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.3rem, 1.8vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #23272b;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content p,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content li,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content label {
  color: rgba(35, 39, 43, 0.88);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .button,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content a.button,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content button.button,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content input.button {
  min-height: 48px;
  border: 1px solid #23272b;
  border-radius: 999px;
  background: #23272b;
  color: #f5f6f6;
  font-size: 0.84rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.62rem 1.1rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content a.button:hover,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content input.button:hover {
  background: #151a1e;
  border-color: #151a1e;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account.logged-in .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account.logged-in .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account.logged-in .woocommerce-MyAccount-content input[type="tel"],
body.woocommerce-account.logged-in .woocommerce-MyAccount-content textarea,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content select {
  border: 1px solid rgba(35, 39, 43, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  min-height: 50px;
  padding: 0.58rem 0.86rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content input:focus,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content textarea:focus,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content select:focus {
  border-color: rgba(35, 39, 43, 0.46);
  box-shadow: 0 0 0 3px rgba(35, 39, 43, 0.08);
  outline: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table th,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table td {
  border-color: rgba(35, 39, 43, 0.12);
  padding: 0.72rem 0.8rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content table.shop_table th {
  background: rgba(35, 39, 43, 0.05);
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  padding: 0.9rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title.title,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > .title,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > header.title {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  justify-items: start !important;
  column-gap: 0.8rem;
  row-gap: 0.35rem;
  margin-bottom: 0.35rem;
  text-align: left !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title h3,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title .woocommerce-column__title,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > .title h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > .title h3,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > header.title h2,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > header.title h3,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address .woocommerce-column__title {
  margin: 0 !important;
  padding: 0;
  display: block;
  font-size: clamp(1.15rem, 1.35vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  grid-column: 1 !important;
  justify-self: start !important;
  align-self: start !important;
  width: 100%;
  float: none !important;
  text-align: left !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title .edit,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > .title .edit,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > header.title .edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(35, 39, 43, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #23272b;
  text-decoration: none;
  font-size: 0.76rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.45rem 0.95rem;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  grid-column: 2 !important;
  justify-self: end !important;
  align-self: start !important;
  margin-left: auto;
  float: none !important;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address-title .edit:hover,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > .title .edit:hover,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address > header.title .edit:hover {
  background: rgba(35, 39, 43, 0.08);
  border-color: rgba(35, 39, 43, 0.34);
  transform: translateY(-1px);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address address,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Address p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  text-align: left;
  color: rgba(35, 39, 43, 0.82);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.85rem;
  gap: 0.8rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row {
  margin: 0;
  grid-column: 1 / -1;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row.form-row-first,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row.woocommerce-form-row--first,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row:has(input[name="account_first_name"]) {
  grid-column: 1;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row.form-row-last,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row.woocommerce-form-row--last,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row:has(input[name="account_last_name"]) {
  grid-column: 2;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0 0 0.38rem;
  font-size: 0.96rem;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 0.01em;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row .required {
  color: #b42318;
  font-weight: 700;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
  margin: 0.2rem 0 0;
  border: 1px solid rgba(35, 39, 43, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  padding: 0.9rem 1rem 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 0.85rem;
  gap: 0.78rem;
  grid-column: 1 / -1;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm legend {
  margin: 0;
  padding: 0 0.35rem;
  font-size: 0.9rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.86);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input {
  position: relative;
  display: block;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-form-row {
  grid-column: 1 / -1;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-form-row:has(input[name="password_1"]) {
  grid-column: 1;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-form-row:has(input[name="password_2"]) {
  grid-column: 2;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input input[type="password"] {
  padding-right: 5rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input {
  position: absolute;
  top: 50%;
  right: 0.9rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(35, 39, 43, 0.72);
  font-size: 0;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input::after {
  content: "Show";
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input.display-password::after {
  content: "Hide";
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input:hover {
  color: #23272b;
  transform: translateY(-50%);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .password-input .show-password-input:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.35);
  outline-offset: 2px;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:not(.woocommerce-form-row) {
  margin: 0;
  grid-column: 1 / -1;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm p.clear {
  display: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm button[name="save_account_details"] {
  margin-top: 0.15rem;
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 190px;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard {
  display: grid;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  gap: 1rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard article {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard__hero h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard__hero p {
  margin: 0.48rem 0 0;
  font-size: 1rem;
  line-height: 1.48;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard__metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
  align-items: stretch;
  justify-items: stretch;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-metric {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  width: 100%;
  min-height: 88px;
  padding: 0.88rem 0.92rem;
  display: grid;
  gap: 0.3rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-metric__label {
  font-size: 0.74rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(35, 39, 43, 0.66);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-metric__value {
  font-size: clamp(1.28rem, 2vw, 1.9rem);
  line-height: 1;
  font-weight: 700;
  color: #23272b;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  padding: 0.95rem 0.95rem 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card__head h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card__head span,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card__head a {
  font-size: 0.8rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.74);
  text-decoration: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card__head a:hover {
  color: #23272b;
  text-decoration: underline;
  text-underline-offset: 0.1em;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-progress {
  width: 100%;
  height: 0.62rem;
  border-radius: 999px;
  background: rgba(35, 39, 43, 0.1);
  overflow: hidden;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #23272b;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-checklist li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.93rem;
  line-height: 1.35;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-checklist li::before {
  content: "";
  position: absolute;
  top: 0.36rem;
  left: 0;
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  background: rgba(35, 39, 43, 0.22);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-checklist li.is-complete::before {
  background: #2f8a52;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card--progress > .button,
body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card--orders > .button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 240px;
  margin-top: 0.2rem;
  min-height: 52px;
  text-align: center;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-orders {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.48rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-orders li {
  border: 1px solid rgba(35, 39, 43, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  padding: 0.68rem 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-orders__meta {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-orders__meta strong {
  font-size: 0.98rem;
  line-height: 1.2;
  color: #23272b;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-orders__meta span {
  font-size: 0.84rem;
  line-height: 1.3;
  color: rgba(35, 39, 43, 0.68);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-orders__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-orders__total {
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 700;
  color: #23272b;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-orders__empty {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card--orders .scmg-account-orders__empty {
  margin-bottom: 0.2rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard__quick {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-quick-action {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  min-height: 86px;
  padding: 0.84rem 0.88rem;
  text-decoration: none;
  color: inherit;
  display: grid;
  align-content: start;
  gap: 0.28rem;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-quick-action h3 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-quick-action p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.36;
  color: rgba(35, 39, 43, 0.74);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-quick-action:hover {
  border-color: rgba(35, 39, 43, 0.22);
  background: rgba(255, 255, 255, 0.74);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-empty-state {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.58);
  padding: clamp(0.95rem, 1.8vw, 1.25rem);
  display: grid;
  gap: 0.5rem;
  max-width: 620px;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-empty-state h3 {
  margin: 0;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #23272b;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-empty-state p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
  color: rgba(35, 39, 43, 0.78);
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-empty-state .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 170px;
  min-height: 52px;
  padding: 0.72rem 1.35rem;
  line-height: 1;
}

body.woocommerce-account.logged-in.woocommerce-orders .woocommerce-MyAccount-content .scmg-account-empty-state {
  width: 100%;
  max-width: none;
}

body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-empty-state + .woocommerce-info {
  display: none;
}

@media (max-width: 960px) {
  body.woocommerce-account.logged-in .entry-content > .woocommerce {
    padding-top: 0.8rem;
  }

  body.woocommerce-account.logged-in .woocommerce {
    grid-template-columns: 1fr;
    gap: 0.82rem;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
    position: static;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul li + li {
    margin-top: 0;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    min-height: 0;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-metric {
    min-height: 0;
    padding: 0.62rem 0.58rem;
    gap: 0.18rem;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-metric__label {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-metric__value {
    font-size: clamp(1.02rem, 4.2vw, 1.28rem);
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard__grid,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-dashboard__quick {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-empty-state .button {
    width: 100%;
    min-width: 0;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card--progress > .button,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .scmg-account-card--orders > .button {
    width: 100%;
    min-width: 0;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
    grid-template-columns: 1fr;
    padding: 0.75rem 0.82rem 0.85rem;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm .woocommerce-form-row,
  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset .woocommerce-form-row {
    grid-column: 1 / -1 !important;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content .woocommerce-EditAccountForm button[name="save_account_details"] {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.logged-in .woocommerce-MyAccount-content {
    border-radius: 12px;
    padding: 0.9rem;
  }
}

.scmg-shop-archive {
  padding: clamp(2.6rem, 4.8vw, 4rem) 0 clamp(4rem, 7vw, 6.2rem);
}

.scmg-shop-archive__head {
  max-width: none;
  margin: 0;
  text-align: left;
  padding: clamp(1.35rem, 2.6vw, 1.95rem) clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 242, 236, 0.74) 100%);
  box-shadow: 0 14px 30px rgba(16, 21, 24, 0.06);
}

.scmg-shop-archive__head .scmg-section-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

body.woocommerce .woocommerce-products-header__title.page-title,
body.woocommerce-page .woocommerce-products-header__title.page-title {
  margin: 0 !important;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem) !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: #23272b !important;
}

.scmg-shop-archive__head .scmg-section-subtitle {
  margin-top: 0.75rem;
  margin-left: 0;
  margin-right: 0;
  max-width: 980px;
  font-size: clamp(1rem, 1.18vw, 1.18rem);
  line-height: 1.45;
  color: rgba(35, 39, 43, 0.78);
}

.scmg-shop-archive__head .woocommerce-products-header__description {
  margin-top: 0.95rem;
}

.scmg-shop-archive__head .woocommerce-products-header__description p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.58;
  color: rgba(35, 39, 43, 0.84);
}

.scmg-shop-archive__notices {
  margin-top: 1.2rem;
}

.scmg-shop-archive__controls {
  margin-top: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.2rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 8px 18px rgba(16, 21, 24, 0.05);
}

.scmg-shop-archive .woocommerce-result-count {
  float: none;
  margin: 0;
  color: rgba(35, 39, 43, 0.84);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
}

.scmg-shop-archive .woocommerce-ordering {
  float: none;
  margin: 0;
  position: relative;
}

.scmg-shop-archive .woocommerce-ordering select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 52px;
  min-width: 264px;
  width: min(100%, 310px);
  border: 1px solid rgba(35, 39, 43, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 243, 240, 0.9) 100%);
  color: #23272b;
  padding: 0.72rem 3rem 0.72rem 1.02rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 2px 8px rgba(16, 21, 24, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease, transform 180ms ease;
}

body.woocommerce form.woocommerce-ordering select,
body.woocommerce-page form.woocommerce-ordering select {
  -webkit-appearance: none !important;
  appearance: none !important;
  min-height: 52px !important;
  border: 1px solid rgba(35, 39, 43, 0.24) !important;
  border-radius: 0 !important;
  background: #efefef !important;
  color: #23272b !important;
  padding: 0.72rem 3rem 0.72rem 1rem !important;
  font-size: 0.98rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  box-shadow: none !important;
}

body.woocommerce form.woocommerce-ordering,
body.woocommerce-page form.woocommerce-ordering {
  position: relative;
}

body.woocommerce form.woocommerce-ordering::after,
body.woocommerce-page form.woocommerce-ordering::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid rgba(35, 39, 43, 0.7);
  border-bottom: 2px solid rgba(35, 39, 43, 0.7);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

body.woocommerce form.woocommerce-ordering select:hover,
body.woocommerce-page form.woocommerce-ordering select:hover {
  border-color: rgba(35, 39, 43, 0.48) !important;
  background: #f4f4f3 !important;
}

body.woocommerce form.woocommerce-ordering select:focus-visible,
body.woocommerce-page form.woocommerce-ordering select:focus-visible {
  outline: none !important;
  border-color: #23272b !important;
  box-shadow: 0 0 0 3px rgba(35, 39, 43, 0.14) !important;
}

.scmg-shop-archive .woocommerce-ordering::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid rgba(35, 39, 43, 0.62);
  border-bottom: 2px solid rgba(35, 39, 43, 0.62);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.scmg-shop-archive .woocommerce-ordering select:hover {
  border-color: rgba(35, 39, 43, 0.45);
  background: #ffffff;
  transform: translateY(-1px);
}

.scmg-shop-archive .woocommerce-ordering select:focus-visible {
  outline: none;
  border-color: #23272b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.74),
    0 0 0 3px rgba(35, 39, 43, 0.18);
}

.scmg-shop-archive ul.products {
  list-style: none;
  margin: 1.7rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.scmg-shop-archive ul.products::before,
.scmg-shop-archive ul.products::after {
  content: none;
}

.scmg-shop-archive ul.products li.product {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
}

.scmg-shop-section {
  padding: clamp(3.8rem, 7vw, 6.8rem) 0 clamp(4.2rem, 7vw, 6.4rem);
  background: linear-gradient(180deg, #efefef 0%, #e9e6e1 100%);
  color: #23272b;
}

.scmg-shop-section__intro {
  max-width: 1220px;
  margin: 0 auto;
  text-align: center;
}

.scmg-shop-section__intro .scmg-section-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  line-height: 1.42;
}

.scmg-shop-section__shop-btn {
  margin-top: 1.8rem;
  min-width: 280px;
  font-size: 1.05rem;
  color: #3d444b;
  border-color: rgba(61, 68, 75, 0.42);
  background: rgba(255, 255, 255, 0.16);
}

.scmg-shop-section__shop-btn:hover {
  color: #23272b;
  border-color: rgba(35, 39, 43, 0.56);
  background: rgba(255, 255, 255, 0.34);
  opacity: 1;
}

.scmg-shop-grid {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.scmg-shop-card {
  position: relative;
  background: #f9f9f8;
  border: 1px solid rgba(35, 39, 43, 0.12);
  border-radius: 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(16, 21, 24, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.scmg-shop-card:hover,
.scmg-shop-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(35, 39, 43, 0.2);
  box-shadow: 0 16px 30px rgba(16, 21, 24, 0.12);
}

.scmg-shop-card__image-link {
  position: relative;
  display: block;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: #e6e2db;
  border-bottom: 1px solid rgba(35, 39, 43, 0.08);
  aspect-ratio: 4 / 5;
}

.scmg-shop-card__image-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 23, 27, 0.05) 20%, rgba(18, 23, 27, 0.42) 100%);
  opacity: 0;
  transition: opacity 200ms ease;
}

.scmg-shop-card__image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.scmg-shop-card:hover .scmg-shop-card__image-link::after,
.scmg-shop-card:focus-within .scmg-shop-card__image-link::after {
  opacity: 1;
}

.scmg-shop-card:hover .scmg-shop-card__image-link img,
.scmg-shop-card:focus-within .scmg-shop-card__image-link img {
  transform: scale(1.04);
}

.scmg-shop-card__badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.28rem 0.7rem;
  border-radius: 10px;
  font-size: 0.74rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  color: #f5f6f6;
  background: rgba(35, 39, 43, 0.88);
}

.scmg-shop-card__badge--sale {
  background: #23272b;
  border: 1px solid rgba(245, 246, 246, 0.24);
}

.scmg-shop-card__badge--new {
  background: #2d9db7;
}

.scmg-shop-card__badge--bestseller {
  background: #2d9db7;
}

.scmg-shop-card__image-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  min-width: 168px;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-weight: 700;
  text-transform: uppercase;
  color: #f5f6f6;
  border: 1px solid rgba(245, 246, 246, 0.74);
  background: rgba(11, 16, 20, 0.5);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 10px));
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.scmg-shop-card:hover .scmg-shop-card__image-cta,
.scmg-shop-card:focus-within .scmg-shop-card__image-cta {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.scmg-shop-card__content {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.scmg-shop-card__brand {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.2;
  color: rgba(35, 39, 43, 0.58);
  font-weight: 500;
}

.scmg-shop-card h3,
.scmg-shop-card .woocommerce-loop-product__title {
  margin: 0;
  font-size: clamp(1.22rem, 1.22vw, 1.52rem);
  line-height: 1.2;
  min-height: calc(1.24em * 2);
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.scmg-shop-card h3 a,
.scmg-shop-card .woocommerce-loop-product__title a {
  text-decoration: none;
}

.scmg-shop-card__price {
  margin: 0.14rem 0 0;
  font-size: clamp(1.04rem, 1vw, 1.16rem);
  line-height: 1.4;
  color: rgba(35, 39, 43, 0.72);
  font-weight: 600;
}

.scmg-shop-card a:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.8);
  outline-offset: 2px;
}

.scmg-shop-empty {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 1.08rem;
}

.scmg-shop-archive .woocommerce-pagination {
  margin-top: 2.7rem;
  display: flex;
  justify-content: center;
}

.scmg-shop-archive .woocommerce-pagination ul.page-numbers {
  border: 0;
  border-radius: 0;
  display: inline-flex;
  gap: 0.52rem;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.scmg-shop-archive .woocommerce-pagination ul.page-numbers li {
  border: 0;
  margin: 0;
  padding: 0;
}

.scmg-shop-archive .woocommerce-pagination ul.page-numbers a,
.scmg-shop-archive .woocommerce-pagination ul.page-numbers span {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(35, 39, 43, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: rgba(35, 39, 43, 0.82);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.35rem 0.85rem;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.scmg-shop-archive .woocommerce-pagination ul.page-numbers .prev,
.scmg-shop-archive .woocommerce-pagination ul.page-numbers .next {
  min-width: 58px;
  font-size: 1.2rem;
}

.scmg-shop-archive .woocommerce-pagination ul.page-numbers a:hover {
  color: #f5f6f6;
  border-color: #23272b;
  background: #23272b;
  transform: translateY(-1px);
}

.scmg-shop-archive .woocommerce-pagination ul.page-numbers a:focus-visible {
  outline: none;
  border-color: #23272b;
  box-shadow: 0 0 0 3px rgba(35, 39, 43, 0.16);
}

.scmg-shop-archive .woocommerce-pagination ul.page-numbers .current {
  color: #f5f6f6;
  border-color: #23272b;
  background: #23272b;
  box-shadow: 0 8px 16px rgba(35, 39, 43, 0.2);
}

.scmg-shop-archive .woocommerce-pagination ul.page-numbers .dots,
.scmg-shop-archive .woocommerce-pagination ul.page-numbers span.prev,
.scmg-shop-archive .woocommerce-pagination ul.page-numbers span.next {
  color: rgba(35, 39, 43, 0.42);
  border-color: rgba(35, 39, 43, 0.14);
  background: rgba(255, 255, 255, 0.5);
}

body.woocommerce nav.woocommerce-pagination ul.page-numbers,
body.woocommerce-page nav.woocommerce-pagination ul.page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(35, 39, 43, 0.24) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  background: #efefef !important;
  box-shadow: none !important;
}

body.woocommerce nav.woocommerce-pagination ul.page-numbers li,
body.woocommerce-page nav.woocommerce-pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-right: 1px solid rgba(35, 39, 43, 0.24) !important;
}

body.woocommerce nav.woocommerce-pagination ul.page-numbers li:last-child,
body.woocommerce-page nav.woocommerce-pagination ul.page-numbers li:last-child {
  border-right: 0 !important;
}

body.woocommerce nav.woocommerce-pagination ul.page-numbers a,
body.woocommerce nav.woocommerce-pagination ul.page-numbers span,
body.woocommerce-page nav.woocommerce-pagination ul.page-numbers a,
body.woocommerce-page nav.woocommerce-pagination ul.page-numbers span {
  min-width: 56px !important;
  min-height: 52px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #23272b !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 1.02rem !important;
  line-height: 1 !important;
  padding: 0.35rem 0.9rem !important;
  transition: background 180ms ease, color 180ms ease !important;
}

body.woocommerce nav.woocommerce-pagination ul.page-numbers a:hover,
body.woocommerce-page nav.woocommerce-pagination ul.page-numbers a:hover {
  background: #23272b !important;
  color: #f5f6f6 !important;
}

body.woocommerce nav.woocommerce-pagination ul.page-numbers .current,
body.woocommerce-page nav.woocommerce-pagination ul.page-numbers .current {
  background: #23272b !important;
  color: #f5f6f6 !important;
}

body.woocommerce ul.products li.product .scmg-shop-card__image-link,
body.woocommerce-page ul.products li.product .scmg-shop-card__image-link {
  display: block !important;
  overflow: hidden !important;
  aspect-ratio: 4 / 5;
}

body.woocommerce ul.products li.product .scmg-shop-card__image-link > img,
body.woocommerce-page ul.products li.product .scmg-shop-card__image-link > img,
body.woocommerce ul.products li.product a img,
body.woocommerce-page ul.products li.product a img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
}

.scmg-shop-archive .woocommerce-info,
.scmg-shop-archive .woocommerce-message,
.scmg-shop-archive .woocommerce-error {
  margin: 0;
  border: 1px solid rgba(53, 58, 63, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.62);
  color: #23272b;
}

/* Fallback Woo archive styling for instances where wrapper class styles are bypassed. */
body.post-type-archive-product .woocommerce-products-header__title.page-title,
body.tax-product_cat .woocommerce-products-header__title.page-title,
body.tax-product_tag .woocommerce-products-header__title.page-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #23272b;
}

body.post-type-archive-product .woocommerce-ordering,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_tag .woocommerce-ordering {
  float: none;
  margin: 0;
  position: relative;
}

body.post-type-archive-product .woocommerce-ordering select,
body.tax-product_cat .woocommerce-ordering select,
body.tax-product_tag .woocommerce-ordering select {
  -webkit-appearance: none;
  appearance: none;
  min-height: 52px;
  min-width: 264px;
  width: min(100%, 310px);
  border: 1px solid rgba(35, 39, 43, 0.24);
  border-radius: 0;
  background: #efefef;
  color: #23272b;
  padding: 0.72rem 3rem 0.72rem 1rem;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease;
}

body.post-type-archive-product .woocommerce-ordering::after,
body.tax-product_cat .woocommerce-ordering::after,
body.tax-product_tag .woocommerce-ordering::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  width: 0.58rem;
  height: 0.58rem;
  border-right: 2px solid rgba(35, 39, 43, 0.7);
  border-bottom: 2px solid rgba(35, 39, 43, 0.7);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

body.post-type-archive-product .woocommerce-ordering select:hover,
body.tax-product_cat .woocommerce-ordering select:hover,
body.tax-product_tag .woocommerce-ordering select:hover {
  border-color: rgba(35, 39, 43, 0.48);
  background: #f4f4f3;
}

body.post-type-archive-product .woocommerce-ordering select:focus-visible,
body.tax-product_cat .woocommerce-ordering select:focus-visible,
body.tax-product_tag .woocommerce-ordering select:focus-visible {
  outline: none;
  border-color: #23272b;
  box-shadow: 0 0 0 3px rgba(35, 39, 43, 0.14);
}

body.post-type-archive-product nav.woocommerce-pagination,
body.tax-product_cat nav.woocommerce-pagination,
body.tax-product_tag nav.woocommerce-pagination {
  margin-top: 2.7rem;
  display: flex;
  justify-content: center;
}

body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers,
body.tax-product_cat nav.woocommerce-pagination ul.page-numbers,
body.tax-product_tag nav.woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(35, 39, 43, 0.24);
  border-radius: 0;
  overflow: hidden;
  background: #efefef;
  box-shadow: none;
}

body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li,
body.tax-product_cat nav.woocommerce-pagination ul.page-numbers li,
body.tax-product_tag nav.woocommerce-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(35, 39, 43, 0.24);
}

body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers li:last-child,
body.tax-product_cat nav.woocommerce-pagination ul.page-numbers li:last-child,
body.tax-product_tag nav.woocommerce-pagination ul.page-numbers li:last-child {
  border-right: 0;
}

body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers a,
body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers span,
body.tax-product_cat nav.woocommerce-pagination ul.page-numbers a,
body.tax-product_cat nav.woocommerce-pagination ul.page-numbers span,
body.tax-product_tag nav.woocommerce-pagination ul.page-numbers a,
body.tax-product_tag nav.woocommerce-pagination ul.page-numbers span {
  min-width: 56px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #23272b;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  padding: 0.35rem 0.9rem;
  transition: background 180ms ease, color 180ms ease;
}

body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers a:hover,
body.tax-product_cat nav.woocommerce-pagination ul.page-numbers a:hover,
body.tax-product_tag nav.woocommerce-pagination ul.page-numbers a:hover {
  background: #23272b;
  color: #f5f6f6;
}

body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers .current,
body.tax-product_cat nav.woocommerce-pagination ul.page-numbers .current,
body.tax-product_tag nav.woocommerce-pagination ul.page-numbers .current {
  background: #23272b;
  color: #f5f6f6;
}

body.post-type-archive-product ul.products li.product .scmg-shop-card__image-link > img,
body.tax-product_cat ul.products li.product .scmg-shop-card__image-link > img,
body.tax-product_tag ul.products li.product .scmg-shop-card__image-link > img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center center;
  margin: 0 !important;
}

/* Brand-aligned Woo sale flash badge (single/fallback contexts). */
body.woocommerce span.onsale,
body.woocommerce-page span.onsale {
  top: 0.72rem !important;
  left: 0.72rem !important;
  right: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0.4rem 0.62rem !important;
  border: 1px solid rgba(245, 246, 246, 0.28) !important;
  border-radius: 8px !important;
  background: #23272b !important;
  color: #f5f6f6 !important;
  font-size: 0.72rem !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  box-shadow: 0 8px 16px rgba(16, 21, 24, 0.2);
  z-index: 4 !important;
}

body.single-product .scmg-single-product__gallery .onsale {
  top: 0.72rem !important;
  left: 0.72rem !important;
}

@media (max-width: 767px) {
  .scmg-shop-archive ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.95rem !important;
    margin: 1.4rem 0 0 !important;
    padding: 0 !important;
  }

  .scmg-shop-archive ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    flex: none !important;
  }

  body.post-type-archive-product ul.products,
  body.tax-product_cat ul.products,
  body.tax-product_tag ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.95rem !important;
    margin: 1.4rem 0 0 !important;
    padding: 0 !important;
  }

  body.post-type-archive-product ul.products li.product,
  body.tax-product_cat ul.products li.product,
  body.tax-product_tag ul.products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    flex: none !important;
  }

  body.post-type-archive-product ul.products li.product:nth-child(2n),
  body.post-type-archive-product ul.products li.product:nth-child(2n + 1),
  body.tax-product_cat ul.products li.product:nth-child(2n),
  body.tax-product_cat ul.products li.product:nth-child(2n + 1),
  body.tax-product_tag ul.products li.product:nth-child(2n),
  body.tax-product_tag ul.products li.product:nth-child(2n + 1) {
    clear: none !important;
  }

  body.post-type-archive-product .woocommerce-ordering,
  body.tax-product_cat .woocommerce-ordering,
  body.tax-product_tag .woocommerce-ordering {
    width: 100%;
  }

  body.post-type-archive-product .woocommerce-ordering select,
  body.tax-product_cat .woocommerce-ordering select,
  body.tax-product_tag .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }

  body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers a,
  body.post-type-archive-product nav.woocommerce-pagination ul.page-numbers span,
  body.tax-product_cat nav.woocommerce-pagination ul.page-numbers a,
  body.tax-product_cat nav.woocommerce-pagination ul.page-numbers span,
  body.tax-product_tag nav.woocommerce-pagination ul.page-numbers a,
  body.tax-product_tag nav.woocommerce-pagination ul.page-numbers span {
    min-width: 48px;
    min-height: 46px;
    font-size: 0.96rem;
  }
}

.scmg-shop-single-main {
  min-height: 100vh;
  padding-top: calc(var(--scmg-header-height) + 1.2rem) !important;
  background: linear-gradient(180deg, #efefef 0%, #e9e6e1 100%);
  color: #23272b;
}

body.single-product.woocommerce,
body.single-product.woocommerce-page {
  background: #efefef;
  color: #23272b;
}

body.single-product.woocommerce .site-main,
body.single-product.woocommerce-page .site-main,
body.single-product.woocommerce #primary,
body.single-product.woocommerce-page #primary,
body.single-product.woocommerce .content-area,
body.single-product.woocommerce-page .content-area {
  background: transparent;
  color: #23272b;
}

.scmg-shop-single {
  padding: clamp(2.2rem, 4.4vw, 3.8rem) 0 clamp(4.2rem, 7vw, 6rem);
}

.scmg-shop-single__notices {
  margin-bottom: 1.1rem;
}

.scmg-shop-single .woocommerce-error,
.scmg-shop-single .woocommerce-message,
.scmg-shop-single .woocommerce-info {
  margin: 0;
  border: 1px solid rgba(53, 58, 63, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #23272b;
}

/* Woo notices rendered as global bottom snackbars. */
.scmg-shop-archive__notices:empty,
.scmg-shop-single__notices:empty,
.woocommerce-notices-wrapper:empty {
  display: none !important;
}

.scmg-woo-snackbar-stack {
  position: fixed;
  left: 50%;
  bottom: max(0.9rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 1600;
  width: min(calc(100vw - 1.4rem), 760px);
  display: grid;
  gap: 0.6rem;
  pointer-events: none;
}

.scmg-woo-snackbar {
  position: relative;
  margin: 0 !important;
  padding: 0.85rem 3.25rem 0.85rem 1rem !important;
  border: 1px solid rgba(245, 246, 246, 0.24) !important;
  border-radius: 12px !important;
  background: rgba(14, 18, 21, 0.96) !important;
  color: #f5f6f6 !important;
  box-shadow: 0 16px 36px rgba(4, 8, 10, 0.34);
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 600;
  list-style: none;
  pointer-events: auto;
}

.scmg-woo-snackbar.woocommerce-message {
  border-color: rgba(120, 193, 146, 0.56) !important;
}

.scmg-woo-snackbar.woocommerce-error {
  border-color: rgba(235, 132, 132, 0.58) !important;
}

.scmg-woo-snackbar.woocommerce-info {
  border-color: rgba(137, 179, 214, 0.58) !important;
}

.scmg-woo-snackbar::before,
.scmg-woo-snackbar .button.wc-forward::after {
  content: none !important;
  display: none !important;
}

.scmg-woo-snackbar .button,
.scmg-woo-snackbar a.button,
.scmg-woo-snackbar .button.wc-forward {
  float: none !important;
  margin: 0.45rem 0 0 !important;
  display: inline-flex !important;
  align-items: center;
  min-height: 2rem;
  border: 1px solid rgba(245, 246, 246, 0.34);
  border-radius: 8px !important;
  background: rgba(245, 246, 246, 0.14) !important;
  color: #f5f6f6 !important;
  text-decoration: none !important;
  padding: 0.38rem 0.72rem !important;
  font-size: 0.84rem !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
}

.scmg-woo-snackbar .button:hover,
.scmg-woo-snackbar a.button:hover,
.scmg-woo-snackbar .button.wc-forward:hover {
  background: rgba(245, 246, 246, 0.24) !important;
  border-color: rgba(245, 246, 246, 0.52);
}

.scmg-woo-snackbar ul,
.scmg-woo-snackbar ol {
  margin: 0;
  padding-left: 1rem;
}

.scmg-woo-snackbar__close {
  position: absolute;
  top: 0.42rem;
  right: 0.42rem;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 999px;
  background: rgba(245, 246, 246, 0.12);
  color: #f5f6f6;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease;
}

.scmg-woo-snackbar__close:hover {
  background: rgba(245, 246, 246, 0.22);
}

.scmg-woo-snackbar__close:focus-visible {
  outline: 2px solid rgba(245, 246, 246, 0.78);
  outline-offset: 1px;
}

.scmg-shop-single div.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  grid-template-areas:
    "images summary"
    "tabs tabs"
    "related related"
    "upsells upsells";
  gap: clamp(1.1rem, 2vw, 1.7rem);
  align-items: start;
  margin: 0;
}

.scmg-shop-single div.product .images,
.scmg-shop-single div.product .woocommerce-product-gallery,
.scmg-shop-single div.product .summary,
.scmg-shop-single div.product .entry-summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.scmg-shop-single div.product .images,
.scmg-shop-single div.product .woocommerce-product-gallery {
  grid-area: images;
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(242, 239, 233, 0.82) 100%);
  padding: clamp(0.7rem, 1.4vw, 0.95rem);
  overflow: hidden;
}

.scmg-shop-single .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.scmg-shop-single .woocommerce-product-gallery__image {
  border-radius: 12px;
  overflow: hidden;
  background: #ddd;
}

.scmg-shop-single .woocommerce-product-gallery__image a {
  display: block;
  aspect-ratio: 1 / 1;
}

.scmg-shop-single .woocommerce-product-gallery__image img,
.scmg-shop-single .woocommerce-product-gallery__wrapper img,
.scmg-shop-single .woocommerce-product-gallery img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  margin: 0 !important;
  display: block;
}

.scmg-shop-single .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.52rem;
  margin: 0.62rem 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

.scmg-shop-single .flex-control-thumbs li {
  margin: 0 !important;
}

.scmg-shop-single .flex-control-thumbs img {
  width: 100% !important;
  aspect-ratio: 4 / 3;
  object-fit: cover !important;
  border-radius: 9px;
  border: 1px solid rgba(35, 39, 43, 0.14);
  opacity: 0.9;
}

.scmg-shop-single .flex-control-thumbs img.flex-active,
.scmg-shop-single .flex-control-thumbs img:hover {
  border-color: rgba(35, 39, 43, 0.3);
  opacity: 1;
}

.scmg-shop-single div.product .summary,
.scmg-shop-single div.product .entry-summary {
  grid-area: summary;
  display: grid;
  align-content: start;
  gap: 0.9rem;
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 242, 236, 0.74) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  padding: clamp(1rem, 2.2vw, 1.6rem);
  position: sticky;
  top: calc(var(--scmg-header-height) + 1rem);
}

.scmg-shop-single div.product .product_title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #23272b;
}

.scmg-shop-single div.product p.price,
.scmg-shop-single div.product span.price {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.18;
  font-weight: 700;
  color: rgba(35, 39, 43, 0.72);
}

.scmg-shop-single .woocommerce-product-details__short-description p {
  margin: 0;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  line-height: 1.58;
  color: rgba(35, 39, 43, 0.9);
}

.scmg-shop-single div.product form.variations_form {
  margin: 0.2rem 0 0;
}

.scmg-shop-single div.product form.variations_form table.variations {
  width: 100%;
  margin: 0 0 0.75rem;
  border-collapse: separate;
  border-spacing: 0 0.55rem;
}

.scmg-shop-single div.product form.variations_form table.variations tr {
  display: grid;
  grid-template-columns: minmax(68px, 90px) minmax(0, 1fr);
  gap: 0.78rem;
  align-items: center;
}

.scmg-shop-single div.product form.variations_form table.variations th,
.scmg-shop-single div.product form.variations_form table.variations td {
  padding: 0;
  border: 0;
  margin: 0;
}

.scmg-shop-single div.product form.variations_form table.variations th.label {
  text-align: left !important;
}

.scmg-shop-single div.product form.variations_form table.variations th.label label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  font-size: 1.04rem;
  line-height: 1.2;
  font-weight: 700;
  color: #23272b;
}

.scmg-shop-single div.product form.variations_form table.variations td.value {
  position: relative;
}

.scmg-shop-single div.product form.variations_form table.variations td.value::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 0.56rem;
  height: 0.56rem;
  border-right: 2px solid rgba(35, 39, 43, 0.68);
  border-bottom: 2px solid rgba(35, 39, 43, 0.68);
  transform: translateY(-62%) rotate(45deg);
  pointer-events: none;
}

.scmg-shop-single div.product form.variations_form table.variations td.value select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(35, 39, 43, 0.24);
  border-radius: 0;
  background: #efefef;
  color: #23272b;
  font-size: 1.02rem;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.64rem 2.7rem 0.64rem 0.9rem;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.scmg-shop-single div.product form.variations_form table.variations td.value select:hover {
  border-color: rgba(35, 39, 43, 0.46);
  background: #f4f4f3;
}

.scmg-shop-single div.product form.variations_form table.variations td.value select:focus-visible {
  outline: none;
  border-color: #23272b;
  box-shadow: 0 0 0 3px rgba(35, 39, 43, 0.14);
}

.scmg-shop-single div.product form.variations_form .reset_variations {
  margin-top: 0.18rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 0.11em;
  color: rgba(35, 39, 43, 0.72);
}

.scmg-shop-single div.product form.variations_form .single_variation_wrap {
  margin-top: 0.24rem;
}

.scmg-shop-single div.product form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  align-items: stretch;
  width: 100%;
}

.scmg-shop-single div.product form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart .quantity {
  margin: 0;
  width: 100%;
}

.scmg-shop-single div.product form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart .quantity.scmg-qty-ready {
  width: 100%;
}

.scmg-shop-single div.product form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart .quantity.scmg-qty-ready .qty {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.scmg-shop-single div.product form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button.button.alt,
.scmg-shop-single div.product form.variations_form .single_variation_wrap .woocommerce-variation-add-to-cart .single_add_to_cart_button.button {
  width: 100% !important;
  min-width: 0;
}

.scmg-shop-single div.product form.variations_form .woocommerce-variation-price {
  margin-bottom: 0.18rem;
}

.scmg-shop-single div.product form.variations_form .woocommerce-variation-description p {
  margin: 0 0 0.55rem;
  font-size: 0.94rem;
  line-height: 1.45;
  color: rgba(35, 39, 43, 0.84);
}

.scmg-shop-single div.product form.cart:not(.variations_form) {
  margin: 0.1rem 0 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.62rem;
}

.scmg-shop-single div.product form.cart .quantity {
  margin: 0;
}

.scmg-shop-single div.product form.cart:not(.variations_form) .quantity {
  width: 100%;
}

.scmg-shop-single .quantity .qty {
  min-height: 52px;
  min-width: 104px;
  border: 1px solid rgba(35, 39, 43, 0.22);
  border-radius: 0;
  background: #efefef;
  color: #23272b;
  padding: 0.6rem 0.75rem;
  font-size: 1rem;
  font-weight: 600;
}

.scmg-shop-single .quantity.scmg-qty-ready {
  display: inline-flex;
  align-items: stretch;
  min-height: 52px;
  border: 1px solid rgba(35, 39, 43, 0.22);
  background: #efefef;
}

.scmg-shop-single div.product form.cart:not(.variations_form) .quantity.scmg-qty-ready {
  width: 100%;
}

.scmg-shop-single .quantity.scmg-qty-ready .qty {
  width: 64px;
  min-width: 64px;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0 0.3rem;
  text-align: center;
  -moz-appearance: textfield;
}

.scmg-shop-single div.product form.cart:not(.variations_form) .quantity.scmg-qty-ready .qty {
  width: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.scmg-shop-single .quantity.scmg-qty-ready .qty::-webkit-outer-spin-button,
.scmg-shop-single .quantity.scmg-qty-ready .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.scmg-shop-single .scmg-qty-btn {
  width: 52px;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #e3e3e3;
  color: #23272b;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.scmg-shop-single .scmg-qty-btn:hover {
  background: #d6d6d6;
}

.scmg-shop-single .scmg-qty-btn:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.45);
  outline-offset: -2px;
}

.scmg-shop-single .scmg-qty-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.scmg-shop-single .single_add_to_cart_button.button.alt,
.scmg-shop-single .single_add_to_cart_button.button,
.scmg-shop-single a.button.alt,
.scmg-shop-single button.button.alt {
  min-height: 52px;
  border: 1px solid #23272b !important;
  border-radius: 0 !important;
  background: #23272b !important;
  color: #f5f6f6 !important;
  font-size: 0.94rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  padding: 0.65rem 1.35rem !important;
}

.scmg-shop-single div.product form.cart:not(.variations_form) .single_add_to_cart_button.button.alt,
.scmg-shop-single div.product form.cart:not(.variations_form) .single_add_to_cart_button.button,
.scmg-shop-single div.product form.cart:not(.variations_form) a.button.alt,
.scmg-shop-single div.product form.cart:not(.variations_form) button.button.alt {
  flex: 0 0 auto;
  width: 100% !important;
  min-width: 0;
}

.scmg-shop-single .single_add_to_cart_button.button.alt:hover,
.scmg-shop-single .single_add_to_cart_button.button:hover {
  background: #12181b !important;
  border-color: #12181b !important;
}

.scmg-shop-single .stock {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.68);
}

.scmg-shop-single div.product .product_meta {
  margin-top: 0.35rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(35, 39, 43, 0.14);
  font-size: 0.8rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.72);
}

.scmg-shop-single div.product .product_meta > span {
  display: block;
  margin: 0.24rem 0;
}

.scmg-shop-single div.product .product_meta a {
  text-decoration: none;
  color: #23272b;
}

.scmg-shop-single div.product .woocommerce-tabs {
  grid-area: tabs;
  margin-top: 0.15rem;
}

.scmg-shop-single div.product .woocommerce-tabs ul.tabs {
  margin: 0 0 0.78rem;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.scmg-shop-single div.product .woocommerce-tabs ul.tabs::before {
  content: none;
}

.scmg-shop-single div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.scmg-shop-single div.product .woocommerce-tabs ul.tabs li::before,
.scmg-shop-single div.product .woocommerce-tabs ul.tabs li::after {
  content: none;
}

.scmg-shop-single div.product .woocommerce-tabs ul.tabs li a {
  border: 1px solid rgba(35, 39, 43, 0.2);
  border-radius: 0;
  padding: 0.62rem 0.9rem;
  color: rgba(35, 39, 43, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.scmg-shop-single div.product .woocommerce-tabs ul.tabs li.active a {
  background: #23272b;
  border-color: #23272b;
  color: #f5f6f6;
}

.scmg-shop-single div.product .woocommerce-tabs .panel {
  margin: 0;
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  padding: clamp(1rem, 1.9vw, 1.35rem);
}

.scmg-shop-single div.product .woocommerce-tabs .panel p,
.scmg-shop-single div.product .woocommerce-tabs .panel li,
.scmg-shop-single div.product .woocommerce-tabs .panel td,
.scmg-shop-single div.product .woocommerce-tabs .panel th {
  color: rgba(35, 39, 43, 0.9);
}

.scmg-shop-single div.product .related.products,
.scmg-shop-single div.product .up-sells {
  margin-top: 0.2rem;
}

.scmg-shop-single div.product .related.products {
  grid-area: related;
}

.scmg-shop-single div.product .up-sells {
  grid-area: upsells;
}

.scmg-shop-single div.product .related.products > h2,
.scmg-shop-single div.product .up-sells > h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #23272b;
}

.scmg-shop-single div.product .related.products ul.products,
.scmg-shop-single div.product .up-sells ul.products {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.scmg-shop-single div.product .related.products ul.products::before,
.scmg-shop-single div.product .related.products ul.products::after,
.scmg-shop-single div.product .up-sells ul.products::before,
.scmg-shop-single div.product .up-sells ul.products::after {
  content: none;
}

.scmg-shop-single div.product .related.products ul.products li.product,
.scmg-shop-single div.product .up-sells ul.products li.product {
  width: auto;
  float: none;
  margin: 0;
}

@media (max-width: 1160px) {
  .scmg-shop-single div.product {
    grid-template-columns: 1fr;
    grid-template-areas:
      "images"
      "summary"
      "tabs"
      "related"
      "upsells";
  }

  .scmg-shop-single div.product .summary,
  .scmg-shop-single div.product .entry-summary {
    position: static;
  }

  .scmg-shop-single div.product .related.products ul.products,
  .scmg-shop-single div.product .up-sells ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .scmg-shop-single-main {
    padding-top: calc(var(--scmg-header-height) + 1rem) !important;
  }

  .scmg-shop-single {
    padding-top: 2rem;
  }

  .scmg-shop-single div.product .related.products ul.products,
  .scmg-shop-single div.product .up-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }
}

@media (max-width: 640px) {
  .scmg-woo-snackbar-stack {
    width: calc(100vw - 0.8rem);
    bottom: max(0.5rem, env(safe-area-inset-bottom));
    gap: 0.45rem;
  }

  .scmg-woo-snackbar {
    border-radius: 10px !important;
    padding: 0.74rem 2.9rem 0.74rem 0.82rem !important;
    font-size: 0.9rem;
  }

  .scmg-woo-snackbar__close {
    top: 0.34rem;
    right: 0.34rem;
    width: 1.75rem;
    height: 1.75rem;
  }

  body.woocommerce span.onsale,
  body.woocommerce-page span.onsale {
    top: 0.58rem !important;
    left: 0.58rem !important;
    padding: 0.34rem 0.52rem !important;
    border-radius: 7px !important;
    font-size: 0.66rem !important;
  }

  .scmg-shop-single {
    padding-top: 1.7rem;
  }

  .scmg-shop-single div.product .images,
  .scmg-shop-single div.product .woocommerce-product-gallery {
    border-radius: 12px;
    padding: 0.55rem;
  }

  .scmg-shop-single div.product .summary,
  .scmg-shop-single div.product .entry-summary {
    border-radius: 12px;
    padding: 0.88rem;
  }

  .scmg-shop-single div.product form.variations_form table.variations {
    border-spacing: 0 0.45rem;
  }

  .scmg-shop-single div.product form.variations_form table.variations tr {
    grid-template-columns: 1fr;
    gap: 0.28rem;
    align-items: start;
  }

  .scmg-shop-single div.product form.variations_form table.variations th.label label {
    font-size: 0.98rem;
  }

  .scmg-shop-single div.product form.variations_form table.variations td.value select {
    min-height: 48px;
    font-size: 0.98rem;
    padding-right: 2.5rem;
  }

  .scmg-shop-single div.product form.variations_form table.variations td.value::after {
    right: 0.86rem;
  }

  .scmg-shop-single div.product form.cart:not(.variations_form) {
    gap: 0.5rem;
  }

  .scmg-shop-single .quantity .qty {
    min-width: 90px;
    min-height: 48px;
  }

  .scmg-shop-single .single_add_to_cart_button.button.alt,
  .scmg-shop-single .single_add_to_cart_button.button,
  .scmg-shop-single a.button.alt,
  .scmg-shop-single button.button.alt {
    width: auto;
  }

  .scmg-shop-single .quantity.scmg-qty-ready {
    min-height: 48px;
  }

  .scmg-shop-single .quantity.scmg-qty-ready .qty {
    width: 56px;
    min-width: 56px;
    min-height: 48px;
  }

  .scmg-shop-single .scmg-qty-btn {
    width: 46px;
  }

  .scmg-shop-single div.product .related.products ul.products,
  .scmg-shop-single div.product .up-sells ul.products {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 0.75rem) / 2);
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
  }

  .scmg-shop-single div.product .related.products ul.products::-webkit-scrollbar,
  .scmg-shop-single div.product .up-sells ul.products::-webkit-scrollbar {
    display: none;
  }

  .scmg-shop-single div.product .related.products ul.products li.product,
  .scmg-shop-single div.product .up-sells ul.products li.product {
    scroll-snap-align: start;
  }
}

/* Strong single-product layout override to avoid Woo fallback styles taking precedence. */
.scmg-shop-single .scmg-single-product {
  margin: 0;
}

.scmg-shop-single .scmg-single-product__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(1.1rem, 2vw, 1.7rem);
  align-items: start;
}

.scmg-shop-single .scmg-single-product__gallery .woocommerce-product-gallery,
.scmg-shop-single .scmg-single-product__summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.scmg-shop-single .scmg-single-product__gallery {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.scmg-shop-single .scmg-single-product__summary {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 242, 236, 0.74) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  padding: clamp(1rem, 2.2vw, 1.6rem);
  position: sticky;
  top: calc(var(--scmg-header-height) + 1rem);
}

.scmg-shop-single .scmg-single-product__bottom {
  margin-top: clamp(1.1rem, 2.1vw, 1.9rem);
}

.scmg-shop-single .scmg-single-product__bottom .woocommerce-tabs,
.scmg-shop-single .scmg-single-product__bottom .related.products,
.scmg-shop-single .scmg-single-product__bottom .up-sells {
  margin-top: 0;
}

@media (max-width: 1160px) {
  .scmg-shop-single .scmg-single-product__top {
    grid-template-columns: 1fr;
  }

  .scmg-shop-single .scmg-single-product__summary {
    position: static;
  }
}

@media (max-width: 640px) {
  .scmg-shop-single .scmg-single-product__gallery {
    border-radius: 0;
    padding: 0;
  }

  .scmg-shop-single .scmg-single-product__summary {
    border-radius: 12px;
    padding: 0.88rem;
  }
}

.scmg-showroom-cta-section {
  position: relative;
  min-height: 430px;
  padding: 0;
  background-image: url("https://ubwhcypp.elementor.cloud/wp-content/uploads/2026/03/workshop-63-scaled.webp");
  background-size: cover;
  background-position: center;
  color: #f5f6f6;
  overflow: hidden;
}

.scmg-showroom-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(139, 143, 137, 0.66) 0%, rgba(139, 143, 137, 0.62) 36%, rgba(64, 69, 70, 0.12) 100%),
    linear-gradient(180deg, rgba(33, 36, 36, 0.18) 0%, rgba(33, 36, 36, 0.26) 100%);
}

.scmg-showroom-cta__content {
  position: relative;
  z-index: 1;
  max-width: 1220px;
}

.scmg-showroom-cta-section .scmg-section-shell {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: center;
}

.scmg-showroom-cta__content h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.05vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.scmg-showroom-cta__content p {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  line-height: 1.35;
  max-width: 1200px;
  color: rgba(245, 246, 246, 0.96);
}

.scmg-showroom-cta__actions {
  margin-top: 2.25rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.scmg-showroom-cta__actions .scmg-btn {
  min-width: 250px;
}

body.page-about-us .site-main,
body.page-template-page-about-us .site-main {
  padding-top: 0 !important;
}

.site-main.scmg-about-page {
  padding-top: 0 !important;
}

.scmg-about-page {
  background: #efefef;
  color: #23272b;
}

.scmg-page-hero {
  min-height: 58vh;
}

.scmg-about-hero {
  position: relative;
  min-height: 58vh;
  overflow: hidden;
  isolation: isolate;
}

.scmg-about-hero__media {
  position: absolute;
  inset: 0;
}

.scmg-about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scmg-about-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.44) 8%, rgba(8, 12, 16, 0.68) 100%);
}

.scmg-about-hero__inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--scmg-header-height) + 1rem);
  padding-bottom: clamp(2.6rem, 7vw, 5rem);
}

.scmg-about-hero__content {
  max-width: 960px;
}

.scmg-about-hero__content h1 {
  margin: 0;
  color: #f5f6f6;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 600;
}

.scmg-about-hero__content h2 {
  margin: 0.75rem 0 0;
  color: rgba(245, 246, 246, 0.96);
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  line-height: 1.3;
  font-weight: 500;
}

.scmg-about-hero__note {
  margin: 0.85rem 0 0;
  max-width: 1100px;
  color: rgba(245, 246, 246, 0.94);
  font-size: clamp(0.94rem, 1.12vw, 1.08rem);
  line-height: 1.45;
  font-weight: 500;
}

.scmg-about-hero__actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.scmg-about-section {
  padding: clamp(3.8rem, 7vw, 5.6rem) 0;
}

.scmg-about-heritage__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1.8rem, 4vw, 4.6rem);
  align-items: stretch;
}

.scmg-about-heritage__intro {
  margin: 1.15rem 0 0;
  max-width: 760px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.scmg-about-heritage__copy {
  min-width: 0;
}

.scmg-about-timeline {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.45rem;
}

.scmg-about-timeline__item {
  position: relative;
  padding-left: 1.25rem;
  border-left: 1px solid rgba(35, 39, 43, 0.25);
}

.scmg-about-timeline__item.is-reveal-pending {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: opacity, transform;
}

.scmg-about-timeline__item.is-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.scmg-about-timeline__item::before {
  content: "";
  position: absolute;
  left: -9px;
  top: -1.06rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6f757a;
}

.scmg-about-timeline__item h4 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 600;
}

.scmg-about-timeline__item p {
  margin: 0.5rem 0 0;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.58;
  color: rgba(35, 39, 43, 0.9);
}

@media (prefers-reduced-motion: reduce) {
  .scmg-about-timeline__item.is-reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.scmg-about-timeline__hint {
  display: none;
  margin: 0.7rem 0 0.55rem;
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(35, 39, 43, 0.78);
}

.scmg-about-heritage__image-wrap {
  height: 100%;
  align-self: stretch;
}

.scmg-about-heritage__image-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  display: block;
  min-height: 100%;
  object-fit: cover;
}

.scmg-about-commitment {
  background: #e5e5e5;
}

.scmg-about-commitment__head {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.scmg-about-commitment__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.scmg-about-commitment__card {
  border-left: 1px solid rgba(35, 39, 43, 0.24);
  padding-left: 1rem;
}

.scmg-about-commitment__card h3 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 600;
}

.scmg-about-commitment__card p {
  margin: 0.7rem 0 0;
  font-size: 0.96rem;
  line-height: 1.55;
}

.scmg-about-advantage__head {
  max-width: 960px;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

.scmg-about-advantage__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 4vw, 4.5rem);
  align-items: stretch;
}

.scmg-about-advantage__image-wrap {
  position: relative;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.scmg-about-advantage__image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.scmg-about-advantage__list {
  margin: 0;
  padding: clamp(0.25rem, 0.6vw, 0.55rem) 0 0 clamp(0.35rem, 0.8vw, 0.85rem);
  list-style: none;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 1.45rem;
}

.scmg-about-advantage__list li {
  display: block;
}

.scmg-about-advantage__accordion {
  display: block;
}

.scmg-about-advantage__summary {
  display: grid;
  grid-template-columns: 1.8rem 1fr auto;
  gap: 0.9rem;
  align-items: start;
  list-style: none;
  cursor: pointer;
}

.scmg-about-advantage__summary::-webkit-details-marker {
  display: none;
}

.scmg-about-advantage__summary::marker {
  content: "";
}

.scmg-about-advantage__summary h3 {
  margin: 0;
}

.scmg-about-advantage__arrow {
  font-size: 1.4rem;
  line-height: 1.1;
  margin-top: 0.2rem;
}

.scmg-about-advantage__chevron {
  width: 0.62rem;
  height: 0.62rem;
  border-right: 2px solid rgba(35, 39, 43, 0.72);
  border-bottom: 2px solid rgba(35, 39, 43, 0.72);
  transform: rotate(45deg);
  transition: transform 180ms ease;
  margin-top: 0.34rem;
}

.scmg-about-advantage__accordion[open] .scmg-about-advantage__chevron {
  transform: rotate(-135deg);
}

.scmg-about-advantage__list h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.scmg-about-advantage__list p {
  margin: 0.5rem 0 0 calc(1.8rem + 0.9rem);
  font-size: 1rem;
  line-height: 1.56;
}

@media (min-width: 641px) {
  .scmg-about-advantage__summary {
    grid-template-columns: 1.8rem 1fr;
    cursor: default;
    pointer-events: none;
  }

  .scmg-about-advantage__chevron {
    display: none;
  }

  .scmg-about-advantage__accordion > p {
    display: block !important;
  }
}

.scmg-about-experts {
  overflow-x: hidden;
}

.scmg-about-experts__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
}

.scmg-about-experts__rail {
  --scmg-expert-card-width: clamp(420px, 31vw, 560px);
  margin-top: 1.7rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.3rem;
  margin-right: calc(-1 * (max(0px, (100vw - var(--scmg-max-width)) / 2) + 2rem));
  padding-right: 2rem;
}

.scmg-about-experts__rail::-webkit-scrollbar {
  display: none;
}

.scmg-about-expert-card {
  position: relative;
  flex: 0 0 var(--scmg-expert-card-width);
  width: var(--scmg-expert-card-width);
  scroll-snap-align: start;
  border-radius: 8px;
  overflow: hidden;
  background: #d1d1d1;
  min-height: 0;
  aspect-ratio: 1 / 1;
  outline: none;
}

.scmg-about-expert-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.scmg-about-expert-card__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.95rem 0.9rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 20, 24, 0) 0%, rgba(16, 20, 24, 0.82) 100%);
  transition: opacity 220ms ease, transform 220ms ease;
}

.scmg-about-expert-card__meta h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.2;
}

.scmg-about-expert-card__meta p {
  margin: 0.18rem 0 0;
  font-size: 0.9rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.scmg-about-expert-card__hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem;
  color: #f5f6f6;
  background: rgba(139, 143, 137, 0.93);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.scmg-about-expert-card__hover h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 600;
}

.scmg-about-expert-card__hover p {
  margin: 0.66rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.scmg-about-expert-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(27, 33, 37, 0.45);
}

@media (hover: hover) and (pointer: fine) {
  .scmg-about-expert-card:hover .scmg-about-expert-card__meta,
  .scmg-about-expert-card:focus-visible .scmg-about-expert-card__meta {
    opacity: 0;
    transform: translateY(10px);
  }

  .scmg-about-expert-card:hover .scmg-about-expert-card__hover,
  .scmg-about-expert-card:focus-visible .scmg-about-expert-card__hover {
    opacity: 1;
    transform: translateY(0);
  }
}

.scmg-about-coverage {
  padding-top: clamp(3rem, 6vw, 4.6rem);
}

.scmg-about-coverage__head {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.scmg-about-coverage__map {
  margin-top: 1.5rem;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 10px;
}

.scmg-about-coverage__areas {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.62rem;
}

.scmg-about-coverage__areas li {
  background: #e3e3e3;
  border: 1px solid rgba(35, 39, 43, 0.12);
  border-radius: 4px;
  padding: 0.6rem 0.45rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.scmg-about-coverage__note {
  margin: 1rem auto 0;
  max-width: 940px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 500;
}

.scmg-about-standards {
  background: #e5e5e5;
  text-align: center;
  padding-top: clamp(4.8rem, 9vw, 7rem);
  padding-bottom: clamp(5rem, 10vw, 7.6rem);
}

.scmg-about-standards__head {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.scmg-about-standards__head .scmg-section-subtitle {
  margin-top: 1rem;
}

.scmg-about-standards__logos {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: center;
  justify-items: center;
}

.scmg-about-standards__logos img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 128px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: darken;
}

.scmg-about-standards__process {
  margin-top: 1.15rem;
}

.scmg-about-standards__process p {
  margin: 2rem auto 0;
  max-width: 920px;
  font-size: 1.02rem;
  line-height: 1.58;
}

.scmg-about-standards__steps li.scmg-about-standards__summary {
  display: none;
}

.scmg-about-standards__steps {
  margin: 2rem auto 0;
  padding: 0;
  max-width: 1280px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
  counter-reset: scmg-qa-step;
  position: relative;
}

.scmg-about-standards__steps::before {
  content: "";
  position: absolute;
  top: 1.22rem;
  left: 6%;
  right: 6%;
  height: 1px;
  background: rgba(35, 39, 43, 0.18);
}

.scmg-about-standards__steps li {
  counter-increment: scmg-qa-step;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.74rem;
  min-height: 132px;
  padding: 1rem 1rem 1.05rem;
  border: 1px solid rgba(35, 39, 43, 0.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #ececec 0%, #e3e3e3 100%);
  text-align: left;
  font-size: clamp(0.98rem, 1.75vw, 1.06rem);
  line-height: 1.45;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.scmg-about-standards__steps li::before {
  content: counter(scmg-qa-step);
  flex: 0 0 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #23272b;
  color: #f5f6f6;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
}

.scmg-about-standards__steps li:hover,
.scmg-about-standards__steps li:focus-within {
  transform: translateY(-1px);
  border-color: rgba(35, 39, 43, 0.32);
  box-shadow: 0 8px 20px rgba(35, 39, 43, 0.08);
}

.scmg-about-cta {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.scmg-materials-collections {
  background: #efefef;
  color: #23272b;
  padding-top: clamp(3.2rem, 6vw, 5rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  overflow-x: hidden;
}

.scmg-materials-stock-alert {
  position: relative;
  margin: 0 0 clamp(1.3rem, 3.4vw, 2.1rem);
  width: 100%;
  padding: clamp(0.9rem, 1.6vw, 1.15rem) clamp(1rem, 2vw, 1.35rem);
  background: #ffffff;
  border: 1px solid rgba(35, 39, 43, 0.16);
  border-left: 6px solid #23272b;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(35, 39, 43, 0.08);
}

.scmg-materials-stock-alert p {
  margin: 0;
  font-size: clamp(0.95rem, 1.08vw, 1.05rem);
  line-height: 1.5;
  font-weight: 600;
  color: rgba(35, 39, 43, 0.95);
}

.scmg-materials-collection + .scmg-materials-collection {
  margin-top: clamp(2.8rem, 6vw, 4.8rem);
}

.scmg-materials-collection__head {
  align-items: flex-end;
}

.scmg-materials-collection__intro {
  max-width: 980px;
}

.scmg-materials-collection__title {
  margin: 0;
  font-size: clamp(1.85rem, 2.7vw, 2.8rem);
  line-height: 1.14;
  font-weight: 600;
}

.scmg-materials-collection__description {
  margin: 0.72rem 0 0;
  max-width: 980px;
  font-size: clamp(1.04rem, 1.4vw, 1.45rem);
  line-height: 1.36;
  font-weight: 500;
}

.scmg-materials-collection__cta {
  margin-top: 1.1rem;
  min-width: 0;
  padding: 0.72rem 1.05rem;
  font-size: 1rem;
}

.scmg-materials-rail {
  margin-top: 1.5rem;
}

.scmg-materials-card::after {
  display: none;
}

.scmg-materials-card__trigger {
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.scmg-materials-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(27, 33, 37, 0.45);
}

.scmg-materials-card__hover {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.12rem 1rem;
  color: #f5f6f6;
  background: linear-gradient(180deg, rgba(18, 22, 26, 0.1) 30%, var(--scmg-materials-overlay, rgba(93, 102, 108, 0.92)) 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.scmg-materials-card__hover-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
}

.scmg-materials-card__hover-copy {
  margin: 0.5rem 0 0;
  font-size: clamp(0.85rem, 0.9vw, 0.98rem);
  line-height: 1.4;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.scmg-materials-collection--granite {
  --scmg-materials-overlay: rgba(116, 98, 75, 0.93);
}

.scmg-materials-collection--quartz {
  --scmg-materials-overlay: rgba(78, 109, 116, 0.93);
}

.scmg-materials-collection--marble {
  --scmg-materials-overlay: rgba(90, 84, 99, 0.93);
}

.scmg-materials-collection--quartzite {
  --scmg-materials-overlay: rgba(124, 88, 86, 0.93);
}

.scmg-materials-collection--ceramics {
  --scmg-materials-overlay: rgba(81, 94, 92, 0.93);
}

@media (hover: hover) and (pointer: fine) {
  .scmg-materials-card:hover img,
  .scmg-materials-card:focus-visible img {
    transform: scale(1.035);
  }

  .scmg-materials-card:hover .scmg-materials-card__hover,
  .scmg-materials-card:focus-visible .scmg-materials-card__hover {
    opacity: 1;
    transform: translateY(0);
  }
}

.scmg-materials-catalog {
  background: #efefef;
  color: #23272b;
  padding-top: clamp(3.4rem, 6vw, 4.8rem);
  padding-bottom: clamp(4rem, 7vw, 5.6rem);
}

.scmg-materials-catalog__search {
  margin: 0 0 1.35rem;
  width: min(100%, 460px);
}

.scmg-materials-catalog__search-input {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid rgba(35, 39, 43, 0.24);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  background: #f7f7f7;
  color: #23272b;
  font-size: 0.98rem;
  line-height: 1.2;
}

.scmg-materials-catalog__search-input::placeholder {
  color: rgba(35, 39, 43, 0.58);
}

.scmg-materials-catalog__search-input:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.4);
  outline-offset: 2px;
}

.scmg-materials-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.scmg-materials-catalog-card {
  background: #efefef;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 320ms ease, transform 320ms ease;
}

.scmg-materials-catalog-card.is-loading-in {
  opacity: 0;
  transform: translateY(14px);
}

.scmg-materials-catalog-card__trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
}

.scmg-materials-catalog-card__trigger:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.35);
  outline-offset: 2px;
}

.scmg-materials-catalog-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #d8d8d8;
  border-radius: 12px;
  overflow: hidden;
}

.scmg-materials-catalog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.scmg-materials-catalog-card__body {
  padding: 1rem 1rem 1.15rem;
}

.scmg-materials-catalog-card__body h3 {
  margin: 0;
  font-size: clamp(1.08rem, 1.3vw, 1.3rem);
  line-height: 1.15;
  font-weight: 700;
}

.scmg-materials-catalog-card__finish {
  margin: 0.45rem 0 0;
  font-size: 0.84rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(35, 39, 43, 0.68);
}

.scmg-materials-catalog-card__copy {
  margin: 0.55rem 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.scmg-materials-catalog-card.is-placeholder {
  border: 0;
}

.scmg-materials-catalog__pagination {
  margin-top: 1.5rem;
}

.scmg-materials-catalog__pagination ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.scmg-materials-catalog__pagination a,
.scmg-materials-catalog__pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  min-height: 2.1rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(35, 39, 43, 0.22);
  color: #23272b;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.scmg-materials-catalog__pagination .current {
  background: #23272b;
  color: #efefef;
}

.scmg-materials-catalog__infinite {
  margin-top: 1.25rem;
  min-height: 2rem;
  display: flex;
  justify-content: center;
}

.scmg-materials-catalog__loader {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(35, 39, 43, 0.78);
}

.scmg-materials-catalog__loader[hidden] {
  display: none !important;
}

.scmg-materials-catalog__infinite.is-complete .scmg-materials-catalog__loader {
  display: none !important;
}

.scmg-materials-catalog__complete {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(35, 39, 43, 0.78);
}

.scmg-materials-catalog__spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(35, 39, 43, 0.2);
  border-top-color: rgba(35, 39, 43, 0.85);
  animation: scmg-materials-spin 0.8s linear infinite;
}

.scmg-materials-catalog__sentinel {
  width: 100%;
  height: 1px;
}

@keyframes scmg-materials-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scmg-materials-catalog-card {
    transition: none;
  }

  .scmg-materials-catalog__spinner {
    animation: none;
  }
}

.scmg-materials-catalog__empty {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.scmg-materials-catalog__empty--dynamic {
  grid-column: 1 / -1;
}

.scmg-stone-modal[hidden] {
  display: none;
}

.scmg-stone-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(0.9rem, 3vw, 2.2rem);
}

.scmg-stone-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 20, 0.68);
}

.scmg-stone-modal__dialog {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(1020px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  background: #efefef;
  color: #23272b;
  border-radius: 14px;
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.scmg-stone-modal__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 22, 26, 0.88);
  color: #f5f6f6;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.scmg-stone-modal__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: clamp(260px, 34vw, 460px);
  max-height: min(56vh, 520px);
  background: #d8d8d8;
  overflow: hidden;
}

.scmg-stone-modal__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.scmg-stone-modal__content {
  padding: clamp(1.2rem, 3vw, 2.1rem);
}

.scmg-stone-modal__content h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.1;
}

.scmg-stone-modal__finish {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(35, 39, 43, 0.72);
}

.scmg-stone-modal__short {
  margin: 1rem 0 0;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 600;
}

.scmg-portfolio-page,
.scmg-portfolio-single-page {
  background: #efefef;
  color: #23272b;
}

.scmg-portfolio-archive {
  padding-top: calc(var(--scmg-header-height) + clamp(1.8rem, 4vw, 3.4rem));
}

.scmg-portfolio-archive__head {
  text-align: center;
  max-width: 1120px;
  margin: 0 auto;
}

.scmg-portfolio-archive__title {
  margin: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: none;
}

.scmg-portfolio-filter {
  margin: 2.1rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(35, 39, 43, 0.12);
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 1rem;
}

.scmg-portfolio-filter__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.12rem;
  text-decoration: none;
  color: rgba(35, 39, 43, 0.62);
  font-size: 1.03rem;
  line-height: 1.2;
  font-weight: 500;
}

.scmg-portfolio-filter__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22rem;
  height: 2px;
  background: transparent;
}

.scmg-portfolio-filter__link:hover {
  color: #23272b;
}

.scmg-portfolio-filter__link.is-active {
  color: #23272b;
}

.scmg-portfolio-filter__link.is-active::after {
  background: #23272b;
}

.scmg-portfolio-grid {
  margin-top: 2.3rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.scmg-portfolio-card {
  position: relative;
  display: block;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
  text-decoration: none;
  color: #f5f6f6;
  background: #d7d7d7;
  border-radius: 18px;
  border: 1px solid rgba(35, 39, 43, 0.08);
  box-shadow: 0 10px 20px rgba(16, 21, 24, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.scmg-portfolio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 320ms ease;
}

.scmg-portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 15, 0) 42%, rgba(10, 13, 15, 0.72) 100%);
}

.scmg-portfolio-card__content {
  position: absolute;
  left: clamp(1rem, 1.2vw, 1.35rem);
  right: clamp(1rem, 1.2vw, 1.35rem);
  bottom: clamp(1rem, 1.25vw, 1.4rem);
  z-index: 2;
}

.scmg-portfolio-card__content h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.55vw, 1.75rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.scmg-portfolio-card__location,
.scmg-portfolio-card__stone {
  margin: 0.28rem 0 0;
  font-size: clamp(0.95rem, 0.95vw, 1.12rem);
  line-height: 1.35;
  font-weight: 500;
}

.scmg-portfolio-card:hover img {
  transform: scale(1.03);
}

.scmg-portfolio-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(16, 21, 24, 0.13);
}

.scmg-portfolio-pagination {
  margin-top: 1.75rem;
}

.scmg-portfolio-empty {
  margin-top: 2.4rem;
  border: 1px dashed rgba(35, 39, 43, 0.2);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.scmg-portfolio-empty h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.2;
}

.scmg-portfolio-empty p {
  margin: 0.62rem 0 0;
  font-size: 1.03rem;
  line-height: 1.45;
}

.scmg-portfolio-single {
  padding-top: clamp(3rem, 5vw, 4.2rem);
}

.scmg-portfolio-single-hero .scmg-about-hero__overlay {
  background: linear-gradient(180deg, rgba(8, 12, 16, 0.42) 12%, rgba(8, 12, 16, 0.74) 100%);
}

.scmg-portfolio-single-hero__content {
  max-width: 980px;
}

.scmg-portfolio-single-hero__content h1 {
  margin: 0;
  color: #f5f6f6;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.scmg-portfolio-single-hero__meta {
  margin: 0.72rem 0 0;
  color: rgba(245, 246, 246, 0.92);
  font-size: clamp(0.94rem, 1.1vw, 1.08rem);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scmg-portfolio-single__head {
  margin-top: 0;
}

.scmg-portfolio-single__head h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.scmg-portfolio-single__meta {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
}

.scmg-portfolio-single__meta p {
  margin: 0;
  display: grid;
  gap: 0.15rem;
}

.scmg-portfolio-single__meta span {
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.62);
}

.scmg-portfolio-single__meta strong {
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
}

.scmg-portfolio-single__description {
  margin-top: 1.35rem;
  max-width: 1100px;
}

.scmg-portfolio-single__description p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.64;
}

.scmg-portfolio-single__description p + p {
  margin-top: 1rem;
}

.scmg-portfolio-single__gallery-wrap {
  margin-top: 2rem;
}

.scmg-portfolio-gallery {
  display: grid;
  gap: 0.9rem;
}

.scmg-portfolio-gallery__main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #dadada;
  touch-action: pan-y;
}

.scmg-portfolio-gallery__main-track {
  display: grid;
  grid-template-columns: 1fr;
}

.scmg-portfolio-gallery__main-image {
  width: 100%;
  height: clamp(320px, 50vw, 760px);
  display: block;
  object-fit: cover;
}

.scmg-portfolio-gallery__main-image--secondary {
  display: none;
}

.scmg-portfolio-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(10, 13, 15, 0.3);
  color: #f5f6f6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.scmg-portfolio-gallery__nav:hover {
  background: rgba(10, 13, 15, 0.52);
  border-color: rgba(255, 255, 255, 0.9);
}

.scmg-portfolio-gallery__nav--prev {
  left: 0.85rem;
}

.scmg-portfolio-gallery__nav--next {
  right: 0.85rem;
}

.scmg-portfolio-gallery__nav span {
  font-size: 1.2rem;
  line-height: 1;
}

.scmg-portfolio-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 0.75rem;
}

.scmg-portfolio-gallery__thumb {
  margin: 0;
  padding: 0;
  appearance: none;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #e1e1e1;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.scmg-portfolio-gallery__thumb:hover {
  border-color: rgba(35, 39, 43, 0.35);
}

.scmg-portfolio-gallery__thumb.is-active {
  border-color: #23272b;
}

.scmg-portfolio-gallery__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

@media (min-width: 961px) {
  .scmg-portfolio-gallery.has-multiple .scmg-portfolio-gallery__main-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }

  .scmg-portfolio-gallery.has-multiple .scmg-portfolio-gallery__main {
    overflow: visible;
    background: transparent;
  }

  .scmg-portfolio-gallery.has-multiple .scmg-portfolio-gallery__main-image {
    height: clamp(300px, 32vw, 540px);
    border-radius: 14px;
  }

  .scmg-portfolio-gallery.has-multiple .scmg-portfolio-gallery__main-image--secondary {
    display: block;
  }
}

.scmg-services-process {
  position: relative;
  z-index: 1;
  padding-top: clamp(1.45rem, 2.4vw, 2.1rem);
  background: linear-gradient(180deg, #efefef 0%, #e9e6e1 100%);
}

.scmg-services-intro {
  position: relative;
  z-index: 2;
  padding-top: clamp(2.2rem, 4.2vw, 3rem);
  padding-bottom: clamp(0.55rem, 1.2vw, 0.9rem);
  background: #efefef;
}

.scmg-services-intro__panel {
  width: 100%;
  margin: 0;
  padding: clamp(1.15rem, 2.1vw, 1.8rem) clamp(1.1rem, 2.1vw, 1.85rem);
  border: 1px solid rgba(35, 39, 43, 0.16);
  border-radius: 18px;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.88) 0%, rgba(245, 243, 238, 0.92) 100%);
  box-shadow: 0 16px 34px rgba(17, 21, 24, 0.11);
}

.scmg-services-intro__title {
  margin: 0 0 0.72rem;
  font-size: clamp(1.24rem, 1.9vw, 1.75rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.scmg-services-intro__copy {
  margin: 0;
  max-width: none;
  font-size: clamp(1rem, 1.15vw, 1.22rem);
  line-height: 1.78;
  color: rgba(35, 39, 43, 0.88);
}

.scmg-services-process__head {
  max-width: 980px;
}

.scmg-services-process__controls {
  display: none;
}

.scmg-services-process__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body:not(.home) .site-main article.scmg-services-process-card,
body:not(.home) .site-main article.scmg-services-levels-card,
body:not(.home) .site-main article.scmg-services-journey__step,
body:not(.home) .site-main article.scmg-materials-catalog-card {
  max-width: none;
  margin: 0;
}

body:not(.home) .site-main article.scmg-services-process-card {
  padding: 0;
}

body:not(.home) .site-main article.scmg-services-levels-card {
  padding: 0 1.6rem 1.55rem;
}

body:not(.home) .site-main article.scmg-services-journey__step {
  width: 100%;
  padding: 0;
}

body:not(.home) .site-main article.scmg-materials-catalog-card {
  padding: 0;
}

.scmg-services-process-card {
  display: flex;
  flex-direction: column;
  background: #efefef;
  border: 1px solid rgba(35, 39, 43, 0.12);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
}

.scmg-services-process-card__media {
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
  border-radius: 14px 14px 0 0;
  padding: 0;
  overflow: hidden;
}

.scmg-services-process-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scmg-services-process-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.1) 28%, rgba(10, 12, 14, 0.7) 100%);
}

.scmg-services-process-card__media h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  width: 100%;
  padding: 0 1.45rem 1.35rem;
  max-width: 90%;
  color: #f5f6f6;
  font-size: clamp(1rem, 1.7vw, 2.15rem);
  line-height: 1.08;
  font-weight: 600;
}

.scmg-services-process-card__body {
  padding: 1.5rem 1.5rem 1.6rem;
  flex: 1;
}

.scmg-services-process-card__body ul {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
  display: grid;
  gap: 0.48rem;
}

.scmg-services-process-card__body li {
  font-size: clamp(0.98rem, 1.06vw, 1.13rem);
  line-height: 1.4;
  font-weight: 500;
}

.scmg-services-levels {
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
}

.scmg-services-levels__head {
  text-align: center;
}

.scmg-services-levels__head .scmg-section-subtitle {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.scmg-services-levels__head .scmg-section-title {
  font-size: clamp(1.9rem, 2.7vw, 2.7rem);
}

.scmg-services-levels__head .scmg-section-subtitle {
  font-size: clamp(1rem, 1.2vw, 1.32rem);
  font-weight: 500;
}

.scmg-services-levels__grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.scmg-services-levels-card {
  --scmg-services-levels-border: rgba(35, 39, 43, 0.2);
  position: relative;
  border: 2px solid var(--scmg-services-levels-border);
  padding: 0 1.6rem 1.55rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 374px;
  background: #efefef;
  overflow: visible;
}

.scmg-services-levels-card__icon-wrap {
  margin: -32px auto 0;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.scmg-services-levels-card__line {
  display: none;
}

.scmg-services-levels-card__icon {
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #efefef;
  color: var(--scmg-services-levels-border);
}

.scmg-services-levels-card__icon img {
  width: 3.2rem;
  height: 3.2rem;
  display: block;
  object-fit: contain;
  opacity: 0.2;
}

.scmg-services-levels-card__body {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 1.25rem 1.2rem 1.4rem;
}

.scmg-services-levels-card__body h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.9vw, 2rem);
  line-height: 1.1;
  font-weight: 600;
}

.scmg-services-levels-card__body p {
  margin: 1.3rem auto 0;
  max-width: 610px;
  font-size: clamp(0.92rem, 0.92vw, 1.06rem);
  line-height: 1.33;
  font-weight: 500;
}

.scmg-services-levels-card__footer {
  grid-row: 3;
  align-self: end;
  width: fit-content;
  margin: 0 auto -65px;
  padding: 15px;
  background: #efefef;
  position: relative;
  z-index: 2;
}

.scmg-services-levels__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 56px;
  padding: 0.78rem 1rem;
  background: #efefef;
  border: 2px solid rgba(35, 39, 43, 0.08);
  color: #11181d;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.scmg-services-levels__btn:hover {
  border-color: rgba(35, 39, 43, 0.2);
}

.scmg-services-capabilities {
  background: #868686;
  color: #f2f2f2;
}

.scmg-services-capabilities .scmg-section-shell {
  max-width: 1260px;
}

.scmg-services-capabilities__head {
  text-align: center;
}

.scmg-services-capabilities__head .scmg-section-title {
  color: #f2f2f2;
  font-size: clamp(1.9rem, 2.8vw, 2.7rem);
}

.scmg-services-capabilities__head .scmg-section-subtitle {
  margin: 0.75rem auto 0;
  max-width: 760px;
  color: rgba(242, 242, 242, 0.94);
  font-size: clamp(1rem, 1.45vw, 1.5rem);
  line-height: 1.35;
  font-weight: 500;
}

.scmg-services-capabilities__grid {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 2.8rem) clamp(1.8rem, 4vw, 4rem);
}

.scmg-services-capabilities__item {
  text-align: center;
}

.scmg-services-capabilities__icon {
  width: clamp(3.5rem, 6vw, 5.1rem);
  height: clamp(3.5rem, 6vw, 5.1rem);
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f2f2f2;
}

.scmg-services-capabilities__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.scmg-services-capabilities__item h3 {
  margin: 1rem 0 0;
  color: #f2f2f2;
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  line-height: 1.15;
  font-weight: 600;
}

.scmg-services-capabilities__item p {
  margin: 0.75rem auto 0;
  max-width: 380px;
  color: rgba(242, 242, 242, 0.98);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.22;
  font-weight: 500;
}

.scmg-services-capabilities__cta {
  margin-top: clamp(1.8rem, 3vw, 2.8rem);
  text-align: center;
}

.scmg-services-capabilities__cta .scmg-btn {
  min-width: 210px;
  min-height: 56px;
}

.scmg-services-journey {
  background: #efefef;
  color: #23272b;
}

.scmg-services-journey__head {
  max-width: 760px;
}

.scmg-services-journey__chart {
  --scmg-journey-gap: clamp(1rem, 1.7vw, 1.4rem);
  --scmg-journey-line: rgba(35, 39, 43, 0.2);
  --scmg-journey-number-size: clamp(2.35rem, 2.45vw, 2.65rem);
  --scmg-journey-axis-y: 34%;
  margin-top: clamp(1.5rem, 2.7vw, 2.1rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--scmg-journey-gap);
  position: relative;
  overflow: visible;
  align-items: start;
  min-height: clamp(250px, 20vw, 290px);
  padding: 0.3rem 0;
}

.scmg-services-journey__chart::before {
  content: "";
  position: absolute;
  top: var(--scmg-journey-axis-y);
  left: calc((100% / 8));
  right: calc((100% / 8));
  border-top: 2px solid var(--scmg-journey-line);
  transform: translateY(-50%);
}

.scmg-services-journey__step {
  position: relative;
  min-height: clamp(250px, 20vw, 290px);
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.scmg-services-journey__step:not(:last-child)::after {
  content: none;
}

.scmg-services-journey__number {
  margin: 0;
  position: absolute;
  top: var(--scmg-journey-axis-y);
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--scmg-journey-number-size);
  height: var(--scmg-journey-number-size);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #23272b;
  color: #efefef;
  border: 3px solid #efefef;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1;
  font-weight: 700;
  z-index: 2;
}

.scmg-services-journey__label {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-height: clamp(162px, 13vw, 192px);
  width: min(100%, 280px);
  border: 1px solid rgba(35, 39, 43, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.95rem;
  box-shadow: 0 3px 10px rgba(22, 26, 30, 0.03);
}

.scmg-services-journey__label-title {
  display: block;
  font-size: clamp(1rem, 1.02vw, 1.15rem);
  line-height: 1.15;
  font-weight: 600;
}

.scmg-services-journey__label-body {
  display: block;
  max-width: 92%;
  font-size: clamp(0.82rem, 0.84vw, 0.92rem);
  line-height: 1.35;
  font-weight: 500;
  color: rgba(35, 39, 43, 0.8);
}

.scmg-services-journey__label::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 1.2rem;
  background: var(--scmg-journey-line);
  transform: translateX(-50%);
}

.scmg-services-journey__label::after {
  content: none;
}

.scmg-services-journey__step:nth-child(odd) .scmg-services-journey__label {
  top: calc(var(--scmg-journey-axis-y) + 2.2rem);
}

.scmg-services-journey__step:nth-child(odd) .scmg-services-journey__label::before {
  bottom: 100%;
}

.scmg-services-journey__step:nth-child(even) .scmg-services-journey__label {
  top: calc(var(--scmg-journey-axis-y) + 2.2rem);
}

.scmg-services-journey__step:nth-child(even) .scmg-services-journey__label::before {
  bottom: 100%;
}

.scmg-contact-form-section {
  padding-top: clamp(3.2rem, 6vw, 4.8rem);
  scroll-margin-top: calc(var(--scmg-header-height) + 1rem);
}

.scmg-contact-form-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.scmg-contact-form-wrap .scmg-section-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

.scmg-contact-form {
  margin-top: 1.8rem;
  text-align: left;
  display: grid;
  gap: 1.1rem;
}

.scmg-contact-form__notice {
  margin: 1.2rem auto 0;
  max-width: 760px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.82rem 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 600;
}

.scmg-contact-form__notice.is-success {
  border-color: #9ed8b3;
  background: #dcf5e7;
  color: #165c31;
}

.scmg-contact-form__notice.is-error {
  border-color: #f0b3b3;
  background: #fde8e8;
  color: #7d2525;
}

.scmg-contact-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.scmg-contact-form__field {
  display: grid;
  gap: 0.42rem;
}

.scmg-contact-form__field label {
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.3;
}

.scmg-contact-form__field input,
.scmg-contact-form__field textarea {
  width: 100%;
  border: 1px solid rgba(35, 39, 43, 0.2);
  border-radius: 14px;
  background: #f2f2f2;
  color: #23272b;
  padding: 0.92rem 1rem;
  font-size: 1rem;
  line-height: 1.35;
}

.scmg-contact-form__field input {
  min-height: 68px;
}

.scmg-contact-form__field textarea {
  min-height: 220px;
  resize: vertical;
}

.scmg-contact-form__field input:focus-visible,
.scmg-contact-form__field textarea:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.36);
  outline-offset: 1px;
}

.scmg-contact-form__consent {
  margin: 0.15rem auto 0;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font-size: 0.98rem;
  font-weight: 500;
}

.scmg-contact-form__consent input {
  width: 1.24rem;
  height: 1.24rem;
  border: 1px solid rgba(35, 39, 43, 0.24);
  accent-color: #23272b;
}

.scmg-contact-form__submit {
  margin: 0.35rem auto 0;
  width: 195px;
  border: 0;
  border-radius: 0;
  background: #b2b2b2;
  color: #f5f6f6;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1;
  min-height: 56px;
  cursor: pointer;
}

.scmg-contact-form__submit:hover {
  background: #a1a1a1;
}

.scmg-contact-form__submit:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.36);
  outline-offset: 2px;
}

.scmg-about-cta__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scmg-about-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(29, 35, 39, 0.52) 0%, rgba(29, 35, 39, 0.44) 52%, rgba(29, 35, 39, 0.24) 100%);
}

.scmg-about-cta__inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: center;
}

.scmg-about-cta__content {
  max-width: 1000px;
  color: #f5f6f6;
}

.scmg-about-cta__content h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.85vw, 2.35rem);
  line-height: 1.14;
  font-weight: 600;
}

.scmg-about-cta__content p {
  margin: 0.8rem 0 0;
  font-size: clamp(1rem, 1.48vw, 1.28rem);
  line-height: 1.42;
}

.scmg-about-cta__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.scmg-terms-page {
  background: #efefef;
  color: #23272b;
  padding-top: calc(var(--scmg-header-height) + 1.2rem);
}

.scmg-terms-section {
  padding: clamp(2.2rem, 3.5vw, 3.2rem) 0 clamp(4rem, 7vw, 5.6rem);
}

.scmg-terms__header {
  margin-bottom: clamp(1.2rem, 2vw, 1.8rem);
}

.scmg-terms__header h1 {
  margin: 0;
  font-size: clamp(1.7rem, 2.9vw, 2.45rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.scmg-terms__layout {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: clamp(1.1rem, 2vw, 2rem);
  align-items: start;
}

.scmg-terms__toc {
  position: sticky;
  top: calc(var(--scmg-header-height) + 1rem);
  align-self: start;
}

.scmg-terms__toc-inner {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 14px;
  background: #f4f2ee;
  padding: 1rem 1.05rem;
}

.scmg-terms__toc-title {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(35, 39, 43, 0.72);
}

.scmg-terms__toc ol {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.scmg-terms__toc a {
  display: block;
  text-decoration: none;
  padding: 0.46rem 0.55rem;
  border-radius: 8px;
  color: #23272b;
  font-size: 0.92rem;
  line-height: 1.3;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease;
}

.scmg-terms__toc a:hover {
  background: rgba(35, 39, 43, 0.08);
}

.scmg-terms__toc a:focus-visible {
  outline: 2px solid rgba(35, 39, 43, 0.42);
  outline-offset: 1px;
}

.scmg-terms__content {
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 14px;
  background: #f4f2ee;
  padding: clamp(1.1rem, 2vw, 1.8rem);
}

.scmg-terms__block {
  scroll-margin-top: calc(var(--scmg-header-height) + 1.25rem);
}

.scmg-terms__block + .scmg-terms__block {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(35, 39, 43, 0.12);
}

.scmg-terms__block h2 {
  margin: 0;
  font-size: clamp(1.1rem, 1.38vw, 1.44rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.scmg-terms__block p {
  margin: 0.75rem 0 0;
  font-size: clamp(0.96rem, 1.03vw, 1.08rem);
  line-height: 1.62;
  color: rgba(35, 39, 43, 0.94);
}

.scmg-terms__block ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.44rem;
}

.scmg-terms__block li {
  font-size: clamp(0.96rem, 1.03vw, 1.08rem);
  line-height: 1.58;
  color: rgba(35, 39, 43, 0.94);
}

@media (max-width: 1100px) {
  .scmg-terms__layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .scmg-terms__toc {
    position: static;
  }
}

@media (max-width: 700px) {
  .scmg-terms-page {
    padding-top: calc(var(--scmg-header-height) + 0.8rem);
  }

  .scmg-terms-section {
    padding-top: 1.8rem;
  }

  .scmg-terms__toc-inner,
  .scmg-terms__content {
    border-radius: 12px;
  }

  .scmg-terms__toc {
    overflow-x: auto;
  }

  .scmg-terms__toc-inner {
    min-width: min(100%, 560px);
  }
}

.scmg-site-footer {
  background: #e5e5e5;
  color: #353a3f;
  border-top: 1px solid rgba(26, 30, 34, 0.08);
}

.scmg-site-footer__top {
  padding: clamp(3.1rem, 5vw, 4.9rem) 0 clamp(2.7rem, 4vw, 3.9rem);
}

.scmg-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.42fr) minmax(170px, 0.68fr) minmax(280px, 1fr) minmax(210px, 0.8fr);
  gap: clamp(1.5rem, 2.8vw, 3.4rem);
  align-items: start;
}

.scmg-footer-heading {
  margin: 0;
  font-size: clamp(1.35rem, 1.35vw, 1.75rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.scmg-footer-brand__logo {
  display: inline-flex;
  text-decoration: none;
}

.scmg-footer-brand__logo-image {
  display: block;
  width: min(320px, 100%);
  height: auto;
}

.scmg-footer-brand__copy {
  margin: 1.8rem 0 0;
  max-width: 520px;
  font-size: clamp(0.98rem, 0.96vw, 1.18rem);
  line-height: 1.4;
  font-weight: 500;
}

.scmg-footer-nav,
.scmg-footer-contact,
.scmg-footer-social {
  display: flex;
  flex-direction: column;
  gap: 1.55rem;
}

.scmg-footer-accordion {
  display: block;
}

.scmg-footer-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  list-style: none;
  cursor: pointer;
}

.scmg-footer-accordion__summary::-webkit-details-marker {
  display: none;
}

.scmg-footer-accordion__summary .scmg-footer-heading {
  margin: 0;
}

.scmg-footer-accordion__chevron {
  width: 0.66rem;
  height: 0.66rem;
  border-right: 2px solid rgba(53, 58, 63, 0.82);
  border-bottom: 2px solid rgba(53, 58, 63, 0.82);
  transform: rotate(45deg);
  transition: transform 180ms ease;
  flex-shrink: 0;
}

.scmg-footer-accordion[open] .scmg-footer-accordion__chevron {
  transform: rotate(-135deg);
}

.scmg-footer-accordion__body {
  margin-top: 1rem;
}

.scmg-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.scmg-footer-links li + li {
  margin-top: 0.95rem;
}

.scmg-footer-links a {
  text-decoration: none;
  font-size: clamp(0.98rem, 0.95vw, 1.12rem);
  line-height: 1.25;
  font-weight: 600;
}

.scmg-footer-links a:hover,
.scmg-footer-contact a:hover,
.scmg-site-footer__bottom nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.scmg-footer-contact__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.88rem;
}

.scmg-footer-contact__list li {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.78rem;
  align-items: start;
  font-size: clamp(0.98rem, 0.95vw, 1.1rem);
  line-height: 1.36;
  font-weight: 600;
}

.scmg-footer-contact__icon {
  width: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #353a3f;
  margin-top: 0.15rem;
}

.scmg-footer-contact__icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  display: block;
}

.scmg-footer-contact address {
  margin: 0;
  font-style: normal;
}

.scmg-footer-contact a {
  text-decoration: none;
}

.scmg-footer-social__links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.scmg-footer-social__links a {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(53, 58, 63, 0.42);
  border: 1px solid transparent;
}

.scmg-footer-social__links a:hover {
  color: #353a3f;
  border-color: rgba(53, 58, 63, 0.2);
}

.scmg-footer-social__links svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
  display: block;
}

.scmg-footer-social__cta-title {
  margin: 1rem 0 0;
  font-size: clamp(1.2rem, 1.2vw, 1.5rem);
  line-height: 1.2;
  font-weight: 600;
}

.scmg-footer-quote-btn {
  width: auto;
  min-width: 230px;
  margin-top: 0.2rem;
  color: #353a3f;
  border-color: rgba(53, 58, 63, 0.3);
}

.scmg-site-footer__bottom {
  background: #dcdcdc;
  border-top: 1px solid rgba(26, 30, 34, 0.08);
}

.scmg-site-footer__bottom-inner {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.95rem 1.3rem;
  color: #353a3f;
  font-size: clamp(0.9rem, 0.84vw, 1rem);
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
}

.scmg-site-footer__bottom-inner p {
  margin: 0;
}

.scmg-site-footer__bottom-col {
  min-width: 0;
}

.scmg-site-footer__bottom-col--left {
  text-align: left;
}

.scmg-site-footer__bottom-col--center {
  justify-self: center;
}

.scmg-site-footer__bottom-col--right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-align: right;
}

.scmg-site-footer__bottom nav {
  display: inline-flex;
  gap: 0.95rem;
  align-items: center;
}

.scmg-site-footer__bottom nav a {
  text-decoration: none;
}

.scmg-site-footer__agency-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.scmg-site-footer__agency-logo {
  display: inline-block;
  width: 44px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask-image: var(--scmg-998-logo);
  mask-image: var(--scmg-998-logo);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

@media (min-width: 641px) {
  .scmg-footer-accordion__summary {
    cursor: default;
  }

  .scmg-footer-accordion__chevron {
    display: none;
  }

  .scmg-footer-accordion__body {
    display: block !important;
    margin-top: 1.55rem;
  }
}

body:not(.home):not(.page-about-us):not(.page-template-page-about-us) .site-main {
  min-height: 100vh;
  padding-top: calc(var(--scmg-header-height) + 1.8rem);
}

body:not(.home) .site-main article {
  max-width: var(--scmg-max-width);
  margin: 0 auto;
  padding: 1rem 2rem 3rem;
}

@media (max-width: 1160px) {
  .scmg-logo__image {
    height: 48px;
  }

  .scmg-site-header .scmg-logo__image {
    height: 48px;
  }

  .scmg-nav {
    font-size: 0.98rem;
  }

  .scmg-nav ul {
    gap: 1rem;
  }

  .scmg-header__shop-link {
    padding: 0.58rem 1.15rem;
  }

  .scmg-header__icon-link {
    width: 40px;
    height: 40px;
  }

  .scmg-header__icon-link svg {
    width: 19px;
    height: 19px;
  }

  .scmg-header-cart-count {
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    font-size: 0.66rem;
  }

  .scmg-services__rail {
    grid-auto-columns: minmax(280px, 46vw);
    margin-right: 0;
    padding-right: 0;
  }

  .scmg-service-card {
    min-height: 0;
  }

  .scmg-service-card span {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.1rem;
    font-size: 1.35rem;
  }

  .scmg-excellence__grid {
    grid-template-columns: 1fr;
  }

  .scmg-excellence__image-wrap {
    max-width: 780px;
  }

  .scmg-excellence__image-wrap img {
    max-width: 100%;
    min-height: 470px;
  }

  .scmg-testimonials__rail {
    grid-auto-columns: clamp(420px, calc((100vw - 7rem) / 1.6), 660px);
    margin-right: 0;
    padding-right: 0;
  }

  .scmg-testimonial-card__content {
    left: 1.85rem;
    right: 1.85rem;
    bottom: 1.6rem;
  }

  .scmg-testimonial-card__quote {
    font-size: 1.1rem;
    line-height: 1.52;
    max-width: 88%;
  }

  .scmg-testimonial-card h3 {
    font-size: 1.22rem;
  }

  .scmg-visit-grid {
    grid-template-columns: 1fr;
  }

  .scmg-visit-map {
    min-height: 0;
  }

  .scmg-shop-grid,
  .scmg-shop-archive ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .scmg-showroom-cta-section {
    min-height: 360px;
  }

  .scmg-showroom-cta__content h2 {
    font-size: clamp(1.75rem, 5.2vw, 2.8rem);
  }

  .scmg-showroom-cta__content p {
    font-size: clamp(1.05rem, 3vw, 1.5rem);
  }

  .scmg-showroom-cta__actions {
    margin-top: 1.55rem;
  }

  .scmg-showroom-cta__actions .scmg-btn {
    min-width: 220px;
  }

  .scmg-site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem 2rem;
  }

  .scmg-footer-brand__copy {
    max-width: 100%;
    font-size: clamp(0.96rem, 1.35vw, 1.08rem);
  }
}

@media (max-width: 960px) {
  :root {
    --scmg-header-height: 84px;
  }

  .scmg-site-header__inner {
    padding: 0.65rem 1.1rem;
  }

  .scmg-nav--desktop {
    display: none;
  }

  .scmg-mobile-toggle {
    display: inline-flex;
  }

  .scmg-hero {
    min-height: 86vh;
  }

  .scmg-hero__inner {
    min-height: 86vh;
    padding: 6.8rem 1.1rem 2.3rem;
  }

  .scmg-hero__content {
    max-width: 760px;
    padding-bottom: 1.8rem;
  }

  .scmg-section-shell {
    padding: 0 1.1rem;
  }

  .scmg-services__head {
    align-items: center;
    gap: 1rem;
  }

  .scmg-section-title {
    font-size: clamp(1.6rem, 6.4vw, 2.2rem);
  }

  .scmg-section-subtitle {
    font-size: clamp(1.04rem, 3.85vw, 1.34rem);
    line-height: 1.36;
  }

  .scmg-services__rail {
    margin-top: 1.45rem;
    grid-auto-columns: minmax(260px, 75vw);
  }

  .scmg-materials-collection__title {
    font-size: clamp(1.55rem, 5.1vw, 2.1rem);
  }

  .scmg-materials-collection__description {
    font-size: clamp(1rem, 3.25vw, 1.2rem);
    line-height: 1.35;
  }

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

  .scmg-service-card {
    min-height: 0;
  }

  .scmg-rail-btn {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .scmg-excellence-list h3 {
    font-size: 1.55rem;
  }

  .scmg-excellence-list p {
    font-size: 1.18rem;
  }

  .scmg-testimonials__rail {
    grid-auto-columns: minmax(350px, 84vw);
  }

  .scmg-testimonial-card {
    aspect-ratio: 1.45 / 1;
  }

  .scmg-testimonial-card__quote {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .scmg-testimonial-card h3 {
    margin-top: 0.8rem;
    font-size: 1.3rem;
  }

  .scmg-visit-actions .scmg-btn {
    min-width: 0;
  }

  .scmg-shop-section__shop-btn {
    min-width: 260px;
  }

  .scmg-shop-card h3,
  .scmg-shop-card .woocommerce-loop-product__title {
    font-size: 1.18rem;
  }

  .scmg-shop-card__price {
    font-size: 1rem;
  }

  .scmg-shop-card__brand {
    font-size: 0.83rem;
  }

  .scmg-site-footer__grid {
    gap: 1.95rem;
  }

  .scmg-footer-heading {
    font-size: clamp(1.24rem, 3.3vw, 1.5rem);
  }

  .scmg-footer-brand__logo-image {
    width: min(270px, 100%);
  }

  .scmg-footer-brand__copy {
    margin-top: 1.3rem;
  }

  .scmg-footer-social__cta-title {
    margin-top: 0.1rem;
    font-size: 1.3rem;
  }
}

@media (max-width: 640px) {
  :root {
    --scmg-header-height: 76px;
  }

  .scmg-hero {
    min-height: 50vh;
  }

  .scmg-hero__inner {
    min-height: 50vh;
    padding: 5.2rem 0.75rem 1.4rem;
  }

  .scmg-logo__image {
    height: 34px;
    max-width: min(72vw, 250px);
  }

  .scmg-site-header .scmg-logo__image {
    height: 34px;
    max-width: min(72vw, 250px);
  }

  .scmg-site-header__inner {
    padding: 0.55rem 0.75rem;
  }

  .scmg-mobile-toggle {
    width: 42px;
    height: 42px;
  }

  .scmg-mobile-panel {
    top: calc(var(--scmg-header-height) + 0.25rem);
    left: 0.72rem;
    right: 0.72rem;
    padding: 0.9rem;
  }

  .scmg-hero__subtitle {
    margin-top: 1rem;
    font-size: clamp(1.2rem, 5.3vw, 1.55rem);
  }

  .scmg-hero__actions {
    margin-top: 1.7rem;
  }

  .scmg-btn {
    width: 100%;
  }

  .scmg-services-section {
    padding-top: 3.2rem;
  }

  .scmg-services__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .scmg-materials-collections {
    padding-top: 2.6rem;
    padding-bottom: 3.25rem;
  }

  .scmg-materials-stock-alert {
    margin-bottom: 1.2rem;
    padding: 0.9rem 0.95rem;
    border-left-width: 4px;
    border-radius: 10px;
  }

  .scmg-materials-stock-alert p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .scmg-materials-collection + .scmg-materials-collection {
    margin-top: 2.2rem;
  }

  .scmg-materials-collection__title {
    font-size: clamp(1.45rem, 6.1vw, 1.78rem);
  }

  .scmg-materials-collection__description {
    margin-top: 0.6rem;
    font-size: 1.02rem;
    line-height: 1.36;
  }

  .scmg-materials-collection__cta {
    margin-top: 0.9rem;
    width: auto;
    padding: 0.72rem 0.95rem;
    font-size: 0.95rem;
  }

  .scmg-services__rail {
    grid-auto-columns: minmax(245px, 82vw);
    margin-left: 0;
    margin-right: -1.1rem;
    padding-left: 0;
    padding-right: 0;
  }

  .scmg-service-card span {
    left: 1rem;
    right: 1rem;
    bottom: 0.95rem;
    font-size: 1.2rem;
  }

  .scmg-materials-card__hover-title {
    font-size: 1rem;
  }

  .scmg-materials-card__hover-copy {
    font-size: 0.83rem;
    line-height: 1.34;
  }

  .scmg-materials-catalog {
    padding-top: 2.8rem;
    padding-bottom: 3.4rem;
  }

  .scmg-materials-catalog__grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .scmg-materials-catalog-card__body {
    padding: 0.85rem 0.85rem 1rem;
  }

  .scmg-stone-modal__dialog {
    grid-template-columns: 1fr;
    width: calc(100vw - 1.2rem);
    margin: 0;
    max-height: calc(100vh - 1.2rem);
  }

  .scmg-stone-modal__media {
    aspect-ratio: 16 / 10;
    width: 100%;
    min-height: clamp(200px, 46vw, 320px);
    max-height: min(42vh, 360px);
  }

  .scmg-excellence__image-wrap {
    padding: 0;
  }

  .scmg-excellence__image-wrap img {
    height: 240px;
    min-height: 240px;
  }

  .scmg-excellence-list {
    margin-top: 1.25rem;
    gap: 1.35rem;
  }

  .scmg-excellence-list li {
    grid-template-columns: 1.8rem 1fr;
    gap: 0.6rem;
  }

  .scmg-excellence-list__arrow {
    font-size: 1.4rem;
  }

  .scmg-excellence-list h3 {
    font-size: 1.25rem;
  }

  .scmg-excellence-list p {
    font-size: 1rem;
  }

  .scmg-testimonials__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .scmg-testimonials__rail {
    grid-auto-columns: minmax(320px, 94vw);
    margin-left: 0;
    margin-right: -1.1rem;
    padding-left: 0;
    padding-right: 0;
  }

  .scmg-testimonial-card {
    aspect-ratio: 1 / 1;
  }

  .scmg-testimonial-card__content {
    left: 1.1rem;
    right: 1.1rem;
    bottom: 1rem;
  }

  .scmg-testimonial-card__quote {
    font-size: 1.04rem;
    line-height: 1.42;
    max-width: 100%;
  }

  .scmg-testimonial-card__quote::before {
    font-size: 1.7rem;
    margin-bottom: 0.2rem;
  }

  .scmg-testimonial-card h3 {
    font-size: 1.14rem;
  }

  .scmg-visit-actions {
    margin-top: 1rem;
    gap: 0.6rem;
  }

  .scmg-visit-actions .scmg-btn {
    width: auto;
    min-width: 0;
    padding: 0.78rem 1rem;
  }

  .scmg-visit-map-wrap {
    margin-top: 1.4rem;
  }

  .scmg-visit-map {
    aspect-ratio: 1.3 / 1;
  }

  .scmg-contact-panel {
    padding: 1.1rem 0.95rem;
  }

  .scmg-contact-action {
    font-size: 0.98rem;
  }

  .scmg-contact-panel__book-btn {
    width: 100%;
    min-width: 0;
  }

  .scmg-hours-card {
    padding: 0.78rem 0.82rem;
  }

  .scmg-hours-accordion {
    padding: 0;
  }

  .scmg-hours-grid {
    gap: 0.7rem;
  }

  .scmg-hours-card__summary {
    padding: 0.72rem 0.82rem;
  }

  .scmg-hours-status--summary {
    display: block;
    margin-top: 0.28rem;
    line-height: 1.3;
  }

  .scmg-hours-card__body > .scmg-hours-status {
    display: none;
  }

  .scmg-hours-card__body {
    padding: 0 0.82rem 0.72rem;
  }

  .scmg-hours-row {
    font-size: 0.94rem;
    padding: 0.42rem 0;
  }

  .scmg-contact-panel__note {
    font-size: 0.76rem;
  }

  .scmg-shop-section {
    padding-top: 3.3rem;
  }

  .scmg-shop-archive-main {
    padding-top: calc(var(--scmg-header-height) + 1rem) !important;
  }

  .scmg-shop-archive {
    padding-top: 2.1rem;
  }

  .scmg-shop-archive__head {
    padding: 1.1rem 1rem;
    border-radius: 16px;
  }

  .scmg-shop-archive__controls {
    margin-top: 1.25rem;
    padding: 0.82rem 0.86rem;
    border-radius: 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .scmg-shop-archive .woocommerce-result-count {
    font-size: 0.94rem;
  }

  .scmg-shop-archive .woocommerce-ordering {
    width: 100%;
  }

  .scmg-shop-archive .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    border-radius: 12px;
    padding-right: 2.7rem;
  }

  .scmg-shop-archive ul.products {
    margin-top: 1.4rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .scmg-shop-archive .woocommerce-pagination {
    margin-top: 1.9rem;
  }

  .scmg-shop-archive .woocommerce-pagination ul.page-numbers {
    gap: 0.38rem;
  }

  .scmg-shop-archive .woocommerce-pagination ul.page-numbers a,
  .scmg-shop-archive .woocommerce-pagination ul.page-numbers span {
    min-width: 44px;
    min-height: 44px;
    border-radius: 10px;
    font-size: 0.94rem;
  }

  .scmg-shop-section__intro .scmg-section-subtitle {
    font-size: clamp(1.04rem, 4vw, 1.18rem);
    line-height: 1.4;
  }

  .scmg-shop-section__shop-btn {
    margin-top: 1.1rem;
    width: 100%;
    min-width: 0;
  }

  .scmg-shop-grid {
    margin-top: 1.8rem;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, calc(100vw - 3.1rem));
    gap: 0.9rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-left: 0;
    margin-right: -1.1rem;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0.2rem;
  }

  .scmg-shop-grid::-webkit-scrollbar {
    display: none;
  }

  .scmg-shop-card {
    scroll-snap-align: start;
  }

  .scmg-shop-card h3,
  .scmg-shop-card .woocommerce-loop-product__title {
    min-height: 0;
    font-size: 1.22rem;
  }

  .scmg-shop-card__price {
    margin-top: 0;
    font-size: 1.02rem;
    min-height: 0;
  }

  .scmg-shop-card__image-cta {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px));
    pointer-events: none;
  }

  .scmg-showroom-cta-section {
    min-height: 320px;
    padding: 1.35rem 0;
  }

  .scmg-showroom-cta__content h2 {
    font-size: clamp(1.35rem, 7.3vw, 1.95rem);
  }

  .scmg-showroom-cta__content p {
    margin-top: 0.8rem;
    font-size: clamp(1rem, 4.1vw, 1.15rem);
  }

  .scmg-showroom-cta__actions {
    margin-top: 1.15rem;
    gap: 0.6rem;
  }

  .scmg-showroom-cta__actions .scmg-btn {
    width: auto;
    min-width: 0;
    padding: 0.78rem 1rem;
  }

  .scmg-site-footer__top {
    padding-top: 2.35rem;
    padding-bottom: 2rem;
  }

  .scmg-site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.65rem;
  }

  .scmg-footer-accordion {
    border-top: 1px solid rgba(53, 58, 63, 0.14);
    padding-top: 0.25rem;
  }

  .scmg-footer-nav {
    border-top: 0;
    padding-top: 0;
  }

  .scmg-footer-accordion__summary {
    padding: 0.25rem 0;
  }

  .scmg-footer-accordion__body {
    margin-top: 0.75rem;
    padding-bottom: 0.2rem;
  }

  .scmg-footer-brand__copy {
    margin-top: 1rem;
    font-size: 0.94rem;
  }

  .scmg-footer-links li + li {
    margin-top: 0.66rem;
  }

  .scmg-footer-contact__list {
    gap: 0.6rem;
  }

  .scmg-footer-contact__list li {
    font-size: 0.92rem;
  }

  .scmg-footer-social__cta-title {
    margin-top: 0.4rem;
    font-size: 1.15rem;
  }

  .scmg-footer-quote-btn {
    min-width: 0;
    width: auto;
  }

  .scmg-site-footer__bottom-inner {
    min-height: 0;
    padding-top: 0.78rem;
    padding-bottom: 0.78rem;
    gap: 0.35rem 0.8rem;
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .scmg-site-footer__bottom-col--left,
  .scmg-site-footer__bottom-col--right {
    text-align: center;
    justify-self: center;
  }

  .scmg-site-footer__bottom-col--right {
    padding-top: 0.4rem;
  }

  .scmg-site-footer__bottom nav {
    gap: 0.72rem;
  }
}

@media (max-width: 1160px) {
  .scmg-page-hero,
  .scmg-about-hero {
    min-height: 52vh;
  }

  .scmg-about-heritage__grid,
  .scmg-about-advantage__grid {
    grid-template-columns: 1fr;
  }

  .scmg-about-advantage__list {
    margin-top: 0;
    padding: 0;
  }

  .scmg-about-advantage__image-wrap {
    position: relative;
    height: auto;
    min-height: 0;
  }

  .scmg-about-advantage__image-wrap img {
    position: static;
    height: auto;
    min-height: 0;
    max-height: 700px;
  }

  .scmg-about-heritage__image-wrap {
    height: auto;
  }

  .scmg-about-heritage__image-wrap img {
    height: auto;
    min-height: 0;
    max-height: 700px;
  }

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

  .scmg-about-coverage__areas {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .scmg-about-standards__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .scmg-about-standards__steps::before {
    display: none;
  }

  .scmg-about-experts__rail {
    --scmg-expert-card-width: min(78vw, 440px);
  }

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

  .scmg-portfolio-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .scmg-page-hero,
  .scmg-about-hero {
    min-height: 46vh;
  }

  .scmg-about-hero__inner {
    align-items: center;
    padding-top: calc(var(--scmg-header-height) + 1.35rem);
    padding-bottom: 2.6rem;
  }

  .scmg-about-hero__content h1 {
    font-size: clamp(1.8rem, 7.2vw, 3rem);
  }

  .scmg-about-hero__content h2 {
    font-size: clamp(1rem, 3.8vw, 1.34rem);
  }

  .scmg-about-section {
    padding: 3.2rem 0;
  }

  .scmg-about-standards {
    padding-top: 4rem;
    padding-bottom: 4.8rem;
  }

  .scmg-about-advantage__image-wrap img {
    position: static;
    height: auto;
    min-height: 0;
    max-height: 520px;
  }

  .scmg-about-experts__rail {
    --scmg-expert-card-width: min(88vw, 380px);
  }

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

  .scmg-about-standards__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }

  .scmg-about-cta {
    min-height: 280px;
  }

  .scmg-contact-form-wrap {
    max-width: 700px;
  }

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

  .scmg-services-levels-card {
    min-height: 500px;
  }

  .scmg-services-levels-card__body {
    padding-top: 3.35rem;
  }

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

  .scmg-services-journey__chart {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.92rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 0;
    padding-left: 0;
    min-height: 0;
  }

  .scmg-services-journey__chart::before {
    content: none;
  }

  .scmg-services-journey__step {
    min-height: 0;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    padding: 0;
  }

  .scmg-services-journey__number {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0 auto;
  }

  .scmg-services-journey__step:nth-child(odd) .scmg-services-journey__label,
  .scmg-services-journey__step:nth-child(even) .scmg-services-journey__label {
    top: auto;
    bottom: auto;
  }

  .scmg-services-journey__label {
    position: relative;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    min-height: 154px;
    margin-top: 0.72rem;
  }

  .scmg-services-journey__label-title {
    font-size: 1.03rem;
  }

  .scmg-services-journey__label-body {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  .scmg-services-journey__label::before {
    display: none;
  }

  .scmg-services-journey__label::after,
  .scmg-services-journey__step:nth-child(even) .scmg-services-journey__label::after {
    content: none;
  }

  .scmg-portfolio-filter {
    margin-top: 1.7rem;
    gap: 0.5rem 0.85rem;
  }

  .scmg-portfolio-filter__link {
    font-size: 0.98rem;
  }

  .scmg-portfolio-grid {
    margin-top: 1.7rem;
  }

  .scmg-portfolio-single-hero .scmg-about-hero__inner {
    padding-bottom: 2.2rem;
  }

  .scmg-portfolio-single__description p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 960px) {
  .scmg-services-journey__head {
    max-width: 700px;
  }

  .scmg-portfolio-filter {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .scmg-about-page {
    overflow-x: hidden;
  }

  .scmg-page-hero,
  .scmg-about-hero {
    min-height: 40vh;
  }

  .scmg-about-hero__inner {
    padding-top: calc(var(--scmg-header-height) + 1rem);
    padding-bottom: 1.8rem;
  }

  .scmg-about-hero__actions .scmg-btn {
    width: auto;
    min-width: 0;
  }

  .scmg-about-section {
    padding: 2.55rem 0;
  }

  .scmg-about-standards {
    padding-top: 3.5rem;
    padding-bottom: 4.1rem;
  }

  .scmg-about-timeline {
    margin-top: 1.45rem;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    width: calc(100% + 1.1rem);
    max-width: calc(100% + 1.1rem);
    padding-top: 0.45rem;
    margin-right: -1.1rem;
    padding-right: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
  }

  .scmg-about-timeline::-webkit-scrollbar {
    display: none;
  }

  .scmg-about-timeline__item {
    flex: 0 0 min(86vw, 420px);
    padding: 1.15rem 0 0;
    border-left: 0;
    border-top: 1px solid rgba(35, 39, 43, 0.25);
    scroll-snap-align: start;
  }

  .scmg-about-timeline__item::before {
    left: 0;
    top: 0;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
  }

  .scmg-about-timeline__item p {
    max-width: none;
  }

  .scmg-about-timeline__hint {
    display: block;
  }

  .scmg-about-heritage__image-wrap {
    margin-top: -1rem;
  }

  .scmg-about-commitment__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 360px);
    gap: 0.85rem;
    margin-right: calc(-1 * (max(0px, (100vw - var(--scmg-max-width)) / 2) + 1.1rem));
    padding-right: 1.1rem;
    padding-bottom: 0.2rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .scmg-about-commitment__grid::-webkit-scrollbar {
    display: none;
  }

  .scmg-about-commitment__card {
    border: 1px solid rgba(35, 39, 43, 0.2);
    border-radius: 12px;
    background: #ebebeb;
    padding: 1rem 1rem 1.05rem;
    scroll-snap-align: start;
  }

  .scmg-about-advantage__list {
    gap: 0.72rem;
    padding: 0;
  }

  .scmg-about-advantage__accordion {
    border: 1px solid rgba(35, 39, 43, 0.2);
    border-radius: 12px;
    background: #ebebeb;
  }

  .scmg-about-advantage__summary {
    padding: 0.84rem 0.88rem;
    grid-template-columns: 1.45rem 1fr auto;
    gap: 0.58rem;
  }

  .scmg-about-advantage__arrow {
    margin-top: 0.12rem;
    font-size: 1.18rem;
  }

  .scmg-about-advantage__summary h3 {
    font-size: 1.06rem;
    line-height: 1.25;
  }

  .scmg-about-advantage__list p {
    margin: 0;
    padding: 0 0.88rem 0.88rem calc(0.88rem + 1.45rem + 0.58rem);
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .scmg-about-advantage__image-wrap {
    display: none;
  }

  .scmg-about-advantage__image-wrap img {
    max-height: 250px;
    width: 100%;
    object-fit: cover;
  }

  .scmg-about-experts__head {
    align-items: center;
    gap: 1rem;
  }

  .scmg-about-experts__rail {
    margin-top: 1.25rem;
    --scmg-expert-card-width: min(86vw, 320px);
    margin-right: calc(-1 * (max(0px, (100vw - var(--scmg-max-width)) / 2) + 0.75rem));
    padding-right: 0.75rem;
  }

  .scmg-about-expert-card__hover {
    padding: 0.95rem;
  }

  .scmg-about-coverage__map {
    min-height: 260px;
  }

  .scmg-about-coverage__areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.52rem;
  }

  .scmg-about-coverage__areas li {
    font-size: 0.84rem;
  }

  .scmg-about-standards__logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  body.page-about-us .scmg-about-standards .scmg-about-standards__steps,
  body.page-template-page-about-us .scmg-about-standards .scmg-about-standards__steps {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.78rem;
  }

  .scmg-about-standards__steps li.scmg-about-standards__summary {
    display: block;
    counter-increment: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    min-height: 0;
    padding: 0;
    gap: 0;
    align-items: initial;
    justify-content: initial;
    text-align: left;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .scmg-about-standards__steps li.scmg-about-standards__summary::before {
    content: none;
  }

  .scmg-about-standards__steps li.scmg-about-standards__summary:hover,
  .scmg-about-standards__steps li.scmg-about-standards__summary:focus-within {
    transform: none;
    border-color: transparent;
    box-shadow: none;
  }

  .scmg-about-standards__note {
    display: none;
  }

  .scmg-about-standards__steps li {
    min-height: 0;
    padding: 0.92rem 0.95rem 0.98rem;
  }

  .scmg-about-cta {
    min-height: 250px;
  }

  .scmg-services-process__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 390px);
    gap: 0.85rem;
    margin-right: calc(-1 * (max(0px, (100vw - var(--scmg-max-width)) / 2) + 1.1rem));
    padding-right: 1.1rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }

  .scmg-services-process__controls {
    margin-top: 0.85rem;
    display: flex;
    justify-content: flex-end;
  }

  .scmg-services-process__grid::-webkit-scrollbar {
    display: none;
  }

  .scmg-services-process-card {
    scroll-snap-align: start;
  }

  .scmg-services-process-card__media {
    min-height: 235px;
  }

  .scmg-services-process-card__media h3 {
    max-width: 95%;
    padding: 0 1.1rem 1rem;
    font-size: 1.32rem;
  }

  .scmg-services-process-card__body {
    padding: 1.15rem 1.15rem 1.25rem;
  }

  .scmg-services-levels__grid {
    grid-template-columns: 1fr;
    gap: 3.4rem;
  }

  body:not(.home) .site-main article.scmg-services-levels-card {
    min-height: 0;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .scmg-services-levels-card__body {
    padding: 2.35rem 0.1rem 1.45rem;
  }

  .scmg-services-levels__btn {
    min-width: 220px;
  }

  .scmg-services-capabilities__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
  }

  .scmg-services-capabilities__item p {
    max-width: 520px;
  }

  .scmg-services-journey__chart {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.68rem;
    max-width: 100%;
    padding-left: 0;
  }

  .scmg-services-journey__chart::before {
    content: none;
  }

  .scmg-services-journey__step {
    width: 100%;
    margin: 0 auto;
    min-height: 0;
    padding: 0;
  }

  .scmg-services-journey__number {
    margin: 0 auto;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 0.95rem;
  }

  .scmg-services-journey__label {
    max-width: none;
    min-height: 144px;
    margin-top: 0.68rem;
    padding: 0.72rem 0.85rem;
  }

  .scmg-services-journey__label-title {
    font-size: 0.98rem;
    line-height: 1.18;
  }

  .scmg-services-journey__label-body {
    font-size: 0.82rem;
    line-height: 1.33;
  }

  .scmg-contact-form__row {
    grid-template-columns: 1fr;
  }

  .scmg-contact-form__field input {
    min-height: 62px;
  }

  .scmg-contact-form__field textarea {
    min-height: 180px;
  }

  .scmg-contact-form__consent {
    width: 100%;
    justify-content: flex-start;
  }

  .scmg-about-cta__actions {
    margin-top: 1.1rem;
    gap: 0.55rem;
  }

  .scmg-about-cta__actions .scmg-btn {
    min-width: 0;
    width: auto;
    padding: 0.78rem 1rem;
  }

  .scmg-portfolio-archive {
    padding-top: calc(var(--scmg-header-height) + 1.2rem);
  }

  .scmg-portfolio-archive__title {
    font-size: clamp(1.3rem, 7vw, 1.85rem);
    letter-spacing: 0.05em;
  }

  .scmg-portfolio-filter {
    width: 100%;
    border-top: 0;
    padding-top: 0.9rem;
    margin-top: 1.1rem;
    gap: 0.45rem 0.75rem;
  }

  .scmg-portfolio-grid {
    grid-template-columns: 1fr;
    margin-top: 1.1rem;
  }

  .scmg-portfolio-card__content h2 {
    font-size: 1.25rem;
  }

  .scmg-portfolio-single-hero .scmg-about-hero__inner {
    align-items: flex-end;
    padding-top: calc(var(--scmg-header-height) + 0.9rem);
    padding-bottom: 1.5rem;
  }

  .scmg-portfolio-single-hero__content h1 {
    font-size: clamp(1.7rem, 7.4vw, 2.35rem);
  }

  .scmg-portfolio-single__head {
    margin-top: 0;
  }

  .scmg-portfolio-single__head h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .scmg-portfolio-single__meta {
    gap: 0.65rem 1rem;
  }

  .scmg-portfolio-gallery__main-image {
    height: 270px;
  }

  .scmg-portfolio-gallery__nav {
    width: 38px;
    height: 38px;
  }

  .scmg-portfolio-gallery__thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 961px) {
  .scmg-mobile-backdrop,
  .scmg-mobile-panel {
    display: none;
  }
}

.admin-bar .scmg-site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .scmg-site-header {
    top: 46px;
  }
}

/* Single product fallback layout in case Woo wrapper template is bypassed. */
body.single-product .site-main {
  min-height: 100vh;
  padding-top: calc(var(--scmg-header-height) + 1.2rem) !important;
  background: linear-gradient(180deg, #efefef 0%, #e9e6e1 100%);
  color: #23272b;
}

body.single-product .site-main > article.product {
  max-width: var(--scmg-max-width);
  margin: 0 auto;
  padding: clamp(2.2rem, 4.4vw, 3.8rem) 2rem clamp(4.2rem, 7vw, 6rem);
  background: transparent;
  border: 0;
}

body.single-product .site-main > article.product > h1 {
  display: none;
}

body.single-product .site-main > article.product > div {
  max-width: none;
  margin: 0;
}

body.single-product .scmg-single-product__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(1.1rem, 2vw, 1.7rem);
  align-items: start;
}

body.single-product .scmg-single-product__gallery .woocommerce-product-gallery,
body.single-product .scmg-single-product__summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

body.single-product .scmg-single-product__gallery {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: visible;
}

body.single-product .scmg-single-product__summary {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  border: 1px solid rgba(35, 39, 43, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78) 0%, rgba(244, 242, 236, 0.74) 100%);
  box-shadow: 0 12px 28px rgba(16, 21, 24, 0.06);
  padding: clamp(1rem, 2.2vw, 1.6rem);
  position: sticky;
  top: calc(var(--scmg-header-height) + 1rem);
}

body.single-product .scmg-single-product__bottom {
  margin-top: clamp(1.1rem, 2.1vw, 1.9rem);
}

body.single-product .scmg-single-product__bottom .woocommerce-tabs,
body.single-product .scmg-single-product__bottom .related.products,
body.single-product .scmg-single-product__bottom .up-sells {
  margin-top: 0;
}

body.single-product .scmg-single-product__bottom .related.products ul.products,
body.single-product .scmg-single-product__bottom .up-sells ul.products {
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

body.single-product .scmg-single-product__bottom ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

@media (max-width: 1160px) {
  body.single-product .scmg-single-product__top {
    grid-template-columns: 1fr;
  }

  body.single-product .scmg-single-product__summary {
    position: static;
  }

  body.single-product .scmg-single-product__bottom .related.products ul.products,
  body.single-product .scmg-single-product__bottom .up-sells ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  body.single-product .site-main > article.product {
    padding: 2rem 1.1rem 3rem;
  }

  body.single-product .scmg-single-product__bottom .related.products ul.products,
  body.single-product .scmg-single-product__bottom .up-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
  }
}

@media (max-width: 640px) {
  body.single-product .scmg-single-product__gallery {
    border-radius: 0;
    padding: 0;
  }

  body.single-product .scmg-single-product__summary {
    border-radius: 12px;
    padding: 0.88rem;
  }

  body.single-product .scmg-single-product__bottom .related.products ul.products,
  body.single-product .scmg-single-product__bottom .up-sells ul.products {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 0.75rem) / 2);
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
  }

  body.single-product .scmg-single-product__bottom .related.products ul.products::-webkit-scrollbar,
  body.single-product .scmg-single-product__bottom .up-sells ul.products::-webkit-scrollbar {
    display: none;
  }

  body.single-product .scmg-single-product__bottom ul.products li.product {
    scroll-snap-align: start;
  }
}

/* Hard reset for Woo single product layout stability. */
body.single-product .scmg-single-product {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr) !important;
  grid-template-areas:
    "gallery summary"
    "bottom bottom" !important;
  gap: clamp(1.1rem, 2vw, 1.7rem) !important;
  align-items: start !important;
}

body.single-product .scmg-single-product__top {
  display: contents !important;
}

body.single-product .scmg-single-product__gallery {
  grid-area: gallery;
}

body.single-product .scmg-single-product__summary {
  grid-area: summary;
}

body.single-product .scmg-single-product__bottom {
  grid-area: bottom;
  clear: both;
  width: 100%;
}

body.single-product .scmg-single-product__gallery .woocommerce-product-gallery {
  width: 100% !important;
  max-width: none !important;
}

body.single-product .scmg-single-product__gallery .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

body.single-product .scmg-single-product__gallery .woocommerce-product-gallery__image {
  border-radius: 12px;
  overflow: hidden;
}

body.single-product .scmg-single-product__gallery .woocommerce-product-gallery__image a {
  display: block !important;
  aspect-ratio: 1 / 1;
}

body.single-product .scmg-single-product__gallery .woocommerce-product-gallery__image img,
body.single-product .scmg-single-product__gallery .woocommerce-product-gallery__wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
}

body.single-product .scmg-single-product__gallery .woocommerce-product-gallery__trigger,
body.single-product .scmg-single-product__gallery .zoomImg {
  display: none !important;
}

@media (max-width: 1160px) {
  body.single-product .scmg-single-product {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "gallery"
      "summary"
      "bottom" !important;
  }
}

/* Single product UX refinements requested. */
body.single-product .scmg-single-product__summary,
.scmg-shop-single .scmg-single-product__summary,
.scmg-shop-single div.product .summary,
.scmg-shop-single div.product .entry-summary {
  position: static !important;
  top: auto !important;
}

body.single-product .scmg-single-product__bottom {
  grid-column: 1 / -1;
}

body.single-product .scmg-single-product__gallery .woocommerce-product-gallery {
  opacity: 1 !important;
}

body.single-product .scmg-single-product__gallery .flex-viewport {
  border-radius: 12px;
  overflow: hidden;
}

body.single-product .scmg-single-product__gallery .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 0.62rem 0 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.single-product .scmg-single-product__gallery .flex-control-thumbs li {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

body.single-product .scmg-single-product__gallery .flex-control-thumbs img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 9px;
  border: 1px solid rgba(35, 39, 43, 0.16);
  opacity: 0.88;
  cursor: pointer;
}

body.single-product .scmg-single-product__gallery .flex-control-thumbs img.flex-active,
body.single-product .scmg-single-product__gallery .flex-control-thumbs img:hover {
  opacity: 1;
  border-color: rgba(35, 39, 43, 0.34);
}

@media (max-width: 640px) {
  body.single-product .scmg-single-product__gallery .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
  }
}

/* Single product gallery arrows + spacing refinements. */
body.single-product .scmg-single-product__gallery .woocommerce-product-gallery {
  position: relative;
}

body.single-product .scmg-single-product__gallery .flex-viewport {
  position: relative;
}

body.single-product .scmg-single-product__gallery .flex-direction-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.single-product .scmg-single-product__gallery .flex-direction-nav a {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(245, 246, 246, 0.56);
  border-radius: 999px;
  background: rgba(16, 21, 24, 0.5);
  color: transparent !important;
  text-decoration: none;
  opacity: 1;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body.single-product .scmg-single-product__gallery .flex-direction-nav a.flex-prev {
  left: 12px;
}

body.single-product .scmg-single-product__gallery .flex-direction-nav a.flex-next {
  right: 12px;
}

body.single-product .scmg-single-product__gallery .flex-direction-nav a::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #f5f6f6;
  font-size: 1.7rem;
  line-height: 1;
}

body.single-product .scmg-single-product__gallery .flex-direction-nav a.flex-prev::after {
  content: "‹";
}

body.single-product .scmg-single-product__gallery .flex-direction-nav a.flex-next::after {
  content: "›";
}

body.single-product .scmg-single-product__gallery .flex-direction-nav a:hover {
  background: rgba(16, 21, 24, 0.72);
  border-color: rgba(245, 246, 246, 0.82);
  transform: translateY(-1px);
}

body.single-product .scmg-single-product__bottom .related.products > h2 {
  margin-top: 1.6rem;
}
