:root {
  --mk-forest: #14301c;
  --mk-deep: #0e2415;
  --mk-moss: #2d5016;
  --mk-sage: #b7c9a8;
  --mk-bone: #f2eee1;
  --mk-paper: #efe8d8;
  --mk-brass: #c8a24e;
  --mk-soft-brass: #d9be82;
  --mk-ink: #152018;
  --mk-rust: #8f3d25;
}

body.mk-feaking-commerce {
  min-width: 320px;
  margin: 0;
  color: var(--mk-ink);
  background:
    radial-gradient(rgb(45 80 22 / 12%) 0.8px, transparent 0.8px),
    var(--mk-bone);
  background-size: 13px 13px;
  font-family: 'DM Sans', Arial, sans-serif;
}

body.mk-feaking-commerce *,
body.mk-feaking-commerce *::before,
body.mk-feaking-commerce *::after {
  box-sizing: border-box;
}

body.mk-feaking-commerce #masthead,
body.mk-feaking-commerce #colophon,
body.mk-feaking-commerce .hfe-skip-link,
body.mk-feaking-commerce #bubble-chatbot {
  display: none !important;
}

.mk-commerce-skip {
  position: fixed;
  z-index: 200;
  top: 0.5rem;
  left: 0.5rem;
  min-height: 44px;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border: 2px solid var(--mk-soft-brass);
  color: var(--mk-bone);
  background: var(--mk-deep);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.4;
  text-decoration: none;
}

.mk-commerce-skip:focus,
.mk-commerce-skip:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--mk-deep);
  outline-offset: 2px;
}

.mk-commerce-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid rgb(21 32 24 / 20%);
  background: rgb(242 238 225 / 94%);
  backdrop-filter: blur(16px);
}

.admin-bar .mk-commerce-header {
  top: 32px;
}

.mk-commerce-brand {
  display: inline-flex;
  width: fit-content;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  color: var(--mk-forest);
  text-decoration: none;
}

.mk-commerce-brand__artwork {
  --mk-lockup-height: 1.82rem;
  display: inline-flex;
  height: var(--mk-lockup-height);
  align-items: flex-start;
  gap: calc(var(--mk-lockup-height) * 0.29014);
}

.mk-commerce-brand__motif,
.mk-commerce-brand__name {
  position: relative;
  display: block;
  flex: none;
  height: var(--mk-lockup-height);
  overflow: hidden;
}

.mk-commerce-brand__motif {
  width: calc(var(--mk-lockup-height) * 1.04225);
}

.mk-commerce-brand__name {
  width: calc(var(--mk-lockup-height) * 6.87773);
}

.mk-commerce-brand__motif img,
.mk-commerce-brand__name img {
  position: absolute;
  top: 0;
  display: block;
  max-width: none;
}

.mk-commerce-brand__motif img {
  left: 0;
  width: calc(var(--mk-lockup-height) * 5.76902);
  height: var(--mk-lockup-height);
}

.mk-commerce-brand__name img {
  left: calc(var(--mk-lockup-height) * -2.0655);
  width: calc(var(--mk-lockup-height) * 8.94324);
  height: calc(var(--mk-lockup-height) * 1.55022);
}

.mk-commerce-header__context {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mk-commerce-header__context > span {
  color: var(--mk-rust);
}

.mk-commerce-header__context a {
  min-height: 44px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--mk-forest);
  color: var(--mk-forest);
  text-decoration: none;
}

body.mk-feaking-commerce #page {
  min-height: 100vh;
  background: transparent;
}

body.mk-feaking-commerce #content {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

body.mk-feaking-commerce .page-header {
  margin: 0 0 clamp(3rem, 6vw, 6rem);
}

body.mk-feaking-commerce .entry-title {
  margin: 0;
  color: var(--mk-forest);
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.88;
}

