/* =========================================================
   KihCarpet Cart / Mini Cart
   ========================================================= */

.kih-cart-shell,
.kih-cart-shell * {
    box-sizing: border-box;
}

.kih-cart-shell {
    --kih-cart-accent: #237a45;
    --kih-cart-accent-dark: #185f34;
    --kih-cart-accent-soft: #edf8f1;
    --kih-cart-text: #16231a;
    --kih-cart-muted: #6c766f;
    --kih-cart-border: #dfe9e2;
    --kih-cart-bg: #ffffff;

    position: fixed;
    inset: 0;
    z-index: 999991;

    visibility: hidden;
    pointer-events: none;
}

.kih-cart-shell.is-open {
    visibility: visible;
    pointer-events: auto;
}

.kih-cart-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    border: 0 !important;
    border-radius: 0 !important;

    background: rgba(17, 31, 22, .48) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;

    transition: opacity .26s ease;

    cursor: pointer;
}

.kih-cart-shell.is-open .kih-cart-overlay {
    opacity: 1;
}

.kih-cart-drawer {
    position: absolute;
    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;

    width: min(500px, calc(100vw - 24px));
    height: 100%;
    max-height: 100dvh;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #fbfdfb 0,
            #fff 170px
        );

    border-left: 1px solid rgba(29, 96, 54, .11);

    box-shadow:
        -26px 0 70px rgba(20, 50, 30, .18);

    transform: translate3d(102%, 0, 0);

    transition:
        transform .3s cubic-bezier(.22, .61, .36, 1);
}

.kih-cart-shell.is-open .kih-cart-drawer {
    transform: translate3d(0, 0, 0);
}

body.kih-cart-open {
    overflow: hidden !important;
    overscroll-behavior: none;
}


/* =========================================================
   Header
   ========================================================= */

.kih-cart-head {
    position: relative;

    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 13px;

    flex: 0 0 auto;

    min-height: 94px;

    padding: 20px 22px;

    border-bottom: 1px solid var(--kih-cart-border);

    background:
        linear-gradient(
            135deg,
            rgba(237, 248, 241, .92),
            rgba(255, 255, 255, .98)
        );
}

.kih-cart-head__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    border-radius: 14px;

    background: var(--kih-cart-accent-soft);
    color: var(--kih-cart-accent);
}

.kih-cart-head__icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kih-cart-head__copy {
    min-width: 0;
}

.kih-cart-head h2 {
    margin: 0 0 4px !important;

    color: var(--kih-cart-text) !important;

    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
}

.kih-cart-head p {
    margin: 0 !important;

    color: var(--kih-cart-muted) !important;

    font-size: 13px !important;
    line-height: 1.4 !important;
}

.kih-cart-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin: 0;
    padding: 0;

    border: 1px solid var(--kih-cart-border) !important;
    border-radius: 13px !important;

    background: #fff !important;
    color: #526059 !important;

    box-shadow: none !important;

    font-family: inherit;
    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.kih-cart-close:hover,
.kih-cart-close:focus-visible {
    background: #f4f8f5 !important;
    color: var(--kih-cart-accent) !important;
    border-color: #c8ddce !important;
    transform: rotate(3deg);
}


/* =========================================================
   Dynamic area
   ========================================================= */

.kih-cart-drawer__dynamic {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;

    flex-direction: column;

    overflow: hidden;
}


/* =========================================================
   Items
   ========================================================= */

.kih-cart-items {
    flex: 1 1 auto;

    min-height: 0;

    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;

    padding: 12px 18px 10px;

    scrollbar-width: thin;
    scrollbar-color: #c5d8ca transparent;
}

.kih-cart-item {
    position: relative;

    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;

    padding: 14px 4px;

    border-bottom: 1px solid #edf1ee;
}

.kih-cart-item:last-child {
    border-bottom: 0;
}

.kih-cart-item__image {
    width: 92px;
    min-width: 0;
}

.kih-cart-item__image a {
    display: block;

    text-decoration: none !important;
}

.kih-cart-item__image img {
    display: block;

    width: 92px !important;
    height: 104px !important;

    margin: 0 !important;

    object-fit: cover;

    border: 1px solid #e5ece7;
    border-radius: 14px;

    background: #f6f8f6;
}

.kih-cart-item__body {
    min-width: 0;
}

.kih-cart-item__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px;
    gap: 8px;

    align-items: start;
}

.kih-cart-item__title,
.kih-cart-item__title a {
    color: var(--kih-cart-text) !important;

    font-size: 14px;
    line-height: 1.38;
    font-weight: 750;

    text-decoration: none !important;
}

.kih-cart-item__title a:hover {
    color: var(--kih-cart-accent) !important;
}

.kih-cart-item__remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin: -3px -3px 0 0;
    padding: 0;

    border: 0 !important;
    border-radius: 9px !important;

    background: transparent !important;
    color: #95a098 !important;

    box-shadow: none !important;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease;
}

.kih-cart-item__remove:hover,
.kih-cart-item__remove:focus-visible {
    background: #fff0f0 !important;
    color: #b83f3f !important;
}

.kih-cart-item.is-loading {
    opacity: .52;
    pointer-events: none;
}

.kih-cart-item__meta {
    margin-top: 6px;

    color: var(--kih-cart-muted);

    font-size: 12px;
    line-height: 1.45;
}

.kih-cart-item__meta dl,
.kih-cart-item__meta p {
    margin: 0 !important;
}

.kih-cart-item__meta dt,
.kih-cart-item__meta dd {
    display: inline;
    float: none !important;

    margin: 0 4px 0 0 !important;
}

.kih-cart-item__meta dd + dt::before {
    content: " · ";
    color: #a4ada7;
}


/* =========================================================
   Runner temporary view
   ========================================================= */

.kih-cart-runner {
    display: grid;
    gap: 4px;

    margin-top: 7px;
}

.kih-cart-runner > span {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 5px;

    color: #536059;

    font-size: 12px;
    line-height: 1.35;
}

.kih-cart-runner em {
    color: #7a847e;

    font-style: normal;
}

.kih-cart-runner strong {
    color: #26342b;
    font-weight: 750;
}

.kih-cart-runner-note {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 5px 9px;

    border-radius: 999px;

    background: #f1f7f2;
    color: #4f6556;

    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}


/* =========================================================
   Item bottom / quantity
   ========================================================= */

.kih-cart-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    margin-top: 11px;
}

.kih-cart-qty {
    display: grid;
    grid-template-columns: 31px 42px 31px;

    width: 104px;
    height: 34px;

    overflow: hidden;

    border: 1px solid #dbe6de;
    border-radius: 10px;

    background: #fff;
}

.kih-cart-qty button {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    width: 31px;
    height: 32px;

    margin: 0;
    padding: 0;

    border: 0 !important;
    border-radius: 0 !important;

    background: #f5f8f6 !important;
    color: #355440 !important;

    box-shadow: none !important;

    font-size: 18px;
    line-height: 1;

    cursor: pointer;
}

.kih-cart-qty button:hover,
.kih-cart-qty button:focus-visible {
    background: #eaf4ed !important;
    color: var(--kih-cart-accent) !important;
}

.kih-cart-qty input {
    width: 42px !important;
    min-width: 0 !important;
    height: 32px !important;

    margin: 0 !important;
    padding: 0 3px !important;

    border: 0 !important;
    border-left: 1px solid #e1e9e3 !important;
    border-right: 1px solid #e1e9e3 !important;
    border-radius: 0 !important;

    background: #fff !important;
    color: #26352c !important;

    box-shadow: none !important;

    appearance: textfield;

    text-align: center;

    font-size: 13px !important;
    line-height: 32px !important;
    font-weight: 700;
}

.kih-cart-qty input::-webkit-outer-spin-button,
.kih-cart-qty input::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
}

.kih-cart-qty-static {
    color: #6d7871;

    font-size: 12px;
    font-weight: 700;
}

.kih-cart-item__price {
    margin-left: auto;

    color: var(--kih-cart-accent);

    white-space: nowrap;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 850;
}

.kih-cart-item__price del {
    margin-right: 3px;

    color: #9aa39d;

    font-size: 11px;
    font-weight: 600;
}

.kih-cart-item__price ins {
    text-decoration: none;
}


/* =========================================================
   Summary
   ========================================================= */

.kih-cart-summary {
    flex: 0 0 auto;

    margin: 0 18px;
    padding: 14px 0 12px;

    border-top: 1px solid var(--kih-cart-border);
}

.kih-cart-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 4px 0;

    color: #5f6c64;

    font-size: 13px;
    line-height: 1.4;
}

.kih-cart-summary__row strong {
    color: #26342b;
    font-weight: 750;
}

.kih-cart-summary__row--total {
    margin-top: 5px;
    padding-top: 10px;

    border-top: 1px dashed #dbe5dd;

    color: var(--kih-cart-text);

    font-size: 16px;
    font-weight: 800;
}

.kih-cart-summary__row--total strong {
    color: var(--kih-cart-accent);

    font-size: 20px;
    font-weight: 900;
}

.kih-cart-summary__note {
    margin: 7px 0 0 !important;

    color: #89918c !important;

    font-size: 11px !important;
    line-height: 1.35 !important;
}


/* =========================================================
   Actions
   ========================================================= */

.kih-cart-actions {
    display: grid;
    gap: 8px;

    flex: 0 0 auto;

    padding: 0 18px 18px;
}

