/*
Theme Name: Kratom Kaiser
Theme URI: https://kratomkaiser.3webseiten.com
Author: 3webseiten
Description: Custom theme for Kratom Kaiser — premium, lab-tested kratom shop.
Version: 1.0.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: kratomkaiser
*/

:root {
  --kk-cream: #efebe4;
  --kk-cream-deep: #e7e1d4;
  --kk-forest: #2b3b23;
  --kk-pine: #23422d;
  --kk-olive: #354127;
  --kk-gold: #a08a3c;
  --kk-text: #4a4a44;
  --kk-line: #d9d3c5;
  --kk-white: #ffffff;
  --kk-font-serif: "Playfair Display", Georgia, serif;
  --kk-font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--kk-font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--kk-text);
  background: var(--kk-white);
  -webkit-font-smoothing: antialiased;
}

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

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

.kk-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------------------------------- Header ---------------------------------- */

.kk-header {
  background: var(--kk-white);
  position: relative;
  z-index: 50;
}

.kk-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
}

.kk-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.kk-header__logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.kk-nav {
  display: none;
}

.kk-header__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kk-iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--kk-pine);
  cursor: pointer;
  border-radius: 50%;
}

.kk-iconbtn:hover {
  background: var(--kk-cream);
}

.kk-iconbtn svg {
  width: 21px;
  height: 21px;
}

.kk-badge {
  position: absolute;
  top: 4px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #57815f;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

/* Mobile menu toggle */
.kk-menu-toggle {
  display: inline-flex;
}

.kk-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.kk-mobile-nav {
  display: none;
  background: var(--kk-white);
  border-top: 1px solid var(--kk-line);
  padding: 8px 0 16px;
}

.kk-mobile-nav.is-open {
  display: block;
}

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

.kk-mobile-nav a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--kk-pine);
}

@media (min-width: 900px) {
  .kk-header__inner {
    min-height: 96px;
    gap: 40px;
  }

  .kk-header__logo {
    width: 64px;
    height: 64px;
  }

  .kk-nav {
    display: block;
  }

  .kk-nav ul {
    list-style: none;
    display: flex;
    gap: 34px;
    margin: 0;
    padding: 0;
  }

  .kk-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--kk-pine);
    letter-spacing: 0.01em;
    transition: color 0.15s ease;
  }

  .kk-nav a:hover {
    color: var(--kk-gold);
  }

  .kk-menu-toggle,
  .kk-mobile-nav {
    display: none;
  }
}

/* ----------------------------------- Hero ----------------------------------- */

.kk-hero {
  position: relative;
  background: linear-gradient(135deg, #f1ede6 0%, var(--kk-cream) 55%, #e9e3d5 100%);
  overflow: hidden;
}

.kk-hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 48px;
  padding-bottom: 0;
}

.kk-hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.kk-hero__eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--kk-forest);
}

.kk-hero__title {
  margin: 0;
  font-family: var(--kk-font-serif);
  font-weight: 500;
  font-size: clamp(3rem, 8.5vw, 7.25rem);
  line-height: 1.06;
  letter-spacing: 0.005em;
  color: var(--kk-forest);
}

.kk-hero__rule {
  width: 62px;
  height: 3px;
  background: var(--kk-gold);
  border: 0;
  margin: 30px 0 26px;
}

.kk-hero__lead {
  margin: 0;
  max-width: 42ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--kk-text);
}

/* Feature trio */
.kk-hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  align-items: stretch;
  margin-top: 38px;
}

.kk-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-right: 16px;
  max-width: 160px;
}

.kk-feature + .kk-feature {
  padding-left: 16px;
  border-left: 1px solid var(--kk-line);
}

.kk-feature__label {
  hyphens: auto;
  overflow-wrap: break-word;
}

@media (min-width: 600px) {
  .kk-feature {
    padding-right: 26px;
  }

  .kk-feature + .kk-feature {
    padding-left: 26px;
  }
}

.kk-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--kk-forest);
  border-radius: 50%;
  color: var(--kk-forest);
  flex-shrink: 0;
}

.kk-feature__icon svg {
  width: 22px;
  height: 22px;
}

.kk-feature__label {
  font-size: 13px;
  line-height: 1.45;
  color: var(--kk-text);
}

/* CTA */
.kk-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding: 17px 34px;
  background: var(--kk-pine);
  color: #f2f0e7;
  font-family: var(--kk-font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.kk-btn:hover {
  background: #1c3624;
  transform: translateY(-1px);
}

.kk-btn svg {
  width: 17px;
  height: 17px;
}

/* Hero visual */
.kk-hero__visual {
  position: relative;
  margin-top: 28px;
  align-self: center;
  width: min(100%, 620px);
}

.kk-hero__img {
  display: block;
  width: 100%;
  height: auto;
  /* The source PNG has a faint white backdrop; multiply blends it into the cream
     hero, and the mask fades the box edges so no seam is visible. */
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%),
    linear-gradient(to bottom, transparent 0, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 10%),
    linear-gradient(to bottom, transparent 0, #000 12%);
  mask-composite: intersect;
}

/* Trust card */
.kk-trust {
  position: absolute;
  right: 4px;
  bottom: 12%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 320px;
  padding: 18px 22px;
  background: var(--kk-olive);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(31, 41, 22, 0.28);
}

.kk-trust__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #f4f1e8;
  border-radius: 50%;
  color: var(--kk-olive);
  flex-shrink: 0;
}

