body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) {
  --kg-paper: #f3f3e9;
  --kg-ink: #173c38;
  --kg-accent: #006e65;
  --kg-line: #c6d1c7;
  background: var(--kg-paper);
  color: var(--kg-ink);
  font-family: 'DM Sans', Arial, sans-serif;
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) #masthead { display: none; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .site-content { background: var(--kg-paper); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(h1, h2, h3) {
  color: var(--kg-ink);
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
}
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) h1 { font-size: clamp(42px, 5vw, 68px); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(a, .woocommerce-info::before, .woocommerce-message::before) { color: var(--kg-accent); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.button, button.button, input.button, #place_order) { background: var(--kg-accent); color: #fff; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.button, button.button, input.button, #place_order):hover { background: var(--kg-ink); color: #fff; }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(input, select, textarea) { border-color: var(--kg-line); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.woocommerce-message, .woocommerce-info) { border-top-color: var(--kg-accent); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(table.shop_table, .cart_totals, #order_review, .woocommerce-MyAccount-content) { border-color: var(--kg-line); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .site-footer { background: var(--kg-paper); }
body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce { overflow-wrap: anywhere; }
.kg-account-auth { max-width: 560px; }
.kg-digital-delivery, .kg-payment-proof {
  margin-bottom: 24px;
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--kg-line);
  background: #fafaf2;
}
.kg-delivery-text { white-space: pre-wrap; }
.kg-payment-proof form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.kg-payment-proof label { flex-basis: 100%; font-weight: 600; }
.kg-payment-proof input[type="file"] { max-width: 100%; }
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: var(--kg-ink); font-weight: 600; }
@media (max-width: 768px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation ul { display: flex; flex-wrap: wrap; margin: 0 0 24px; padding: 0; }
  body.woocommerce-account .woocommerce-MyAccount-navigation li { flex: 1 1 auto; list-style: none; }
  body.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; }
  body.woocommerce-account table.woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number {
    display: block;
    text-align: right;
    border-bottom: 1px solid var(--kg-line);
  }
  body.woocommerce-account table.woocommerce-orders-table tbody th.woocommerce-orders-table__cell-order-number::before {
    content: attr(data-title) ": ";
    float: left;
  }
}
@media (max-width: 480px) {
  body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .kg-catalogue-nav { gap: 8px 13px; }
  body:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .kg-catalogue-links { gap: 12px; flex-wrap: wrap; }
}
