html body.klkc-home-template {
    margin: 0;
    background: #fff;
    color: #1f1f1f;
    font-family: Gilroy, Futura, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.klkc-home-template #main-container,
body.klkc-home-template .site-main,
body.klkc-home-template .ct-container-full,
body.klkc-home-template .entry-content {
    padding: 0;
    margin: 0;
    max-width: none;
}

.klkc-home-template a {
    text-decoration: none;
}

.klkc-page-width {
    width: min(1500px, calc(100% - 72px));
    margin-inline: auto;
}

.klkc-skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    min-height: 47px;
    padding: 0 18px;
    border-radius: 7px;
    background: #1df0bb;
    color: #1f1f1f;
    font-weight: 700;
}

.klkc-skip-link:focus {
    top: 16px;
}

.klkc-site-header {
    position: relative;
    z-index: 20;
    background: #1f1f1f;
}

.klkc-top-alert {
    display: none;
    place-items: center;
    min-height: 40px;
    background: #1f1f1f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.klkc-top-alert a {
    width: min(1200px, calc(100% - 40px));
    color: #fff;
    text-align: center;
    font-size: 14px;
    line-height: 1.35;
}

.klkc-nav-shell {
    display: grid;
    grid-template-columns: 220px minmax(520px, 1fr) 260px;
    align-items: center;
    width: min(1200px, calc(100% - 40px));
    min-height: 66px;
    margin-inline: auto;
}

.klkc-logo--image img {
    display: block;
    width: 92px;
    height: auto;
}

.klkc-main-nav {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.klkc-main-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 66px;
    padding: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 700;
}

.klkc-main-nav a:hover,
.klkc-nav-actions a:hover {
    color: #fff;
}

.klkc-nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}

.klkc-nav-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 66px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    font-weight: 700;
}

.klkc-nav-actions svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.klkc-language-link {
    gap: 5px;
    white-space: nowrap;
}

.klkc-language-link svg:first-child {
    width: 16px;
    height: 16px;
}

.klkc-language-link .klkc-chevron {
    width: 11px;
    height: 11px;
}

.klkc-hero-v3 {
    position: relative;
    min-height: 625px;
    overflow: hidden;
    background: #0d0f0f;
}

.klkc-hero-v3__cover-link {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.klkc-hero-v3 > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.klkc-hero-v3::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.64) 0 37%, rgba(0,0,0,0.14) 62%, rgba(0,0,0,0) 100%);
}

.klkc-hero-v3__content {
    position: relative;
    z-index: 4;
    width: min(1200px, calc(100% - 40px));
    padding-top: 192px;
    color: #fff;
    text-align: center;
}

.klkc-hero-v3__content h1 {
    max-width: 560px;
    margin: 0 0 17px;
    color: #fff;
    font-size: 50px;
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 900;
}

.klkc-hero-v3__content p {
    display: block;
    max-width: 520px;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.32;
    font-weight: 700;
}

.klkc-btn {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 24px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 800;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.klkc-btn--white {
    margin-top: 0;
    background: #fff;
    color: #000;
}

.klkc-btn--white:hover,
.klkc-btn--white:focus-visible {
    background: #1df0bb;
    color: #000;
    transform: translateY(-1px);
}

.klkc-btn--black {
    background: #000;
    color: #fff;
}

.klkc-best-sellers {
    padding: 28px 0 34px;
    background: #fff;
}

.klkc-section-title {
    max-width: 1200px;
    margin: 0 auto 44px;
    text-align: center;
}

.klkc-section-title span {
    display: block;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.klkc-section-title h2,
.klkc-rich-title h2,
.klkc-brand-banner h2,
.klkc-why-v2 h2 {
    margin: 0;
    color: #1f1f1f;
    font-size: clamp(42px, 4vw, 60px);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 900;
}

.klkc-product-tile-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: min(1208px, 100%);
    margin-inline: auto;
}

.klkc-product-tile a {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    min-height: 500px;
    border-radius: 20px;
    background: #22262b;
    color: #fff;
    isolation: isolate;
    transition: transform 240ms ease, box-shadow 240ms ease;
}

.klkc-product-tile a:hover,
.klkc-product-tile a:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.klkc-product-tile__photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms ease;
}

.klkc-product-tile a:hover .klkc-product-tile__photo,
.klkc-product-tile a:focus-visible .klkc-product-tile__photo {
    transform: scale(1.045);
}

.klkc-product-tile a::after {
    content: "";
    position: absolute;
    inset: 44% 0 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.52) 52%, rgba(0,0,0,0.76) 100%);
}

.klkc-product-tile__body {
    width: 100%;
    padding: 0 20px 88px;
    text-align: center;
}

.klkc-product-tile h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
}

.klkc-product-tile ul {
    margin: 0;
    padding: 0;
    color: rgba(255,255,255,0.94);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 800;
    list-style: none;
}

.klkc-product-tile__cta {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    gap: 9px;
    align-items: center;
    justify-content: center;
    place-items: center;
    min-height: 64px;
    background: rgba(8, 78, 65, 0.84);
    color: #fff;
    font-weight: 900;
    transition: background-color 180ms ease, color 180ms ease;
}

.klkc-product-tile a:hover .klkc-product-tile__cta,
.klkc-product-tile a:focus-visible .klkc-product-tile__cta {
    background: #1df0bb;
    color: #062f28;
}

.klkc-product-tile__cta span {
    color: #1df0bb;
    font-size: 24px;
    line-height: 1;
    transition: color 180ms ease, transform 180ms ease;
}

.klkc-product-tile a:hover .klkc-product-tile__cta span,
.klkc-product-tile a:focus-visible .klkc-product-tile__cta span {
    color: #062f28;
    transform: translateX(4px);
}

.klkc-rich-title {
    padding: 42px 20px 34px;
    text-align: center;
    background: #fff;
}

.klkc-rich-title p {
    margin: 10px 0 0;
    color: rgba(31,31,31,0.75);
    font-size: 19px;
}

.klkc-duo-stack {
    padding-bottom: 36px;
    background: #fff;
}

.klkc-duo-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.klkc-duo-tile {
    position: relative;
    display: grid;
    align-items: start;
    justify-items: center;
    overflow: hidden;
    min-height: 592px;
    border-radius: 18px;
    color: #fff;
    text-align: center;
    isolation: isolate;
}

.klkc-duo-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 520ms ease;
}

.klkc-duo-tile:hover img,
.klkc-duo-tile:focus-visible img {
    transform: scale(1.035);
}

.klkc-duo-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.16) 0%, rgba(0,0,0,0.08) 34%, rgba(0,0,0,0) 70%);
}

.klkc-duo-tile__content {
    position: relative;
    z-index: 2;
    padding-top: 42px;
}

.klkc-duo-tile p {
    margin: 0 0 9px;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    font-weight: 800;
}

.klkc-duo-tile h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: clamp(30px, 3vw, 36px);
    line-height: 1.02;
    font-weight: 900;
}

.klkc-duo-tile span {
    display: inline-grid;
    place-items: center;
    min-height: 38px;
    padding: 0 21px;
    border-radius: 4px;
    background: #fff;
    color: #000;
    font-size: 14px;
    font-weight: 800;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.klkc-duo-tile:hover span,
.klkc-duo-tile:focus-visible span {
    background: #1df0bb;
    color: #000;
    transform: translateY(-1px);
}

.klkc-customer-reviews {
    padding: 34px 0 70px;
    background: #fff;
}

.klkc-review-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: min(1200px, 100%);
    margin: 0 auto;
}

.klkc-review-cards article {
    position: relative;
    display: grid;
    gap: 14px;
    align-content: start;
}

.klkc-review-cards__image {
    width: 100%;
    height: 265px;
    object-fit: cover;
    border-radius: 0 0 18px 18px;
    order: 2;
}

.klkc-review-cards__badge {
    display: grid;
    place-items: center;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 18px 18px 0 0;
    background: #d2fff2;
    color: #055446;
    font-size: 19px;
    font-weight: 900;
    text-align: center;
    order: 1;
}

.klkc-review-cards h3 {
    margin: 4px 0 2px;
    color: #1f1f1f;
    font-size: 18px;
    line-height: 1.16;
    font-weight: 900;
    order: 3;
}

.klkc-review-cards p {
    margin: 0;
    color: rgba(31,31,31,0.75);
    line-height: 1.5;
}

.klkc-review-cards a {
    position: relative;
    display: inline-grid;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 50px;
    margin-top: 4px;
    padding: 0 23px;
    border-radius: 6px;
    background: #1df0bb;
    color: #000;
    font-size: 15px;
    font-weight: 900;
    overflow: hidden;
    order: 4;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.klkc-review-cards a span {
    transition: transform 180ms ease, opacity 180ms ease;
}

.klkc-review-cards a::after {
    content: attr(data-hover-label);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(70%);
    transition: transform 180ms ease, opacity 180ms ease;
}

.klkc-review-cards a:hover,
.klkc-review-cards a:focus-visible {
    background: #0aa386;
    color: #fff;
    transform: translateY(-1px);
}

.klkc-review-cards a:hover span,
.klkc-review-cards a:focus-visible span {
    opacity: 0;
    transform: translateY(-70%);
}

.klkc-review-cards a:hover::after,
.klkc-review-cards a:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.klkc-testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: min(1200px, 100%);
    margin: 56px auto 0;
}

.klkc-testimonial-cards article {
    min-height: 392px;
    padding: 34px 31px 32px;
    border-radius: 0 0 18px 18px;
    background: #f4f4f4;
}

.klkc-testimonial-cards__stars {
    margin-bottom: 16px;
    color: #08a98d;
    font-size: 31px;
    line-height: 1;
    letter-spacing: 0;
}

.klkc-testimonial-cards p {
    margin: 0;
    color: rgba(31,31,31,0.86);
    font-size: 16px;
    line-height: 1.72;
}

.klkc-testimonial-cards strong {
    display: block;
    margin-top: 24px;
    color: #9b9b9b;
    font-size: 15px;
    font-weight: 900;
}

.klkc-small-duos {
    padding: 0 0 70px;
    background: #fff;
}

.klkc-small-duos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: min(1200px, 100%);
}

.klkc-small-duos__grid a {
    position: relative;
    display: block;
    min-height: 240px;
    overflow: hidden;
    border: 0;
    border-radius: 7px;
    background: #f7fafc;
    color: #1f1f1f;
    isolation: isolate;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.klkc-small-duos__grid a:hover,
.klkc-small-duos__grid a:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.klkc-small-duos__grid img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 420ms ease;
}

.klkc-small-duos__grid a:hover img,
.klkc-small-duos__grid a:focus-visible img {
    transform: scale(1.035);
}

.klkc-small-duos__grid a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.58) 36%, rgba(255,255,255,0) 68%);
}

.klkc-small-duos__grid a > div {
    width: 48%;
    padding: 48px 0 0 25px;
}

.klkc-small-duos__grid h3 {
    margin: 0 0 2px;
    color: #1f1f1f;
    font-size: 24px;
    line-height: 1.02;
    font-weight: 900;
}

.klkc-small-duos__grid p {
    margin: 0 0 16px;
    color: #1f1f1f;
    font-size: 19px;
    line-height: 1.05;
    font-weight: 800;
}