.kk-trust__icon svg {
  width: 22px;
  height: 22px;
}

.kk-trust__title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #f4f1e8;
}

.kk-trust__text {
  margin: 3px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(244, 241, 232, 0.72);
}

/* Decorative floating leaves */
.kk-hero__leaf {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
}

.kk-hero__leaf--1 {
  top: 4%;
  right: 30%;
  width: 46px;
  transform: rotate(-24deg);
}

.kk-hero__leaf--2 {
  top: 12%;
  left: 46%;
  width: 30px;
  transform: rotate(140deg);
  opacity: 0.55;
}

.kk-hero__leaf--3 {
  top: 40%;
  left: 40%;
  width: 24px;
  transform: rotate(60deg);
  opacity: 0.4;
}

@media (max-width: 559px) {
  .kk-trust {
    position: static;
    margin: 10px auto 28px;
  }

  .kk-hero__leaf {
    display: none;
  }
}

@media (min-width: 560px) and (max-width: 1023px) {
  .kk-trust {
    right: 12px;
    bottom: 8%;
  }
}

@media (min-width: 1024px) {
  .kk-hero__inner {
    flex-direction: row;
    align-items: center;
    min-height: clamp(640px, calc(100vh - 96px), 840px);
    padding-top: 0;
    /* Let the absolutely positioned visual anchor to the full-width section
       so the image bleeds to the viewport edge like the mock. */
    position: static;
  }

  .kk-hero__content {
    flex: 0 0 44%;
    padding: 72px 0;
  }

  .kk-hero__visual {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 67%;
    max-width: none;
    margin-top: 0;
    align-self: stretch;
  }

  /* Fill the entire hero height, anchored to the bottom-right like the mock;
     overflow on the left is hidden by the section and faded by the mask. */
  .kk-hero__img {
    position: relative;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right bottom;
  }

  .kk-trust {
    right: 3%;
    bottom: 13%;
  }
}

/* ------------------------------ Products section ----------------------------- */

.kk-products {
  background: var(--kk-white);
  padding: 64px 0 72px;
}

.kk-products__head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.kk-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--kk-line);
  border-radius: 999px;
  background: #f7f5ef;
  color: var(--kk-pine);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kk-pill svg {
  width: 15px;
  height: 15px;
}

.kk-products__title {
  margin: 18px 0 10px;
  font-family: var(--kk-font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 2.75rem);
  line-height: 1.15;
  color: var(--kk-forest);
}

.kk-products__sub {
  margin: 0;
  font-size: 16px;
  color: var(--kk-text);
}

/* USP row */
.kk-usps {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
  justify-items: start;
}

.kk-usp {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kk-usp__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--kk-line);
  border-radius: 50%;
  background: #f7f5ef;
  color: var(--kk-pine);
  flex-shrink: 0;
}

.kk-usp__icon svg {
  width: 20px;
  height: 20px;
}

.kk-usp__body {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.kk-usp__body strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--kk-forest);
}

.kk-usp__body small {
  font-size: 12.5px;
  color: #8a8a80;
}

/* Product grid */
.kk-product-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.kk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 22px;
  background: #fffefb;
  border: 1px solid #eceadf;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(43, 59, 35, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.kk-card:hover {
  box-shadow: 0 14px 34px rgba(43, 59, 35, 0.11);
  transform: translateY(-2px);
}

.kk-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #f4f1e6;
  border-radius: 999px;
  color: var(--kk-pine);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kk-card__badge svg {
  width: 13px;
  height: 13px;
}

.kk-card__media {
  display: block;
  margin: 6px auto 0;
  width: min(100%, 260px);
}

.kk-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.kk-card__title {
  margin: 16px 0 0;
  font-family: var(--kk-font-sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--kk-forest);
}

.kk-card__title a:hover {
  color: var(--kk-gold);
}

.kk-card__desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--kk-text);
}

.kk-card__price {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #3c3c36;
}

.kk-card__price .woocommerce-Price-amount {
  font-weight: 600;
}

.kk-card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.kk-card__cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--kk-pine);
  border-radius: 8px;
  color: var(--kk-pine);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.kk-card__cta:hover {
  background: var(--kk-pine);
  color: #f2f0e7;
}

.kk-card__cta svg {
  width: 15px;
  height: 15px;
}

