:root {
  --gm-primary: #0e3559;
  --gm-primary-strong: #0a2743;
  --gm-ink: #0a101a;
  --gm-slate: #5f7084;
  --gm-line: rgba(10, 16, 26, 0.08);
  --gm-surface: #f3f7fb;
  --gm-surface-strong: #e9eef5;
  --gm-white: #ffffff;
  --gm-hero: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.42), transparent 28%),
    linear-gradient(135deg, #f3f6fb 0%, #d9e3ef 48%, #bccddf 100%);
  --wd-primary-color: var(--gm-primary);
  --wd-alternative-color: var(--gm-primary-strong);
  --wd-title-color: var(--gm-ink);
  --wd-link-color: var(--gm-ink);
  --wd-link-color-hover: var(--gm-primary);
  --wd-main-bgcolor: #f5f8fc;
  --wd-navigation-color: 10, 16, 26;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: #f5f8fc;
}

body .btn.btn-color-primary,
body .btn-color-primary {
  --btn-bgcolor: var(--gm-primary);
  --btn-bgcolor-hover: var(--gm-primary-strong);
  --btn-brd-color: var(--gm-primary);
  --btn-brd-color-hover: var(--gm-primary-strong);
}

body .wd-tools-count,
body .woodmart-cart-number,
body .wishlist-count {
  background-color: var(--gm-primary);
}

body.home .whb-header,
body.home .whb-sticky-header,
body.home .header-banner,
body.home .wd-page-title,
body.home .title-size-default,
body.home .main-footer,
body.home .copyrights-wrapper {
  display: none !important;
}

body.home .main-page-wrapper,
body.home .wd-page-content,
body.home .gm-site-content,
body.home .site-content {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
}

.gm-entry-content {
  margin: 0 !important;
}

.gm-home {
  color: var(--gm-ink);
  background: #f5f8fc;
}

.gm-shell,
.gm-hero,
.gm-stats,
.gm-collections,
.gm-catalog,
.gm-editorial,
.gm-footer {
  width: min(1320px, calc(100vw - 48px));
  margin: 0 auto;
}

.gm-topbar {
  padding: 14px 18px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(90deg, #08101a 0%, #0e3559 100%);
  border-radius: 0 0 24px 24px;
}

.gm-navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px 0 18px;
}

.gm-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.gm-nav-right {
  justify-content: flex-end;
}

.gm-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-ink);
}

.gm-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gm-brand img {
  width: min(340px, 100%);
  height: auto;
  display: block;
}

.gm-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gm-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
}

.gm-icon svg {
  width: 100%;
  height: 100%;
}

.gm-cart-count {
  min-width: 22px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--gm-white);
  background: var(--gm-primary);
}

.gm-hero {
  margin-top: 10px;
  padding: 64px clamp(24px, 4vw, 54px);
  border-radius: 36px;
  background: var(--gm-hero);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(24px, 5vw, 80px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(13, 32, 56, 0.15);
}

.gm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 70%);
  pointer-events: none;
}

.gm-hero-copy,
.gm-hero-visual {
  position: relative;
  z-index: 1;
}

.gm-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-primary);
  background: rgba(14, 53, 89, 0.08);
}

.gm-hero h1,
.gm-section-heading h2,
.gm-editorial h2 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--gm-ink);
}

.gm-hero p,
.gm-section-heading p,
.gm-editorial p,
.gm-footer-brand p {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--gm-slate);
}

.gm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.gm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.gm-button:hover {
  transform: translateY(-2px);
}

.gm-button-primary {
  color: var(--gm-white);
  background: linear-gradient(135deg, var(--gm-primary) 0%, var(--gm-primary-strong) 100%);
  box-shadow: 0 16px 30px rgba(14, 53, 89, 0.22);
}

.gm-button-secondary {
  color: var(--gm-ink);
  border: 1px solid rgba(10, 16, 26, 0.12);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}