.klkc-small-duos__grid span {
    position: relative;
    display: inline-grid;
    place-items: center;
    min-height: 46px;
    min-width: 161px;
    padding: 0 16px;
    border-radius: 7px;
    background: #1df0bb;
    color: #000;
    font-size: 15px;
    font-weight: 900;
    overflow: hidden;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.klkc-small-duos__grid span > span {
    min-width: 0;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    transition: transform 180ms ease, opacity 180ms ease;
}

.klkc-small-duos__grid span::after {
    content: attr(data-hover-label);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    opacity: 0;
    transform: translateY(70%);
    transition: transform 180ms ease, opacity 180ms ease;
}

.klkc-small-duos__grid a:hover span,
.klkc-small-duos__grid a:focus-visible span {
    background: #0aa386;
    color: #fff;
    transform: translateY(-1px);
}

.klkc-small-duos__grid a:hover span > span,
.klkc-small-duos__grid a:focus-visible span > span {
    opacity: 0;
    transform: translateY(-70%);
}

.klkc-small-duos__grid a:hover span::after,
.klkc-small-duos__grid a:focus-visible span::after {
    opacity: 1;
    transform: translateY(0);
}

.klkc-brand-banner {
    position: relative;
    overflow: hidden;
    min-height: 486px;
    text-align: center;
    background: linear-gradient(180deg, #4e2fd2 0.05%, #4942d0 4.47%, #3e70ca 16.48%, #3497c6 28.95%, #2bb7c2 41.7%, #25d0bf 54.84%, #21e2bd 68.52%, #1eedbb 83.08%, #1df0bb 100.04%);
    background-size: cover;
    background-position: center;
}

.klkc-brand-banner::before {
    content: "";
    position: absolute;
    inset: -40px -80px;
    opacity: 0.22;
    background:
        repeating-radial-gradient(ellipse at 50% -20%, rgba(255,255,255,0.9) 0 1px, transparent 1px 17px);
    transform: rotate(-2deg);
    pointer-events: none;
}

.klkc-brand-banner > * {
    position: relative;
    z-index: 1;
}

.klkc-brand-banner__top {
    display: grid;
    justify-items: center;
    padding: 72px 20px 38px;
}

.klkc-brand-banner__lockup {
    display: grid;
    grid-template-columns: auto 1px auto;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.klkc-brand-banner__lockup img {
    width: 200px;
    height: auto;
}

.klkc-brand-banner__lockup > span {
    width: 2px;
    height: 72px;
    background: rgba(255,255,255,0.35);
}

.klkc-brand-banner__top h2 {
    max-width: 360px;
    margin: 0;
    color: #fff;
    font-size: clamp(29px, 2.5vw, 36px);
    line-height: 1.1;
    text-align: left;
}

.klkc-brand-banner__top p {
    max-width: 1030px;
    margin: 26px auto 0;
    color: rgba(255,255,255,0.92);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.22;
    order: 2;
}

.klkc-brand-banner__stats {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    align-items: center;
    width: min(620px, calc(100% - 40px));
    margin: 0 auto 38px;
    gap: 48px;
}

.klkc-brand-banner__stats strong {
    display: block;
    margin-bottom: 3px;
    color: #062f37;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.klkc-brand-banner__stats span {
    color: #06373d;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.22;
}

.klkc-brand-banner__stats div:nth-child(1)::after,
.klkc-brand-banner__stats div:nth-child(2)::after {
    content: "";
    position: absolute;
    top: 28px;
    right: -29px;
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 66, 72, 0.42);
}

.klkc-brand-banner__stats div {
    position: relative;
    width: 150px;
}

.klkc-brand-banner .klkc-btn--black {
    min-height: 45px;
    padding: 0 20px;
    border-radius: 7px;
    background: #000;
    color: #fff;
    font-size: 16px;
}

.klkc-brand-banner .klkc-btn--black:hover,
.klkc-brand-banner .klkc-btn--black:focus-visible {
    background: #1f1f1f;
    transform: translateY(-1px);
}

.klkc-why-v2 {
    padding: 54px 0;
    background: #22262b;
    color: #fff;
    text-align: center;
}

.klkc-why-v2 h2 {
    color: #fff;
}

.klkc-why-v2 p {
    max-width: 980px;
    margin: 14px auto 0;
    color: rgba(255,255,255,0.82);
    font-size: 18px;
    line-height: 1.58;
}

.klkc-promise-v2 {
    background: #22262b;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.klkc-promise-v2 .klkc-page-width {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    min-height: 156px;
    align-items: center;
    color: rgba(255,255,255,0.86);
    text-align: center;
    font-weight: 700;
}

.klkc-footer-v2 {
    padding: 58px 0 26px;
    background: #1f1f1f;
    color: #fff;
}

.klkc-footer-v2__logo {
    margin-bottom: 34px;
}

.klkc-footer-v2__logo img {
    width: 90px;
    height: auto;
}

.klkc-footer-v2__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 44px;
}

.klkc-footer-v2 h3 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 18px;
}

.klkc-footer-v2 a {
    display: block;
    margin: 0 0 12px;
    color: #969696;
    font-size: 15px;
}

.klkc-footer-v2 p {
    color: #969696;
    line-height: 1.55;
}

.klkc-footer-v2 form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 16px;
}

.klkc-footer-v2 label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.klkc-footer-v2 input {
    width: 100%;
    min-height: 45px;
    padding: 0 14px;
    border: 1px solid #3b3b3b;
    background: #111;
    color: #fff;
}

.klkc-footer-v2 button {
    min-height: 45px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.78);
    font-weight: 700;
}

.klkc-footer-v2__bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.10);
    color: #969696;
}

.klkc-footer-v2__bottom nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.klkc-footer-v2__bottom a {
    margin: 0;
}

/* V9 font scale pass: align closer to the captured Wyze type sizes. */
.klkc-main-nav a {
    font-size: 16px;
    font-weight: 400;
}

.klkc-nav-actions a {
    font-size: 13px;
    font-weight: 400;
}

.klkc-btn {
    min-height: 47px;
    font-size: 15px;
    font-weight: 600;
}

.klkc-hero-v3__content h1 {
    font-size: 48px;
    font-weight: 800;
}

.klkc-hero-v3__content p {
    font-size: 13px;
    font-weight: 600;
}

.klkc-section-title span {
    font-size: 24px;
    font-weight: 600;
}

.klkc-section-title h2,
.klkc-rich-title h2,
.klkc-why-v2 h2 {
    font-size: clamp(40px, 3.5vw, 56px);
    font-weight: 800;
}

.klkc-product-tile h3 {
    font-size: 26px;
    font-weight: 800;
}

.klkc-product-tile ul {
    font-size: 14px;
    font-weight: 700;
}

.klkc-product-tile__cta {
    font-size: 14px;
    font-weight: 600;
}

.klkc-rich-title p {
    font-size: 18px;
    font-weight: 400;
}

.klkc-duo-tile p {
    font-size: 16px;
    font-weight: 700;
}

.klkc-duo-tile h2 {
    font-size: clamp(30px, 3vw, 36px);
    font-weight: 800;
}

.klkc-duo-tile span {
    min-height: 36px;
    font-size: 14px;
    font-weight: 600;
}

.klkc-review-cards__badge {
    font-size: 20px;
    font-weight: 800;
}

.klkc-review-cards h3 {
    font-size: 18px;
    font-weight: 800;
}

.klkc-review-cards a {
    min-height: 47px;
    font-size: 15px;
    font-weight: 600;
}

.klkc-testimonial-cards__stars {
    font-size: 28px;
}

.klkc-testimonial-cards p {
    font-size: 16px;
    font-weight: 400;
}

.klkc-testimonial-cards strong {
    font-size: 15px;
    font-weight: 700;
}

.klkc-small-duos__grid h3 {
    font-size: 24px;
    font-weight: 800;
}

.klkc-small-duos__grid p {
    font-size: 20px;
    font-weight: 700;
}

.klkc-small-duos__grid span {
    min-height: 47px;
    font-size: 15px;
    font-weight: 600;
}

.klkc-brand-banner__top h2 {
    font-size: clamp(28px, 2.4vw, 36px);
    font-weight: 800;
}

.klkc-brand-banner__top p {
    font-size: 23px;
    font-weight: 700;
}

.klkc-brand-banner__stats strong {
    font-size: 29px;
    font-weight: 800;
}

.klkc-brand-banner__stats span {
    font-size: 16px;
    font-weight: 700;
}

.klkc-brand-banner .klkc-btn--black {
    min-height: 47px;
    font-size: 15px;
    font-weight: 600;
}

.klkc-why-v2 p,
.klkc-promise-v2 .klkc-page-width,
.klkc-footer-v2 h3 {
    font-size: 16px;
}

/* V10 alignment pass: tighter Wyze-like nav, centered hero CTA, smaller section type, and card polish. */
.klkc-nav-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    width: min(1160px, calc(100% - 40px));
    min-height: 52px;
}

.klkc-logo--image img {
    width: 90px;
}

.klkc-main-nav {
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: 24px;
}

.klkc-main-nav a {
    min-height: 52px;
    font-size: 14px;
    font-weight: 500;
}

.klkc-nav-actions {
    flex: 0 0 auto;
    margin-left: clamp(120px, 14vw, 285px);
    gap: 16px;
}

.klkc-nav-actions a {
    min-height: 52px;
    font-size: 12px;
    font-weight: 500;
}

.klkc-nav-actions svg {
    width: 24px;
    height: 24px;
}

.klkc-hero-v3 {
    min-height: 626px;
}

.klkc-hero-v3__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(560px, calc(100% - 40px));
    margin-left: max(20px, calc(50% - 560px));
    margin-right: auto;
    padding-top: 198px;
    text-align: center;
}

.klkc-hero-v3__content h1 {
    max-width: 560px;
    margin: 0 auto 15px;
    font-size: 47px;
    line-height: 1.03;
    font-weight: 800;
}

.klkc-hero-v3__content p {
    max-width: 520px;
    margin: 0 auto 19px;
    font-size: 13px;
    line-height: 1.32;
    font-weight: 600;
}

.klkc-hero-v3 .klkc-btn {
    min-height: 39px;
    padding: 0 23px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
}

.klkc-best-sellers .klkc-section-title {
    margin-bottom: 40px;
}

.klkc-best-sellers .klkc-section-title span {
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 600;
}

.klkc-best-sellers .klkc-section-title h2 {
    font-size: clamp(38px, 3.3vw, 52px);
    line-height: 1.03;
    font-weight: 800;
}

.klkc-product-tile__body ul,
.klkc-product-tile__body li {
    color: var(--Gray-C-400, #ced6de);
}

.klkc-rich-title {
    padding-top: 38px;
    padding-bottom: 32px;
}

.klkc-rich-title h2 {
    font-size: clamp(32px, 2.7vw, 42px);
    line-height: 1.06;
    font-weight: 800;
}

.klkc-rich-title p {
    margin-top: 7px;
    font-size: 18px;
    line-height: 1.35;
}

.klkc-customer-reviews .klkc-section-title {
    margin-bottom: 38px;
}

.klkc-customer-reviews .klkc-section-title span {
    margin-bottom: 6px;
    color: rgba(31, 31, 31, 0.62);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
}

.klkc-customer-reviews .klkc-section-title h2 {
    font-size: clamp(34px, 2.8vw, 43px);
    line-height: 1.05;
    font-weight: 800;
}

.klkc-testimonial-cards article {
    border-radius: 18px;
    overflow: hidden;
}

.klkc-brand-banner__lockup {
    gap: 30px;
}

.klkc-brand-banner__lockup img {
    width: 188px;
}

.klkc-brand-banner__top h2 {
    max-width: 480px;
    font-size: clamp(28px, 2.1vw, 34px);
    line-height: 1.08;
    font-weight: 800;
}

.klkc-brand-banner__top p {
    margin-top: 24px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

/* V11 mega menu and Wyze-like footer pass. */
.klkc-site-header {
    position: relative;
    z-index: 100;
}

.klkc-site-header,
.klkc-site-header a {
    font-size: 15px;
}

.klkc-nav-shell {
    position: relative;
}

.klkc-main-nav {
    align-self: stretch;
}

.klkc-main-nav > a,
.klkc-nav-item > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-weight: 600;
}

.klkc-nav-actions a {
    font-size: 13px;
    font-weight: 500;
}

.klkc-nav-actions svg {
    width: 25px;
    height: 25px;
}

.klkc-main-nav > a::after,
.klkc-nav-item > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #1df0bb;
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 160ms ease, transform 160ms ease;
}

.klkc-main-nav > a:hover::after,
.klkc-main-nav > a:focus-visible::after,
.klkc-nav-item:hover > a::after,
.klkc-nav-item:focus-within > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.klkc-nav-item {
    display: inline-flex;
}

.klkc-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    min-height: 330px;
    background: #fff;
    color: #1f1f1f;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    pointer-events: none;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.klkc-nav-item:hover .klkc-mega-menu,
.klkc-nav-item:focus-within .klkc-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.klkc-mega-menu__inner {
    display: grid;
    grid-template-columns: 410px 1fr;
    gap: 44px;
    width: min(1196px, calc(100% - 64px));
    min-height: 356px;
    margin: 0 auto;
    padding: 28px 0 26px;
}

.klkc-main-nav .klkc-mega-menu a {
    min-height: 0;
    color: #1f1f1f;
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
    align-items: initial;
    justify-content: initial;
    white-space: normal;
}

.klkc-mega-menu__categories h2 {
    display: inline-flex;
    align-items: center;
    min-height: 45px;
    margin: -5px 0 8px -13px;
    padding: 0 14px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 800;
    transition: background-color 160ms ease;
}

.klkc-mega-menu__categories h2:hover {
    background: #f0f0f0;
}

.klkc-mega-menu__categories h2 span {
    margin-left: 6px;
    color: #7c858d;
}

.klkc-mega-menu__categories > div {
    display: grid;
    grid-template-columns: 200px 190px;
    gap: 7px 11px;
    margin-left: -13px;
}

.klkc-mega-menu__categories > div a {
    display: flex;
    align-items: center;
    min-height: 45px;
    padding: 0 13px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.18;
    font-weight: 800;
    transition: background-color 160ms ease, color 160ms ease;
}