.kk-card__wish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--kk-line);
  border-radius: 8px;
  color: #a9a698;
  transition: color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.kk-card__wish:hover {
  color: #c0603f;
  border-color: #c0603f;
}

.kk-card__wish svg {
  width: 19px;
  height: 19px;
}

.kk-products__footer {
  text-align: center;
  margin-top: 44px;
}

.kk-products__footer .kk-btn {
  margin-top: 0;
}

@media (min-width: 640px) {
  .kk-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kk-usps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
  }
}

@media (min-width: 1100px) {
  .kk-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .kk-products {
    padding: 84px 0 92px;
  }
}

/* ------------------------------ Generic content ------------------------------ */

.kk-page {
  padding: 64px 0;
}

.kk-page h1,
.kk-page h2,
.kk-page h3 {
  font-family: var(--kk-font-serif);
  color: var(--kk-forest);
  font-weight: 500;
}

/* ---------------------------------- Footer ---------------------------------- */

.kk-footer {
  position: relative;
  background: #06241a;
  color: rgba(240, 244, 238, 0.78);
  font-size: 14px;
  overflow: hidden;
}

.kk-footer a {
  transition: color 0.15s ease;
}

.kk-footer a:hover {
  color: #fff;
}

.kk-footer__main {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 52px;
}

/* Brand column */
.kk-footer__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.kk-footer__logo img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.kk-footer__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.kk-footer__wordmark small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #cbb469;
}

.kk-footer__wordmark strong {
  font-family: var(--kk-font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #f4f1e6;
}

.kk-footer__desc {
  margin: 20px 0 0;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
}

.kk-footer__usps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kk-footer__usps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
}

.kk-footer__usps svg {
  width: 17px;
  height: 17px;
  color: #a6c363;
  flex-shrink: 0;
}

.kk-footer__heading {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a6c363;
}

.kk-footer__heading svg {
  width: 17px;
  height: 17px;
}

.kk-footer__follow {
  margin: 26px 0 14px;
}

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

.kk-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(166, 195, 99, 0.55);
  border-radius: 50%;
  color: #a6c363;
  transition: background 0.15s ease, color 0.15s ease;
}

.kk-footer__social a:hover {
  background: #a6c363;
  color: #06241a;
}

.kk-footer__social svg {
  width: 18px;
  height: 18px;
}

/* Link columns */
.kk-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kk-footer__col a {
  font-size: 13.5px;
  color: rgba(240, 244, 238, 0.78);
}

/* Newsletter */
.kk-footer__nl-title {
  margin: 0 0 8px;
  font-family: var(--kk-font-serif);
  font-size: 21px;
  font-weight: 600;
  color: #f4f1e6;
}

.kk-footer__nl-text {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.65;
}

.kk-footer__nl-form input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(240, 244, 238, 0.28);
  border-radius: 10px;
  color: #f4f1e6;
  font-family: var(--kk-font-sans);
  font-size: 14px;
}

.kk-footer__nl-form input::placeholder {
  color: rgba(240, 244, 238, 0.45);
}

.kk-footer__nl-form input:focus {
  outline: none;
  border-color: #a6c363;
}

.kk-footer__nl-form button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 26px;
  background: #6e8e46;
  color: #f4f8ec;
  border: 0;
  border-radius: 999px;
  font-family: var(--kk-font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.kk-footer__nl-form button:hover {
  background: #7d9e51;
}

.kk-footer__nl-form button svg {
  width: 15px;
  height: 15px;
}

.kk-footer__nl-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 12px;
  color: rgba(240, 244, 238, 0.6);
}

.kk-footer__nl-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Bottom bar */
.kk-footer__bottom {
  position: relative;
  background: #031b0d;
}

.kk-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 13px;
}

.kk-footer__copy {
  margin: 0;
  color: rgba(240, 244, 238, 0.7);
}

.kk-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.kk-footer__legal a {
  color: rgba(240, 244, 238, 0.78);
}

.kk-footer__pay {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kk-pay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 52px;
  height: 30px;
  padding: 0 9px;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.kk-pay--visa {
  color: #1434cb;
  font-style: italic;
  letter-spacing: 0.02em;
}

.kk-pay svg {
  height: 16px;
  width: auto;
}

.kk-pay--paypal {
  color: #003087;
}

.kk-pay--paypal i {
  font-style: normal;
  color: #009cde;
}

.kk-pay--klarna {
  background: #ffb3c7;
  color: #17120f;
}

.kk-pay--apple svg {
  height: 15px;
  margin-right: 1px;
}

@media (min-width: 700px) {
  .kk-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kk-footer__bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1100px) {
  .kk-footer__main {
    grid-template-columns: 1.35fr 0.75fr 0.8fr 0.95fr 1.25fr;
    gap: 48px;
    padding-top: 68px;
    padding-bottom: 60px;
  }

}

/* ----------------------------- Single product page ---------------------------- */

.kk-product {
  padding-top: 8px;
}

.kk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #8a8a80;
  margin-bottom: 22px;
}