.gm-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.gm-badges li {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-primary-strong);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 16, 26, 0.08);
}

.gm-hero-visual {
  min-height: 620px;
  display: grid;
  place-items: center;
}

.gm-hero-card {
  position: absolute;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 70px rgba(10, 16, 26, 0.22);
}

.gm-hero-card img,
.gm-collection-media img,
.gm-editorial-media img,
.gm-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gm-hero-card-main {
  inset: 3% 10% 14% 8%;
  padding: 26px;
}

.gm-hero-card-main img {
  object-fit: contain;
}

.gm-hero-card-accent {
  right: 0;
  bottom: 0;
  width: min(290px, 42%);
  aspect-ratio: 0.8;
  padding: 16px;
}

.gm-proof {
  position: absolute;
  left: 0;
  bottom: 4%;
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(8, 16, 26, 0.92);
  color: var(--gm-white);
  box-shadow: 0 18px 30px rgba(10, 16, 26, 0.22);
}

.gm-proof strong {
  font-size: 30px;
  line-height: 1;
}

.gm-proof span {
  max-width: 180px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.gm-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.gm-stat {
  padding: 26px 24px;
  border-radius: 28px;
  background: var(--gm-white);
  border: 1px solid var(--gm-line);
  box-shadow: 0 16px 30px rgba(10, 16, 26, 0.05);
}

.gm-stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--gm-primary);
}

.gm-stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gm-slate);
}

.gm-collections,
.gm-catalog,
.gm-editorial {
  padding: 92px 0 0;
}

.gm-section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 28px;
}

.gm-section-heading h2,
.gm-editorial h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.gm-collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gm-collection-card {
  min-height: 340px;
  padding: 30px;
  border-radius: 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 26px;
  border: 1px solid var(--gm-line);
  box-shadow: 0 18px 40px rgba(10, 16, 26, 0.08);
}

.gm-collection-card span,
.gm-collection-card strong {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gm-collection-card h3 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.gm-collection-card p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
}

.gm-collection-card strong {
  display: inline-flex;
  margin-top: 18px;
}