body.mk-feaking-commerce .entry-title::after {
  display: block;
  margin-top: 1.5rem;
  color: var(--mk-rust);
  content: 'Sharper choices. Securely handled.';
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

body.mk-feaking-commerce .woocommerce {
  color: var(--mk-ink);
}

body.mk-feaking-commerce .woocommerce-notices-wrapper,
body.mk-feaking-commerce .woocommerce-form-coupon-toggle {
  margin-bottom: 1.5rem;
}

body.mk-feaking-commerce .woocommerce-message,
body.mk-feaking-commerce .woocommerce-info,
body.mk-feaking-commerce .woocommerce-error {
  margin: 0 0 1rem;
  padding: 1rem 1.25rem 1rem 3.5rem;
  border: 1px solid rgb(21 32 24 / 24%);
  border-top: 3px solid var(--mk-brass);
  color: var(--mk-ink);
  background: rgb(255 253 247 / 78%);
}

body.mk-feaking-commerce .woocommerce-message::before,
body.mk-feaking-commerce .woocommerce-info::before {
  color: var(--mk-moss);
}

body.mk-feaking-commerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.8fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

body.mk-feaking-commerce form.checkout > .col2-set {
  width: 100%;
}

body.mk-feaking-commerce form.checkout > #order_review_heading,
body.mk-feaking-commerce form.checkout > #order_review {
  width: 100%;
  float: none;
}

body.mk-feaking-commerce form.checkout > #order_review_heading {
  grid-column: 2;
  margin: 0;
}

body.mk-feaking-commerce form.checkout > #order_review {
  grid-column: 2;
}

body.mk-feaking-commerce .col2-set {
  grid-row: 1 / span 2;
}

body.mk-feaking-commerce h2,
body.mk-feaking-commerce h3 {
  color: var(--mk-forest);
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.03em;
}

body.mk-feaking-commerce h3 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

body.mk-feaking-commerce .form-row {
  margin: 0 0 1.15rem;
}

body.mk-feaking-commerce label {
  margin-bottom: 0.45rem;
  color: var(--mk-forest);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.035em;
}

body.mk-feaking-commerce input.input-text,
body.mk-feaking-commerce textarea,
body.mk-feaking-commerce select,
body.mk-feaking-commerce .select2-container .select2-selection--single {
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid #526158;
  border-radius: 0;
  color: var(--mk-ink);
  background: rgb(255 253 247 / 82%);
  box-shadow: none;
  font-family: 'DM Sans', Arial, sans-serif;
}

body.mk-feaking-commerce input::placeholder,
body.mk-feaking-commerce textarea::placeholder {
  color: #526158;
  opacity: 1;
}

body.mk-feaking-commerce textarea {
  min-height: 140px;
}

body.mk-feaking-commerce input.input-text:focus,
body.mk-feaking-commerce textarea:focus,
body.mk-feaking-commerce select:focus,
body.mk-feaking-commerce .select2-container--focus .select2-selection--single,
body.mk-feaking-commerce a:focus-visible,
body.mk-feaking-commerce button:focus-visible {
  outline: 3px solid var(--mk-deep);
  outline-offset: 3px;
}

body.mk-feaking-commerce input.input-text:focus,
body.mk-feaking-commerce textarea:focus,
body.mk-feaking-commerce select:focus,
body.mk-feaking-commerce .select2-container--focus .select2-selection--single {
  border-color: var(--mk-deep);
}

body.mk-feaking-commerce input[type='checkbox']:focus-visible,
body.mk-feaking-commerce input[type='radio']:focus-visible {
  outline: 3px solid var(--mk-deep);
  outline-offset: 3px;
}

body.mk-feaking-commerce .woocommerce-invalid input.input-text,
body.mk-feaking-commerce .woocommerce-invalid select,
body.mk-feaking-commerce .woocommerce-invalid .select2-selection--single {
  border: 2px solid var(--mk-rust);
}

body.mk-feaking-commerce .woocommerce-checkout-review-order,
body.mk-feaking-commerce .cart_totals {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--mk-brass);
  color: var(--mk-bone);
  background: var(--mk-forest);
}

body.mk-feaking-commerce table.shop_table {
  border: 1px solid rgb(21 32 24 / 28%);
  border-collapse: collapse;
  border-radius: 0;
  background: rgb(255 253 247 / 72%);
}

body.mk-feaking-commerce .woocommerce-checkout-review-order table.shop_table {
  border-color: rgb(242 238 225 / 24%);
  color: var(--mk-bone);
  background: transparent;
}

body.mk-feaking-commerce table.shop_table th,
body.mk-feaking-commerce table.shop_table td {
  padding: 1rem;
  border: 1px solid rgb(21 32 24 / 24%);
}

body.mk-feaking-commerce .woocommerce-checkout-review-order table.shop_table th,
body.mk-feaking-commerce .woocommerce-checkout-review-order table.shop_table td {
  border-color: rgb(242 238 225 / 20%);
}

body.mk-feaking-commerce .woocommerce-checkout-review-order a {
  color: var(--mk-soft-brass);
}