.klkc-mega-menu__categories > div a:hover,
.klkc-mega-menu__categories > div a:focus-visible {
    background: #f0f0f0;
    color: #1f1f1f;
}

.klkc-mega-menu__products h3 {
    margin: 0 0 14px;
    color: #2f343a;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 600;
}

.klkc-mega-menu__product-grid {
    display: grid;
    grid-template-columns: repeat(3, 262px);
    gap: 0;
}

.klkc-mega-product {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 318px;
    margin: 0 12px;
    padding: 12px 20px 14px;
    border-left: 0;
    border-radius: 8px;
    color: #1f1f1f;
    transition: background-color 160ms ease;
}

.klkc-main-nav .klkc-mega-product {
    display: block;
    color: #1f1f1f;
}

.klkc-mega-product:hover,
.klkc-mega-product:focus-visible {
    background: #f0f0f0;
}

.klkc-mega-product:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 12px;
    left: -13px;
    width: 1px;
    background: #e6ebef;
    pointer-events: none;
}

.klkc-mega-product img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 14px;
}

.klkc-mega-product strong {
    display: block;
    max-width: 218px;
    color: #1f1f1f;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
}

.klkc-mega-product > span {
    display: block;
    max-width: 218px;
    margin-top: 4px;
    color: #6f7377;
    font-size: 13px;
    line-height: 1.18;
    font-weight: 500;
}

.klkc-mega-product em {
    display: block;
    margin-top: 4px;
    color: #1f1f1f;
    font-size: 13px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 500;
}

.klkc-mega-product em::first-letter {
    color: #1f1f1f;
}

.klkc-why-v2,
.klkc-promise-v2 {
    display: none;
}

.klkc-footer-v2 {
    padding: 74px 0 34px;
    background: #1f1f1f;
}

.klkc-footer-v2__grid {
    grid-template-columns: 120px 170px 170px 170px minmax(290px, 360px);
    gap: 46px;
    align-items: start;
    width: min(1200px, calc(100% - 64px));
}

.klkc-footer-v2__logo {
    margin: 0;
}

.klkc-footer-v2__logo img {
    width: 98px;
}

.klkc-footer-v2 h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 19px;
    line-height: 1;
    font-weight: 800;
}

.klkc-footer-v2 a {
    margin-bottom: 13px;
    color: #9b9b9b;
    font-size: 15px;
    line-height: 1.18;
    font-weight: 500;
}

.klkc-footer-v2 a:hover,
.klkc-footer-v2 a:focus-visible {
    color: #fff;
}

.klkc-footer-v2 p {
    margin: 0;
    color: #9b9b9b;
    font-size: 15px;
    line-height: 1.25;
}

.klkc-footer-v2 form {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
    margin-top: 20px;
}

.klkc-footer-v2 input {
    min-height: 44px;
    padding: 0 48px 0 19px;
    border: 1px solid #9b9b9b;
    border-radius: 2px;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.klkc-footer-v2 input::placeholder {
    color: #d9d9d9;
}

.klkc-footer-v2 button {
    position: absolute;
    right: 1px;
    top: 1px;
    width: 44px;
    min-height: 42px;
    overflow: hidden;
    color: transparent;
    font-size: 0;
}

.klkc-footer-v2 button::after {
    content: "›";
    color: #fff;
    font-size: 27px;
    line-height: 1;
}

.klkc-footer-v2__legal-note {
    margin-top: 9px !important;
    max-width: 350px;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

.klkc-footer-v2__legal-note a {
    display: inline;
    margin: 0;
    color: #c8c8c8;
    font-size: inherit;
    text-decoration: underline;
}

.klkc-footer-v2__stores {
    display: flex;
    gap: 18px;
    margin-top: 34px;
}

.klkc-footer-v2__stores a {
    display: grid;
    align-content: center;
    min-width: 108px;
    min-height: 36px;
    margin: 0;
    padding: 4px 12px;
    border: 1px solid #fff;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

.klkc-footer-v2__stores span {
    display: block;
    color: #fff;
    font-size: 8px;
    line-height: 1;
    font-weight: 500;
}

.klkc-footer-v2__social {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    width: 330px;
    margin-top: 36px;
}

.klkc-footer-v2__social a {
    margin: 0;
    color: #9b9b9b;
    font-size: 20px;
    line-height: 1;
    font-weight: 800;
}

.klkc-footer-v2__bottom {
    display: grid;
    justify-items: center;
    gap: 18px;
    width: min(1200px, calc(100% - 64px));
    margin-top: 72px;
    padding-top: 42px;
    border-top-color: rgba(255,255,255,0.12);
    text-align: center;
}

.klkc-footer-v2__bottom span {
    color: #b5b5b5;
    font-size: 12px;
}

.klkc-footer-v2__bottom nav {
    justify-content: center;
    gap: 0;
    max-width: 860px;
}

.klkc-footer-v2__bottom nav a {
    position: relative;
    margin: 0 11px 12px;
    color: #b5b5b5;
    font-size: 12px;
}

.klkc-footer-v2__bottom nav a + a::before {
    content: "•";
    position: absolute;
    left: -13px;
    color: #777;
}

/* V16: stronger desktop mega-menu overrides so header link resets cannot flatten hover blocks. */
.klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div {
    display: grid;
    grid-template-columns: 200px 190px;
    gap: 1px 11px;
    margin-left: -13px;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories h2 {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: -6px 0 8px -13px;
    padding: 0 14px;
    border-radius: 8px;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories h2:hover {
    background: #f0f0f0;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 13px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.16;
    font-weight: 800;
    white-space: normal;
    overflow-wrap: anywhere;
    transition: background-color 160ms ease;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:hover,
.klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:focus-visible {
    background: #f0f0f0;
    color: #1f1f1f;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-menu__products {
    min-width: 0;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-menu__product-grid {
    display: grid;
    grid-template-columns: repeat(3, 264px);
    gap: 0;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-product {
    display: block;
    min-height: 324px;
    margin: 0 13px;
    padding: 18px 18px 16px;
    border: 0;
    border-radius: 8px;
    color: #1f1f1f;
    transition: background-color 160ms ease;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-product:hover,
.klkc-main-nav .klkc-mega-menu .klkc-mega-product:focus-visible {
    background: #f0f0f0;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-product:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: -14px;
    width: 1px;
    background: #e6ebef;
    pointer-events: none;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-product img {
    display: block;
    width: 100%;
    height: 198px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 14px;
}

.klkc-main-nav .klkc-mega-menu .klkc-mega-product strong,
.klkc-main-nav .klkc-mega-menu .klkc-mega-product > span,
.klkc-main-nav .klkc-mega-menu .klkc-mega-product em {
    max-width: 218px;
}

/* V18: footer without newsletter block. */
.klkc-footer-v2__grid {
    grid-template-columns: 150px repeat(3, minmax(180px, 1fr));
    gap: clamp(70px, 8vw, 132px);
    align-items: start;
    width: min(1200px, calc(100% - 64px));
}

.klkc-footer-v2__newsletter,
.klkc-footer-v2__stores,
.klkc-footer-v2__social,
.klkc-footer-v2__legal-note {
    display: none;
}

.klkc-footer-v2__logo img {
    width: 104px;
}

@media (max-width: 980px) {
    .klkc-nav-shell {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 14px 0;
    }

    .klkc-main-nav,
    .klkc-nav-actions {
        justify-content: flex-start;
        overflow-x: auto;
    }

    .klkc-main-nav a,
    .klkc-nav-actions a {
        min-height: 42px;
        white-space: nowrap;
    }

    .klkc-product-tile-grid,
    .klkc-duo-grid-v2,
    .klkc-review-cards,
    .klkc-small-duos__grid,
    .klkc-brand-banner__stats,
    .klkc-promise-v2 .klkc-page-width,
    .klkc-footer-v2__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .klkc-brand-banner__lockup {
        gap: 24px;
    }

    .klkc-brand-banner__lockup img {
        width: 170px;
    }

    .klkc-brand-banner__top h2 {
        max-width: 310px;
        font-size: 31px;
    }
}

@media (max-width: 640px) {
    .klkc-page-width,
    .klkc-nav-shell,
    .klkc-top-alert a {
        width: min(100% - 28px, 1200px);
    }

    .klkc-hero-v3 {
        min-height: 620px;
    }

    .klkc-hero-v3::after {
        background: linear-gradient(180deg, rgba(0,0,0,0.74), rgba(0,0,0,0.16));
    }

    .klkc-hero-v3__content {
        padding-top: 86px;
    }

    .klkc-hero-v3__content h1 {
        font-size: 52px;
    }

    .klkc-product-tile-grid,
    .klkc-duo-grid-v2,
    .klkc-review-cards,
    .klkc-small-duos__grid,
    .klkc-brand-banner__stats,
    .klkc-promise-v2 .klkc-page-width,
    .klkc-footer-v2__grid {
        grid-template-columns: 1fr;
    }

    .klkc-product-tile a {
        min-height: 460px;
    }

    .klkc-small-duos__grid a {
        min-height: 230px;
    }

    .klkc-small-duos__grid a > div {
        width: 62%;
        padding: 34px 0 0 22px;
    }

    .klkc-small-duos__grid h3 {
        font-size: 22px;
    }

    .klkc-small-duos__grid p {
        font-size: 17px;
    }

    .klkc-brand-banner {
        min-height: 560px;
    }

    .klkc-brand-banner__lockup {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .klkc-brand-banner__lockup > span {
        width: 86px;
        height: 2px;
    }

    .klkc-brand-banner__top h2 {
        text-align: center;
    }

    .klkc-brand-banner__top p {
        font-size: 18px;
    }

    .klkc-brand-banner__stats {
        flex-direction: column;
        gap: 22px;
    }

    .klkc-brand-banner__stats div:nth-child(1)::after,
    .klkc-brand-banner__stats div:nth-child(2)::after {
        display: none;
    }

    .klkc-duo-tile {
        min-height: 460px;
    }

    .klkc-footer-v2__bottom {
        flex-direction: column;
    }
}

html body.klkc-archive-template {
    margin: 0;
    background: #f3f3f3;
    color: #1f1f1f;
    font-family: "Inter", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.klkc-archive-template .klkc-page-width {
    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
}

.klkc-archive-template .klkc-site-header--archive {
    position: relative;
    z-index: 80;
    background: #1f1f1f;
    border-bottom: 0;
}

.klkc-archive-template .klkc-nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(960px, calc(100% - 64px));
    min-height: 64px;
    margin: 0 auto;
}

.klkc-archive-template .klkc-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.klkc-archive-template .klkc-logo img {
    display: block;
    width: 96px;
    height: auto;
}

.klkc-archive-template .klkc-main-nav {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    justify-content: center;
    gap: 27px;
    min-width: 0;
}

.klkc-archive-template .klkc-main-nav > a,
.klkc-archive-template .klkc-nav-item > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 64px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.klkc-archive-template .klkc-main-nav > a::after,
.klkc-archive-template .klkc-nav-item > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #1df0bb;
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity 160ms ease, transform 160ms ease;
}

.klkc-archive-template .klkc-main-nav > a:hover::after,
.klkc-archive-template .klkc-main-nav > a:focus-visible::after,
.klkc-archive-template .klkc-nav-item:hover > a::after,
.klkc-archive-template .klkc-nav-item:focus-within > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.klkc-archive-template .klkc-nav-item {
    display: inline-flex;
}

.klkc-archive-template .klkc-nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.klkc-archive-template .klkc-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    color: rgba(255, 255, 255, 0.86);
}

.klkc-archive-template .klkc-icon-link svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.klkc-archive-template .klkc-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    min-height: 356px;
    background: #fff;
    color: #1f1f1f;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    pointer-events: none;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.klkc-archive-template .klkc-nav-item:hover .klkc-mega-menu,
.klkc-archive-template .klkc-nav-item:focus-within .klkc-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.klkc-archive-template .klkc-mega-menu__inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 58px;
    width: min(1110px, calc(100% - 64px));
    min-height: 356px;
    margin: 0 auto;
    padding: 28px 0 26px;
}

.klkc-archive-template .klkc-main-nav .klkc-mega-menu a {
    min-height: 0;
    padding: 0;
    color: #1f1f1f;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
    white-space: normal;
}

.klkc-archive-template .klkc-mega-menu__categories h2 {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: -6px 0 8px -13px;
    padding: 0 14px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.klkc-archive-template .klkc-mega-menu__categories h2:hover {
    background: #f0f0f0;
}

.klkc-archive-template .klkc-mega-menu__categories h2 span {
    margin-left: 6px;
    color: #7c858d;
}

.klkc-archive-template .klkc-mega-menu__categories > div {
    display: grid;
    grid-template-columns: 200px 190px;
    gap: 1px 11px;
    margin-left: -13px;
}

.klkc-archive-template .klkc-mega-menu__categories > div > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 13px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.16;
    font-weight: 900;
    overflow-wrap: anywhere;
    transition: background-color 160ms ease;
}

.klkc-archive-template .klkc-mega-menu__categories > div > a:hover,
.klkc-archive-template .klkc-mega-menu__categories > div > a:focus-visible {
    background: #f0f0f0;
}

.klkc-archive-template .klkc-mega-menu__products {
    min-width: 0;
}

.klkc-archive-template .klkc-mega-menu__products h3 {
    margin: 0 0 14px;
    color: #2f343a;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
}

.klkc-archive-template .klkc-mega-menu__product-grid {
    display: grid;
    grid-template-columns: repeat(3, 244px);
    gap: 0;
}

.klkc-archive-template .klkc-mega-product {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 324px;
    margin: 0 13px;
    padding: 18px 18px 16px;
    border: 0;
    border-radius: 8px;
    color: #1f1f1f;
    transition: background-color 160ms ease;
}

.klkc-archive-template .klkc-mega-product:hover,
.klkc-archive-template .klkc-mega-product:focus-visible {
    background: #f0f0f0;
}

.klkc-archive-template .klkc-mega-product:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: -14px;
    width: 1px;
    background: #e6ebef;
    pointer-events: none;
}

.klkc-archive-template .klkc-mega-product img {
    display: block;
    width: 100%;
    height: 198px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto 14px;
}

.klkc-archive-template .klkc-mega-product strong {
    display: block;
    max-width: 206px;
    color: #1f1f1f;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 900;
}

.klkc-archive-template .klkc-mega-product > span {
    display: block;
    max-width: 206px;
    margin-top: 4px;
    color: #6f7377;
    font-size: 13px;
    line-height: 1.18;
    font-weight: 600;
}

.klkc-archive-template .klkc-mega-product em {
    display: block;
    margin-top: 4px;
    color: #1f1f1f;
    font-size: 13px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 600;
}

.klkc-archive {
    background: #f3f3f3;
}

.klkc-archive-hero {
    position: relative;
    min-height: 302px;
    overflow: hidden;
    background: #090909;
}

.klkc-archive-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--klkc-archive-hero-image);
    background-position: center right;
    background-size: cover;
    opacity: 0.9;
}

.klkc-archive-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 34%, rgba(0, 0, 0, 0.18) 68%, rgba(0, 0, 0, 0.44) 100%);
}

.klkc-archive-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 302px;
}

.klkc-archive-hero__copy {
    max-width: 590px;
    color: #fff;
}

.klkc-archive-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(34px, 3.4vw, 50px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0;
}

.klkc-archive-hero__description p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.klkc-archive-hero__read-more {
    display: inline-flex;
    margin-top: 13px;
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.klkc-archive-toolbar {
    background: #f3f3f3;
    border-bottom: 1px solid #dedede;
}

.klkc-archive-breadcrumb-row {
    padding: 28px 0 24px;
    border-bottom: 1px solid #dedede;
}

.klkc-archive-breadcrumb {
    margin: 0;
    color: #4f5358;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
}

.klkc-archive-breadcrumb a {
    color: #4f5358;
    text-decoration: none;
}

.klkc-archive-breadcrumb a:hover,
.klkc-archive-breadcrumb a:focus-visible {
    color: #111;
}

.klkc-archive-toolbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 24px;
}

.klkc-archive-chips {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.klkc-archive-chips a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 999px;
    background: #fff;
    color: #20242a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.klkc-archive-chips a:hover,
.klkc-archive-chips a:focus-visible,
.klkc-archive-chips a.is-active {
    background: #1df0bb;
    color: #05251f;
    transform: translateY(-1px);
}

.klkc-archive-sort form {
    margin: 0;
}

.klkc-archive-sort select {
    min-width: 190px;
    height: 44px;
    padding: 0 42px 0 16px;
    border: 1px solid #d9e0e6;
    border-radius: 7px;
    background: #fff;
    color: #20242a;
    font-size: 14px;
    font-weight: 800;
}

.klkc-archive-products {
    padding: 24px 0 90px;
    background: #f3f3f3;
}

.klkc-archive-meta {
    margin: 0 0 28px;
    color: #5c6269;
    font-size: 14px;
    font-weight: 600;
}

.klkc-archive-meta p {
    margin: 0;
}

.klkc-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.klkc-archive-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 512px;
    padding: 28px;
    border-radius: 12px;
    background: #fff;
}

.klkc-archive-card__media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #f4f4f4;
    aspect-ratio: 1 / 1;
    text-decoration: none;
}

.klkc-archive-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: transform .25s ease;
}