.kk-breadcrumb a:hover {
  color: var(--kk-pine);
}

.kk-breadcrumb__current {
  color: var(--kk-pine);
  font-weight: 500;
}

.kk-product__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

/* Gallery */
.kk-product__stage {
  position: relative;
  background: #fdfcf9;
  border: 1px solid #eceadf;
  border-radius: 14px;
  overflow: hidden;
}

.kk-product__stage img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.kk-product__flag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 16px;
  background: #20241c;
  color: #f2f0e7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.kk-product__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 50%;
  color: var(--kk-forest);
  box-shadow: 0 4px 14px rgba(31, 41, 22, 0.16);
}

.kk-product__zoom svg {
  width: 19px;
  height: 19px;
}

.kk-product__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.kk-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: #fdfcf9;
  cursor: pointer;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

.kk-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kk-thumb.is-active {
  border-color: var(--kk-pine);
}

/* Info column */
.kk-product__title {
  margin: 12px 0 0;
  font-family: var(--kk-font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.15;
  color: var(--kk-forest);
}

.kk-product__meta {
  margin: 10px 0 0;
  font-size: 14px;
  color: #77776d;
}

.kk-product__excerpt {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--kk-text);
}

.kk-product__excerpt p {
  margin: 0;
}

/* Benefits box */
.kk-benefits {
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 20px;
  background: #f4f3ea;
  border: 1px solid #e7e4d6;
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 22px;
}

.kk-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.kk-benefits svg {
  width: 20px;
  height: 20px;
  color: var(--kk-pine);
  flex-shrink: 0;
  margin-top: 2px;
}

.kk-benefits span {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.kk-benefits strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--kk-forest);
}

.kk-benefits small {
  font-size: 12.5px;
  color: #8a8a80;
}

@media (min-width: 480px) {
  .kk-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Weight selector */
.kk-buy__label {
  margin: 24px 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--kk-forest);
}

.kk-weights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kk-weight {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  padding: 12px 14px 10px;
  background: #fdfcf9;
  border: 1.5px solid var(--kk-line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kk-weight input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kk-weight.is-active {
  border-color: var(--kk-pine);
  box-shadow: 0 0 0 1px var(--kk-pine);
  background: #fff;
}

.kk-weight__size {
  font-size: 14px;
  font-weight: 700;
  color: var(--kk-forest);
}

.kk-weight__price {
  font-size: 12px;
  color: #8a8a80;
  margin-top: 2px;
}

.kk-weight__tag {
  position: absolute;
  top: -9px;
  right: -6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e8ecdb;
  color: var(--kk-pine);
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.kk-weight__tag--pop {
  background: var(--kk-gold);
  color: #fff;
}

/* Price + stock */
.kk-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 22px 0 0;
}

.kk-price__amount {
  font-size: 32px;
  font-weight: 700;
  color: var(--kk-forest);
  letter-spacing: -0.01em;
}

.kk-price__unit {
  font-size: 13px;
  color: #8a8a80;
}

.kk-stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 13.5px;
  color: #3f6b3a;
}

.kk-stock svg {
  width: 17px;
  height: 17px;
}

/* Buy row */
.kk-buy__row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.kk-qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--kk-line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.kk-qty__btn {
  width: 42px;
  height: 48px;
  border: 0;
  background: none;
  font-size: 20px;
  color: var(--kk-forest);
  cursor: pointer;
}

.kk-qty__btn:hover {
  background: var(--kk-cream);
}

.kk-qty input {
  width: 44px;
  height: 48px;
  border: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--kk-forest);
  -moz-appearance: textfield;
  appearance: textfield;
}

.kk-qty input::-webkit-outer-spin-button,
.kk-qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.kk-buy__submit {
  margin-top: 0;
  flex: 1;
  justify-content: center;
  min-width: 200px;
  white-space: nowrap;
}

/* On narrow screens: qty + wishlist share the first row, button gets its own. */
@media (max-width: 559px) {
  .kk-buy__submit {
    order: 3;
    flex-basis: 100%;
  }

  .kk-wish {
    height: 50px;
    margin-left: auto;
  }
}

.kk-wish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  border: 1.5px solid var(--kk-line);
  border-radius: 8px;
  background: #fff;
  color: #a9a698;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.kk-wish:hover {
  color: #c0603f;
  border-color: #c0603f;
}

.kk-wish svg {
  width: 21px;
  height: 21px;
}

/* Assurance row */
.kk-assure {
  list-style: none;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--kk-line);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.kk-assure li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.kk-assure svg {
  width: 22px;
  height: 22px;
  color: var(--kk-pine);
  flex-shrink: 0;
}

.kk-assure span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.kk-assure strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--kk-forest);
}