.kih-cart-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    min-height: 48px;

    margin: 0 !important;
    padding: 11px 17px !important;

    border-radius: 13px !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;

    text-align: center;
    text-decoration: none !important;

    box-shadow: none !important;

    cursor: pointer;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.kih-cart-btn--primary {
    border: 1px solid var(--kih-cart-accent) !important;

    background: var(--kih-cart-accent) !important;
    color: #fff !important;

    box-shadow:
        0 10px 22px rgba(35, 122, 69, .18) !important;
}

.kih-cart-btn--primary:hover,
.kih-cart-btn--primary:focus-visible {
    color: #fff !important;

    filter: brightness(.94);

    transform: translateY(-1px);

    box-shadow:
        0 13px 28px rgba(35, 122, 69, .22) !important;
}

.kih-cart-btn--soft {
    border: 1px solid #dbe7de !important;

    background: #f5f8f6 !important;
    color: #355441 !important;
}

.kih-cart-btn--soft:hover,
.kih-cart-btn--soft:focus-visible {
    background: #eaf4ed !important;
    color: var(--kih-cart-accent) !important;
    border-color: #c9dece !important;
}

.kih-cart-full-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 3px 6px;

    color: #708078 !important;

    font-size: 12px;
    line-height: 1.4;
    font-weight: 650;

    text-decoration: underline !important;
    text-decoration-color: #c6d3c9 !important;
    text-underline-offset: 3px;
}


/* =========================================================
   Empty cart
   ========================================================= */

.kih-cart-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    flex: 1 1 auto;

    min-height: 0;

    padding: 44px 30px;

    text-align: center;
}

.kih-cart-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 82px;
    height: 82px;

    margin-bottom: 18px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            #edf8f1,
            #f9fcfa
        );

    color: var(--kih-cart-accent);

    box-shadow:
        inset 0 0 0 1px #dcebe0,
        0 14px 30px rgba(39, 96, 56, .08);
}

.kih-cart-empty__icon svg {
    width: 40px;
    height: 40px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.kih-cart-empty h3 {
    margin: 0 0 7px !important;

    color: var(--kih-cart-text) !important;

    font-size: 21px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.kih-cart-empty p {
    max-width: 290px;

    margin: 0 0 20px !important;

    color: var(--kih-cart-muted) !important;

    font-size: 14px !important;
    line-height: 1.5 !important;
}

.kih-cart-empty .kih-cart-btn {
    width: auto;
    min-width: 210px;
}


/* =========================================================
   Loading / error
   ========================================================= */

.kih-cart-shell.is-busy .kih-cart-drawer::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 20;

    pointer-events: none;

    background:
        linear-gradient(
            110deg,
            rgba(255,255,255,0) 35%,
            rgba(255,255,255,.56) 50%,
            rgba(255,255,255,0) 65%
        );

    transform: translateX(-100%);

    animation: kihCartBusy .9s infinite;
}

.kih-cart-toast {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;

    z-index: 30;

    padding: 11px 13px;

    border: 1px solid #f1caca;
    border-radius: 11px;

    background: #fff4f4;
    color: #9a3535;

    box-shadow:
        0 10px 26px rgba(80, 35, 35, .12);

    font-size: 12px;
    line-height: 1.4;
    font-weight: 650;
}

@keyframes kihCartBusy {
    to {
        transform: translateX(100%);
    }
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 600px) {

    .kih-cart-overlay {
        background: rgba(17, 31, 22, .42) !important;
    }

    .kih-cart-drawer {
        width: min(100vw, 470px);
        max-width: 100vw;

        border-left: 0;
    }

    .kih-cart-head {
        grid-template-columns: 42px minmax(0, 1fr) 40px;

        min-height: 82px;

        padding: 15px 14px;

        gap: 10px;
    }

    .kih-cart-head__icon {
        width: 42px;
        height: 42px;

        border-radius: 12px;
    }

    .kih-cart-head h2 {
        font-size: 19px !important;
    }

    .kih-cart-head p {
        font-size: 11px !important;
    }

    .kih-cart-close {
        width: 40px;
        height: 40px;

        border-radius: 12px !important;
    }

    .kih-cart-items {
        padding: 8px 12px 8px;
    }

    .kih-cart-item {
        grid-template-columns: 76px minmax(0, 1fr);

        gap: 11px;

        padding: 12px 2px;
    }

    .kih-cart-item__image,
    .kih-cart-item__image img {
        width: 76px !important;
    }

    .kih-cart-item__image img {
        height: 91px !important;

        border-radius: 12px;
    }

    .kih-cart-item__title,
    .kih-cart-item__title a {
        font-size: 13px;
    }

    .kih-cart-runner {
        gap: 3px;

        margin-top: 5px;
    }

    .kih-cart-runner > span {
        font-size: 11px;
    }

    .kih-cart-item__bottom {
        margin-top: 9px;
    }

    .kih-cart-summary {
        margin: 0 12px;
    }

    .kih-cart-actions {
        padding: 0 12px calc(12px + env(safe-area-inset-bottom));
    }

    .kih-cart-btn {
        min-height: 46px;
    }

    .kih-cart-empty {
        padding: 34px 20px;
    }
}




/* =========================================================
   Optional centered modal layout
   ========================================================= */

.kih-cart-shell--modal .kih-cart-drawer {
    top: 50%;
    right: 50%;

    width: min(680px, calc(100vw - 40px));
    height: auto;
    max-height: min(760px, calc(100dvh - 40px));

    border: 1px solid rgba(29, 96, 54, .14);
    border-radius: 24px;

    box-shadow:
        0 32px 90px rgba(17, 42, 25, .24),
        0 8px 28px rgba(17, 42, 25, .10);

    transform: translate3d(50%, -46%, 0) scale(.965);
    opacity: 0;

    transition:
        transform .28s cubic-bezier(.22, .61, .36, 1),
        opacity .22s ease;
}

.kih-cart-shell--modal.is-open .kih-cart-drawer {
    transform: translate3d(50%, -50%, 0) scale(1);
    opacity: 1;
}

.kih-cart-shell--modal .kih-cart-head {
    min-height: 82px;
    padding: 16px 18px;

    border-radius: 24px 24px 0 0;
}

.kih-cart-shell--modal .kih-cart-head__icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}

.kih-cart-shell--modal .kih-cart-head h2 {
    font-size: 20px !important;
}

.kih-cart-shell--modal .kih-cart-drawer__dynamic {
    max-height: calc(100dvh - 122px);
}

.kih-cart-shell--modal .kih-cart-items {
    padding: 10px 20px 8px;
    max-height: min(360px, 46vh);
}

.kih-cart-shell--modal .kih-cart-item {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 2px;
}

.kih-cart-shell--modal .kih-cart-item__image,
.kih-cart-shell--modal .kih-cart-item__image img {
    width: 82px !important;
}

.kih-cart-shell--modal .kih-cart-item__image img {
    height: 98px !important;
}

.kih-cart-shell--modal .kih-cart-summary {
    margin: 0 20px;
}

.kih-cart-shell--modal .kih-cart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    padding: 14px 20px 20px;
}

.kih-cart-shell--modal .kih-cart-actions .kih-cart-btn--primary {
    grid-column: 2;
    grid-row: 1;
}

.kih-cart-shell--modal .kih-cart-actions .kih-cart-btn--soft {
    grid-column: 1;
    grid-row: 1;
}

.kih-cart-shell--modal .kih-cart-full-link {
    grid-column: 1 / -1;
}

.kih-cart-shell--modal .kih-cart-empty {
    padding: 40px 24px 34px;
}

@media (max-width: 600px) {
    .kih-cart-shell--modal .kih-cart-drawer {
        top: 50%;
        right: 50%;

        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        max-height: calc(100dvh - 20px);

        border-radius: 20px;

        transform: translate3d(50%, -46%, 0) scale(.97);
    }

    .kih-cart-shell--modal.is-open .kih-cart-drawer {
        transform: translate3d(50%, -50%, 0) scale(1);
    }

    .kih-cart-shell--modal .kih-cart-head {
        border-radius: 20px 20px 0 0;
    }

    .kih-cart-shell--modal .kih-cart-drawer__dynamic {
        max-height: calc(100dvh - 102px);
    }

    .kih-cart-shell--modal .kih-cart-items {
        max-height: min(380px, 48vh);
        padding: 8px 12px;
    }

    .kih-cart-shell--modal .kih-cart-actions {
        grid-template-columns: 1fr;
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
    }

    .kih-cart-shell--modal .kih-cart-actions .kih-cart-btn--primary,
    .kih-cart-shell--modal .kih-cart-actions .kih-cart-btn--soft,
    .kih-cart-shell--modal .kih-cart-full-link {
        grid-column: 1;
        grid-row: auto;
    }

    .kih-cart-shell--modal .kih-cart-actions .kih-cart-btn--primary {
        order: 1;
    }

    .kih-cart-shell--modal .kih-cart-actions .kih-cart-btn--soft {
        order: 2;
    }

    .kih-cart-shell--modal .kih-cart-full-link {
        order: 3;
    }
}


/* =========================================================
   Reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .kih-cart-overlay,
    .kih-cart-drawer,
    .kih-cart-btn,
    .kih-cart-close,
    .kih-cart-shell.is-busy .kih-cart-drawer::after {
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   Full WooCommerce cart page
   ========================================================= */

body.woocommerce-cart {
    background: #f7faf7;
}

body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart main.site-main {
    overflow: visible;
}