.klkc-archive-card:hover .klkc-archive-card__media img {
    transform: scale(1.045);
}

.klkc-archive-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 12px;
    border-radius: 5px;
    background: #1df0bb;
    color: #053229;
    font-size: 12px;
    font-weight: 900;
}

.klkc-archive-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px 0 0;
}

.klkc-archive-card__category {
    margin: 0 0 8px;
    color: #7c8792;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
    text-transform: uppercase;
}

.klkc-archive-card h2 {
    margin: 0 0 5px;
    font-size: 22px;
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: 0;
}

.klkc-archive-card h2 a {
    color: #20242a;
    text-decoration: none;
}

.klkc-archive-card h2 a:hover,
.klkc-archive-card h2 a:focus-visible {
    color: #0c7b66;
}

.klkc-archive-card p {
    margin: 0 0 14px;
    min-height: 42px;
    color: #6d747c;
    font-size: 14px;
    line-height: 1.38;
    font-weight: 700;
}

.klkc-archive-card__price {
    margin: 0 0 16px;
    color: #20242a;
    font-size: 16px;
    font-weight: 900;
}

.klkc-archive-card__price del {
    color: #87909a;
    font-weight: 700;
}

.klkc-archive-card__price ins {
    color: #20242a;
    text-decoration: none;
}

.klkc-archive-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 0 24px;
    border-radius: 7px;
    background: #1df0bb;
    color: #061f1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 900;
    transition: background .18s ease, transform .18s ease;
}

.klkc-archive-card__button:hover,
.klkc-archive-card__button:focus-visible {
    background: #10a98b;
    color: #fff;
    transform: translateY(-1px);
}

.klkc-archive-card__more {
    display: inline-flex;
    justify-content: center;
    margin: 18px auto 0;
    color: #008f78;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.klkc-archive-card__more:hover,
.klkc-archive-card__more:focus-visible {
    color: #004f43;
}

.klkc-archive-pagination {
    margin-top: 58px;
}

.klkc-archive-pagination .woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
}

.klkc-archive-pagination .woocommerce-pagination li {
    border: 0;
    list-style: none;
}

.klkc-archive-pagination .woocommerce-pagination a,
.klkc-archive-pagination .woocommerce-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #fff;
    color: #20242a;
    font-weight: 900;
    text-decoration: none;
}

.klkc-archive-pagination .woocommerce-pagination span.current,
.klkc-archive-pagination .woocommerce-pagination a:hover {
    background: #1df0bb;
}

.klkc-archive-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

@media (max-width: 1180px) {
    .klkc-archive-template .klkc-nav-shell {
        width: min(1080px, calc(100% - 40px));
    }

    .klkc-archive-template .klkc-main-nav {
        gap: 18px;
    }

    .klkc-archive-template .klkc-mega-menu__inner {
        grid-template-columns: 320px 1fr;
        gap: 30px;
    }

    .klkc-archive-template .klkc-mega-menu__product-grid {
        grid-template-columns: repeat(3, 210px);
    }
}

@media (max-width: 1100px) {
    .klkc-archive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .klkc-archive-template .klkc-main-nav {
        display: none;
    }

    .klkc-archive-template .klkc-nav-shell {
        width: min(100%, calc(100% - 32px));
    }

    .klkc-archive-toolbar__inner {
        align-items: stretch;
        flex-direction: column;
    }

    .klkc-archive-sort select {
        width: 100%;
    }

    .klkc-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .klkc-archive-card h2 {
        font-size: 19px;
    }
}

@media (max-width: 620px) {
    .klkc-archive-template .klkc-page-width {
        width: min(100%, calc(100% - 28px));
    }

    .klkc-archive-hero,
    .klkc-archive-hero__inner {
        min-height: 330px;
    }

    .klkc-archive-hero::after {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48));
    }

    .klkc-archive-chips a {
        min-height: 42px;
        padding: 0 18px;
    }

    .klkc-archive-grid {
        grid-template-columns: 1fr;
    }

    .klkc-archive-card {
        min-height: 0;
        padding: 22px;
    }
}
html body.klkc-cart-template {
    margin: 0;
    background: #f3f3f3;
    color: #1f1f1f;
    font-family: "Inter", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.klkc-cart-template .klkc-site-header--cart {
    position: relative;
    z-index: 80;
    background: #1f1f1f;
    border-bottom: 0;
}

.klkc-cart-template .klkc-nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(960px, calc(100% - 64px));
    min-height: 64px;
    margin: 0 auto;
}

.klkc-cart-template .klkc-logo img {
    display: block;
    width: 96px;
    height: auto;
}

.klkc-cart-template .klkc-main-nav {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    justify-content: center;
    gap: 27px;
}

.klkc-cart-template .klkc-nav-item,
.klkc-cart-template .klkc-main-nav > a,
.klkc-cart-template .klkc-nav-item > a {
    display: inline-flex;
    align-items: center;
}

.klkc-cart-template .klkc-main-nav > a,
.klkc-cart-template .klkc-nav-item > a {
    position: relative;
    min-height: 64px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.klkc-cart-template .klkc-main-nav > a::after,
.klkc-cart-template .klkc-nav-item > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #1df0bb;
    opacity: 0;
    transform: scaleX(.6);
    transition: opacity 160ms ease, transform 160ms ease;
}

.klkc-cart-template .klkc-main-nav > a:hover::after,
.klkc-cart-template .klkc-main-nav > a:focus-visible::after,
.klkc-cart-template .klkc-nav-item:hover > a::after,
.klkc-cart-template .klkc-nav-item:focus-within > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.klkc-cart-template .klkc-nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.klkc-cart-template .klkc-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    color: rgba(255, 255, 255, .86);
}

.klkc-cart-template .klkc-icon-link svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.klkc-cart-template .klkc-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    min-height: 356px;
    background: #fff;
    color: #1f1f1f;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    pointer-events: none;
    box-shadow: 0 16px 24px rgba(0, 0, 0, .08);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.klkc-cart-template .klkc-nav-item:hover .klkc-mega-menu,
.klkc-cart-template .klkc-nav-item:focus-within .klkc-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.klkc-cart-template .klkc-mega-menu__inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 58px;
    width: min(1110px, calc(100% - 64px));
    min-height: 356px;
    margin: 0 auto;
    padding: 28px 0 26px;
}

.klkc-cart-template .klkc-main-nav .klkc-mega-menu a {
    min-height: 0;
    padding: 0;
    color: #1f1f1f;
    text-decoration: none;
    white-space: normal;
}

.klkc-cart-template .klkc-mega-menu__categories h2 {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: -6px 0 8px -13px;
    padding: 0 14px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.klkc-cart-template .klkc-mega-menu__categories h2:hover {
    background: #f0f0f0;
}

.klkc-cart-template .klkc-mega-menu__categories > div {
    display: grid;
    grid-template-columns: 200px 190px;
    gap: 1px 11px;
    margin-left: -13px;
}

.klkc-cart-template .klkc-mega-menu__categories > div > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 13px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.16;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.klkc-cart-template .klkc-mega-menu__categories > div > a:hover,
.klkc-cart-template .klkc-mega-menu__categories > div > a:focus-visible {
    background: #f0f0f0;
}

.klkc-cart-template .klkc-mega-menu__products h3 {
    margin: 0 0 14px;
    color: #2f343a;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
}

.klkc-cart-template .klkc-mega-menu__product-grid {
    display: grid;
    grid-template-columns: repeat(3, 244px);
}

.klkc-cart-template .klkc-mega-product {
    position: relative;
    display: block;
    min-height: 324px;
    margin: 0 13px;
    padding: 18px 18px 16px;
    border-radius: 8px;
    transition: background-color 160ms ease;
}

.klkc-cart-template .klkc-mega-product:hover,
.klkc-cart-template .klkc-mega-product:focus-visible {
    background: #f0f0f0;
}

.klkc-cart-template .klkc-mega-product:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: -14px;
    width: 1px;
    background: #e6ebef;
}