.kk-assure small {
  font-size: 12px;
  color: #8a8a80;
}

@media (min-width: 560px) {
  .kk-assure {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* USP bar variant */
.kk-usps--bar {
  margin: 44px 0 0;
  padding: 22px 26px;
  background: #f4f3ea;
  border: 1px solid #e7e4d6;
  border-radius: 14px;
}

/* Tabs */
.kk-tabs {
  margin-top: 44px;
}

.kk-tabs__bar {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--kk-line);
  overflow-x: auto;
  scrollbar-width: none;
}

.kk-tabs__bar::-webkit-scrollbar {
  display: none;
}

.kk-tab {
  padding: 13px 18px;
  border: 0;
  background: none;
  font-family: var(--kk-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: #77776d;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.kk-tab:hover {
  color: var(--kk-forest);
}

.kk-tab.is-active {
  color: var(--kk-forest);
  font-weight: 600;
  border-bottom-color: var(--kk-forest);
}

.kk-tabs__panel {
  display: none;
  padding: 30px 0 8px;
}

.kk-tabs__panel.is-active {
  display: block;
}

.kk-tabs__panel h2 {
  margin: 0 0 14px;
  font-family: var(--kk-font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--kk-forest);
}

.kk-tabs__panel p {
  max-width: 70ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--kk-text);
}

/* Description panel layout */
.kk-desc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.kk-checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.kk-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--kk-text);
}

.kk-checklist svg {
  width: 15px;
  height: 15px;
  color: #3f6b3a;
  flex-shrink: 0;
  margin-top: 3px;
}

.kk-desc__cert {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  align-content: center;
}

/* Stylized certificate document */
.kk-certdoc {
  position: relative;
  width: 190px;
  padding: 20px 18px 26px;
  background: #fff;
  border: 1px solid #e3e0d3;
  border-radius: 6px;
  box-shadow: 4px 6px 0 #eceadf, 0 10px 26px rgba(43, 59, 35, 0.1);
  flex-shrink: 0;
}

.kk-certdoc__head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kk-forest);
  border-bottom: 1px solid #eceadf;
  padding-bottom: 8px;
}

.kk-certdoc__lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.kk-certdoc__lines i {
  height: 5px;
  border-radius: 3px;
  background: #efede3;
}

.kk-certdoc__lines i:nth-child(2n) {
  width: 78%;
}

.kk-certdoc__lines i:nth-child(3n) {
  width: 62%;
}

.kk-certdoc__seal {
  position: absolute;
  right: 14px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #b9ab72;
  border-radius: 50%;
  color: #8f8348;
  background: #faf8ef;
}

.kk-certdoc__seal svg {
  width: 19px;
  height: 19px;
}

.kk-desc__cert-text {
  flex: 1;
  min-width: 220px;
}

.kk-desc__cert-text h3 {
  margin: 0 0 8px;
  font-family: var(--kk-font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--kk-forest);
}

.kk-desc__cert-text p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--kk-text);
}

.kk-desc__cert-text .kk-card__cta {
  display: inline-flex;
  flex: none;
}

/* Related products */
.kk-related {
  margin-top: 56px;
  text-align: center;
}

.kk-related__title {
  margin: 0;
  font-family: var(--kk-font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  color: var(--kk-forest);
}

.kk-related__leaf {
  width: 18px;
  height: 18px;
  margin-top: 8px;
  transform: rotate(120deg);
}

.kk-related__grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.kk-related__card {
  background: #fffefb;
  border: 1px solid #eceadf;
  border-radius: 12px;
  padding: 14px 14px 16px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.kk-related__card:hover {
  box-shadow: 0 12px 28px rgba(43, 59, 35, 0.1);
  transform: translateY(-2px);
}

.kk-related__media {
  display: block;
}

.kk-related__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.kk-related__card h3 {
  margin: 10px 0 0;
  font-family: var(--kk-font-sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--kk-forest);
}

.kk-related__card h3 a:hover {
  color: var(--kk-gold);
}

.kk-related__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.kk-related__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--kk-forest);
}

.kk-related__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--kk-line);
  border-radius: 8px;
  color: var(--kk-pine);
  transition: background 0.15s ease, color 0.15s ease;
}

.kk-related__cart:hover {
  background: var(--kk-pine);
  color: #fff;
}

.kk-related__cart svg {
  width: 17px;
  height: 17px;
}

@media (min-width: 900px) {
  .kk-product__grid {
    grid-template-columns: 1fr 1.08fr;
    gap: 52px;
  }

  .kk-desc {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
  }

  .kk-related__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
}

/* ---------------------------------- Shop page --------------------------------- */

.kk-shop {
  padding: 40px 0 72px;
}

.kk-shop__head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.kk-shop__title {
  margin: 18px 0 10px;
  font-family: var(--kk-font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 2.9rem);
  line-height: 1.12;
  color: var(--kk-forest);
}

