/* ==========================================================================
   Soknockk — Global styles (aligned to reference-design.png)
   Phase 1 Visual Refinement
   ========================================================================== */

:root {
  --sk-white: #ffffff;
  --sk-black: #222222;
  --sk-charcoal: #2a2a2a;
  --sk-gray-100: #f5f5f5;
  --sk-gray-200: #eeeeee;
  --sk-gray-300: #e0e0e0;
  --sk-gray-500: #888888;
  --sk-gray-600: #666666;
  --sk-gray-700: #444444;
  --sk-green: #3b8c3a;
  --sk-green-hover: #327831;
  --sk-border: #e8e8e8;
  --sk-container: 1240px;
  --sk-radius: 2px;
  --sk-font: "Montserrat", "Helvetica Neue", Helvetica, sans-serif;
  --sk-header-h: 68px;
  --sk-topbar-h: 32px;
  --sk-gutter: 40px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sk-font);
  font-size: 14px;
  line-height: 1.55;
  color: var(--sk-black);
  background: var(--sk-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--sk-green);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
input {
  font: inherit;
}

.sk-container {
  width: 100%;
  max-width: var(--sk-container);
  margin-inline: auto;
  padding-inline: var(--sk-gutter);
}

.sk-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sk-green);
  color: #fff;
  padding: 8px 14px;
  z-index: 10000;
}

.sk-skip-link:focus {
  left: 12px;
  top: 12px;
}

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

/* Buttons */
.sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--sk-radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.sk-btn--primary {
  background: var(--sk-green);
  color: #fff;
  border-color: var(--sk-green);
}

.sk-btn--primary:hover {
  background: var(--sk-green-hover);
  border-color: var(--sk-green-hover);
  color: #fff;
}

.sk-btn--outline {
  background: #fff;
  color: var(--sk-black);
  border: 1px solid var(--sk-border);
}

.sk-btn--outline:hover {
  border-color: var(--sk-green);
  color: var(--sk-green);
  background: #fff;
}

.sk-btn--lg {
  min-height: 46px;
  padding: 0 26px;
  font-size: 12px;
}

.sk-text-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sk-green);
}

.sk-text-link:hover {
  color: var(--sk-green-hover);
}

.sk-section-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--sk-black);
}

.sk-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.sk-section-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--sk-gray-600);
  white-space: nowrap;
}

.sk-section-link:hover {
  color: var(--sk-green);
}

/* Top bar */
.sk-topbar {
  background: var(--sk-black);
  color: #d0d0d0;
  font-size: 11px;
  line-height: 1.2;
  min-height: var(--sk-topbar-h);
}

.sk-topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--sk-topbar-h);
  gap: 12px;
}

.sk-topbar__welcome {
  justify-self: start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sk-topbar__perks {
  display: flex;
  align-items: center;
  gap: 0;
  justify-self: center;
}

.sk-topbar__perks li {
  padding: 0 12px;
  position: relative;
}

.sk-topbar__perks li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 9px;
  background: #555;
  transform: translateY(-50%);
}

.sk-topbar__help {
  justify-self: end;
  white-space: nowrap;
}

.sk-topbar__help a {
  color: #fff;
  font-weight: 500;
  margin-left: 4px;
}

.sk-topbar__help span {
  color: #fff;
  font-weight: 500;
  margin-left: 4px;
}

/* Header */
.sk-header {
  background: var(--sk-white);
  border-bottom: 1px solid var(--sk-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.sk-header__inner {
  display: grid;
  grid-template-columns: minmax(160px, 210px) 1fr auto;
  align-items: center;
  min-height: var(--sk-header-h);
  gap: 20px;
}

.sk-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  color: var(--sk-black);
  line-height: 1;
}

.sk-logo:hover {
  color: var(--sk-black);
}

.sk-header__brand {
  min-width: 0;
}

.sk-logo__name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--sk-green);
}

.sk-logo__tagline {
  font-size: 10px;
  font-weight: 400;
  font-style: italic;
  color: #222;
  letter-spacing: 0.01em;
  line-height: 1.25;
  white-space: nowrap;
}

.sk-logo--footer .sk-logo__name {
  color: #fff;
  font-size: 20px;
}

.sk-logo--footer .sk-logo__tagline {
  color: rgba(255, 255, 255, 0.82);
}

.sk-logo--mobile .sk-logo__name {
  font-size: 18px;
}

.sk-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 18px;
}

.sk-nav__list a {
  font-size: 13px;
  font-weight: 500;
  color: var(--sk-gray-700);
  padding: 6px 0;
}

.sk-nav__list a:hover,
.sk-nav__list .current-menu-item > a {
  color: var(--sk-green);
}

.sk-header__actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sk-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--sk-black);
  cursor: pointer;
  border-radius: var(--sk-radius);
}

.sk-icon-btn svg {
  width: 18px;
  height: 18px;
}

.sk-icon-btn:hover {
  color: var(--sk-green);
}

.sk-cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--sk-green);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
}

.sk-menu-toggle {
  display: none;
}

.sk-search-panel {
  border-top: 1px solid var(--sk-border);
  background: var(--sk-white);
  padding: 14px 0;
}

.sk-search-form {
  display: flex;
  gap: 10px;
}

.sk-search-form input[type="search"] {
  flex: 1;
  min-height: 42px;
  border: 1px solid var(--sk-border);
  padding: 0 14px;
  border-radius: var(--sk-radius);
}

/* Mobile nav drawer */
.sk-nav-backdrop,
.sk-filter-backdrop {
  display: none;
}

.sk-mobile-nav {
  display: none;
}

.sk-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sk-mobile-nav__title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sk-gray-600);
}