.klkc-cart-template .klkc-mega-product img {
    display: block;
    width: 100%;
    height: 198px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.klkc-cart-template .klkc-mega-product strong,
.klkc-cart-template .klkc-mega-product > span,
.klkc-cart-template .klkc-mega-product em {
    display: block;
    max-width: 206px;
}

.klkc-cart-template .klkc-mega-product strong {
    color: #1f1f1f;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 900;
}

.klkc-cart-template .klkc-mega-product > span,
.klkc-cart-template .klkc-mega-product em {
    margin-top: 4px;
    color: #6f7377;
    font-size: 13px;
    line-height: 1.18;
    font-style: normal;
    font-weight: 600;
}

.klkc-cart-width {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.klkc-cart-hero {
    padding: 56px 0 42px;
    background: #fff;
}

.klkc-cart-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    color: #717982;
    font-size: 14px;
    font-weight: 700;
}

.klkc-cart-breadcrumb a {
    color: #717982;
    text-decoration: none;
}

.klkc-cart-hero h1 {
    margin: 0;
    color: #20242a;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: 0;
}

.klkc-cart-hero p {
    max-width: 620px;
    margin: 16px 0 0;
    color: #616971;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}

.klkc-cart-content {
    padding: 34px 0 90px;
    background: #f3f3f3;
}

.klkc-cart-page .woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

.klkc-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.klkc-cart-items,
.klkc-cart-summary .cart_totals,
.klkc-cart-empty {
    border-radius: 14px;
    background: #fff;
}

.klkc-cart-items {
    padding: 10px 28px 28px;
}

.klkc-cart-items__head {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #e4e7ea;
    color: #727a83;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.klkc-cart-item {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid #e4e7ea;
}

.klkc-cart-item__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    border-radius: 12px;
    background: #f4f4f4;
}

.klkc-cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.klkc-cart-item__title-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.klkc-cart-item h2 {
    margin: 0;
    color: #20242a;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 900;
}

.klkc-cart-item h2 a {
    color: inherit;
    text-decoration: none;
}

.klkc-cart-item__remove {
    color: #8a929b;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.klkc-cart-item__meta {
    margin-top: 8px;
    color: #6d747c;
    font-size: 13px;
    font-weight: 700;
}

.klkc-cart-item__controls {
    display: grid;
    grid-template-columns: 1fr 130px 140px;
    gap: 18px;
    align-items: end;
    margin-top: 24px;
}

.klkc-cart-item__price span,
.klkc-cart-item__quantity span,
.klkc-cart-item__subtotal span {
    display: block;
    margin-bottom: 7px;
    color: #7c8792;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.klkc-cart-item__price,
.klkc-cart-item__subtotal {
    color: #20242a;
    font-size: 16px;
    font-weight: 900;
}

.klkc-cart-item__quantity .qty {
    width: 96px;
    height: 44px;
    border: 1px solid #d9e0e6;
    border-radius: 7px;
    color: #20242a;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
}

.klkc-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 24px;
}

.klkc-cart-coupon {
    display: flex;
    gap: 10px;
}

.klkc-cart-coupon input {
    width: 190px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d9e0e6;
    border-radius: 7px;
    background: #fff;
    color: #20242a;
    font-size: 14px;
    font-weight: 700;
}

.klkc-cart-page .button,
.klkc-cart-page button.button,
.klkc-cart-page .wc-proceed-to-checkout a.checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    background: #1df0bb;
    color: #061f1a;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.klkc-cart-page .button:hover,
.klkc-cart-page button.button:hover,
.klkc-cart-page .wc-proceed-to-checkout a.checkout-button:hover {
    background: #10a98b;
    color: #fff;
    transform: translateY(-1px);
}

.klkc-cart-summary .cart_totals {
    padding: 28px;
}

.klkc-cart-summary .cart_totals h2 {
    margin: 0 0 18px;
    color: #20242a;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.klkc-cart-summary table {
    width: 100%;
    border-collapse: collapse;
}

.klkc-cart-summary th,
.klkc-cart-summary td {
    padding: 15px 0;
    border-bottom: 1px solid #e4e7ea;
    color: #20242a;
    font-size: 15px;
    text-align: left;
    vertical-align: top;
}

.klkc-cart-summary th {
    color: #6d747c;
    font-weight: 800;
}

.klkc-cart-summary td {
    text-align: right;
    font-weight: 900;
}

.klkc-cart-summary .woocommerce-shipping-destination,
.klkc-cart-summary .woocommerce-shipping-calculator {
    color: #6d747c;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.klkc-cart-summary .wc-proceed-to-checkout {
    padding: 22px 0 0;
}

.klkc-cart-summary .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
}

.klkc-cart-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 72px 48px;
    text-align: center;
}

.klkc-cart-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: #1f1f1f;
    color: #fff;
}

.klkc-cart-empty__icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.klkc-cart-empty h2 {
    margin: 0;
    color: #20242a;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.klkc-cart-empty p {
    max-width: 450px;
    margin: 14px auto 24px;
    color: #6d747c;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.klkc-cart-empty__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 7px;
    background: #1df0bb;
    color: #061f1a;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 980px) {
    .klkc-cart-template .klkc-main-nav {
        display: none;
    }

    .klkc-cart-layout {
        grid-template-columns: 1fr;
    }

    .klkc-cart-item__controls {
        grid-template-columns: 1fr 120px 120px;
    }
}

@media (max-width: 680px) {
    .klkc-cart-width,
    .klkc-cart-template .klkc-nav-shell {
        width: min(100%, calc(100% - 28px));
    }

    .klkc-cart-items {
        padding: 6px 20px 22px;
    }

    .klkc-cart-items__head {
        display: none;
    }

    .klkc-cart-item {
        grid-template-columns: 96px 1fr;
        gap: 16px;
    }

    .klkc-cart-item__media {
        width: 96px;
        height: 96px;
    }

    .klkc-cart-item h2 {
        font-size: 18px;
    }

    .klkc-cart-item__controls {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .klkc-cart-actions,
    .klkc-cart-coupon {
        align-items: stretch;
        flex-direction: column;
    }

    .klkc-cart-coupon input,
    .klkc-cart-page .button,
    .klkc-cart-page button.button {
        width: 100%;
    }
}
html body.klkc-cart-template {
    margin: 0;
    background: #f3f3f3;
    color: #1f1f1f;
    font-family: "Inter", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.klkc-cart-template .klkc-site-header--cart {
    position: relative;
    z-index: 80;
    background: #1f1f1f;
    border-bottom: 0;
}

.klkc-cart-template .klkc-nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(960px, calc(100% - 64px));
    min-height: 64px;
    margin: 0 auto;
}

.klkc-cart-template .klkc-logo img {
    display: block;
    width: 96px;
    height: auto;
}

.klkc-cart-template .klkc-main-nav {
    display: flex;
    align-self: stretch;
    align-items: stretch;
    justify-content: center;
    gap: 27px;
}

.klkc-cart-template .klkc-nav-item,
.klkc-cart-template .klkc-main-nav > a,
.klkc-cart-template .klkc-nav-item > a {
    display: inline-flex;
    align-items: center;
}

.klkc-cart-template .klkc-main-nav > a,
.klkc-cart-template .klkc-nav-item > a {
    position: relative;
    min-height: 64px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.klkc-cart-template .klkc-main-nav > a::after,
.klkc-cart-template .klkc-nav-item > a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #1df0bb;
    opacity: 0;
    transform: scaleX(.6);
    transition: opacity 160ms ease, transform 160ms ease;
}

.klkc-cart-template .klkc-main-nav > a:hover::after,
.klkc-cart-template .klkc-main-nav > a:focus-visible::after,
.klkc-cart-template .klkc-nav-item:hover > a::after,
.klkc-cart-template .klkc-nav-item:focus-within > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.klkc-cart-template .klkc-nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.klkc-cart-template .klkc-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    color: rgba(255, 255, 255, .86);
}

.klkc-cart-template .klkc-icon-link svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.klkc-cart-template .klkc-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 100vw;
    min-height: 356px;
    background: #fff;
    color: #1f1f1f;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    pointer-events: none;
    box-shadow: 0 16px 24px rgba(0, 0, 0, .08);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.klkc-cart-template .klkc-nav-item:hover .klkc-mega-menu,
.klkc-cart-template .klkc-nav-item:focus-within .klkc-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.klkc-cart-template .klkc-mega-menu__inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 58px;
    width: min(1110px, calc(100% - 64px));
    min-height: 356px;
    margin: 0 auto;
    padding: 28px 0 26px;
}

.klkc-cart-template .klkc-main-nav .klkc-mega-menu a {
    min-height: 0;
    padding: 0;
    color: #1f1f1f;
    text-decoration: none;
    white-space: normal;
}

.klkc-cart-template .klkc-mega-menu__categories h2 {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    margin: -6px 0 8px -13px;
    padding: 0 14px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
}

.klkc-cart-template .klkc-mega-menu__categories h2:hover {
    background: #f0f0f0;
}

.klkc-cart-template .klkc-mega-menu__categories > div {
    display: grid;
    grid-template-columns: 200px 190px;
    gap: 1px 11px;
    margin-left: -13px;
}

.klkc-cart-template .klkc-mega-menu__categories > div > a {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: 0 13px;
    border-radius: 8px;
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.16;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.klkc-cart-template .klkc-mega-menu__categories > div > a:hover,
.klkc-cart-template .klkc-mega-menu__categories > div > a:focus-visible {
    background: #f0f0f0;
}

.klkc-cart-template .klkc-mega-menu__products h3 {
    margin: 0 0 14px;
    color: #2f343a;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
}

.klkc-cart-template .klkc-mega-menu__product-grid {
    display: grid;
    grid-template-columns: repeat(3, 244px);
}

.klkc-cart-template .klkc-mega-product {
    position: relative;
    display: block;
    min-height: 324px;
    margin: 0 13px;
    padding: 18px 18px 16px;
    border-radius: 8px;
    transition: background-color 160ms ease;
}

.klkc-cart-template .klkc-mega-product:hover,
.klkc-cart-template .klkc-mega-product:focus-visible {
    background: #f0f0f0;
}

.klkc-cart-template .klkc-mega-product:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: -14px;
    width: 1px;
    background: #e6ebef;
}

.klkc-cart-template .klkc-mega-product img {
    display: block;
    width: 100%;
    height: 198px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.klkc-cart-template .klkc-mega-product strong,
.klkc-cart-template .klkc-mega-product > span,
.klkc-cart-template .klkc-mega-product em {
    display: block;
    max-width: 206px;
}

.klkc-cart-template .klkc-mega-product strong {
    color: #1f1f1f;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 900;
}

.klkc-cart-template .klkc-mega-product > span,
.klkc-cart-template .klkc-mega-product em {
    margin-top: 4px;
    color: #6f7377;
    font-size: 13px;
    line-height: 1.18;
    font-style: normal;
    font-weight: 600;
}

.klkc-cart-width {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
}

.klkc-cart-hero {
    padding: 56px 0 42px;
    background: #fff;
}

.klkc-cart-breadcrumb {
    display: flex;
    gap: 9px;
    align-items: center;
    margin-bottom: 18px;
    color: #717982;
    font-size: 14px;
    font-weight: 700;
}

.klkc-cart-breadcrumb a {
    color: #717982;
    text-decoration: none;
}

.klkc-cart-hero h1 {
    margin: 0;
    color: #20242a;
    font-size: clamp(42px, 5vw, 72px);
    line-height: .95;
    font-weight: 900;
    letter-spacing: 0;
}

.klkc-cart-hero p {
    max-width: 620px;
    margin: 16px 0 0;
    color: #616971;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
}

.klkc-cart-content {
    padding: 34px 0 90px;
    background: #f3f3f3;
}

.klkc-cart-page .woocommerce-notices-wrapper {
    margin-bottom: 18px;
}

.klkc-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.klkc-cart-items,
.klkc-cart-summary .cart_totals,
.klkc-cart-empty {
    border-radius: 14px;
    background: #fff;
}

.klkc-cart-items {
    padding: 10px 28px 28px;
}

.klkc-cart-items__head {
    display: grid;
    grid-template-columns: 1fr 150px;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #e4e7ea;
    color: #727a83;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.klkc-cart-item {
    display: grid;
    grid-template-columns: 132px 1fr;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid #e4e7ea;
}

.klkc-cart-item__media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    border-radius: 12px;
    background: #f4f4f4;
}

.klkc-cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
}

.klkc-cart-item__title-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
}

.klkc-cart-item h2 {
    margin: 0;
    color: #20242a;
    font-size: 22px;
    line-height: 1.12;
    font-weight: 900;
}

.klkc-cart-item h2 a {
    color: inherit;
    text-decoration: none;
}

.klkc-cart-item__remove {
    color: #8a929b;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.klkc-cart-item__meta {
    margin-top: 8px;
    color: #6d747c;
    font-size: 13px;
    font-weight: 700;
}