.kk-shop__sub {
  margin: 0;
  font-size: 16px;
  color: var(--kk-text);
}

.kk-shop__filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.kk-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1.5px solid var(--kk-line);
  border-radius: 999px;
  background: #fff;
  color: var(--kk-forest);
  font-size: 13.5px;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.kk-chip:hover {
  border-color: var(--kk-pine);
}

.kk-chip.is-active {
  background: var(--kk-pine);
  border-color: var(--kk-pine);
  color: #f2f0e7;
}

.kk-chip__count {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgba(43, 59, 35, 0.08);
}

.kk-chip.is-active .kk-chip__count {
  background: rgba(255, 255, 255, 0.18);
}

.kk-shop__grid {
  margin-top: 36px;
}

.kk-shop__empty {
  text-align: center;
  margin-top: 48px;
  color: var(--kk-text);
}

/* Pagination */
.kk-pagination,
.navigation.pagination {
  margin-top: 44px;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid var(--kk-line);
  border-radius: 10px;
  background: #fff;
  color: var(--kk-forest);
  font-size: 14px;
  font-weight: 600;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
  background: var(--kk-pine);
  border-color: var(--kk-pine);
  color: #f2f0e7;
}

/* ------------------------------- Mini-cart drawer ------------------------------ */

.kk-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(23, 32, 18, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.kk-drawer-overlay.is-open {
  opacity: 1;
}

.kk-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  width: min(400px, 94vw);
  display: flex;
  flex-direction: column;
  background: #fdfcf9;
  box-shadow: -18px 0 50px rgba(23, 32, 18, 0.25);
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.kk-drawer.is-open {
  transform: translateX(0);
}

.kk-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--kk-line);
  background: #fff;
}

.kk-drawer__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--kk-font-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--kk-forest);
}

.kk-drawer__title svg {
  width: 20px;
  height: 20px;
  color: var(--kk-pine);
}

.kk-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--kk-forest);
  cursor: pointer;
}

.kk-drawer__close:hover {
  background: var(--kk-cream);
}

.kk-drawer__close svg {
  width: 20px;
  height: 20px;
}

.kk-drawer__body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 6px 22px 22px;
}

/* Mini cart widget inside the drawer */
.kk-drawer .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.kk-drawer ul.woocommerce-mini-cart li.woocommerce-mini-cart-item {
  position: relative;
  min-height: 96px;
  padding: 16px 36px 16px 80px;
  border-bottom: 1px solid var(--kk-line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kk-drawer ul.woocommerce-mini-cart li.woocommerce-mini-cart-item img {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #eceadf;
  float: none;
  margin: 0;
  box-shadow: none;
}

.kk-drawer .woocommerce-mini-cart-item a:not(.remove) {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--kk-forest);
  line-height: 1.4;
}

.kk-drawer .woocommerce-mini-cart-item .quantity {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--kk-text);
}

.kk-drawer .woocommerce-mini-cart-item a.remove {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  line-height: 25px;
  text-align: center;
  border-radius: 50%;
  border: 1.5px solid var(--kk-line);
  color: #a9a698 !important;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
}

.kk-drawer .woocommerce-mini-cart-item a.remove:hover {
  color: #c0603f !important;
  border-color: #c0603f;
  background: none;
}

.kk-drawer .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 18px 0 0;
  padding-top: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--kk-forest);
}

.kk-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount {
  font-size: 19px;
  font-weight: 700;
}

.kk-drawer .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 16px 0 0;
}

.kk-drawer .woocommerce-mini-cart__buttons a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: var(--kk-font-sans);
  font-size: 14.5px;
  font-weight: 600;
  text-align: center;
  border: 1.5px solid var(--kk-pine);
  background: #fff;
  color: var(--kk-pine);
  transition: background 0.15s ease, color 0.15s ease;
}

.kk-drawer .woocommerce-mini-cart__buttons a.button:hover {
  background: var(--kk-cream);
}

.kk-drawer .woocommerce-mini-cart__buttons a.button.checkout {
  background: var(--kk-pine);
  color: #f2f0e7;
}

.kk-drawer .woocommerce-mini-cart__buttons a.button.checkout:hover {
  background: #1c3624;
}

.kk-drawer .woocommerce-mini-cart__empty-message {
  margin: auto;
  text-align: center;
  font-size: 15px;
  color: var(--kk-text);
}

/* --------------------------------- Cart page ---------------------------------- */

.woocommerce-cart .kk-page h1,
.woocommerce-checkout .kk-page h1 {
  text-align: center;
  font-size: clamp(2rem, 4.6vw, 2.75rem);
  margin: 0 0 34px;
}

.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce > .woocommerce-message,
.woocommerce-cart .woocommerce > .woocommerce-info {
  grid-column: 1 / -1;
}

.woocommerce-cart .woocommerce-notices-wrapper:empty {
  display: none;
}