body.woocommerce-cart .woocommerce {
    width: min(1240px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

body.woocommerce-cart .woocommerce-cart-form {
    padding: 24px 26px;
    border: 1px solid #e0e9e2;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 46px rgba(31, 70, 42, .07);
}

body.woocommerce-cart .woocommerce-cart-form h2,
body.woocommerce-cart .woocommerce-cart-form h3 {
    color: #19271d;
}

body.woocommerce-cart table.shop_table {
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: transparent !important;
}

body.woocommerce-cart table.shop_table thead th {
    padding: 12px 14px 15px !important;
    border: 0 !important;
    border-bottom: 1px solid #e7ede8 !important;
    background: transparent !important;
    color: #7b857e !important;
    font-size: 12px !important;
    line-height: 1.3;
    font-weight: 750 !important;
    text-transform: uppercase;
    letter-spacing: .04em;
}

body.woocommerce-cart table.shop_table td {
    padding: 20px 14px !important;
    vertical-align: middle !important;
    border: 0 !important;
    border-bottom: 1px solid #edf1ee !important;
    background: transparent !important;
}

body.woocommerce-cart table.shop_table tr:last-child td {
    border-bottom: 0 !important;
}

body.woocommerce-cart td.product-remove {
    width: 34px;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

body.woocommerce-cart td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid #f0dcdc !important;
    border-radius: 10px !important;
    background: #fff7f7 !important;
    color: #c96060 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

body.woocommerce-cart td.product-remove a.remove:hover {
    background: #fbeaea !important;
    color: #a94747 !important;
}

body.woocommerce-cart td.product-thumbnail {
    width: 102px;
}

body.woocommerce-cart td.product-thumbnail img {
    width: 88px !important;
    height: 108px !important;
    object-fit: cover;
    border-radius: 14px;
    background: #f2f6f2;
    box-shadow: 0 6px 18px rgba(31, 65, 40, .08);
}

body.woocommerce-cart td.product-name {
    min-width: 260px;
}

body.woocommerce-cart td.product-name > a,
body.woocommerce-cart .kih-cart-page-product-name {
    display: inline-block;
    margin-bottom: 8px;
    color: #1c2b20 !important;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none !important;
}

body.woocommerce-cart td.product-name > a:hover,
body.woocommerce-cart .kih-cart-page-product-name:hover {
    color: #237a45 !important;
}

body.woocommerce-cart td.product-name dl.variation {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin: 0 !important;
}

body.woocommerce-cart td.product-name dl.variation dt,
body.woocommerce-cart td.product-name dl.variation dd {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    min-height: 28px;
    margin: 0 !important;
    padding: 5px 8px !important;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.2;
}

body.woocommerce-cart td.product-name dl.variation dt {
    padding-right: 0 !important;
    background: #f4f7f4;
    color: #7a847d;
    font-weight: 650;
}

body.woocommerce-cart td.product-name dl.variation dd {
    margin-left: -8px !important;
    padding-left: 4px !important;
    background: #f4f7f4;
    color: #2e3d32;
    font-weight: 800;
}

body.woocommerce-cart td.product-name dl.variation dd p {
    margin: 0 !important;
}

body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal {
    white-space: nowrap;
}

body.woocommerce-cart .kih-cart-page-money,
body.woocommerce-cart .kih-cart-page-line-total {
    display: block;
    color: #237a45;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 850;
}

body.woocommerce-cart .kih-cart-page-price-note,
body.woocommerce-cart .kih-cart-page-line-note {
    display: block;
    margin-top: 5px;
    color: #929a94;
    font-size: 10px;
    line-height: 1.35;
    font-weight: 650;
}

body.woocommerce-cart .kih-cart-page-runner-qty {
    display: grid;
    grid-template-columns: 34px 44px 34px;
    width: 112px;
    height: 38px;
    overflow: hidden;
    border: 1px solid #d9e5dc;
    border-radius: 11px;
    background: #fff;
}

body.woocommerce-cart .kih-cart-page-runner-qty button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    min-width: 34px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f4f8f5 !important;
    color: #2e5d3d !important;
    box-shadow: none !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

body.woocommerce-cart .kih-cart-page-runner-qty button:hover {
    background: #e9f4ec !important;
    color: #237a45 !important;
}

body.woocommerce-cart .kih-cart-page-runner-qty input {
    width: 44px !important;
    min-width: 44px !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-left: 1px solid #e2e9e4 !important;
    border-right: 1px solid #e2e9e4 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #1f3225 !important;
    text-align: center;
    font-size: 13px !important;
    font-weight: 800;
    appearance: textfield;
}

body.woocommerce-cart .kih-cart-page-qty-caption {
    display: block;
    width: 112px;
    margin-top: 5px;
    color: #8b958e;
    text-align: center;
    font-size: 9px;
    line-height: 1.2;
    font-weight: 650;
}

body.woocommerce-cart .cart-collaterals {
    margin-top: 24px;
}

body.woocommerce-cart .cart_totals {
    float: none !important;
    width: min(430px, 100%) !important;
    margin-left: auto;
    padding: 24px !important;
    border: 1px solid #dfe9e2;
    border-radius: 22px;
    background:
        linear-gradient(180deg, #fbfdfb 0%, #fff 100%);
    box-shadow: 0 16px 40px rgba(28, 65, 38, .07);
}

body.woocommerce-cart .cart_totals h2 {
    margin: 0 0 15px !important;
    color: #1b2a1f !important;
    font-size: 19px !important;
    line-height: 1.3;
    font-weight: 850 !important;
}

body.woocommerce-cart .cart_totals table {
    border: 0 !important;
}

body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td {
    padding: 14px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e9eeea !important;
    background: transparent !important;
}

body.woocommerce-cart .cart_totals table th {
    color: #56635a !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.woocommerce-cart .cart_totals table td {
    color: #1d3023 !important;
    text-align: right;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    padding-top: 17px !important;
    border-bottom: 0 !important;
    color: #17261b !important;
    font-size: 16px !important;
}

body.woocommerce-cart .cart_totals .order-total .amount {
    color: #237a45 !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}

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

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0 !important;
    border: 1px solid #237a45 !important;
    border-radius: 13px !important;
    background: #237a45 !important;
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(35, 122, 69, .18) !important;
    font-size: 13px !important;
    line-height: 1.2;
    font-weight: 850 !important;
    text-transform: none !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background: #1d693b !important;
}

body.woocommerce-cart .woocommerce-cart-form button[name="update_cart"] {
    border-radius: 11px !important;
    background: #f0f5f1 !important;
    color: #486052 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
}

body.woocommerce-cart.kih-cart-page-updating::after {
    content: "Оновлюємо кошик…";
    position: fixed;
    inset: auto 22px 22px auto;
    z-index: 1000000;
    padding: 11px 15px;
    border: 1px solid #d8e8dc;
    border-radius: 12px;
    background: #fff;
    color: #28523a;
    box-shadow: 0 12px 30px rgba(25, 59, 36, .14);
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   Runner per-piece overlock question
   ========================================================= */

body.kih-runner-question-open {
    overflow: hidden !important;
}

.kih-runner-question {
    position: fixed;
    inset: 0;
    z-index: 1000005;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.kih-runner-question__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(18, 31, 22, .52) !important;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.kih-runner-question__card {
    position: relative;
    z-index: 2;
    width: min(440px, calc(100vw - 28px));
    padding: 27px;
    border: 1px solid #dbe9df;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(17, 45, 25, .25);
    text-align: center;
    animation: kihRunnerQuestionIn .2s ease both;
}

.kih-runner-question__close {
    position: absolute;
    top: 11px;
    right: 11px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #e4ebe6 !important;
    border-radius: 10px !important;
    background: #f8faf8 !important;
    color: #657268 !important;
    box-shadow: none !important;
    font-size: 21px !important;
    line-height: 1 !important;
}

.kih-runner-question__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 17px;
    background: #edf8f1;
    color: #237a45;
    font-size: 26px;
}

.kih-runner-question__card h3 {
    margin: 0 0 8px !important;
    color: #17251b !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 850 !important;
}

.kih-runner-question__card p {
    margin: 0 auto 21px !important;
    max-width: 340px;
    color: #6b766e !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.kih-runner-question__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.kih-runner-question__actions button {
    min-height: 46px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

.kih-runner-question__yes {
    border: 1px solid #237a45 !important;
    background: #237a45 !important;
    color: #fff !important;
}

.kih-runner-question__no {
    border: 1px solid #dce6df !important;
    background: #f5f8f6 !important;
    color: #35513e !important;
}


/* =========================================================
   Runner partial remove dialog
   ========================================================= */

.kih-runner-remove-question__card {
    width: min(500px, calc(100vw - 28px));
    text-align: left;
}

.kih-runner-remove-question__icon {
    margin-left: auto;
    margin-right: auto;
    background: #fff2f2;
    color: #b83f3f;
    font-size: 30px;
    font-weight: 500;
}

.kih-runner-remove-question__card h3,
.kih-runner-remove-question__card > p {
    text-align: center;
}

.kih-runner-remove-groups {
    display: grid;
    gap: 10px;
    margin: 18px 0 12px;
}

.kih-runner-remove-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border: 1px solid #dce9df;
    border-radius: 14px;
    background: #f8fbf9;
}

.kih-runner-remove-group__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.kih-runner-remove-group__text strong {
    color: #203d2a;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 850;
}

.kih-runner-remove-group__text span {
    color: #78867c;
    font-size: 11px;
    line-height: 1.25;
}

.kih-runner-remove-stepper {
    display: grid;
    grid-template-columns: 34px 42px 34px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d5e3d8;
    border-radius: 10px;
    background: #fff;
}

.kih-runner-remove-stepper button,
.kih-runner-remove-stepper input {
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #284b34 !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 36px !important;
    font-weight: 800 !important;
}

.kih-runner-remove-stepper button {
    cursor: pointer;
}

.kih-runner-remove-stepper button:hover,
.kih-runner-remove-stepper button:focus-visible {
    background: #edf7f0 !important;
    color: #17753b !important;
}

.kih-runner-remove-stepper input {
    border-left: 1px solid #e3ece5 !important;
    border-right: 1px solid #e3ece5 !important;
    -moz-appearance: textfield;
}

.kih-runner-remove-stepper input::-webkit-outer-spin-button,
.kih-runner-remove-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.kih-runner-remove-summary {
    margin: 0 0 18px;
    padding: 10px 12px;
    border-radius: 11px;
    background: #f7f4ef;
    color: #657269;
    text-align: center;
    font-size: 12px;
    line-height: 1.35;
}

.kih-runner-remove-summary strong {
    color: #243f2d;
}

.kih-runner-remove-confirm {
    border: 1px solid #b84a4a !important;
    background: #b84a4a !important;
    color: #fff !important;
}

.kih-runner-remove-confirm:hover,
.kih-runner-remove-confirm:focus-visible {
    border-color: #a43d3d !important;
    background: #a43d3d !important;
    color: #fff !important;
}

.kih-runner-remove-confirm:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.kih-runner-remove-actions {
    grid-template-columns: 1fr 1fr 1fr;
}

.kih-runner-remove-all {
    border: 1px solid #e5bcbc !important;
    background: #fff5f5 !important;
    color: #a43d3d !important;
}

.kih-runner-remove-all:hover,
.kih-runner-remove-all:focus-visible {
    border-color: #cf8f8f !important;
    background: #ffeaea !important;
    color: #8f2f2f !important;
}

@keyframes kihRunnerQuestionIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@media (min-width: 900px) {
    body.woocommerce-cart .woocommerce {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 390px;
        column-gap: 28px;
        align-items: start;
    }

    body.woocommerce-cart .woocommerce > .woocommerce-cart-form {
        grid-column: 1;
        grid-row: 1 / span 3;
    }

    body.woocommerce-cart .woocommerce > .cart-collaterals {
        grid-column: 2;
        grid-row: 1;
        margin-top: 0;
        position: sticky;
        top: calc(var(--kih-sticky-top, 0px) + 112px);
    }

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

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
    }
}


@media (max-width: 899px) {
    body.woocommerce-cart .woocommerce {
        width: min(100% - 20px, 760px);
    }

    body.woocommerce-cart .woocommerce-cart-form {
        padding: 18px;
        border-radius: 19px;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
    }
}


@media (max-width: 650px) {
    body.woocommerce-cart .woocommerce {
        width: calc(100% - 16px);
    }

    body.woocommerce-cart .woocommerce-cart-form {
        padding: 10px 12px;
    }

    body.woocommerce-cart table.shop_table thead {
        display: none;
    }

    body.woocommerce-cart table.shop_table,
    body.woocommerce-cart table.shop_table tbody,
    body.woocommerce-cart table.shop_table tr.cart_item {
        display: block;
        width: 100%;
    }

    body.woocommerce-cart table.shop_table tr.cart_item {
        position: relative;
        min-height: 128px;
        padding: 14px 0 14px 92px;
        border-bottom: 1px solid #e9efeb;
    }

    body.woocommerce-cart table.shop_table tr.cart_item td {
        display: block;
        width: 100% !important;
        padding: 4px 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-remove {
        position: absolute;
        top: 8px;
        right: 0;
        width: 30px !important;
        z-index: 2;
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail {
        position: absolute;
        top: 14px;
        left: 0;
        width: 78px !important;
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail img {
        width: 72px !important;
        height: 92px !important;
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-name {
        padding-right: 34px !important;
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-price,
    body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity,
    body.woocommerce-cart table.shop_table tr.cart_item td.product-subtotal {
        margin-top: 8px;
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-price::before {
        content: "Ціна";
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity::before {
        content: "Кількість";
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-subtotal::before {
        content: "Сума";
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-price::before,
    body.woocommerce-cart table.shop_table tr.cart_item td.product-quantity::before,
    body.woocommerce-cart table.shop_table tr.cart_item td.product-subtotal::before {
        display: block;
        margin-bottom: 4px;
        color: #8b948e;
        font-size: 9px;
        line-height: 1;
        font-weight: 750;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    body.woocommerce-cart .cart_totals {
        padding: 19px !important;
        border-radius: 18px;
    }

    .kih-runner-question__card {
        padding: 25px 17px 18px;
        border-radius: 19px;
    }

    .kih-runner-question__actions {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   Cart page v1.3 — desktop layout hardening
   ========================================================= */

/*
 * Some theme layouts reserve a sidebar/content column even when the cart has
 * no visible sidebar. The cart needs the full content width, otherwise the
 * totals card overlaps Quantity/Subtotal.
 */
body.woocommerce-cart #primary,
body.woocommerce-cart .content-area,
body.woocommerce-cart main.site-main {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.woocommerce-cart #secondary,
body.woocommerce-cart .widget-area.sidebar-primary,
body.woocommerce-cart .primary-sidebar {
    display: none !important;
}

body.woocommerce-cart .woocommerce {
    width: min(1420px, calc(100vw - 44px)) !important;
    max-width: none !important;
}

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

body.woocommerce-cart .woocommerce-cart-form table.shop_table {
    width: 100% !important;
    table-layout: auto !important;
}

body.woocommerce-cart table.shop_table th.product-remove,
body.woocommerce-cart table.shop_table td.product-remove {
    width: 42px !important;
}

body.woocommerce-cart table.shop_table th.product-thumbnail,
body.woocommerce-cart table.shop_table td.product-thumbnail {
    width: 104px !important;
}

body.woocommerce-cart table.shop_table th.product-price,
body.woocommerce-cart table.shop_table td.product-price {
    width: 128px !important;
}

body.woocommerce-cart table.shop_table th.product-quantity,
body.woocommerce-cart table.shop_table td.product-quantity {
    width: 132px !important;
    min-width: 132px !important;
}

body.woocommerce-cart table.shop_table th.product-subtotal,
body.woocommerce-cart table.shop_table td.product-subtotal {
    width: 154px !important;
    min-width: 154px !important;
}

body.woocommerce-cart table.shop_table td.product-name {
    min-width: 210px !important;
}

@media (min-width: 1180px) {
    body.woocommerce-cart .woocommerce {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 360px !important;
        column-gap: 30px !important;
        align-items: start !important;
    }

    body.woocommerce-cart .woocommerce > .woocommerce-cart-form {
        grid-column: 1 !important;
        grid-row: 1 / span 3 !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .woocommerce > .cart-collaterals {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 0 !important;
        position: sticky !important;
        top: calc(var(--kih-sticky-top, 0px) + 112px) !important;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
}

/*
 * At medium desktop/tablet widths a two-column cart becomes cramped. Stack
 * totals below the products before columns can collide.
 */
@media (min-width: 651px) and (max-width: 1179px) {
    body.woocommerce-cart .woocommerce {
        display: block !important;
        width: min(980px, calc(100vw - 32px)) !important;
    }

    body.woocommerce-cart .woocommerce > .cart-collaterals {
        position: static !important;
        width: 100% !important;
        margin-top: 22px !important;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
}


/* =========================================================
   Single product instant add-to-cart state
   ========================================================= */

body.single-product form.cart .single_add_to_cart_button.is-kih-adding {
    opacity: .78;
    cursor: wait !important;
    pointer-events: none;
}



/* =========================================================
   Cart page v1.4 — product cards + safer responsive layout
   ========================================================= */

/*
 * Keep the totals below the products until there is genuinely enough room for
 * a two-column checkout-style layout. The previous 1180px breakpoint could
 * still leave the product table too narrow inside the theme container.
 */
@media (max-width: 1499px) and (min-width: 651px) {
    body.woocommerce-cart .woocommerce {
        display: block !important;
        width: min(1120px, calc(100vw - 32px)) !important;
    }

    body.woocommerce-cart .woocommerce > .woocommerce-cart-form {
        width: 100% !important;
    }

    body.woocommerce-cart .woocommerce > .cart-collaterals {
        position: static !important;
        width: 100% !important;
        margin-top: 24px !important;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
}

@media (min-width: 1500px) {
    body.woocommerce-cart .woocommerce {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 360px !important;
        column-gap: 30px !important;
        align-items: start !important;
        width: min(1380px, calc(100vw - 48px)) !important;
    }

    body.woocommerce-cart .woocommerce > .woocommerce-cart-form {
        grid-column: 1 !important;
        grid-row: 1 / span 3 !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .woocommerce > .cart-collaterals {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin-top: 0 !important;
        position: sticky !important;
        top: calc(var(--kih-sticky-top, 0px) + 112px) !important;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
}


/*
 * Desktop/tablet cart rows are presented as product cards instead of a rigid
 * WooCommerce table. This keeps product data readable and prevents theme table
 * widths from squeezing Quantity/Subtotal.
 */
@media (min-width: 720px) {
    body.woocommerce-cart .woocommerce-cart-form {
        padding: 22px !important;
        overflow: visible !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.shop_table {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.shop_table > thead {
        display: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.shop_table > tbody {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.woocommerce-cart-form__cart-item,
    body.woocommerce-cart .woocommerce-cart-form tr.cart_item {
        display: grid !important;
        grid-template-columns: 38px 94px minmax(220px, 1fr) 118px 124px 146px;
        grid-template-areas: "remove thumb name price qty subtotal";
        align-items: center;
        gap: 14px;

        width: 100% !important;
        min-height: 142px;
        margin: 0 0 12px !important;
        padding: 16px !important;

        border: 1px solid #e2ebe4 !important;
        border-radius: 18px;

        background:
            linear-gradient(135deg, #ffffff 0%, #fbfdfb 100%) !important;

        box-shadow:
            0 8px 24px rgba(28, 65, 38, .045);

        transition:
            border-color .18s ease,
            box-shadow .18s ease,
            transform .18s ease;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.woocommerce-cart-form__cart-item:hover,
    body.woocommerce-cart .woocommerce-cart-form tr.cart_item:hover {
        border-color: #cfdfd3 !important;
        box-shadow: 0 12px 30px rgba(28, 65, 38, .07);
        transform: translateY(-1px);
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        text-align: left !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-remove {
        grid-area: remove;
        width: 38px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-thumbnail {
        grid-area: thumb;
        width: 94px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-name {
        grid-area: name;
        min-width: 0 !important;
        padding-right: 4px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-price {
        grid-area: price;
        width: auto !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-quantity {
        grid-area: qty;
        width: auto !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-subtotal {
        grid-area: subtotal;
        width: auto !important;
        min-width: 0 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a {
        display: block !important;
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
        display: block !important;
        width: 86px !important;
        height: 110px !important;
        margin: 0 !important;
        object-fit: cover;
        border-radius: 14px;
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-price::before,
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity::before,
    body.woocommerce-cart .woocommerce-cart-form td.product-subtotal::before {
        display: block;
        margin: 0 0 7px;
        color: #89938c;
        font-size: 9px;
        line-height: 1;
        font-weight: 800;
        letter-spacing: .055em;
        text-transform: uppercase;
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-price::before {
        content: "Ціна";
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-quantity::before {
        content: "Кількість";
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-subtotal::before {
        content: "Сума";
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-name > a,
    body.woocommerce-cart .woocommerce-cart-form .kih-cart-page-product-name {
        margin-bottom: 10px !important;
        font-size: 15px !important;
        line-height: 1.32 !important;
        font-weight: 850 !important;
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation {
        gap: 5px 7px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dt,
    body.woocommerce-cart .woocommerce-cart-form td.product-name dl.variation dd {
        min-height: 25px;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
        font-size: 10px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form .kih-cart-page-money,
    body.woocommerce-cart .woocommerce-cart-form .kih-cart-page-line-total {
        font-size: 16px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form .kih-cart-page-runner-qty {
        width: 108px;
        grid-template-columns: 32px 44px 32px;
        border-radius: 10px;
    }

    body.woocommerce-cart .woocommerce-cart-form .kih-cart-page-runner-qty button {
        width: 32px !important;
        min-width: 32px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form .kih-cart-page-qty-caption {
        width: 108px;
        margin-top: 6px;
        font-size: 9px;
    }

    /*
     * WooCommerce keeps the actions/coupon row inside tbody. It should remain
     * a normal full-width row below the product cards.
     */
    body.woocommerce-cart .woocommerce-cart-form tr:not(.cart_item) {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr:not(.cart_item) > td.actions {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100% !important;
        padding: 10px 0 0 !important;
        border: 0 !important;
    }
}


/* Slightly denser product-card grid on medium widths. */
@media (min-width: 720px) and (max-width: 1040px) {
    body.woocommerce-cart .woocommerce-cart-form tr.woocommerce-cart-form__cart-item,
    body.woocommerce-cart .woocommerce-cart-form tr.cart_item {
        grid-template-columns: 34px 78px minmax(190px, 1fr) 104px 112px 128px;
        gap: 10px;
        padding: 14px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail,
    body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
        width: 74px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img {
        height: 94px !important;
    }
}


/* Mobile keeps the existing stacked layout, but make each item a real card. */
@media (max-width: 719px) {
    body.woocommerce-cart .woocommerce-cart-form {
        padding: 8px !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.woocommerce-cart table.shop_table tr.cart_item {
        margin-bottom: 10px !important;
        padding: 15px 12px 15px 94px !important;
        border: 1px solid #e2ebe4 !important;
        border-radius: 16px;
        background: #fff !important;
        box-shadow: 0 7px 20px rgba(28, 65, 38, .045);
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-thumbnail {
        left: 12px !important;
    }

    body.woocommerce-cart table.shop_table tr.cart_item td.product-remove {
        top: 10px !important;
        right: 10px !important;
    }

    body.woocommerce-cart .cart-collaterals {
        margin-top: 14px !important;
    }
}


@media (max-width: 719px) {
    body.woocommerce-cart .woocommerce-cart-form table.shop_table,
    body.woocommerce-cart .woocommerce-cart-form table.shop_table > tbody,
    body.woocommerce-cart .woocommerce-cart-form tr.cart_item {
        display: block !important;
        width: 100% !important;
    }

    body.woocommerce-cart .woocommerce-cart-form table.shop_table > thead {
        display: none !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item {
        position: relative !important;
        min-height: 132px;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 4px 0 !important;
        border: 0 !important;
        text-align: left !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-thumbnail {
        position: absolute !important;
        top: 15px !important;
        left: 12px !important;
        width: 72px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-thumbnail img {
        width: 68px !important;
        height: 90px !important;
        object-fit: cover;
        border-radius: 12px;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-remove {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        width: 30px !important;
        z-index: 3;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-name {
        padding-right: 36px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-price,
    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-quantity,
    body.woocommerce-cart .woocommerce-cart-form tr.cart_item > td.product-subtotal {
        margin-top: 8px;
    }
}


/* =========================================================
   Cart v1.6 — stable full cart layout + instant add preview
   ========================================================= */

/* Instant product preview while the server confirms add-to-cart. */
.kih-cart-item--optimistic {
    position: relative;
    opacity: .9;
    background:
        linear-gradient(90deg, #fbfdfb, #f5fbf7, #fbfdfb);
    background-size: 220% 100%;
    animation: kihCartOptimistic 1.25s ease-in-out infinite;
}

.kih-cart-item--optimistic .kih-cart-item__image img {
    opacity: .86;
}

.kih-cart-runner--optimistic {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.kih-cart-runner--optimistic > span {
    display: inline-flex;
    gap: 4px;
    color: #748078;
    font-size: 11px;
}

.kih-cart-runner--optimistic strong {
    color: #2b3d31;
}

.kih-cart-optimistic-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #237a45;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 750;
}

.kih-cart-optimistic-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 0 5px rgba(35, 122, 69, .10);
    animation: kihCartPendingPulse 1s ease-in-out infinite;
}

.kih-cart-item__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 78px;
    border-radius: 12px;
    background: #f3f8f4;
    font-size: 24px;
}

@keyframes kihCartOptimistic {
    0%, 100% { background-position: 0 0; }
    50% { background-position: 100% 0; }
}

@keyframes kihCartPendingPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.82); }
}


/*
 * Full cart page: override the theme's table geometry rather than trying to
 * fit our content inside its narrow legacy column widths.
 */
body.woocommerce-cart #primary,
body.woocommerce-cart .content-area,
body.woocommerce-cart main.site-main,
body.woocommerce-cart .site-content,
body.woocommerce-cart .site-content > .container,
body.woocommerce-cart .site-container,
body.woocommerce-cart .content-container {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
}

body.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 26px 28px;
    align-items: start;
    width: min(1420px, calc(100% - 40px)) !important;
    max-width: 1420px !important;
    margin: 34px auto 64px !important;
}

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

body.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 26px !important;
    border: 1px solid #dfe9e2 !important;
    border-radius: 24px !important;
    background: #fff !important;
    box-shadow: 0 18px 48px rgba(24, 65, 37, .07) !important;
}

body.woocommerce-cart .cart-collaterals {
    grid-column: 2;
    grid-row: auto;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    position: sticky;
    top: calc(var(--kih-sticky-top, 0px) + 24px);
    align-self: start;
}

body.woocommerce-cart .cart_totals {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 24px !important;
    border: 1px solid #dfe9e2 !important;
    border-radius: 22px !important;
    background: #fff !important;
    box-shadow: 0 16px 42px rgba(24, 65, 37, .07) !important;
}

/* The product table becomes a list of clean product cards. */
body.woocommerce-cart table.shop_table.cart,
body.woocommerce-cart table.shop_table.cart tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.woocommerce-cart table.shop_table.cart {
    border: 0 !important;
    background: transparent !important;
}

body.woocommerce-cart table.shop_table.cart thead {
    display: none !important;
}

body.woocommerce-cart table.shop_table.cart tbody > tr.woocommerce-cart-form__cart-item,
body.woocommerce-cart table.shop_table.cart tbody > tr.cart_item {
    display: grid !important;
    grid-template-columns:
        34px
        94px
        minmax(220px, 1fr)
        116px
        126px
        142px;
    column-gap: 14px;
    align-items: center;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 13px !important;
    padding: 16px !important;
    border: 1px solid #e5ede7 !important;
    border-radius: 18px !important;
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(25, 60, 36, .035);
}

body.woocommerce-cart table.shop_table.cart tbody > tr.cart_item:hover {
    border-color: #d4e4d8 !important;
    box-shadow: 0 12px 28px rgba(25, 60, 36, .06);
}

body.woocommerce-cart table.shop_table.cart tbody > tr.cart_item > td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    vertical-align: middle !important;
}

body.woocommerce-cart table.shop_table.cart tbody > tr.cart_item > td::before {
    display: none !important;
    content: none !important;
}

body.woocommerce-cart td.product-remove {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

body.woocommerce-cart td.product-thumbnail {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

body.woocommerce-cart td.product-thumbnail a {
    display: block !important;
    width: 88px;
}

body.woocommerce-cart td.product-thumbnail img {
    display: block !important;
    width: 88px !important;
    height: 106px !important;
    margin: 0 !important;
    object-fit: cover !important;
    border-radius: 13px !important;
    background: #f2f6f3;
}

body.woocommerce-cart td.product-name {
    grid-column: 3;
    grid-row: 1;
    padding-right: 6px !important;
}

body.woocommerce-cart td.product-price {
    grid-column: 4;
    grid-row: 1;
}

body.woocommerce-cart td.product-quantity {
    grid-column: 5;
    grid-row: 1;
}

body.woocommerce-cart td.product-subtotal {
    grid-column: 6;
    grid-row: 1;
}

body.woocommerce-cart td.product-price::before,
body.woocommerce-cart td.product-quantity::before,
body.woocommerce-cart td.product-subtotal::before {
    display: block !important;
    margin-bottom: 7px;
    color: #8b968f;
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .055em;
}

body.woocommerce-cart td.product-price::before {
    content: "Ціна" !important;
}

body.woocommerce-cart td.product-quantity::before {
    content: "Кількість" !important;
}

body.woocommerce-cart td.product-subtotal::before {
    content: "Сума" !important;
}

body.woocommerce-cart td.product-name > a,
body.woocommerce-cart .kih-cart-page-product-name {
    display: block !important;
    max-width: 100%;
    margin: 0 0 8px !important;
    color: #17261c !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 820 !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
}

body.woocommerce-cart td.product-name dl.variation {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 0 !important;
}

body.woocommerce-cart td.product-name dl.variation dt,
body.woocommerce-cart td.product-name dl.variation dd {
    display: inline-flex !important;
    float: none !important;
    width: auto !important;
    min-height: 26px;
    margin: 0 !important;
    padding: 5px 8px !important;
    border-radius: 8px !important;
    background: #f4f8f5 !important;
    color: #5f6d63 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
}

body.woocommerce-cart td.product-name dl.variation dd {
    margin-left: -6px !important;
    color: #24382b !important;
    font-weight: 800 !important;
}

body.woocommerce-cart .kih-cart-page-money,
body.woocommerce-cart .kih-cart-page-line-total {
    color: #2eb24f !important;
    font-size: 18px !important;
    line-height: 1.15;
    font-weight: 850 !important;
    white-space: nowrap;
}

body.woocommerce-cart .kih-cart-page-price-note,
body.woocommerce-cart .kih-cart-page-line-note,
body.woocommerce-cart .kih-cart-page-qty-caption {
    margin-top: 5px !important;
    color: #8f9992 !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
    font-weight: 650 !important;
}

body.woocommerce-cart .kih-cart-page-runner-qty {
    width: 112px !important;
    margin: 0 !important;
}

/* Non-item action row stays outside the cards. */
body.woocommerce-cart table.shop_table.cart tbody > tr:not(.cart_item) {
    display: block !important;
    width: 100% !important;
}

body.woocommerce-cart table.shop_table.cart td.actions {
    display: flex !important;
    justify-content: space-between;
    gap: 12px;
    width: 100% !important;
    padding: 12px 0 0 !important;
    border: 0 !important;
}

body.woocommerce-cart table.shop_table.cart button[name="update_cart"] {
    display: none !important;
}

/* Keep "Товари" as the summary label even though the product column is "Сума". */
body.woocommerce-cart .cart_totals .cart-subtotal th {
    font-size: 0 !important;
}

body.woocommerce-cart .cart_totals .cart-subtotal th::after {
    content: "Товари";
    font-size: 13px;
    font-weight: 700;
    color: #56635a;
}

/* Medium desktop / laptop: totals below products, never squeeze the cards. */
@media (max-width: 1279px) {
    body.woocommerce-cart .woocommerce {
        display: block !important;
        width: min(1040px, calc(100% - 32px)) !important;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        width: 100% !important;
    }

    body.woocommerce-cart .cart-collaterals {
        position: static !important;
        width: 100% !important;
        margin-top: 22px !important;
    }

    body.woocommerce-cart .cart_totals {
        width: 100% !important;
    }
}

/* Card layout compacts before the regular Woo mobile breakpoint. */
@media (max-width: 1040px) {
    body.woocommerce-cart table.shop_table.cart tbody > tr.woocommerce-cart-form__cart-item,
    body.woocommerce-cart table.shop_table.cart tbody > tr.cart_item {
        grid-template-columns:
            34px
            82px
            minmax(180px, 1fr)
            108px
            116px;
    }

    body.woocommerce-cart td.product-thumbnail {
        grid-column: 2;
    }

    body.woocommerce-cart td.product-name {
        grid-column: 3;
    }

    body.woocommerce-cart td.product-price {
        grid-column: 4;
    }

    body.woocommerce-cart td.product-quantity {
        grid-column: 5;
    }

    body.woocommerce-cart td.product-subtotal {
        grid-column: 3 / 6;
        grid-row: 2;
        margin-top: 12px !important;
        padding-top: 12px !important;
        border-top: 1px dashed #e4ebe6 !important;
    }
}

@media (max-width: 760px) {
    body.woocommerce-cart .woocommerce {
        width: calc(100% - 20px) !important;
        margin-top: 18px !important;
    }

    body.woocommerce-cart .woocommerce-cart-form {
        padding: 12px !important;
        border-radius: 18px !important;
    }

    body.woocommerce-cart table.shop_table.cart tbody > tr.woocommerce-cart-form__cart-item,
    body.woocommerce-cart table.shop_table.cart tbody > tr.cart_item {
        grid-template-columns: 30px 74px minmax(0, 1fr);
        gap: 10px;
        padding: 12px !important;
        border-radius: 15px !important;
    }

    body.woocommerce-cart td.product-remove {
        grid-column: 1;
        grid-row: 1;
    }

    body.woocommerce-cart td.product-thumbnail {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    body.woocommerce-cart td.product-thumbnail a,
    body.woocommerce-cart td.product-thumbnail img {
        width: 70px !important;
    }

    body.woocommerce-cart td.product-thumbnail img {
        height: 86px !important;
    }

    body.woocommerce-cart td.product-name {
        grid-column: 3;
        grid-row: 1;
    }

    body.woocommerce-cart td.product-price,
    body.woocommerce-cart td.product-quantity,
    body.woocommerce-cart td.product-subtotal {
        grid-column: 3;
        grid-row: auto;
        margin-top: 9px !important;
        padding-top: 9px !important;
        border-top: 1px dashed #e8eee9 !important;
    }

    body.woocommerce-cart td.product-price::before,
    body.woocommerce-cart td.product-quantity::before,
    body.woocommerce-cart td.product-subtotal::before {
        display: inline-block !important;
        min-width: 68px;
        margin: 0 8px 0 0;
        vertical-align: middle;
    }

    body.woocommerce-cart .kih-cart-page-runner-qty {
        display: inline-grid !important;
        vertical-align: middle;
    }

    body.woocommerce-cart .kih-cart-page-qty-caption {
        display: inline-block !important;
        width: auto !important;
        margin-left: 7px !important;
    }

    body.woocommerce-cart .cart_totals {
        padding: 18px !important;
        border-radius: 18px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .kih-cart-item--optimistic,
    .kih-cart-optimistic-status i {
        animation: none !important;
    }
}


/* ==========================================================================
   Cart v1.7 — OWN KihCarpet cart page
   ========================================================================== */

body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .woocommerce > form.woocommerce-cart-form,
body.woocommerce-cart .woocommerce > .cart-collaterals {
    display: none !important;
}

body.woocommerce-cart .site-main,
body.woocommerce-cart .content-area,
body.woocommerce-cart main,
body.woocommerce-cart article,
body.woocommerce-cart .entry-content {
    min-width: 0;
}

body.woocommerce-cart .entry-content {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kih-cart-page,
.kih-cart-page * {
    box-sizing: border-box;
}

.kih-cart-page {
    --kih-cart-page-green: var(--kih-cart-accent, #237a43);
    --kih-cart-page-green-dark: #176d36;
    --kih-cart-page-text: #17231b;
    --kih-cart-page-muted: #6e7a72;
    --kih-cart-page-line: #e4ebe6;
    --kih-cart-page-soft: #f6faf7;

    width: min(1240px, calc(100% - 40px));
    margin: 46px auto 70px;
    color: var(--kih-cart-page-text);
    font-family: inherit;
}

.kih-cart-page__intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.kih-cart-page__eyebrow {
    display: inline-flex;
    margin-bottom: 7px;
    color: var(--kih-cart-page-green);
    font-size: 12px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.kih-cart-page__intro h1 {
    margin: 0 0 7px !important;
    color: var(--kih-cart-page-text) !important;
    font-size: clamp(30px, 4vw, 46px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -.035em;
}

.kih-cart-page__intro p {
    max-width: 700px;
    margin: 0 !important;
    color: var(--kih-cart-page-muted);
    font-size: 15px;
    line-height: 1.55;
}

.kih-cart-page__continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    color: #294435 !important;
    background: #fff;
    border: 1px solid #dce7df;
    border-radius: 13px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(28, 70, 42, .05);
}

.kih-cart-page__dynamic {
    width: 100%;
}

.kih-cart-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
    align-items: start;
}

.kih-cart-page__main {
    min-width: 0;
}

.kih-cart-page__items {
    display: grid;
    gap: 14px;
}

.kih-cart-page-item {
    position: relative;
    display: grid;
    grid-template-columns: 116px minmax(250px, 1fr) 125px 148px 155px;
    gap: 18px;
    align-items: center;
    min-width: 0;
    padding: 18px 20px 18px 52px;
    background: #fff;
    border: 1px solid #dce7df;
    border-radius: 22px;
    box-shadow:
        0 16px 42px rgba(24, 69, 38, .055),
        0 2px 7px rgba(24, 69, 38, .025);
}

.kih-cart-page-item__remove {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    border: 1px solid #f0d4d1 !important;
    border-radius: 10px !important;
    color: #c53b35 !important;
    background: #fff7f6 !important;
    font-size: 19px !important;
    line-height: 28px !important;
    font-weight: 500 !important;
    cursor: pointer;
    box-shadow: none !important;
}

.kih-cart-page-item__image {
    width: 116px;
    height: 116px;
    overflow: hidden;
    border-radius: 16px;
    background: #f1f5f2;
}

.kih-cart-page-item__image a,
.kih-cart-page-item__image img {
    display: block;
    width: 100%;
    height: 100%;
}

.kih-cart-page-item__image img {
    object-fit: cover;
}

.kih-cart-page-item__info {
    min-width: 0;
}

.kih-cart-page-item__title {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 11px;
    color: var(--kih-cart-page-text) !important;
    text-decoration: none !important;
    font-size: 16px;
    line-height: 1.32;
    font-weight: 850;
}

.kih-cart-page-item__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 9px;
}

.kih-cart-page-item__chips > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 31px;
    padding: 6px 10px;
    color: #3e4d44;
    background: #f3f7f4;
    border: 1px solid #e8eee9;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.1;
}

.kih-cart-page-item__chips small {
    color: #78847c;
    font-size: 11px;
}

.kih-cart-page-item__chips strong {
    color: #27362d;
    font-weight: 850;
}

.kih-cart-page-item__overlock {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    max-width: 100%;
    padding: 9px 11px;
    background: #fbfcfb;
    border: 1px solid #edf1ee;
    border-radius: 12px;
}

.kih-cart-page-item__overlock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    color: var(--kih-cart-page-green);
    background: #ecf7ef;
    font-size: 13px;
}

.kih-cart-page-item__overlock div {
    min-width: 0;
}

.kih-cart-page-item__overlock small {
    display: block;
    margin-bottom: 2px;
    color: #7b857f;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.kih-cart-page-item__overlock strong {
    display: block;
    color: #314038;
    font-size: 12px;
    line-height: 1.42;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.kih-cart-page-item__meta {
    color: var(--kih-cart-page-muted);
    font-size: 12px;
}

.kih-cart-page-item__price-box,
.kih-cart-page-item__qty-box,
.kih-cart-page-item__sum-box {
    min-width: 0;
}

.kih-cart-page-item__price-box > small,
.kih-cart-page-item__qty-box > small,
.kih-cart-page-item__sum-box > small {
    display: block;
    margin-bottom: 7px;
    color: #8a948e;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.kih-cart-page-item__price-box > strong,
.kih-cart-page-item__sum-box > strong {
    display: block;
    color: #28ad49;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 750;
    white-space: nowrap;
}

.kih-cart-page-item__price-box > span,
.kih-cart-page-item__qty-box > span,
.kih-cart-page-item__sum-box > span {
    display: block;
    margin-top: 5px;
    color: #8b948e;
    font-size: 10px;
    line-height: 1.35;
}

.kih-cart-page-item__sum-box > strong {
    color: var(--kih-cart-page-green);
    font-size: 21px;
    font-weight: 900;
}

.kih-cart-page-runner-qty,
.kih-cart-page-normal-qty {
    display: inline-grid;
    grid-template-columns: 36px 48px 36px;
    overflow: hidden;
    border: 1px solid #d8e4db;
    border-radius: 12px;
    background: #f8fbf9;
}

.kih-cart-page-runner-qty button,
.kih-cart-page-normal-qty button,
.kih-cart-page-runner-qty input,
.kih-cart-page-normal-qty input {
    width: 100% !important;
    height: 38px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #173323 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center;
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 38px !important;
    font-weight: 850 !important;
}

.kih-cart-page-runner-qty button,
.kih-cart-page-normal-qty button {
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.kih-cart-page-runner-qty button:hover,
.kih-cart-page-normal-qty button:hover {
    color: #fff !important;
    background: var(--kih-cart-page-green) !important;
}

.kih-cart-page-runner-qty input,
.kih-cart-page-normal-qty input {
    border-left: 1px solid #e1e8e3 !important;
    border-right: 1px solid #e1e8e3 !important;
    -moz-appearance: textfield;
}

.kih-cart-page-item__single {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
    border-radius: 10px;
    background: #f5f8f6;
}

.kih-cart-page-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 18px;
    padding: 17px 18px;
    background: #fff;
    border: 1px dashed #d7e3da;
    border-radius: 18px;
}

.kih-cart-page-coupon > div:first-child {
    display: grid;
    gap: 2px;
}

.kih-cart-page-coupon strong {
    color: #26382e;
    font-size: 13px;
}

.kih-cart-page-coupon span {
    color: #7b867f;
    font-size: 11px;
}

.kih-cart-page-coupon__controls {
    display: grid;
    grid-template-columns: 180px auto;
    gap: 8px;
}

.kih-cart-page-coupon input {
    min-height: 42px;
    margin: 0 !important;
    padding: 9px 12px !important;
    border: 1px solid #dce5de !important;
    border-radius: 11px !important;
    background: #fafcfb !important;
    box-shadow: none !important;
    font-size: 13px !important;
}

.kih-cart-page-coupon button {
    min-height: 42px !important;
    margin: 0 !important;
    padding: 9px 15px !important;
    border: 1px solid var(--kih-cart-page-green) !important;
    border-radius: 11px !important;
    color: #fff !important;
    background: var(--kih-cart-page-green) !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 850 !important;
}

.kih-cart-page-summary {
    position: sticky;
    top: calc(var(--kih-sticky-top, 0px) + 110px);
    padding: 24px;
    background: #fff;
    border: 1px solid #dce7df;
    border-radius: 22px;
    box-shadow:
        0 20px 50px rgba(24, 69, 38, .07),
        0 2px 8px rgba(24, 69, 38, .025);
}

.kih-cart-page-summary__kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--kih-cart-page-green);
    font-size: 10px;
    line-height: 1;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .075em;
}

.kih-cart-page-summary h2 {
    margin: 0 0 18px !important;
    color: var(--kih-cart-page-text) !important;
    font-size: 22px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
}

.kih-cart-page-summary__rows {
    display: grid;
}

.kih-cart-page-summary__rows > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid #edf1ee;
    color: #58665e;
    font-size: 13px;
}

.kih-cart-page-summary__rows strong {
    color: #1fa944;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.kih-cart-page-summary__rows .is-discount strong {
    color: #c2613c;
}

.kih-cart-page-summary__rows .is-total {
    margin-top: 3px;
    padding-top: 17px;
    border-bottom: 0;
    color: #17231b;
    font-size: 16px;
    font-weight: 850;
}

.kih-cart-page-summary__rows .is-total strong {
    color: #08762c;
    font-size: 25px;
    font-weight: 900;
}

.kih-cart-page-summary__shipping {
    margin: 7px 0 18px !important;
    color: #89938d;
    font-size: 11px;
    line-height: 1.45;
}

.kih-cart-page__checkout {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 51px;
    padding: 12px 18px !important;
    border: 1px solid #136d35 !important;
    border-radius: 14px !important;
    color: #fff !important;
    background: linear-gradient(135deg, #258a48, #19763d) !important;
    text-decoration: none !important;
    text-align: center;
    font-size: 13px !important;
    line-height: 1.2;
    font-weight: 900 !important;
    box-shadow: 0 14px 26px rgba(31, 126, 67, .15);
}

.kih-cart-page-summary__trust {
    display: grid;
    gap: 6px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e0e7e2;
    color: #6f7c74;
    font-size: 10px;
}

.kih-cart-page-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
    padding: 68px 24px;
    text-align: center;
    background: #fff;
    border: 1px solid #dce7df;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(24, 69, 38, .06);
}

.kih-cart-page-empty__icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin-bottom: 6px;
    border-radius: 22px;
    background: #eff8f1;
    font-size: 28px;
}

.kih-cart-page-empty h2 {
    margin: 0 !important;
    font-size: 24px !important;
}

.kih-cart-page-empty p {
    margin: 0 0 10px !important;
    color: var(--kih-cart-page-muted);
}

body.kih-cart-page-updating .kih-cart-page__dynamic {
    pointer-events: none;
    opacity: .72;
    transition: opacity .18s ease;
}


/* Laptop: summary below avoids squeezing product data. */
@media (max-width: 1180px) {

    .kih-cart-page__layout {
        grid-template-columns: 1fr;
    }

    .kih-cart-page-summary {
        position: static;
    }
}

@media (max-width: 980px) {

    .kih-cart-page {
        width: min(100% - 28px, 900px);
        margin-top: 30px;
    }

    .kih-cart-page-item {
        grid-template-columns: 96px minmax(0, 1fr) 120px 145px;
        padding-left: 48px;
    }

    .kih-cart-page-item__image {
        width: 96px;
        height: 96px;
    }

    .kih-cart-page-item__sum-box {
        grid-column: 3 / 5;
        display: flex;
        align-items: baseline;
        justify-content: flex-end;
        gap: 9px;
        padding-top: 10px;
        border-top: 1px dashed #e7ece8;
    }

    .kih-cart-page-item__sum-box > small {
        margin: 0 auto 0 0;
    }

    .kih-cart-page-item__sum-box > span {
        margin: 0;
    }
}

@media (max-width: 720px) {

    .kih-cart-page {
        width: calc(100% - 20px);
        margin: 20px auto 50px;
    }

    .kih-cart-page__intro {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 17px;
    }

    .kih-cart-page__intro h1 {
        font-size: 32px !important;
    }

    .kih-cart-page__continue {
        width: 100%;
    }

    .kih-cart-page-item {
        grid-template-columns: 78px minmax(0, 1fr);
        gap: 12px;
        padding: 15px 14px 15px 44px;
        border-radius: 18px;
    }

    .kih-cart-page-item__remove {
        left: 10px;
        top: 19px;
        transform: none;
        width: 28px;
        height: 28px;
    }

    .kih-cart-page-item__image {
        width: 78px;
        height: 88px;
        border-radius: 13px;
    }

    .kih-cart-page-item__info {
        align-self: start;
    }

    .kih-cart-page-item__title {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .kih-cart-page-item__overlock {
        grid-column: 1 / -1;
    }

    .kih-cart-page-item__price-box,
    .kih-cart-page-item__qty-box,
    .kih-cart-page-item__sum-box {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 90px minmax(0, 1fr);
        align-items: center;
        gap: 8px 12px;
        padding-top: 11px;
        border-top: 1px dashed #e6ece8;
    }

    .kih-cart-page-item__price-box > small,
    .kih-cart-page-item__qty-box > small,
    .kih-cart-page-item__sum-box > small {
        margin: 0;
    }

    .kih-cart-page-item__price-box > strong,
    .kih-cart-page-item__sum-box > strong {
        justify-self: end;
    }

    .kih-cart-page-item__price-box > span,
    .kih-cart-page-item__qty-box > span,
    .kih-cart-page-item__sum-box > span {
        grid-column: 2;
        justify-self: end;
        margin: -4px 0 0;
    }

    .kih-cart-page-runner-qty,
    .kih-cart-page-normal-qty {
        justify-self: end;
    }

    .kih-cart-page-coupon {
        align-items: stretch;
        flex-direction: column;
    }

    .kih-cart-page-coupon__controls {
        grid-template-columns: 1fr;
    }

    .kih-cart-page-summary {
        padding: 20px 17px;
        border-radius: 18px;
    }
}


/* ==========================================================================
   Cart v1.10 — full cart card polish
   ========================================================================== */

.kih-cart-page-item {
    grid-template-columns:
        112px
        minmax(260px, 1fr)
        112px
        128px
        145px;
    gap: 15px;
    padding: 18px 48px 18px 18px;
}

.kih-cart-page-item__remove {
    left: auto;
    right: 13px;
    top: 13px;
    z-index: 3;
    width: 29px;
    height: 29px;
    transform: none;
    border-radius: 9px !important;
    line-height: 27px !important;
    transition:
        color .18s ease,
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.kih-cart-page-item__remove:hover,
.kih-cart-page-item__remove:focus-visible {
    color: #fff !important;
    background: #c9443d !important;
    border-color: #c9443d !important;
    transform: translateY(-1px);
}

.kih-cart-page-item__image {
    width: 112px;
    height: 118px;
}

.kih-cart-page-item__price-box,
.kih-cart-page-item__qty-box,
.kih-cart-page-item__sum-box {
    align-self: center;
}

.kih-cart-page-item__price-box,
.kih-cart-page-item__qty-box {
    text-align: center;
}

.kih-cart-page-item__sum-box {
    position: relative;
    min-width: 0;
    padding: 10px 7px 10px 12px;
    border-left: 1px dashed #e2e9e4;
    text-align: right;
}

.kih-cart-page-item__sum-box > small {
    margin-bottom: 8px;
}

.kih-cart-page-item__sum-box > strong {
    font-size: 20px;
    line-height: 1.1;
}

.kih-cart-page-item__sum-box > span {
    max-width: 135px;
    margin: 7px 0 0 auto;
    color: #748078;
    font-size: 10px;
    line-height: 1.3;
    white-space: normal;
}

.kih-cart-page-item__overlock {
    max-width: 360px;
}

body.kih-cart-page-updating .kih-cart-page-item {
    pointer-events: none;
}

@media (max-width: 1180px) {
    .kih-cart-page-item {
        grid-template-columns:
            106px
            minmax(250px, 1fr)
            108px
            124px
            140px;
        padding-right: 46px;
    }

    .kih-cart-page-item__image {
        width: 106px;
        height: 112px;
    }
}

@media (max-width: 980px) {
    .kih-cart-page-item {
        grid-template-columns:
            96px
            minmax(0, 1fr)
            118px
            140px;
        padding: 16px 44px 16px 16px;
    }

    .kih-cart-page-item__remove {
        left: auto;
        right: 11px;
        top: 11px;
        transform: none;
    }

    .kih-cart-page-item__sum-box {
        grid-column: 3 / 5;
        display: grid;
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: end;
        gap: 5px 12px;
        padding: 12px 0 0;
        border-top: 1px dashed #e7ece8;
        border-left: 0;
        text-align: right;
    }

    .kih-cart-page-item__sum-box > small {
        grid-row: 1;
        margin: 0 auto 0 0;
    }

    .kih-cart-page-item__sum-box > strong {
        grid-row: 1;
    }

    .kih-cart-page-item__sum-box > span {
        grid-column: 1 / -1;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 720px) {
    .kih-cart-page-item {
        grid-template-columns: 82px minmax(0, 1fr);
        padding: 15px 42px 15px 14px;
    }

    .kih-cart-page-item__remove {
        right: 9px;
        top: 9px;
        left: auto;
    }

    .kih-cart-page-item__image {
        width: 82px;
        height: 92px;
    }

    .kih-cart-page-item__price-box,
    .kih-cart-page-item__qty-box,
    .kih-cart-page-item__sum-box {
        grid-column: 1 / -1;
        text-align: left;
    }

    .kih-cart-page-item__sum-box {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        justify-content: stretch;
        gap: 6px 10px;
        padding-top: 11px;
    }

    .kih-cart-page-item__sum-box > strong,
    .kih-cart-page-item__sum-box > span {
        justify-self: end;
    }

    .kih-cart-page-item__sum-box > span {
        grid-column: 2;
        max-width: none;
    }
}


/* ==========================================================================
   Cart v1.11 — proportional remove control
   ========================================================================== */

.kih-cart-page-item__remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid #efd8d5 !important;
    border-radius: 50% !important;

    color: #c9463f !important;
    background: #fffafa !important;

    font-size: 0 !important;
    line-height: 1 !important;

    box-shadow: 0 4px 12px rgba(110, 45, 39, .06) !important;
}

.kih-cart-page-item__remove svg {
    display: block;
    width: 15px;
    height: 15px;
    pointer-events: none;
}

.kih-cart-page-item__remove:hover,
.kih-cart-page-item__remove:focus-visible {
    color: #fff !important;
    background: #c9463f !important;
    border-color: #c9463f !important;
    box-shadow: 0 7px 18px rgba(201, 70, 63, .20) !important;
    transform: translateY(-1px);
}

@media (max-width: 720px) {
    .kih-cart-page-item__remove {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }

    .kih-cart-page-item__remove svg {
        width: 14px;
        height: 14px;
    }
}


/* ==========================================================================
   Cart v1.12 — normal product quantity control width fix
   ========================================================================== */

/*
 * .kih-cart-page-normal-qty also carries the shared .kih-cart-qty class.
 * The shared popup control is 104px wide, while the cart-page grid below
 * needs 120px (36 + 48 + 36). Force the cart-page dimensions so the
 * right-hand "+" button can never be clipped.
 */
body.woocommerce-cart .kih-cart-page-normal-qty {
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 40px !important;
    grid-template-columns: 36px 48px 36px !important;
    overflow: hidden !important;
    flex: 0 0 120px;
}

body.woocommerce-cart .kih-cart-page-normal-qty button,
body.woocommerce-cart .kih-cart-page-normal-qty input {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    line-height: 38px !important;
}

body.woocommerce-cart .kih-cart-page-normal-qty button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.woocommerce-cart .kih-cart-page-item__qty-box {
    min-width: 132px;
    overflow: visible;
}

@media (max-width: 720px) {
    body.woocommerce-cart .kih-cart-page-normal-qty {
        width: 116px !important;
        min-width: 116px !important;
        max-width: 116px !important;
        grid-template-columns: 34px 48px 34px !important;
        flex-basis: 116px;
    }

    body.woocommerce-cart .kih-cart-page-item__qty-box {
        min-width: 0;
    }
}


/* =========================================================
   Variable carpet size
   ========================================================= */

.kih-cart-carpet-size {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;

    margin-top: 7px;
    padding: 6px 9px;

    border: 1px solid #e2ebe5;
    border-radius: 10px;

    background: #f5f9f6;

    color: #68736c;

    font-size: 11px;
    line-height: 1.25;
}

.kih-cart-carpet-size > span {
    color: #68736c;
}

.kih-cart-carpet-size strong {
    color: #26342b;
    font-size: 12px;
    font-weight: 800;
}

.kih-cart-carpet-size--optimistic {
    width: fit-content;
}

.kih-cart-page-item__chips--carpet {
    margin-top: 9px;
}

.kih-cart-page-item__chips--carpet > span {
    min-width: 0;
    padding-right: 12px;
}

.kih-cart-page-item__chips--carpet small {
    color: #6f7b73;
}

.kih-cart-page-item__chips--carpet strong {
    white-space: nowrap;
}

@media (max-width: 600px) {
    .kih-cart-carpet-size {
        padding: 5px 8px;
    }

    .kih-cart-page-item__chips--carpet strong {
        white-space: normal;
    }
}


@media (max-width: 600px) {
    .kih-runner-remove-question__card {
        padding: 25px 15px 17px;
    }

    .kih-runner-remove-group {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .kih-runner-remove-stepper {
        width: 100%;
        grid-template-columns: 1fr 54px 1fr;
    }

    .kih-runner-remove-actions {
        grid-template-columns: 1fr !important;
    }
}