.klkc-cart-item__controls {
    display: grid;
    grid-template-columns: 1fr 130px 140px;
    gap: 18px;
    align-items: end;
    margin-top: 24px;
}

.klkc-cart-item__price span,
.klkc-cart-item__quantity span,
.klkc-cart-item__subtotal span {
    display: block;
    margin-bottom: 7px;
    color: #7c8792;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.klkc-cart-item__price,
.klkc-cart-item__subtotal {
    color: #20242a;
    font-size: 16px;
    font-weight: 900;
}

.klkc-cart-item__quantity .qty {
    width: 96px;
    height: 44px;
    border: 1px solid #d9e0e6;
    border-radius: 7px;
    color: #20242a;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
}

.klkc-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 24px;
}

.klkc-cart-coupon {
    display: flex;
    gap: 10px;
}

.klkc-cart-coupon input {
    width: 190px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d9e0e6;
    border-radius: 7px;
    background: #fff;
    color: #20242a;
    font-size: 14px;
    font-weight: 700;
}

.klkc-cart-page .button,
.klkc-cart-page button.button,
.klkc-cart-page .wc-proceed-to-checkout a.checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 7px;
    background: #1df0bb;
    color: #061f1a;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.klkc-cart-page .button:hover,
.klkc-cart-page button.button:hover,
.klkc-cart-page .wc-proceed-to-checkout a.checkout-button:hover {
    background: #10a98b;
    color: #fff;
    transform: translateY(-1px);
}

.klkc-cart-summary .cart_totals {
    padding: 28px;
}

.klkc-cart-summary .cart_totals h2 {
    margin: 0 0 18px;
    color: #20242a;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}

.klkc-cart-summary table {
    width: 100%;
    border-collapse: collapse;
}

.klkc-cart-summary th,
.klkc-cart-summary td {
    padding: 15px 0;
    border-bottom: 1px solid #e4e7ea;
    color: #20242a;
    font-size: 15px;
    text-align: left;
    vertical-align: top;
}

.klkc-cart-summary th {
    color: #6d747c;
    font-weight: 800;
}

.klkc-cart-summary td {
    text-align: right;
    font-weight: 900;
}

.klkc-cart-summary .woocommerce-shipping-destination,
.klkc-cart-summary .woocommerce-shipping-calculator {
    color: #6d747c;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
}

.klkc-cart-summary .wc-proceed-to-checkout {
    padding: 22px 0 0;
}

.klkc-cart-summary .wc-proceed-to-checkout a.checkout-button {
    width: 100%;
}

.klkc-cart-empty {
    max-width: 720px;
    margin: 0 auto;
    padding: 72px 48px;
    text-align: center;
}

.klkc-cart-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: #1f1f1f;
    color: #fff;
}

.klkc-cart-empty__icon svg {
    width: 44px;
    height: 44px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.klkc-cart-empty h2 {
    margin: 0;
    color: #20242a;
    font-size: 38px;
    line-height: 1;
    font-weight: 900;
}

.klkc-cart-empty p {
    max-width: 450px;
    margin: 14px auto 24px;
    color: #6d747c;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 700;
}

.klkc-cart-empty__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 26px;
    border-radius: 7px;
    background: #1df0bb;
    color: #061f1a;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 980px) {
    .klkc-cart-template .klkc-main-nav {
        display: none;
    }

    .klkc-cart-layout {
        grid-template-columns: 1fr;
    }

    .klkc-cart-item__controls {
        grid-template-columns: 1fr 120px 120px;
    }
}

@media (max-width: 680px) {
    .klkc-cart-width,
    .klkc-cart-template .klkc-nav-shell {
        width: min(100%, calc(100% - 28px));
    }

    .klkc-cart-items {
        padding: 6px 20px 22px;
    }

    .klkc-cart-items__head {
        display: none;
    }

    .klkc-cart-item {
        grid-template-columns: 96px 1fr;
        gap: 16px;
    }

    .klkc-cart-item__media {
        width: 96px;
        height: 96px;
    }

    .klkc-cart-item h2 {
        font-size: 18px;
    }

    .klkc-cart-item__controls {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .klkc-cart-actions,
    .klkc-cart-coupon {
        align-items: stretch;
        flex-direction: column;
    }

    .klkc-cart-coupon input,
    .klkc-cart-page .button,
    .klkc-cart-page button.button {
        width: 100%;
    }
}
/* KLKC unified header: homepage, category pages, and cart share the same top bar. */
body.klkc-home-template .klkc-top-alert,
body.klkc-archive-template .klkc-top-alert,
body.klkc-cart-template .klkc-top-alert,
body.klkc-page-template .klkc-top-alert {
    display: none !important;
}

body.klkc-home-template .klkc-site-header,
body.klkc-archive-template .klkc-site-header,
body.klkc-cart-template .klkc-site-header,
body.klkc-page-template .klkc-site-header {
    position: relative !important;
    z-index: 100 !important;
    height: var(--klkc-header-height, 64px) !important;
    min-height: var(--klkc-header-height, 64px) !important;
    padding: 0 !important;
    background: #1f1f1f !important;
    border: 0 !important;
}

body.klkc-home-template .klkc-nav-shell,
body.klkc-archive-template .klkc-nav-shell,
body.klkc-cart-template .klkc-nav-shell,
body.klkc-page-template .klkc-nav-shell {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) 178px !important;
    align-items: center !important;
    gap: 28px !important;
    width: min(960px, calc(100% - 64px)) !important;
    height: var(--klkc-header-height, 64px) !important;
    min-height: var(--klkc-header-height, 64px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.klkc-home-template .klkc-logo,
body.klkc-archive-template .klkc-logo,
body.klkc-cart-template .klkc-logo,
body.klkc-page-template .klkc-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    /* 高度交给图片决定，比导航条矮时由 klkc-nav-shell 的 align-items 上下居中 */
    height: auto !important;
}

body.klkc-home-template .klkc-logo img,
body.klkc-archive-template .klkc-logo img,
body.klkc-cart-template .klkc-logo img,
body.klkc-page-template .klkc-logo img {
    display: block !important;
    width: var(--klkc-logo-w, 260px) !important;
    height: var(--klkc-logo-h, auto) !important;
    max-width: var(--klkc-logo-max-w, 260px) !important;
    max-height: var(--klkc-logo-cap-h, 64px) !important;
}

body.klkc-home-template .klkc-main-nav,
body.klkc-archive-template .klkc-main-nav,
body.klkc-cart-template .klkc-main-nav,
body.klkc-page-template .klkc-main-nav {
    display: flex !important;
    align-self: stretch !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 27px !important;
    min-width: 0 !important;
    height: 64px !important;
}

body.klkc-home-template .klkc-nav-item,
body.klkc-archive-template .klkc-nav-item,
body.klkc-cart-template .klkc-nav-item,
body.klkc-page-template .klkc-nav-item {
    display: inline-flex !important;
    align-items: stretch !important;
    height: 64px !important;
}

body.klkc-home-template .klkc-main-nav > a,
body.klkc-home-template .klkc-nav-item > a,
body.klkc-archive-template .klkc-main-nav > a,
body.klkc-archive-template .klkc-nav-item > a,
body.klkc-cart-template .klkc-main-nav > a,
body.klkc-cart-template .klkc-nav-item > a,
body.klkc-page-template .klkc-main-nav > a,
body.klkc-page-template .klkc-nav-item > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 64px !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.klkc-home-template .klkc-main-nav > a::after,
body.klkc-home-template .klkc-nav-item > a::after,
body.klkc-archive-template .klkc-main-nav > a::after,
body.klkc-archive-template .klkc-nav-item > a::after,
body.klkc-cart-template .klkc-main-nav > a::after,
body.klkc-cart-template .klkc-nav-item > a::after,
body.klkc-page-template .klkc-main-nav > a::after,
body.klkc-page-template .klkc-nav-item > a::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 3px !important;
    background: #1df0bb !important;
    opacity: 0 !important;
    transform: scaleX(.6) !important;
    transition: opacity 160ms ease, transform 160ms ease !important;
}

body.klkc-home-template .klkc-main-nav > a:hover::after,
body.klkc-home-template .klkc-main-nav > a:focus-visible::after,
body.klkc-home-template .klkc-nav-item:hover > a::after,
body.klkc-home-template .klkc-nav-item:focus-within > a::after,
body.klkc-archive-template .klkc-main-nav > a:hover::after,
body.klkc-archive-template .klkc-main-nav > a:focus-visible::after,
body.klkc-archive-template .klkc-nav-item:hover > a::after,
body.klkc-archive-template .klkc-nav-item:focus-within > a::after,
body.klkc-cart-template .klkc-main-nav > a:hover::after,
body.klkc-cart-template .klkc-main-nav > a:focus-visible::after,
body.klkc-cart-template .klkc-nav-item:hover > a::after,
body.klkc-cart-template .klkc-nav-item:focus-within > a::after,
body.klkc-page-template .klkc-main-nav > a:hover::after,
body.klkc-page-template .klkc-main-nav > a:focus-visible::after,
body.klkc-page-template .klkc-nav-item:hover > a::after,
body.klkc-page-template .klkc-nav-item:focus-within > a::after {
    opacity: 1 !important;
    transform: scaleX(1) !important;
}

body.klkc-home-template .klkc-nav-actions,
body.klkc-archive-template .klkc-nav-actions,
body.klkc-cart-template .klkc-nav-actions,
body.klkc-page-template .klkc-nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    width: 178px !important;
    height: 64px !important;
}

body.klkc-home-template .klkc-language-link,
body.klkc-archive-template .klkc-language-link,
body.klkc-cart-template .klkc-language-link,
body.klkc-page-template .klkc-language-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.klkc-home-template .klkc-icon-link,
body.klkc-archive-template .klkc-icon-link,
body.klkc-cart-template .klkc-icon-link,
body.klkc-page-template .klkc-icon-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 25px !important;
    height: 25px !important;
    color: rgba(255, 255, 255, 0.86) !important;
}

body.klkc-home-template .klkc-language-link svg,
body.klkc-home-template .klkc-icon-link svg,
body.klkc-archive-template .klkc-language-link svg,
body.klkc-archive-template .klkc-icon-link svg,
body.klkc-cart-template .klkc-language-link svg,
body.klkc-cart-template .klkc-icon-link svg,
body.klkc-page-template .klkc-language-link svg,
body.klkc-page-template .klkc-icon-link svg {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-width: 2 !important;
}

body.klkc-home-template .klkc-language-link .klkc-chevron,
body.klkc-archive-template .klkc-language-link .klkc-chevron,
body.klkc-cart-template .klkc-language-link .klkc-chevron,
body.klkc-page-template .klkc-language-link .klkc-chevron {
    width: 12px !important;
    height: 12px !important;
}

body.klkc-home-template .klkc-mega-menu,
body.klkc-archive-template .klkc-mega-menu,
body.klkc-cart-template .klkc-mega-menu,
body.klkc-page-template .klkc-mega-menu {
    top: 64px !important;
}

@media (max-width: 980px) {
    body.klkc-home-template .klkc-nav-shell,
    body.klkc-archive-template .klkc-nav-shell,
    body.klkc-cart-template .klkc-nav-shell,
    body.klkc-page-template .klkc-nav-shell {
        grid-template-columns: auto 1fr !important;
        width: min(100%, calc(100% - 32px)) !important;
    }

    body.klkc-home-template .klkc-main-nav,
    body.klkc-archive-template .klkc-main-nav,
    body.klkc-cart-template .klkc-main-nav,
    body.klkc-page-template .klkc-main-nav {
        display: none !important;
    }

    body.klkc-home-template .klkc-nav-actions,
    body.klkc-archive-template .klkc-nav-actions,
    body.klkc-cart-template .klkc-nav-actions,
    body.klkc-page-template .klkc-nav-actions {
        width: auto !important;
    }
}
/* KLKC unified header v2: keep homepage, category, and cart headers identical. */
body.klkc-home-template .klkc-top-alert,
body.klkc-archive-template .klkc-top-alert,
body.klkc-cart-template .klkc-top-alert,
body.klkc-page-template .klkc-top-alert {
    display: none !important;
}