.woocommerce-cart .woocommerce-cart-form {
  min-width: 0;
}

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

.woocommerce-cart table.shop_table .product-name {
  min-width: 200px;
}

.woocommerce-cart table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #eceadf;
  border-radius: 14px;
  overflow: hidden;
  background: #fffefb;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  color: var(--kk-text);
  border-bottom: 1px solid #f0eee3;
}

.woocommerce-cart table.shop_table thead th {
  background: #f4f3ea;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kk-forest);
}

.woocommerce-cart table.shop_table .product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #eceadf;
  background: #fff;
}

.woocommerce-cart table.shop_table .product-name a {
  font-weight: 600;
  color: var(--kk-forest);
}

.woocommerce-cart table.shop_table .product-name a:hover {
  color: var(--kk-gold);
}

.woocommerce-cart table.shop_table .product-name .variation {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: #8a8a80;
}

.woocommerce-cart table.shop_table .product-name .variation dt,
.woocommerce-cart table.shop_table .product-name .variation dd {
  display: inline;
  margin: 0;
}

.woocommerce-cart table.shop_table td.product-subtotal {
  font-weight: 700;
  color: var(--kk-forest);
}

.woocommerce-cart table.shop_table a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--kk-line);
  border-radius: 50%;
  color: #a9a698 !important;
  font-size: 18px;
  font-weight: 400;
  text-decoration: none;
}

.woocommerce-cart table.shop_table a.remove:hover {
  color: #c0603f !important;
  border-color: #c0603f;
  background: none;
}

.woocommerce-cart .quantity .qty {
  width: 72px;
  height: 44px;
  padding: 0 10px;
  border: 1.5px solid var(--kk-line);
  border-radius: 8px;
  text-align: center;
  font-family: var(--kk-font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--kk-forest);
  background: #fff;
}

.woocommerce-cart td.actions {
  background: #fdfcf9;
}

.woocommerce-cart td.actions .coupon {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.woocommerce-cart td.actions .coupon .input-text {
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--kk-line);
  border-radius: 8px;
  font-family: var(--kk-font-sans);
  font-size: 14px;
  min-width: 180px;
  background: #fff;
}

.woocommerce-cart .woocommerce button.button,
.woocommerce-cart .woocommerce a.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1.5px solid var(--kk-pine);
  border-radius: 8px;
  background: #fff;
  color: var(--kk-pine);
  font-family: var(--kk-font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.woocommerce-cart .woocommerce button.button:hover,
.woocommerce-cart .woocommerce a.button:hover {
  background: var(--kk-cream);
}

.woocommerce-cart .woocommerce button.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Cart totals box */
.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
  padding: 26px 26px 28px;
  background: #f4f3ea;
  border: 1px solid #e7e4d6;
  border-radius: 14px;
}

.woocommerce-cart .cart_totals h2 {
  margin: 0 0 16px;
  font-family: var(--kk-font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--kk-forest);
}

.woocommerce-cart .cart_totals table.shop_table {
  border: 0;
  background: none;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
  padding: 12px 0;
  border-bottom: 1px solid #e2ded0;
  background: none;
  font-size: 14.5px;
}

.woocommerce-cart .cart_totals .order-total td,
.woocommerce-cart .cart_totals .order-total th {
  font-size: 16px;
  font-weight: 700;
  color: var(--kk-forest);
}

.woocommerce-cart .wc-proceed-to-checkout {
  padding: 18px 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  min-height: 52px;
  background: var(--kk-pine);
  color: #f2f0e7;
  font-size: 15px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background: #1c3624;
  color: #fff;
}

.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .woocommerce-shipping-calculator {
  font-size: 13px;
}

/* Empty cart */
.cart-empty.woocommerce-info {
  text-align: center;
  padding: 40px 20px 10px;
  border: 0;
  background: none;
  font-family: var(--kk-font-serif);
  font-size: 22px;
  color: var(--kk-forest);
}

.woocommerce-cart .return-to-shop {
  text-align: center;
  padding-bottom: 20px;
}

@media (min-width: 1000px) {
  .woocommerce-cart .woocommerce {
    grid-template-columns: 1.9fr 1.1fr;
  }
}

/* -------------------------------- Checkout page ------------------------------- */

.woocommerce-checkout .woocommerce {
  max-width: 1080px;
  margin-inline: auto;
}

.woocommerce-checkout form.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

.woocommerce-checkout .col2-set {
  width: 100%;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100%;
  float: none;
}

.woocommerce-checkout form.woocommerce-checkout h3 {
  margin: 0 0 18px;
  font-family: var(--kk-font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--kk-forest);
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  padding: 26px;
  background: #fffefb;
  border: 1px solid #eceadf;
  border-radius: 14px;
}

.woocommerce-checkout .woocommerce-additional-fields {
  margin-top: 22px;
}