.gm-light {
  background: linear-gradient(135deg, #ffffff 0%, #eef3f9 100%);
  color: var(--gm-ink);
}

.gm-dark {
  background: linear-gradient(135deg, #0a101a 0%, #0e3559 100%);
  color: var(--gm-white);
}

.gm-dark .gm-collection-copy span,
.gm-dark .gm-collection-copy p,
.gm-dark .gm-collection-copy strong {
  color: rgba(255, 255, 255, 0.78);
}

.gm-dark h3 {
  color: var(--gm-white);
}

.gm-collection-media {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  aspect-ratio: 0.82;
}

.gm-tab-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.gm-tab-button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(10, 16, 26, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gm-ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.gm-tab-button:hover,
.gm-tab-button.is-active {
  color: var(--gm-white);
  background: var(--gm-primary);
  border-color: var(--gm-primary);
  transform: translateY(-1px);
}

.gm-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.gm-product-card {
  display: grid;
  gap: 16px;
  padding: 16px;
  border-radius: 26px;
  background: var(--gm-white);
  border: 1px solid rgba(10, 16, 26, 0.08);
  box-shadow: 0 16px 30px rgba(10, 16, 26, 0.05);
}

.gm-product-media {
  display: block;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #e6edf5 100%);
  aspect-ratio: 0.82;
}

.gm-product-image {
  padding: 16px;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.gm-product-card:hover .gm-product-image {
  transform: scale(1.03);
}

.gm-product-copy {
  display: grid;
  gap: 8px;
}

.gm-product-context {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-primary);
}

.gm-product-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.gm-product-title a {
  color: var(--gm-ink);
}

.gm-product-price {
  min-height: 24px;
  color: var(--gm-primary-strong);
  font-weight: 700;
}

.gm-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-primary);
}

.gm-inline-link::after {
  content: "↗";
  font-size: 14px;
}

.gm-empty-state {
  grid-column: 1 / -1;
  padding: 30px;
  border-radius: 22px;
  text-align: center;
  background: var(--gm-white);
  border: 1px solid var(--gm-line);
}

.gm-editorial {
  margin-top: 24px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
}

.gm-editorial-copy {
  padding: 38px;
  border-radius: 32px;
  background: linear-gradient(135deg, #08101a 0%, #0e3559 100%);
  color: var(--gm-white);
}

.gm-editorial-copy .gm-kicker,
.gm-editorial-copy p,
.gm-editorial-copy li {
  color: rgba(255, 255, 255, 0.8);
}

.gm-editorial-copy .gm-kicker {
  background: rgba(255, 255, 255, 0.08);
}

.gm-editorial-copy h2 {
  color: var(--gm-white);
}

.gm-editorial-copy ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.gm-editorial-copy li {
  padding-left: 18px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
}

.gm-editorial-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #77a9db;
}

.gm-editorial-media {
  padding: 20px;
  border-radius: 32px;
  background: linear-gradient(180deg, #eff4fb 0%, #dee9f5 100%);
  box-shadow: 0 20px 40px rgba(10, 16, 26, 0.08);
}

.gm-editorial-media img {
  object-fit: contain;
  border-radius: 24px;
}

.gm-footer {
  padding: 34px 0 66px;
  border-top: 1px solid rgba(10, 16, 26, 0.08);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 24px;
  align-items: center;
}

.gm-footer-brand {
  display: grid;
  gap: 14px;
}

.gm-footer-brand img {
  width: min(260px, 100%);
  height: auto;
}

.gm-footer-brand p {
  margin: 0;
  max-width: 520px;
  font-size: 14px;
}

.gm-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.gm-footer-links a,
.gm-footer-copy {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gm-slate);
}

.gm-footer-copy {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 1200px) {
  .gm-navbar {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .gm-nav-left,
  .gm-nav-right {
    justify-content: center;
  }

  .gm-hero,
  .gm-editorial {
    grid-template-columns: 1fr;
  }

  .gm-hero-visual {
    min-height: 540px;
  }

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

@media (max-width: 920px) {
  .gm-shell,
  .gm-hero,
  .gm-stats,
  .gm-collections,
  .gm-catalog,
  .gm-editorial,
  .gm-footer {
    width: min(100vw - 28px, 1320px);
  }

  .gm-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .gm-brand img {
    width: min(280px, 100%);
  }

  .gm-hero {
    padding: 36px 20px;
    border-radius: 28px;
  }

  .gm-hero h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .gm-stats,
  .gm-collection-grid,
  .gm-footer {
    grid-template-columns: 1fr;
  }

  .gm-collection-card {
    grid-template-columns: 1fr;
  }

  .gm-hero-card-main {
    inset: 4% 6% 14%;
  }

  .gm-proof {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 640px) {
  .gm-topbar {
    border-radius: 0 0 18px 18px;
    font-size: 11px;
  }

  .gm-navbar {
    padding: 18px 0 14px;
  }

  .gm-nav {
    gap: 8px;
  }

  .gm-nav a {
    font-size: 11px;
  }

  .gm-brand img {
    width: min(220px, 100%);
  }

  .gm-hero-copy p,
  .gm-section-heading p,
  .gm-editorial p {
    font-size: 16px;
  }

  .gm-hero-actions,
  .gm-tab-controls {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gm-button,
  .gm-tab-button {
    width: 100%;
  }

  .gm-hero-visual {
    min-height: 430px;
  }

  .gm-hero-card-main {
    padding: 18px;
  }

  .gm-hero-card-accent {
    width: 44%;
  }

  .gm-collections,
  .gm-catalog,
  .gm-editorial {
    padding-top: 68px;
  }

  .gm-product-grid {
    grid-template-columns: 1fr;
  }

  .gm-footer-links {
    justify-content: flex-start;
  }
}