body.klkc-home-template .klkc-site-header,
body.klkc-archive-template .klkc-site-header,
body.klkc-cart-template .klkc-site-header,
body.klkc-page-template .klkc-site-header {
    position: relative !important;
    z-index: 100 !important;
    height: var(--klkc-header-height, 64px) !important;
    min-height: var(--klkc-header-height, 64px) !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #1f1f1f !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: "Inter", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.klkc-home-template .klkc-site-header a,
body.klkc-archive-template .klkc-site-header a,
body.klkc-cart-template .klkc-site-header a,
body.klkc-page-template .klkc-site-header a {
    text-decoration: none !important;
}

body.klkc-home-template .klkc-nav-shell,
body.klkc-archive-template .klkc-nav-shell,
body.klkc-cart-template .klkc-nav-shell,
body.klkc-page-template .klkc-nav-shell {
    position: relative !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) 178px !important;
    align-items: center !important;
    gap: 28px !important;
    width: min(960px, calc(100% - 64px)) !important;
    height: var(--klkc-header-height, 64px) !important;
    min-height: var(--klkc-header-height, 64px) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

body.klkc-home-template .klkc-logo,
body.klkc-archive-template .klkc-logo,
body.klkc-cart-template .klkc-logo,
body.klkc-page-template .klkc-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    /* 高度交给图片决定，比导航条矮时由 klkc-nav-shell 的 align-items 上下居中 */
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.klkc-home-template .klkc-logo img,
body.klkc-archive-template .klkc-logo img,
body.klkc-cart-template .klkc-logo img,
body.klkc-page-template .klkc-logo img {
    display: block !important;
    width: var(--klkc-logo-w, 260px) !important;
    height: var(--klkc-logo-h, auto) !important;
    max-width: var(--klkc-logo-max-w, 260px) !important;
    max-height: var(--klkc-logo-cap-h, 64px) !important;
    margin: 0 !important;
}

body.klkc-home-template .klkc-main-nav,
body.klkc-archive-template .klkc-main-nav,
body.klkc-cart-template .klkc-main-nav,
body.klkc-page-template .klkc-main-nav {
    display: flex !important;
    align-self: stretch !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 27px !important;
    min-width: 0 !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.klkc-home-template .klkc-nav-item,
body.klkc-archive-template .klkc-nav-item,
body.klkc-cart-template .klkc-nav-item,
body.klkc-page-template .klkc-nav-item {
    position: static !important;
    display: inline-flex !important;
    align-items: stretch !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.klkc-home-template .klkc-main-nav > a,
body.klkc-home-template .klkc-nav-item > a,
body.klkc-archive-template .klkc-main-nav > a,
body.klkc-archive-template .klkc-nav-item > a,
body.klkc-cart-template .klkc-main-nav > a,
body.klkc-cart-template .klkc-nav-item > a,
body.klkc-page-template .klkc-main-nav > a,
body.klkc-page-template .klkc-nav-item > a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

body.klkc-home-template .klkc-main-nav > a::after,
body.klkc-home-template .klkc-nav-item > a::after,
body.klkc-archive-template .klkc-main-nav > a::after,
body.klkc-archive-template .klkc-nav-item > a::after,
body.klkc-cart-template .klkc-main-nav > a::after,
body.klkc-cart-template .klkc-nav-item > a::after,
body.klkc-page-template .klkc-main-nav > a::after,
body.klkc-page-template .klkc-nav-item > a::after {
    content: "" !important;
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    height: 3px !important;
    background: #1df0bb !important;
    opacity: 0 !important;
    transform: scaleX(.6) !important;
    transition: opacity 160ms ease, transform 160ms ease !important;
}

body.klkc-home-template .klkc-main-nav > a:hover::after,
body.klkc-home-template .klkc-main-nav > a:focus-visible::after,
body.klkc-home-template .klkc-nav-item:hover > a::after,
body.klkc-home-template .klkc-nav-item:focus-within > a::after,
body.klkc-archive-template .klkc-main-nav > a:hover::after,
body.klkc-archive-template .klkc-main-nav > a:focus-visible::after,
body.klkc-archive-template .klkc-nav-item:hover > a::after,
body.klkc-archive-template .klkc-nav-item:focus-within > a::after,
body.klkc-cart-template .klkc-main-nav > a:hover::after,
body.klkc-cart-template .klkc-main-nav > a:focus-visible::after,
body.klkc-cart-template .klkc-nav-item:hover > a::after,
body.klkc-cart-template .klkc-nav-item:focus-within > a::after,
body.klkc-page-template .klkc-main-nav > a:hover::after,
body.klkc-page-template .klkc-main-nav > a:focus-visible::after,
body.klkc-page-template .klkc-nav-item:hover > a::after,
body.klkc-page-template .klkc-nav-item:focus-within > a::after {
    opacity: 1 !important;
    transform: scaleX(1) !important;
}

body.klkc-home-template .klkc-nav-actions,
body.klkc-archive-template .klkc-nav-actions,
body.klkc-cart-template .klkc-nav-actions,
body.klkc-page-template .klkc-nav-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 18px !important;
    width: 178px !important;
    height: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.klkc-home-template .klkc-language-link,
body.klkc-archive-template .klkc-language-link,
body.klkc-cart-template .klkc-language-link,
body.klkc-page-template .klkc-language-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    height: 25px !important;
    color: rgba(255, 255, 255, 0.86) !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

body.klkc-home-template .klkc-icon-link,
body.klkc-archive-template .klkc-icon-link,
body.klkc-cart-template .klkc-icon-link,
body.klkc-page-template .klkc-icon-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 25px !important;
    height: 25px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.86) !important;
}

body.klkc-home-template .klkc-language-link svg,
body.klkc-home-template .klkc-icon-link svg,
body.klkc-archive-template .klkc-language-link svg,
body.klkc-archive-template .klkc-icon-link svg,
body.klkc-cart-template .klkc-language-link svg,
body.klkc-cart-template .klkc-icon-link svg,
body.klkc-page-template .klkc-language-link svg,
body.klkc-page-template .klkc-icon-link svg {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    stroke-width: 2 !important;
}

body.klkc-home-template .klkc-language-link .klkc-chevron,
body.klkc-archive-template .klkc-language-link .klkc-chevron,
body.klkc-cart-template .klkc-language-link .klkc-chevron,
body.klkc-page-template .klkc-language-link .klkc-chevron {
    width: 12px !important;
    height: 12px !important;
}

body.klkc-home-template .klkc-mega-menu,
body.klkc-archive-template .klkc-mega-menu,
body.klkc-cart-template .klkc-mega-menu,
body.klkc-page-template .klkc-mega-menu {
    position: absolute !important;
    top: 64px !important;
    left: 50% !important;
    width: 100vw !important;
    min-height: 356px !important;
    background: #fff !important;
    color: #1f1f1f !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translate(-50%, 8px) !important;
    pointer-events: none !important;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.08) !important;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease !important;
}

body.klkc-home-template .klkc-nav-item:hover .klkc-mega-menu,
body.klkc-home-template .klkc-nav-item:focus-within .klkc-mega-menu,
body.klkc-archive-template .klkc-nav-item:hover .klkc-mega-menu,
body.klkc-archive-template .klkc-nav-item:focus-within .klkc-mega-menu,
body.klkc-cart-template .klkc-nav-item:hover .klkc-mega-menu,
body.klkc-cart-template .klkc-nav-item:focus-within .klkc-mega-menu,
body.klkc-page-template .klkc-nav-item:hover .klkc-mega-menu,
body.klkc-page-template .klkc-nav-item:focus-within .klkc-mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(-50%, 0) !important;
    pointer-events: auto !important;
}