.woocommerce-checkout .form-row {
  margin-bottom: 14px;
}

.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--kk-forest);
}

.woocommerce-checkout .form-row .required {
  color: #c0603f;
  text-decoration: none;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1.5px solid var(--kk-line);
  border-radius: 8px;
  background: #fff;
  font-family: var(--kk-font-sans);
  font-size: 14px;
  color: #333;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  outline: none;
  border-color: var(--kk-pine);
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 46px;
  border: 1.5px solid var(--kk-line);
  border-radius: 8px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  padding-left: 14px;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

.woocommerce-checkout form.woocommerce-checkout > .woocommerce-NoticeGroup,
.woocommerce-checkout .woocommerce > .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce > form.checkout_coupon {
  grid-column: 1 / -1;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  margin-bottom: 26px;
}

/* Payment methods box */
.woocommerce-checkout #payment {
  background: none;
  border-radius: 0;
}

.woocommerce-checkout #payment div.payment_box {
  background: #eae7d9;
  border-radius: 8px;
  color: var(--kk-text);
  font-size: 13px;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #eae7d9;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #e2ded0;
  padding: 0 0 14px;
}

/* Order review */
.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
  font-family: var(--kk-font-serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--kk-forest);
}

.woocommerce-checkout #order_review {
  padding: 26px;
  background: #f4f3ea;
  border: 1px solid #e7e4d6;
  border-radius: 14px;
}

.woocommerce-checkout table.shop_table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  background: none;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  padding: 11px 0;
  border-bottom: 1px solid #e2ded0;
  font-size: 14px;
  text-align: left;
  color: var(--kk-text);
}

.woocommerce-checkout table.shop_table .order-total th,
.woocommerce-checkout table.shop_table .order-total td {
  font-size: 16px;
  font-weight: 700;
  color: var(--kk-forest);
}

.woocommerce-checkout .wc_payment_methods {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.woocommerce-checkout .wc_payment_method {
  padding: 12px 0;
  font-size: 14px;
}

.woocommerce-checkout .wc_payment_method label {
  font-weight: 600;
  color: var(--kk-forest);
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  font-size: 12.5px;
  color: #8a8a80;
  margin-top: 14px;
}

.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 52px;
  margin-top: 18px;
  padding: 14px 24px;
  border: 0;
  border-radius: 8px;
  background: var(--kk-pine);
  color: #f2f0e7;
  font-family: var(--kk-font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.woocommerce-checkout #place_order:hover {
  background: #1c3624;
}

.woocommerce-checkout .woocommerce-NoticeGroup {
  grid-column: 1 / -1;
}

@media (min-width: 1000px) {
  .woocommerce-checkout form.woocommerce-checkout {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto 1fr;
  }

  .woocommerce-checkout #customer_details {
    grid-row: span 2;
  }

  .woocommerce-checkout #order_review_heading {
    align-self: end;
  }

  .woocommerce-checkout #order_review {
    align-self: start;
  }
}

/* Notices (site-wide) */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: 14px 18px;
  margin-bottom: 22px;
  border: 1px solid #e7e4d6;
  border-left: 4px solid var(--kk-pine);
  border-radius: 10px;
  background: #f4f3ea;
  font-size: 14px;
  color: var(--kk-forest);
  list-style: none;
}

.woocommerce-error {
  border-left-color: #c0603f;
}

.woocommerce-message a.button,
.woocommerce-info a.button {
  float: right;
  font-weight: 600;
  color: var(--kk-pine);
  background: none;
  border: 0;
  padding: 0;
}

/* -------------------------------- WooCommerce -------------------------------- */

.kk-woocommerce .woocommerce a.button,
.kk-woocommerce .woocommerce button.button,
.kk-woocommerce .woocommerce input.button,
.kk-woocommerce .woocommerce #respond input#submit,
.kk-woocommerce .woocommerce a.button.alt,
.kk-woocommerce .woocommerce button.button.alt {
  background: var(--kk-pine);
  color: #f2f0e7;
  border-radius: 8px;
  font-family: var(--kk-font-sans);
  font-weight: 600;
}

.kk-woocommerce .woocommerce a.button:hover,
.kk-woocommerce .woocommerce button.button:hover,
.kk-woocommerce .woocommerce input.button:hover,
.kk-woocommerce .woocommerce a.button.alt:hover,
.kk-woocommerce .woocommerce button.button.alt:hover {
  background: #1c3624;
  color: #fff;
}

.kk-woocommerce .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--kk-font-serif);
  color: var(--kk-forest);
  font-size: 1.15rem;
}

.kk-woocommerce .woocommerce .price,
.kk-woocommerce .woocommerce ul.products li.product .price {
  color: var(--kk-pine);
  font-weight: 600;
}

.kk-woocommerce .woocommerce span.onsale {
  background: var(--kk-gold);
}

/* Accessibility helpers */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