.sk-mobile-nav__list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--sk-gray-200);
  font-size: 15px;
  font-weight: 500;
  min-height: 44px;
}

html.sk-nav-open,
html.sk-filters-open {
  overflow: hidden;
}

body.sk-nav-open,
body.sk-filters-open {
  overflow: hidden;
  touch-action: none;
}

/* Footer */
.sk-footer {
  background: var(--sk-charcoal);
  color: #cfcfcf;
  padding-top: 48px;
}

.sk-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.sk-footer__logo {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.sk-footer__brand .sk-logo {
  margin-bottom: 14px;
  max-width: 180px;
}

.sk-footer__about {
  font-size: 13px;
  line-height: 1.65;
  color: #a8a8a8;
  max-width: 320px;
  margin-bottom: 12px;
}

.sk-footer__contact {
  margin: 0 0 16px;
  font-size: 13px;
  color: #c8c8c8;
}

.sk-footer__contact a {
  color: #e8e8e8;
}

.sk-footer__contact a:hover {
  color: #fff;
}

.sk-footer__social {
  display: flex;
  gap: 10px;
}

.sk-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #ddd;
  border: 1px solid #444;
  border-radius: 50%;
}

.sk-footer__social a:hover {
  color: #fff;
  border-color: var(--sk-green);
}

.sk-footer__heading {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.sk-footer__links {
  display: grid;
  gap: 8px;
}

.sk-footer__links a {
  font-size: 13px;
  color: #a8a8a8;
}

.sk-footer__links a:hover {
  color: #fff;
}

.sk-footer__bottom {
  border-top: 1px solid #3a3a3a;
}

.sk-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  font-size: 12px;
  color: #8f8f8f;
}

.sk-footer__legal {
  display: flex;
  gap: 16px;
}

.sk-footer__legal a:hover {
  color: #fff;
}

/* Generic page shell */
.sk-main {
  min-height: 40vh;
}

.sk-page {
  padding: 40px 0 64px;
  min-width: 0;
  max-width: 100%;
}

.sk-page > article {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
}

/* Content Hub singles: TOC + tables need more than a 720px text column. */
.sk-hub .sk-page > article,
.sk-hub--guide .sk-page > article {
  max-width: 1200px;
  margin-inline: 0;
}

.sk-page .entry-content {
  max-width: none;
  overflow-wrap: anywhere;
}

.sk-contact-meta,
.sk-quote-context {
  text-align: left;
}

.sk-contact-form {
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.sk-contact-meta {
  margin: 0 0 24px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #444;
}

.sk-contact-meta p {
  margin: 0;
}

.sk-contact-inquiry-cta {
  margin-top: 12px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.sk-contact-inquiry-cta__hint {
  font-size: 13px;
  color: #666;
}

.sk-quote-context {
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid var(--sk-border, #e8e8e8);
  background: #fafafa;
}

.sk-quote-context__label {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
}

.sk-quote-context p {
  margin: 0;
  font-size: 14px;
  color: #444;
}

.sk-quote-context__hint {
  margin-top: 8px !important;
  font-size: 12px !important;
  color: #888 !important;
}

.sk-contact-notice {
  margin: 0 0 16px;
  padding: 12px 14px;
  font-size: 14px;
  border: 1px solid transparent;
}

.sk-contact-notice--success {
  background: #eef7f0;
  border-color: #b7d9be;
  color: #1f5a2c;
}

.sk-contact-notice--error {
  background: #fdf0f0;
  border-color: #e0b4b4;
  color: #7a1f1f;
}

.sk-contact-form__field {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.sk-contact-form__field input,
.sk-contact-form__field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  font: inherit;
}

.sk-contact-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.sk-contact-form .sk-btn {
  justify-self: start;
}

/* ==========================================================================
   Phase 4 — Responsive (Desktop base styles above stay unchanged ≥1200px)
   ========================================================================== */

@media (max-width: 1199px) {
  :root {
    --sk-gutter: 28px;
    --sk-header-h: 64px;
  }

  .sk-nav {
    display: none;
  }

  .sk-menu-toggle {
    display: inline-flex;
  }

  .sk-header__inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .sk-logo__tagline {
    display: none;
  }

  .sk-logo__name {
    font-size: 18px;
  }

  .sk-topbar__inner {
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .sk-topbar__perks {
    display: none;
  }

  .sk-topbar__welcome {
    font-size: 10px;
  }

  .sk-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1090;
  }

  .sk-nav-backdrop[hidden] {
    display: none !important;
  }

  .sk-mobile-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 88vw);
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 1100;
    padding: 16px 20px 28px;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.22s ease, visibility 0.22s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
  }

  .sk-mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .sk-mobile-nav[hidden] {
    display: block !important;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
  }

  .sk-mobile-nav.is-open[hidden] {
    pointer-events: auto;
    visibility: visible;
  }

  .sk-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 767px) {
  :root {
    --sk-gutter: 16px;
    --sk-header-h: 58px;
    --sk-topbar-h: auto;
  }

  .sk-topbar__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 6px 0;
    gap: 2px;
  }

  .sk-topbar__welcome,
  .sk-topbar__help {
    justify-self: center;
    white-space: normal;
    font-size: 10px;
  }

  .sk-header__actions .sk-account-link {
    display: none;
  }

  .sk-search-form {
    flex-direction: column;
  }

  .sk-search-form .sk-btn {
    width: 100%;
  }

  .sk-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sk-footer__bottom-inner {
    flex-direction: column;
    padding: 14px 0;
    text-align: center;
  }

  .sk-footer__legal {
    flex-wrap: wrap;
    justify-content: center;
  }

  .sk-section-title {
    font-size: 22px;
  }

  .sk-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* No overflow-x masking — layout must fit the viewport on its own. */