body.klkc-home-template .klkc-mega-menu__inner,
body.klkc-archive-template .klkc-mega-menu__inner,
body.klkc-cart-template .klkc-mega-menu__inner,
body.klkc-page-template .klkc-mega-menu__inner {
    display: grid !important;
    grid-template-columns: 410px 1fr !important;
    gap: 44px !important;
    width: min(1196px, calc(100% - 64px)) !important;
    min-height: 356px !important;
    margin: 0 auto !important;
    padding: 28px 0 26px !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu a,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu a,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu a,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu a {
    min-height: 0 !important;
    padding: 0 !important;
    color: #1f1f1f !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    white-space: normal !important;
    text-decoration: none !important;
}

body.klkc-home-template .klkc-mega-menu__categories h2,
body.klkc-archive-template .klkc-mega-menu__categories h2,
body.klkc-cart-template .klkc-mega-menu__categories h2,
body.klkc-page-template .klkc-mega-menu__categories h2 {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 48px !important;
    margin: -6px 0 8px -13px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    color: #1f1f1f !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
}

body.klkc-home-template .klkc-mega-menu__categories h2:hover,
body.klkc-archive-template .klkc-mega-menu__categories h2:hover,
body.klkc-cart-template .klkc-mega-menu__categories h2:hover,
body.klkc-page-template .klkc-mega-menu__categories h2:hover {
    background: #f0f0f0 !important;
}

body.klkc-home-template .klkc-mega-menu__categories h2 span,
body.klkc-archive-template .klkc-mega-menu__categories h2 span,
body.klkc-cart-template .klkc-mega-menu__categories h2 span,
body.klkc-page-template .klkc-mega-menu__categories h2 span {
    margin-left: 6px !important;
    color: #7c858d !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div {
    display: grid !important;
    grid-template-columns: 200px 190px !important;
    gap: 1px 11px !important;
    margin-left: -13px !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a {
    display: flex !important;
    align-items: center !important;
    min-height: 54px !important;
    padding: 0 13px !important;
    border-radius: 8px !important;
    color: #1f1f1f !important;
    font-size: 16px !important;
    line-height: 1.16 !important;
    font-weight: 800 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    transition: background-color 160ms ease !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:hover,
body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:focus-visible,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:hover,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:focus-visible,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:hover,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:focus-visible,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:hover,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-menu__categories > div > a:focus-visible {
    background: #f0f0f0 !important;
    color: #1f1f1f !important;
}

body.klkc-home-template .klkc-mega-menu__products,
body.klkc-archive-template .klkc-mega-menu__products,
body.klkc-cart-template .klkc-mega-menu__products,
body.klkc-page-template .klkc-mega-menu__products {
    min-width: 0 !important;
}

body.klkc-home-template .klkc-mega-menu__products h3,
body.klkc-archive-template .klkc-mega-menu__products h3,
body.klkc-cart-template .klkc-mega-menu__products h3,
body.klkc-page-template .klkc-mega-menu__products h3 {
    margin: 0 0 14px !important;
    color: #2f343a !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}

body.klkc-home-template .klkc-mega-menu__product-grid,
body.klkc-archive-template .klkc-mega-menu__product-grid,
body.klkc-cart-template .klkc-mega-menu__product-grid,
body.klkc-page-template .klkc-mega-menu__product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 264px) !important;
    gap: 0 !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product {
    position: relative !important;
    display: block !important;
    min-width: 0 !important;
    min-height: 324px !important;
    margin: 0 13px !important;
    padding: 18px 18px 16px !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #1f1f1f !important;
    transition: background-color 160ms ease !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:hover,
body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:focus-visible,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:hover,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:focus-visible,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:hover,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:focus-visible,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:hover,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:focus-visible {
    background: #f0f0f0 !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:not(:first-child)::before,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:not(:first-child)::before,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:not(:first-child)::before,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product:not(:first-child)::before {
    content: "" !important;
    position: absolute !important;
    top: 12px !important;
    bottom: 12px !important;
    left: -14px !important;
    width: 1px !important;
    background: #e6ebef !important;
    pointer-events: none !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product img,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product img,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product img,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product img {
    display: block !important;
    width: 100% !important;
    height: 198px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: 0 auto 14px !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product strong,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product strong,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product strong,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product strong {
    display: block !important;
    max-width: 218px !important;
    color: #1f1f1f !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product > span,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product > span,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product > span,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product > span {
    display: block !important;
    max-width: 218px !important;
    margin-top: 4px !important;
    color: #6f7377 !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
    font-weight: 500 !important;
}

body.klkc-home-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product em,
body.klkc-archive-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product em,
body.klkc-cart-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product em,
body.klkc-page-template .klkc-main-nav .klkc-mega-menu .klkc-mega-product em {
    display: block !important;
    margin-top: 4px !important;
    color: #1f1f1f !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-style: normal !important;
    font-weight: 500 !important;
}

@media (max-width: 980px) {
    body.klkc-home-template .klkc-nav-shell,
    body.klkc-archive-template .klkc-nav-shell,
    body.klkc-cart-template .klkc-nav-shell,
    body.klkc-page-template .klkc-nav-shell {
        grid-template-columns: auto 1fr !important;
        width: min(100%, calc(100% - 32px)) !important;
    }

    body.klkc-home-template .klkc-main-nav,
    body.klkc-archive-template .klkc-main-nav,
    body.klkc-cart-template .klkc-main-nav,
    body.klkc-page-template .klkc-main-nav {
        display: none !important;
    }

    body.klkc-home-template .klkc-nav-actions,
    body.klkc-archive-template .klkc-nav-actions,
    body.klkc-cart-template .klkc-nav-actions,
    body.klkc-page-template .klkc-nav-actions {
        width: auto !important;
    }
}

/* ==========================================================================
   KLKC 普通页面模板（关于我们、隐私政策等）
   page.php 用 body class = klkc-page-template。
   头部和页脚直接复用上面那套共享规则（已经扩展到 body.klkc-page-template），
   这里只补页面自己的壳和正文排版。
   ========================================================================== */

html body.klkc-page-template,
html body.klkc-listing-template {
    margin: 0;
    background: #fff;
    color: #1f1f1f;
    font-family: Gilroy, Futura, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.klkc-page-template a,
body.klkc-listing-template a {
    text-decoration: none;
}

body.klkc-page-template .klkc-page-inner,
body.klkc-listing-template .klkc-page-inner {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}

/* ---- 标题区 ---- */

body.klkc-page-template .klkc-page-hero,
body.klkc-listing-template .klkc-page-hero {
    padding: 56px 0 42px;
    background: #fff;
    border-bottom: 1px solid #eef1f4;
}

body.klkc-page-template .klkc-page-breadcrumb,
body.klkc-listing-template .klkc-page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    color: #717982;
    font-size: 14px;
    font-weight: 700;
}

body.klkc-page-template .klkc-page-breadcrumb a,
body.klkc-listing-template .klkc-page-breadcrumb a {
    color: #717982;
}

body.klkc-page-template .klkc-page-breadcrumb a:hover,
body.klkc-listing-template .klkc-page-breadcrumb a:hover {
    color: #0b8f74;
}

body.klkc-page-template .klkc-page-hero h1,
body.klkc-listing-template .klkc-page-hero h1 {
    margin: 0;
    color: #20242a;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.95;
    font-weight: 900;
}

/* ---- 正文区 ---- */

body.klkc-page-template .klkc-page-content,
body.klkc-listing-template .klkc-page-content {
    padding: 44px 0 90px;
}

body.klkc-page-template .klkc-page-content > *:first-child,
body.klkc-listing-template .klkc-page-content > *:first-child {
    margin-top: 0;
}

body.klkc-page-template .klkc-page-content > *:last-child,
body.klkc-listing-template .klkc-page-content > *:last-child {
    margin-bottom: 0;
}

body.klkc-page-template .klkc-page-content h2,
body.klkc-listing-template .klkc-page-content h2,
body.klkc-page-template .klkc-page-content h3,
body.klkc-listing-template .klkc-page-content h3,
body.klkc-page-template .klkc-page-content h4,
body.klkc-listing-template .klkc-page-content h4 {
    color: #20242a;
    font-weight: 900;
    line-height: 1.15;
}

body.klkc-page-template .klkc-page-content h2,
body.klkc-listing-template .klkc-page-content h2 {
    margin: 2em 0 0.6em;
    font-size: clamp(26px, 2.6vw, 34px);
}

body.klkc-page-template .klkc-page-content h3,
body.klkc-listing-template .klkc-page-content h3 {
    margin: 1.7em 0 0.5em;
    font-size: clamp(20px, 2vw, 25px);
}

body.klkc-page-template .klkc-page-content h4,
body.klkc-listing-template .klkc-page-content h4 {
    margin: 1.5em 0 0.4em;
    font-size: 18px;
}

body.klkc-page-template .klkc-page-content p,
body.klkc-listing-template .klkc-page-content p,
body.klkc-page-template .klkc-page-content li,
body.klkc-listing-template .klkc-page-content li {
    color: #3c4450;
    font-size: 17px;
    line-height: 1.75;
}

body.klkc-page-template .klkc-page-content p,
body.klkc-listing-template .klkc-page-content p {
    margin: 0 0 1.15em;
}

body.klkc-page-template .klkc-page-content ul,
body.klkc-listing-template .klkc-page-content ul,
body.klkc-page-template .klkc-page-content ol,
body.klkc-listing-template .klkc-page-content ol {
    margin: 0 0 1.15em;
    padding-left: 1.35em;
}

body.klkc-page-template .klkc-page-content li,
body.klkc-listing-template .klkc-page-content li {
    margin: 0 0 0.45em;
}

body.klkc-page-template .klkc-page-content a,
body.klkc-listing-template .klkc-page-content a {
    color: #0b8f74;
    text-decoration: underline;
    text-underline-offset: 2px;
}

body.klkc-page-template .klkc-page-content a:hover,
body.klkc-listing-template .klkc-page-content a:hover {
    color: #096b58;
}

body.klkc-page-template .klkc-page-content img,
body.klkc-listing-template .klkc-page-content img,
body.klkc-page-template .klkc-page-content video,
body.klkc-listing-template .klkc-page-content video,
body.klkc-page-template .klkc-page-content iframe,
body.klkc-listing-template .klkc-page-content iframe {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

body.klkc-page-template .klkc-page-content blockquote,
body.klkc-listing-template .klkc-page-content blockquote {
    margin: 1.4em 0;
    padding: 4px 0 4px 20px;
    border-left: 4px solid #1df0bb;
    color: #4a525c;
}

body.klkc-page-template .klkc-page-content blockquote p:last-child,
body.klkc-listing-template .klkc-page-content blockquote p:last-child {
    margin-bottom: 0;
}

body.klkc-page-template .klkc-page-content hr,
body.klkc-listing-template .klkc-page-content hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid #eef1f4;
}

body.klkc-page-template .klkc-page-content table,
body.klkc-listing-template .klkc-page-content table {
    width: 100%;
    margin: 0 0 1.4em;
    border-collapse: collapse;
}

body.klkc-page-template .klkc-page-content th,
body.klkc-listing-template .klkc-page-content th,
body.klkc-page-template .klkc-page-content td,
body.klkc-listing-template .klkc-page-content td {
    padding: 12px 14px;
    border: 1px solid #e6eaee;
    text-align: left;
    font-size: 16px;
    line-height: 1.5;
}

body.klkc-page-template .klkc-page-content th,
body.klkc-listing-template .klkc-page-content th {
    background: #f7f9fa;
    color: #20242a;
    font-weight: 800;
}

/* WordPress 区块编辑器里常见的对齐 / 按钮，避免样式缺失 */
body.klkc-page-template .klkc-page-content .wp-block-button__link,
body.klkc-listing-template .klkc-page-content .wp-block-button__link {
    display: inline-block;
    padding: 14px 26px;
    border-radius: 999px;
    background: #1df0bb;
    color: #061f1a;
    font-weight: 800;
    text-decoration: none;
}

body.klkc-page-template .klkc-page-content .wp-block-button__link:hover,
body.klkc-listing-template .klkc-page-content .wp-block-button__link:hover {
    background: #17d2a4;
    color: #061f1a;
}

@media (max-width: 640px) {
    body.klkc-page-template .klkc-page-inner,
    body.klkc-listing-template .klkc-page-inner {
        width: min(100% - 32px, 1180px);
    }

    body.klkc-page-template .klkc-page-hero,
    body.klkc-listing-template .klkc-page-hero {
        padding: 40px 0 32px;
    }

    body.klkc-page-template .klkc-page-content,
    body.klkc-listing-template .klkc-page-content {
        padding: 32px 0 64px;
    }

    body.klkc-page-template .klkc-page-content p,
    body.klkc-listing-template .klkc-page-content p,
    body.klkc-page-template .klkc-page-content li,
    body.klkc-listing-template .klkc-page-content li {
        font-size: 16px;
    }
}

/* ==========================================================================
   KLKC 普通页面：正文区左右各留 400px
   只作用在普通页面（page.php），别的界面保持上面那个 1180px 的宽度。
   数值放在变量里，想调只改这一行。
   ========================================================================== */

body.klkc-page-template {
    --klkc-page-gutter: 400px;
}

@media (min-width: 641px) {
    /* 两边各留 --klkc-page-gutter。窄屏塞不下 400px 时，
       内容宽度托底在 420px，再窄就交给上面那个 640px 的媒体查询。 */
    body.klkc-page-template .klkc-page-inner {
        width: min(1180px, max(420px, calc(100% - var(--klkc-page-gutter) * 2)));
    }
}

/* ==========================================================================
   KLKC 所有界面：页脚固定到底部
   骨架都是 body > 头部 / main / 页脚。把 body 变成纵向 flex 容器，
   再让页脚 margin-top:auto 吃掉多余空间 —— 内容短的时候页脚也贴底。
   选择器用 [class*="-template"] 匹配，以后再加新模板不用回来补这一条。
   ========================================================================== */

body[class*="klkc-"][class*="-template"] {
    display: flex;
    flex-direction: column;
    /* 登录后 WP 会在 html 上加 admin bar，减掉它免得平白多出一条滚动条 */
    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
}

body[class*="klkc-"][class*="-template"] > .klkc-footer-v2 {
    margin-top: auto;
}

/* ==========================================================================
   KLKC 列表类界面（单篇文章、归档、搜索、404）
   壳和正文排版直接复用上面普通页面那套（选择器已经扩到 klkc-listing-template），
   这里只补列表页独有的：副标题、搜索框、文章卡片、分页。
   ========================================================================== */

body.klkc-listing-template .klkc-page-lede {
    margin: 18px 0 0;
    max-width: 760px;
    color: #5b646f;
    font-size: 17px;
    line-height: 1.7;
}

body.klkc-listing-template .klkc-page-lede > *:first-child {
    margin-top: 0;
}

body.klkc-listing-template .klkc-page-lede > *:last-child {
    margin-bottom: 0;
}

/* ---- 搜索框 ---- */

body.klkc-listing-template .klkc-search-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin: 26px 0 0;
}

body.klkc-listing-template .klkc-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    background: #fff;
    color: #1f1f1f;
    font: inherit;
    font-size: 16px;
}

body.klkc-listing-template .klkc-search-form input[type="search"]:focus {
    border-color: #1df0bb;
    outline: 2px solid #1df0bb;
    outline-offset: 1px;
}

body.klkc-listing-template .klkc-search-form button {
    flex: 0 0 auto;
    height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: #1f1f1f;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

body.klkc-listing-template .klkc-search-form button:hover {
    background: #0b8f74;
}

/* ---- 文章卡片 ---- */

body.klkc-listing-template .klkc-post-list {
    display: grid;
    gap: 28px;
}

body.klkc-listing-template .klkc-post-list__empty {
    color: #5b646f;
    font-size: 17px;
}

body.klkc-listing-template .klkc-post-card {
    padding: 26px 28px;
    border: 1px solid #eef1f4;
    border-radius: 14px;
    background: #fff;
}

body.klkc-listing-template .klkc-post-card__thumb {
    display: block;
    margin: 0 0 18px;
}

body.klkc-listing-template .klkc-post-card__thumb img {
    display: block;
    width: 100%;
    height: auto;
    /* 商品图很高，不封顶的话一张卡能占满整屏 */
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

body.klkc-listing-template .klkc-post-card__title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
}

body.klkc-listing-template .klkc-post-card__title a {
    color: #20242a;
    /* 卡片整体是可点的，标题不用再加下划线 */
    text-decoration: none;
}

body.klkc-listing-template .klkc-post-card__title a:hover {
    color: #0b8f74;
}

body.klkc-listing-template .klkc-post-card__meta {
    margin: 0 0 12px;
    color: #717982;
    font-size: 14px;
    font-weight: 700;
}

body.klkc-listing-template .klkc-post-card__meta a {
    color: #717982;
    text-decoration: none;
}

body.klkc-listing-template .klkc-post-card__meta a:hover {
    color: #0b8f74;
}

body.klkc-listing-template .klkc-post-card__excerpt {
    color: #3c4450;
    font-size: 16px;
    line-height: 1.7;
}

body.klkc-listing-template .klkc-post-card__excerpt p:first-child {
    margin-top: 0;
}

body.klkc-listing-template .klkc-post-card__excerpt p:last-child {
    margin-bottom: 0;
}

body.klkc-listing-template .pagination,
body.klkc-listing-template .woocommerce-pagination {
    margin-top: 34px;
}

/* ---- 404 页上的按钮 ---- */

/* 选择器里带上 a，否则会被上面正文的 `a { color: #0b8f74 }` 压过去，
   按钮变成深底绿字。 */
body.klkc-listing-template a.klkc-button {
    display: inline-flex;
    align-items: center;
    height: 48px;
    margin: 0 10px 10px 0;
    padding: 0 22px;
    border-radius: 8px;
    background: #1f1f1f;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

body.klkc-listing-template a.klkc-button:hover {
    background: #0b8f74;
    color: #fff;
}

@media (max-width: 640px) {
    body.klkc-listing-template .klkc-search-form {
        flex-direction: column;
    }

    body.klkc-listing-template .klkc-post-card {
        padding: 20px;
    }

    body.klkc-listing-template .klkc-post-card__title {
        font-size: 22px;
    }
}