body.mk-feaking-commerce .woocommerce-checkout-review-order a:focus-visible,
body.mk-feaking-commerce .woocommerce-checkout-review-order button:focus-visible {
  outline-color: var(--mk-soft-brass);
}

body.mk-feaking-commerce #payment {
  margin-top: 1.5rem;
  border-radius: 0;
  color: var(--mk-ink);
  background: var(--mk-paper);
}

body.mk-feaking-commerce #payment div.payment_box {
  border: 1px solid rgb(21 32 24 / 18%);
  border-radius: 0;
  background: rgb(255 253 247 / 76%);
}

body.mk-feaking-commerce #payment div.payment_box::before {
  border-bottom-color: rgb(255 253 247 / 76%);
}

body.mk-feaking-commerce .woocommerce button.button,
body.mk-feaking-commerce .woocommerce a.button,
body.mk-feaking-commerce #place_order {
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border: 1px solid var(--mk-brass);
  border-radius: 0;
  color: var(--mk-bone);
  background: var(--mk-forest);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.mk-feaking-commerce .woocommerce button.button:hover,
body.mk-feaking-commerce .woocommerce a.button:hover,
body.mk-feaking-commerce #place_order:hover {
  color: var(--mk-deep);
  background: var(--mk-brass);
}

body.mk-feaking-commerce .woocommerce-cart-form {
  overflow-x: auto;
  margin-bottom: 2.5rem;
}

body.mk-feaking-commerce .product-thumbnail img {
  width: 76px;
  border: 1px solid rgb(21 32 24 / 18%);
}

body.mk-feaking-commerce .cart-collaterals {
  margin-top: 3rem;
}

body.mk-feaking-commerce .cart_totals h2 {
  color: var(--mk-bone);
}

.mk-commerce-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem clamp(1.25rem, 5vw, 5rem);
  border-top: 1px solid rgb(242 238 225 / 22%);
  color: var(--mk-sage);
  background: var(--mk-deep);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.025em;
  line-height: 1.6;
}

.mk-commerce-footer p {
  max-width: 44rem;
  margin: 0;
}

.mk-commerce-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1.25rem;
}

.mk-commerce-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--mk-soft-brass);
  text-underline-offset: 0.24em;
}

.mk-commerce-footer a:focus-visible {
  outline: 3px solid var(--mk-soft-brass);
  outline-offset: 3px;
}

body.mk-feaking-home #bubble-chatbot,
body.mk-feaking-home .mwai-chatbot-container,
body.mk-feaking-home .mwai-open-button {
  display: none !important;
}

@media (max-width: 900px) {
  body.mk-feaking-commerce form.checkout {
    grid-template-columns: 1fr;
  }

  body.mk-feaking-commerce form.checkout > #order_review_heading,
  body.mk-feaking-commerce form.checkout > #order_review {
    grid-column: 1;
  }

  body.mk-feaking-commerce .col2-set {
    grid-row: auto;
  }
}

@media (max-width: 782px) {
  .admin-bar .mk-commerce-header {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .mk-commerce-header {
    position: relative;
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 1.25rem 1.25rem;
  }

  .admin-bar .mk-commerce-header {
    top: 0;
  }

  .mk-commerce-header__context {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
  }

  .mk-commerce-header__context a {
    width: 100%;
    text-align: center;
  }

  body.mk-feaking-commerce #content {
    width: min(100% - 1.5rem, 1180px);
    padding: 3.5rem 0;
  }

  body.mk-feaking-commerce .entry-title {
    font-size: clamp(3.6rem, 19vw, 5.8rem);
  }

  body.mk-feaking-commerce table.shop_table th,
  body.mk-feaking-commerce table.shop_table td {
    padding: 0.8rem;
  }

  body.mk-feaking-commerce .woocommerce-checkout-review-order,
  body.mk-feaking-commerce .cart_totals {
    padding: 1rem;
  }

  .mk-commerce-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .mk-commerce-footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mk-commerce-skip {
    transition: none;
  }
}

@media (forced-colors: active) {
  .mk-commerce-skip,
  body.mk-feaking-commerce input.input-text,
  body.mk-feaking-commerce textarea,
  body.mk-feaking-commerce select,
  body.mk-feaking-commerce .select2-container .select2-selection--single,
  body.mk-feaking-commerce .woocommerce-checkout-review-order,
  body.mk-feaking-commerce .cart_totals,
  .mk-commerce-footer {
    border: 1px solid CanvasText;
  }
}
