/* =========================================================
   custom.css — Kocka Plus
   ========================================================= */

:root {
    --menu-blue: #3a6fd8;
    --menu-blue-dark: #2f5cb8;
    --kp-orange: #F15A24;
    --kp-orange-dark: #d94c18;
    --kp-blue: #1978e6;
    --kp-blue-dark: #1568d4;
}

/* Header transparent */
header > .header-bar {
    background: transparent !important;
}

header .custom-logo {
    height: 80px;
    width: auto;
}

.header-bar__logo {
    position: relative;
    transition:
        opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.45s;
    will-change: opacity, transform;
}

.header-bar__logo-on-menu {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 2;
    clip-path: circle(0px at 100% 50%);
    -webkit-clip-path: circle(0px at 100% 50%);
}

.header-bar__logo-on-menu img {
    filter: brightness(0) invert(1);
}

.header-bar--logo-hidden .header-bar__logo {
    opacity: 0;
    transform: translateY(-18px);
    visibility: hidden;
    pointer-events: none;
}

/* When logo is hidden, make header click-through (except MENU button). */
.header-bar--logo-hidden {
    pointer-events: none;
}

.header-bar--logo-hidden .header-bar__actions,
.header-bar--logo-hidden .header-bar__menu-wrap,
.header-bar--logo-hidden .header-menu,
.header-bar--logo-hidden .menu-toggle {
    pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
    .header-bar__logo {
        transition: opacity 0.15s ease, visibility 0.15s;
    }

    .header-bar--logo-hidden .header-bar__logo {
        transform: none;
    }
}

/* =========================================================
   Header MENU button + fullscreen overlay navigation
   ========================================================= */

.header-menu {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    transition: filter 0.2s ease;
}

.header-bar--nav-hidden .header-bar__menu-wrap {
    opacity: 0;
    transform: translateY(-14px);
    visibility: hidden;
    pointer-events: none;
}

.menu-toggle {
    position: relative;
    z-index: 1;
    width: 92px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--menu-blue);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: 0;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.menu-toggle:hover { background: var(--menu-blue-dark); }

.menu-toggle__label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease;
}

.menu-toggle__label--close { transform: translateY(100%); opacity: 0; }
.menu-open .menu-toggle__label--open { transform: translateY(-100%); opacity: 0; }
.menu-open .menu-toggle__label--close { transform: translateY(0); opacity: 1; }
.menu-open .header-menu {
    filter: drop-shadow(0 2px 10px rgb(0 0 0 / 18%));
}
.menu-open .header-menu:has(.menu-toggle:hover) {
    filter: drop-shadow(0 3px 12px rgb(0 0 0 / 24%));
}
.menu-open .menu-toggle {
    background: var(--menu-blue);
}
.menu-open .menu-toggle:hover {
    background: var(--menu-blue-dark);
}
.menu-open .header-bar__menu-wrap.has-header-cart .menu-toggle {
    clip-path: none;
}

body.menu-open {
    overflow: hidden;
}

/* Sticky cart checkout CTA (z-index 9999) must not sit above the menu */
body.menu-open .wc-block-cart__submit-container--sticky,
body.menu-open .wp-block-woocommerce-proceed-to-checkout-block {
    visibility: hidden !important;
    pointer-events: none !important;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 98;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--menu-blue);
    visibility: hidden;
    pointer-events: none;
    clip-path: circle(0% at calc(100% - 36px) 58px);
    overflow-y: auto;
    padding: 120px 20px 48px;
}

.menu-overlay.is-open {
    visibility: visible;
    pointer-events: auto;
}

.menu-overlay.is-open .menu-overlay__item a {
    opacity: 1;
}

/* Kupac menu guide — a clean card placed inside the opened menu. */
.kp-menu-guide{position:fixed;right:clamp(22px,3vw,48px);bottom:30px;z-index:2;display:flex;align-items:center;gap:12px;width:min(318px,calc(100vw - 32px));min-height:66px;padding:9px 11px;border:1px solid #d7e3f8;border-radius:15px;background:#fff;color:#172033!important;text-decoration:none!important;box-shadow:0 12px 28px rgb(15 41 92 / 20%),0 3px 9px rgb(15 41 92 / 10%);opacity:0;transform:translateY(14px);transition:transform .28s ease,opacity .28s ease,box-shadow .2s ease,border-color .2s ease}
.menu-overlay.is-open .kp-menu-guide{opacity:1;transform:translateY(0);transition-delay:.18s}
.kp-menu-guide:hover,.kp-menu-guide:focus-visible{outline:none;transform:translateY(-2px);border-color:#b9cbed;box-shadow:0 17px 36px rgb(15 41 92 / 24%),0 4px 12px rgb(15 41 92 / 12%)}
.kp-menu-guide__icon{width:43px;height:43px;flex:0 0 43px;display:grid;place-items:center;border-radius:11px;background:#edf3ff;color:#2860d8}
.kp-menu-guide__icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.55}.kp-menu-guide__icon svg path{fill:currentColor;stroke:none}
.kp-menu-guide__copy{min-width:0;display:flex;flex:1;flex-direction:column;line-height:1.2}.kp-menu-guide__copy b{margin:0;color:#172033;font-size:15px;font-weight:700;letter-spacing:-.01em}.kp-menu-guide__copy small{margin-top:4px;color:#758197;font-size:11px;font-weight:500}
.kp-menu-guide__arrow{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;border-radius:10px;background:#2860d8;color:#fff;transition:transform .2s ease,background .2s ease}.kp-menu-guide__arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.kp-menu-guide:hover .kp-menu-guide__arrow{transform:translateX(2px);background:#174dbd}

.menu-overlay__inner {
    width: 100%;
    max-width: 720px;
    text-align: center;
}

.menu-overlay__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-overlay__item a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff !important;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 500;
    line-height: 1.3;
    padding: 4px 16px;
    text-decoration: none !important;
    transform: translateY(0);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay__item a::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 2px;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay__item a:hover {
    transform: translateY(-4px);
}

.menu-overlay__item a:hover::after {
    transform: scaleX(1);
}

/* Kupac — plain text menu, stacked, profile last */
body.kp-menu-text .menu-overlay__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 24px;
    text-align: center;
}

body.kp-menu-text .menu-overlay__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}

body.kp-menu-text .menu-overlay__item a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    font-size: clamp(1.75rem, 5vw, 2.55rem);
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 4px 16px;
    text-align: center;
}

body.kp-menu-text .menu-overlay__item--logout {
    margin-top: 10px;
    padding-top: 10px;
}

body.kp-menu-text .menu-overlay__item a::after {
    left: 20px;
    right: 20px;
    width: auto;
}

body.kp-menu-text .menu-overlay__extras {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    width: 100%;
}

body.kp-menu-text .menu-overlay__list--extras {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

body.kp-menu-text .menu-overlay__item-icon,
body.kp-menu-text .menu-overlay__logout-icon {
    display: none;
}

.menu-overlay__list .sub-menu {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
}

.menu-overlay__list .sub-menu a {
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 400;
    opacity: 0.9;
}

.menu-overlay__extras {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgb(255 255 255 / 22%);
}

.menu-overlay__list--extras .menu-overlay__item a {
    font-size: clamp(20px, 3.5vw, 32px);
    font-weight: 500;
}

.menu-overlay__item--logout {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgb(255 255 255 / 28%);
}

.menu-overlay__item--logout a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fecaca !important;
    font-weight: 700 !important;
}

.menu-overlay__item--logout a:hover {
    color: #fff !important;
}

.menu-overlay__logout-icon {
    flex-shrink: 0;
    opacity: .95;
}

.menu-overlay__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--kp-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

/* Logged-in overlay: items as icon cubes */
.menu-overlay--blocks .menu-overlay__inner {
    max-width: 640px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    text-align: center;
}

.menu-overlay--blocks .menu-overlay__list,
.menu-overlay--blocks .menu-overlay__extras {
    display: contents;
}

.menu-overlay--blocks .menu-overlay__item {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.menu-overlay--blocks .menu-overlay__item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    aspect-ratio: 1;
    padding: 12px 8px 10px;
    background: rgb(255 255 255 / 14%);
    border: 1px solid rgb(255 255 255 / 22%);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
    transform: none;
}

.menu-overlay--blocks .menu-overlay__item a::after {
    display: none;
}

.menu-overlay--blocks .menu-overlay__item a:hover {
    transform: translateY(-2px);
    background: rgb(255 255 255 / 22%);
}

.menu-overlay--blocks .menu-overlay__item-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.menu-overlay--blocks .menu-overlay__item-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    text-transform: capitalize;
}

.menu-overlay--blocks .menu-overlay__item--logout a {
    background: rgb(254 202 202 / 16%);
    border-color: rgb(254 202 202 / 32%);
    color: #fecaca !important;
}

.menu-overlay--blocks .menu-overlay__item--logout a:hover {
    background: rgb(254 202 202 / 26%);
    color: #fff !important;
}

.menu-overlay--blocks .menu-overlay__item-hint {
    display: block;
    margin-top: 2px;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.2;
    opacity: 0.88;
    text-transform: none;
    letter-spacing: 0;
}

.menu-overlay--blocks .menu-overlay__item.is-locked a {
    background: rgb(255 255 255 / 8%);
}

.menu-overlay__item-hint {
    display: block;
    font-size: 0.7em;
    font-weight: 500;
    opacity: 0.8;
}
.kp-menu-cart__count {
    position: absolute;
    top: 8px;
    right: 8px;
    min-width: 20px;
    height: 20px;
    font-size: 11px;
}

.kp-menu-cart__count.is-empty { display: none; }

.header-bar__actions {
    position: relative;
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 0;
}

@media screen and (max-width: 767px) {
    header .custom-logo {
        height: 52px;
    }

    .menu-toggle {
        width: 84px;
        height: 66px;
        font-size: 14px;
        letter-spacing: 0.12em;
    }

    .header-cart {
        width: 34px;
        height: 34px;
    }

    .header-bar__menu-wrap.has-header-cart .menu-toggle {
        -webkit-mask-image: none;
        mask-image: none;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 18.5px 100%, 18.5px calc(100% - 18.5px), 0 calc(100% - 18.5px));
    }

    .header-cart {
        border-radius: 50% 0 50% 50%;
    }

    .header-cart__icon {
        width: 16px;
        height: 16px;
    }

    .header-cart__count {
        top: -3px;
        right: -4px;
        min-width: 18px;
        height: 18px;
        font-size: 9px;
        line-height: 18px;
    }

    .menu-overlay {
        align-items: flex-start;
        justify-content: flex-start;
        padding: 172px 16px 40px;
    }

    .kp-menu-guide{right:14px;bottom:18px;width:min(300px,calc(100vw - 28px));min-height:64px;padding:9px 10px;border-radius:14px;gap:10px}
    .kp-menu-guide__icon{width:40px;height:40px;flex-basis:40px;border-radius:10px}.kp-menu-guide__icon svg{width:22px;height:22px}
    .kp-menu-guide__copy b{font-size:14px}.kp-menu-guide__copy small{font-size:10px}.kp-menu-guide__arrow{width:31px;height:31px;flex-basis:31px}

    body.admin-bar .menu-overlay {
        padding-top: 204px;
    }

    .menu-overlay__inner {
        max-width: none;
        margin-top: 12px;
    }

    .menu-overlay__item a {
        font-size: clamp(22px, 7vw, 36px);
        padding: 6px 12px;
    }

    .menu-overlay__list .sub-menu a {
        font-size: clamp(16px, 4.5vw, 22px);
    }

    .menu-overlay__extras {
        margin-top: 20px;
        padding-top: 18px;
        width: 100%;
    }

    .menu-overlay__list--extras .menu-overlay__item a {
        font-size: clamp(18px, 5.5vw, 26px);
    }

    .menu-overlay--blocks {
        padding: 168px 12px 24px;
        align-items: flex-start;
    }

    body.admin-bar .menu-overlay--blocks {
        padding-top: 200px;
    }

    .menu-overlay--blocks .menu-overlay__inner {
        max-width: none;
        margin-top: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .menu-overlay--blocks .menu-overlay__item a {
        aspect-ratio: auto;
        min-height: 108px;
        font-size: 11px;
        padding: 12px 8px 10px;
        border-radius: 12px;
        gap: 6px;
    }

    .menu-overlay--blocks .menu-overlay__item-icon {
        width: 24px;
        height: 24px;
    }
}

@media screen and (max-width: 480px) {
    .menu-overlay {
        padding-top: 162px;
    }

    body.admin-bar .menu-overlay {
        padding-top: 192px;
    }

    .menu-overlay__list {
        gap: 4px;
    }

    .menu-overlay__item a {
        font-size: clamp(20px, 6.5vw, 30px);
    }

    .menu-overlay--blocks {
        padding: 160px 10px 20px;
    }

    body.admin-bar .menu-overlay--blocks {
        padding-top: 192px;
    }

    .menu-overlay--blocks .menu-overlay__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .menu-overlay--blocks .menu-overlay__item a {
        min-height: 100px;
        font-size: 10px;
        padding: 10px 6px 8px;
        border-radius: 10px;
        gap: 5px;
    }

    .menu-overlay--blocks .menu-overlay__item-icon {
        width: 22px;
        height: 22px;
    }
}

.header-bar__menu-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    transition:
        opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        visibility 0.4s;
    will-change: opacity, transform;
}

.header-bar__menu-wrap.has-header-cart .menu-toggle {
    -webkit-mask-image: none;
    mask-image: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 21.5px 100%, 21.5px calc(100% - 21.5px), 0 calc(100% - 21.5px));
}

.header-bar__menu-group {
    position: relative;
    flex-shrink: 0;
}

/* =========================================================
   Header cart — overlaps menu bottom-left corner
   ========================================================= */

.header-cart {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50% 0 50% 50%;
    transform: translate(-50%, 50%);
    background: var(--menu-blue);
    color: #fff;
    text-decoration: none;
    border: 0;
    box-shadow: 0 2px 10px rgb(0 0 0 / 18%);
    flex-shrink: 0;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.header-cart.is-empty {
    display: none;
}

.header-cart:hover {
    background: var(--menu-blue-dark);
    color: #fff;
    box-shadow: 0 3px 12px rgb(0 0 0 / 24%);
}

.header-cart__icon {
    display: block;
    width: 18px;
    height: 18px;
    color: #fff;
}

.header-cart__count {
    position: absolute;
    top: -4px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--kp-orange);
    color: #fff;
    font-size: 11px;
    line-height: 20px;
    font-weight: 700;
    text-align: center;
    box-sizing: border-box;
}

.header-cart__count.is-empty { display: none; }

.header-cart__count.is-updating {
    animation: header-cart-count-pop 0.28s ease;
}

@keyframes header-cart-count-pop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.14); }
    100% { transform: scale(1); }
}

/* ── Radnik warehouse header icon buttons (cart-style) ── */
.wm-header-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    background: var(--menu-blue);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}
.wm-header-icon:hover { background: var(--menu-blue-dark); }
.wm-header-icon svg   { display: block; color: #fff; }

@media screen and (max-width: 767px) {
    .wm-header-icon { width: 66px; height: 66px; }
}

/* legacy pill button — kept for fallback */
.wm-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--menu-blue, #3a6fd8);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none !important;
    letter-spacing: .01em;
    transition: background .2s;
    white-space: nowrap;
}
.wm-nav-btn:hover { background: #2d5abf; color: #fff !important; }
.wm-nav-btn svg   { flex-shrink: 0; }

.header-profile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    background: var(--menu-blue);
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.header-profile:hover {
    background: var(--menu-blue-dark);
}

.header-profile__icon {
    display: block;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .header-profile {
        width: 66px;
        height: 66px;
    }
}

/* =========================================================
   Presentation single
   ========================================================= */

.presentation-single { background-color: #fff; }

.presentation-single__hero {
    position: relative;
    width: 100%;
    max-height: min(42vh, 420px);
    overflow: hidden;
    background-color: #111;
}

.presentation-single__hero-image {
    display: block;
    width: 100%;
    height: min(42vh, 420px);
    object-fit: cover;
}

.presentation-single__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 10%) 0%, rgb(0 0 0 / 45%) 100%);
}

.presentation-single__body {
    position: relative;
    z-index: 2;
    margin-top: -110px;
    padding-bottom: 80px;
}

.presentation-single__container { max-width: 920px; }

.presentation-single__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--kp-blue);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.presentation-single__back:hover { opacity: 0.75; }

.presentation-single__header {
    position: relative;
    z-index: 2;
    padding: 36px 48px 32px;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 24px 60px rgb(0 0 0 / 10%);
}

.presentation-single__title {
    margin: 0 0 20px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.2;
    font-weight: 400;
    color: #111;
}

.presentation-single__schedule {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid #efefef;
}

.presentation-single__datetime {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 0;
    font-size: 18px;
    line-height: 26px;
    color: #4a4a4a;
}

.presentation-single__date,
.presentation-single__time { display: inline-flex; align-items: center; }

.presentation-single__time::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 16px;
    border-radius: 50%;
    background-color: var(--kp-blue);
}

.presentation-single__status {
    margin: 0;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.presentation-single__countdown {
    background-color: #eef5ff;
    color: var(--kp-blue);
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
}

.presentation-single__status--finished,
.presentation-single__countdown.is-finished { background-color: #f3f3f3; color: #777; }

.presentation-single__content { margin-top: 32px; padding: 0 8px; color: #333; }
.presentation-single__content p:last-child { margin-bottom: 0; }

.presentation-single__content.editor h2 {
    font-size: 28px; line-height: 34px; text-transform: none; margin-bottom: 1rem;
}
.presentation-single__content.editor h3 { font-size: 22px; line-height: 28px; margin-bottom: .75rem; }
.presentation-single__content.editor h4,
.presentation-single__content.editor h5,
.presentation-single__content.editor h6 { font-size: 18px; line-height: 26px; margin-bottom: .75rem; }

@media screen and (max-width: 767px) {
    .presentation-single__body { margin-top: -72px; padding-bottom: 64px; }
    .presentation-single__header { padding: 24px 20px 22px; }
    .presentation-single__schedule { flex-direction: column; align-items: flex-start; }
}

/* Presentation archive */
.presentation-archive {
    padding-top: 100px;
}

.presentation-archive__container {
    padding-top: 1rem;
    padding-bottom: 6rem;
}

@media screen and (max-width: 767px) {
    .presentation-archive {
        padding-top: 108px;
    }

    .presentation-archive__container {
        padding-top: 1.75rem;
        padding-bottom: 4rem;
    }
}

.presentation-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.presentation-archive__card {
    border: 1px solid #e8e8e8;
    background: #fff;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.presentation-archive__card:hover { box-shadow: 0 18px 40px rgb(0 0 0 / 8%); transform: translateY(-2px); }

.presentation-archive__card-link { display: block; color: inherit; text-decoration: none; }
.presentation-archive__card-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }

.presentation-archive__card-body { padding: 22px 24px 24px; }

.presentation-archive__card-title { margin: 0 0 10px; font-size: 24px; line-height: 30px; font-weight: 400; color: #111; }
.presentation-archive__card-meta { margin: 0 0 12px; font-size: 15px; line-height: 22px; color: #666; }

.presentation-archive__card-status {
    margin: 0;
    display: inline-block;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #eef5ff;
    color: var(--kp-blue);
}

.presentation-archive__card-status.is-finished { background: #f3f3f3; color: #777; }

@media screen and (max-width: 989px) { .presentation-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 767px) { .presentation-archive__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Recent-work caption
   ========================================================= */

.recent-work-section__caption {
    margin: 20px 0 0;
    text-align: center;
    color: #fcfcfc;
    min-height: 72px;
}

.recent-work-section__caption-title { margin: 0 0 6px; font-size: 20px; line-height: 28px; font-weight: 500; }
.recent-work-section__caption-date { margin: 0 0 4px; font-size: 16px; line-height: 22px; color: rgb(252 252 252 / 85%); }
.recent-work-section__caption-status {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-variant-numeric: tabular-nums;
    color: rgb(252 252 252 / 92%);
}
.recent-work-section__caption-status.is-finished { color: rgb(252 252 252 / 65%); }

/* =========================================================
   WooCommerce — SHOP ARCHIVE
   ========================================================= */

.kp-shop {
    position: relative;
    padding-top: 130px;
    padding-bottom: 100px;
    background: #fafafa;
}

.kp-shop__columns {
    display: none;
}

.kp-shop__inner {
    position: relative;
    z-index: 1;
}

.kp-shop__header {
    padding-bottom: 48px;
}

.kp-shop__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-blue);
}

.kp-shop__eyebrow-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--kp-blue);
    flex-shrink: 0;
}

.kp-shop__title {
    margin: 0 0 10px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.1;
    font-weight: 400;
    color: #111;
}

.kp-shop__description { color: #4a4a4a; font-size: 18px; line-height: 28px; }

/* Layout: sidebar + main */
.kp-shop__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

/* ── Toolbar ── */
.kp-shop__toolbar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.kp-filter-toggle {
    display: none; /* shown mobile only */
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    color: #111;
    transition: border-color 0.2s ease;
}

.kp-filter-toggle:hover { border-color: var(--kp-blue); color: var(--kp-blue); }

.kp-shop__result-count {
    margin: 0;
    font-size: 14px;
    color: #666;
    flex: 1;
}

.kp-shop__ordering {
    display: none;
}

/* ── Shop controls: model search + tag filters ── */
.kp-shop__controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.kp-shop__model-search {
    position: relative;
}

.kp-shop__model-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.kp-shop__model-search-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px 10px 42px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px; /* 16px avoids iOS zoom that steals focus while typing */
    color: #111;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.kp-shop__model-search-input:focus {
    outline: none;
    border-color: var(--kp-blue);
    box-shadow: 0 0 0 3px rgb(25 120 230 / 12%);
}

.kp-shop__tags-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kp-shop__tags-label {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
}

.kp-shop__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kp-shop__tag {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.kp-shop__tag:hover {
    border-color: var(--kp-blue);
    color: var(--kp-blue);
}

.kp-shop__tag.is-active {
    background: var(--kp-blue);
    border-color: var(--kp-blue);
    color: #fff;
}

.kp-shop__products-wrap.is-loading {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.kp-shop__products-wrap.is-loading-quiet {
    pointer-events: none;
}

.kp-shop__products-wrap {
    min-height: 200px;
}

/* ── Products grid ── */
.kp-products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ── Product card ── */
.kp-product-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8e8e8;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
}

.kp-product-card:hover {
    box-shadow: 0 20px 50px rgb(0 0 0 / 10%);
    transform: translateY(-3px);
}

.kp-product-card__link {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.kp-product-card__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
}

/* In-flow 1:1 spacer — keeps media square even when images are very wide */
.kp-product-card__media::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 100%;
}

.kp-product-card__img-stack {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background: #fff;
}

/* Fill full card width; letterbox only top/bottom. Mild scale removes seam gaps (same idea as hover). */
.kp-product-card__img {
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    object-position: center center;
    background: transparent;
    transform: translateY(-50%) scale(1.06);
    transform-origin: center center;
    transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.kp-product-card__img--hover {
    opacity: 0;
}

.kp-product-card__no-image {
    position: absolute;
    inset: 0;
    display: block;
    background: #f4f6f8;
}

.kp-product-card__img--placeholder {
    transform: translateY(-50%) scale(1) !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    left: 0;
    margin-left: 0;
    top: 50%;
    opacity: 1;
}

.kp-product-card--no-image .kp-product-card__img-stack {
    background: #f4f6f8;
}

.kp-product-card:hover .kp-product-card__img--primary {
    transform: translateY(-50%) scale(1.12);
}

.kp-product-card--dual-image:hover .kp-product-card__img--primary {
    opacity: 0;
    transform: translateY(-50%) scale(1.12);
}

.kp-product-card--dual-image:hover .kp-product-card__img--hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
}

.kp-product-card__badges {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    max-width: calc(100% - 16px);
    pointer-events: none;
}

.kp-product-card__badges:empty {
    display: none;
}

.kp-product-card__badges > * {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    max-width: 100%;
    pointer-events: auto;
}

.kp-product-card__badge {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--kp-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.25;
    white-space: normal;
}

.kp-product-card__badge--out-of-stock {
    background: #4b5563;
    color: #fff;
}

.kp-product-card--out-of-stock .kp-product-card__actions {
    display: none !important;
}

/* Staff-only: product hidden from regular customers — single gold border (no inset double line) */
.kp-product-card--staff-hidden {
    border: 2px solid #e6a800;
    box-shadow: none;
}

.kp-product-card--staff-hidden:hover {
    box-shadow: 0 20px 50px rgb(0 0 0 / 10%);
}

.kp-staff-visibility--card,
.kp-staff-visibility--gallery {
    display: inline-flex;
    align-items: flex-start;
    gap: 5px;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid #c99200;
    border-radius: 999px;
    background: #fff3bf;
    color: #5c4a00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.25;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgb(92 74 0 / 18%);
}

.kp-staff-visibility--gallery {
    position: absolute;
    top: 16px;
    right: 16px;
    left: auto;
    font-size: 11px;
    padding: 6px 12px;
    max-width: calc(100% - 32px);
}

.kp-staff-visibility__icon {
    display: inline-flex;
    flex-shrink: 0;
    color: #b88600;
}

.kp-staff-visibility--card {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 5px;
}

.kp-staff-visibility__label {
    white-space: normal;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.kp-staff-visibility__reason {
    display: inline;
    padding-left: 4px;
    border-left: 1px solid rgb(92 74 0 / 25%);
    margin-left: 2px;
    font-size: 9px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
}

.kp-staff-visibility--single {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px solid #f0c040;
    border-radius: 8px;
    background: #fffbeb;
    color: #5c4a00;
    font-size: 14px;
    line-height: 1.4;
}

.kp-staff-visibility--single .kp-staff-visibility__badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border: 1px solid #c99200;
    border-radius: 999px;
    background: #fff3bf;
    color: #5c4a00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kp-staff-visibility--single .kp-staff-visibility__detail {
    color: #7a6200;
    font-size: 13px;
}

@media screen and (max-width: 767px) {
    .kp-product-card__badges {
        top: 6px;
        left: 6px;
        right: 6px;
        gap: 4px;
        max-width: calc(100% - 12px);
    }

    .kp-product-card__badge {
        font-size: 10px;
        padding: 3px 8px;
    }

    .kp-staff-visibility--card,
    .kp-staff-visibility--gallery {
        font-size: 9px;
        padding: 4px 8px;
        gap: 4px;
        max-width: 100%;
    }

    .kp-staff-visibility__label,
    .kp-staff-visibility__reason {
        white-space: normal;
    }

    .kp-staff-visibility__reason {
        display: block;
        width: 100%;
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        padding-top: 2px;
    }
}

.kp-product-card__hover {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    background: rgb(0 0 0 / 35%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.kp-product-card:hover .kp-product-card__hover { opacity: 1; }

.kp-product-card__hover-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: auto;
}

.kp-product-card__hover .kp-product-card__actions {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
}

.kp-product-card__view {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.kp-product-card__view:hover { background: var(--kp-blue); color: #fff; }

.kp-product-card__body {
    position: relative;
    z-index: 2;
    padding: 12px 14px 14px;
    flex: 1;
}

.kp-product-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.kp-product-card__brand {
    margin: 0 0 4px;
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kp-orange);
    font-weight: 600;
    text-align: center;
}

.kp-product-card__name {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 400;
    width: 100%;
    text-align: center;
}

.kp-product-card__name a {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    color: #111;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kp-product-card__name a:hover { color: var(--kp-blue); }

.kp-product-card__price {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
    color: #111;
    text-align: center;
    width: 100%;
}

.kp-product-card__price del { color: #aaa; font-size: 13px; font-weight: 400; margin-right: 6px; }
.kp-product-card__price ins { text-decoration: none; color: var(--kp-orange); }

.kp-product-card__actions {
    position: relative;
    z-index: 3;
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    pointer-events: auto;
}

.kp-product-card__hover .kp-product-card__qty {
    background: rgb(255 255 255 / 96%);
    border-color: rgb(255 255 255 / 50%);
}

/* Frosted cart button — all breakpoints (look only; position stays as-is) */
.woocommerce .kp-product-card a.kp-product-card__atc-icon.button,
.woocommerce .kp-product-card .kp-product-card__atc-icon.button,
.kp-product-card__atc-icon,
.kp-product-card__hover .kp-product-card__atc-icon {
    min-height: 0 !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: rgb(255 255 255 / 58%) !important;
    border: 1px solid rgb(255 255 255 / 50%) !important;
    color: #111 !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 14px rgb(0 0 0 / 12%);
    letter-spacing: 0;
    text-transform: none;
}

.woocommerce .kp-product-card a.kp-product-card__atc-icon.button:hover,
.woocommerce .kp-product-card .kp-product-card__atc-icon.button:hover,
.woocommerce .kp-product-card a.kp-product-card__atc-icon.button:active,
.woocommerce .kp-product-card .kp-product-card__atc-icon.button:active,
.kp-product-card__atc-icon:hover,
.kp-product-card__hover .kp-product-card__atc-icon:hover,
.kp-product-card__hover .kp-product-card__atc-icon:active {
    background: rgb(255 255 255 / 78%) !important;
    border-color: rgb(255 255 255 / 65%) !important;
    color: #111 !important;
}

.woocommerce .kp-product-card a.kp-product-card__atc-icon.button.added,
.woocommerce .kp-product-card a.kp-product-card__atc-icon.button.kp-just-added,
.woocommerce .kp-product-card .kp-product-card__atc-icon.button.added,
.woocommerce .kp-product-card .kp-product-card__atc-icon.button.kp-just-added,
.kp-product-card__atc-icon.added,
.kp-product-card__atc-icon.kp-just-added,
.kp-product-card__hover .kp-product-card__atc-icon.added,
.kp-product-card__hover .kp-product-card__atc-icon.kp-just-added {
    background: rgb(255 255 255 / 72%) !important;
    border-color: rgb(255 255 255 / 55%) !important;
    color: #111 !important;
}

.kp-product-card__atc-icon-svg {
    color: #111 !important;
    stroke: currentColor;
}

.kp-product-card__atc-icon-svg circle {
    fill: #111 !important;
    stroke: none;
}

.kp-product-card__qty {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    pointer-events: auto;
}

.kp-product-card__qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 28px;
    padding: 0;
    border: 0;
    background: #f8f8f8;
    color: #333;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.kp-product-card__qty-btn:hover {
    background: #eee;
    color: #111;
}

.kp-product-card__qty-btn--plus.is-disabled,
.kp-product-card__qty-btn--plus.is-disabled:hover {
    opacity: 0.35;
    cursor: not-allowed;
    background: #f8f8f8;
    color: #999;
}

.kp-product-card__qty-input {
    width: 32px;
    height: 28px;
    padding: 0;
    border: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}

.kp-product-card__qty-input::-webkit-outer-spin-button,
.kp-product-card__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kp-product-card__qty-input:focus {
    outline: none;
    background: #f8fbff;
}

.kp-product-card__atc-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    overflow: visible;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.kp-product-card__atc-icon.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* cart SVG visible by default; check SVG hidden */
.kp-product-card__atc-icon-svg {
    display: block;
    flex-shrink: 0;
}

.kp-product-card__atc-icon-svg--cart  { display: block; }
.kp-product-card__atc-icon-svg--check { display: none; }

/* swap icons in added/kp-just-added state */
.kp-product-card__atc-icon.added .kp-product-card__atc-icon-svg--cart,
.kp-product-card__atc-icon.kp-just-added .kp-product-card__atc-icon-svg--cart  { display: none; }
.kp-product-card__atc-icon.added .kp-product-card__atc-icon-svg--check,
.kp-product-card__atc-icon.kp-just-added .kp-product-card__atc-icon-svg--check { display: block; }

/* Pagination */
.kp-shop__pagination {
    margin-top: 48px;
    display: flex;
    justify-content: center;
}

.kp-shop-pagination ul,
.woocommerce-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-pagination ul li { border: 0; }

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 10px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.woocommerce-pagination ul li a:hover { border-color: var(--kp-blue); color: var(--kp-blue); }
.woocommerce-pagination ul li span.current { background: var(--kp-blue); border-color: var(--kp-blue); color: #fff; }

.kp-shop-pagination .page-numbers.dots {
    min-width: 32px;
    border-color: transparent;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.12em;
}

.kp-shop-pagination .page-numbers.prev,
.kp-shop-pagination .page-numbers.next {
    font-size: 18px;
    font-weight: 600;
}

/* No products */
.kp-no-products { padding: 60px 0; text-align: center; color: #666; }

/* =========================================================
   WooCommerce — SIDEBAR / FILTERS
   ========================================================= */

.kp-shop__sidebar {
    position: sticky;
    top: 130px;
    padding: 0;
}

.kp-shop__sidebar-head {
	display: none;
}

.kp-shop__sidebar-close {
	display: none;
}

.kp-filter-block--active { background: #fff9f7; }
.kp-filter-block--active .kp-filter-block__label {
    margin: 0;
    padding: 16px 20px 8px;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--kp-orange);
    font-weight: 700;
}

.kp-filter-block {
    border-bottom: 1px solid #ececec;
}

.kp-filter-block:last-child {
    border-bottom: 0;
}

.kp-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 16px;
}

.kp-active-filter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: #fff;
    border: 1px solid var(--kp-orange);
    color: var(--kp-orange);
    font-size: 12px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.kp-active-filter:hover { background: var(--kp-orange); color: #fff; }

.kp-active-filter--clear {
    border-color: #ccc;
    color: #666;
}

.kp-active-filter--clear:hover { background: #111; border-color: #111; color: #fff; }

.kp-filter-block__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 14px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: #111;
    text-align: left;
    line-height: 1.25;
}

.kp-filter-block__toggle:hover { color: var(--kp-blue); }

.kp-filter-block__chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.kp-filter-block__toggle[aria-expanded="false"] .kp-filter-block__chevron {
    transform: rotate(-90deg);
}

.kp-filter-list {
    list-style: none;
    margin: 0;
    padding: 0 20px 18px;
    display: block;
}

.kp-filter-list[id]:not(.kp-filter-list--child),
#kp-filter-price {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.kp-filter-list.is-collapsed,
#kp-filter-price.is-collapsed {
    max-height: 0 !important;
    opacity: 0;
    padding-bottom: 0;
}

.kp-filter-list--child {
    position: relative;
    padding: 4px 0 2px 14px;
    margin: 2px 0 6px 8px;
    border-left: 1.5px solid #e4e4e4;
}

.kp-filter-item + .kp-filter-item { margin-top: 2px; }

.kp-filter-item__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}

button.kp-filter-item__link {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.kp-filter-item__label {
    flex: 1;
    min-width: 0;
}

#kp-filter-categories > .kp-filter-item > .kp-filter-item__link,
#kp-filter-brands .kp-filter-item__link,
#kp-filter-collections .kp-filter-item__link {
    font-size: 15px;
    padding: 9px 0;
    gap: 9px;
    color: #444;
}

#kp-filter-categories .kp-filter-list--child .kp-filter-item__link {
    font-size: 13.5px;
    padding: 6px 0;
    gap: 8px;
    color: #666;
    font-weight: 400;
}

#kp-filter-categories .kp-filter-item--child.is-active > .kp-filter-item__link {
    color: var(--kp-blue);
    font-weight: 600;
}

#kp-filter-categories .kp-filter-item__checkbox,
#kp-filter-brands .kp-filter-item__checkbox,
#kp-filter-collections .kp-filter-item__checkbox {
    width: 16px;
    height: 16px;
}

#kp-filter-categories .kp-filter-list--child .kp-filter-item__checkbox {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border-color: #d0d0d0;
    background: #fff;
}

#kp-filter-categories .kp-filter-list--child .kp-filter-item__checkbox svg {
    width: 8px;
    height: 7px;
}

.kp-filter-item__link:hover { color: var(--kp-blue); }

.kp-filter-item.is-active > .kp-filter-item__link { color: var(--kp-blue); font-weight: 600; }

.kp-filter-item__count {
    margin-left: auto;
    font-size: 12px;
    color: #aaa;
}

.kp-filter-item__checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1.5px solid #ccc;
    border-radius: 3px;
    background: #fff;
    color: transparent;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

/* Only the selected row's own checkbox — never cascade into child categories. */
.kp-filter-item.is-active > .kp-filter-item__link .kp-filter-item__checkbox {
    border-color: var(--kp-blue);
    background: var(--kp-blue);
    color: #fff;
}

/* Price filter */
.kp-price-filter { padding: 0 20px 20px; }

.kp-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.kp-price-input label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
}

.kp-price-input__wrap {
    position: relative;
}

.kp-price-input__currency {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #888;
    pointer-events: none;
}

.kp-price-input__wrap input {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    color: #111;
    background: #fff;
    appearance: textfield;
    transition: border-color 0.2s;
}

.kp-price-input__wrap input:focus { outline: none; border-color: var(--kp-blue); }

.kp-price-filter__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    background: #111;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.kp-price-filter__submit:hover { background: var(--kp-blue); }

/* =========================================================
   WooCommerce — SINGLE PRODUCT
   ========================================================= */

.kp-single {
    position: relative;
    padding-top: 130px;
    padding-bottom: 80px;
    background: #fff;
}

.kp-single__columns {
    display: none;
}

.kp-single__inner {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

/* Back to shop */
.kp-single__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 10px 18px 10px 14px;
	border: 1px solid #111;
	background: #fff;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #111;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kp-single__back:hover {
	background: var(--kp-blue);
	border-color: var(--kp-blue);
	color: #fff;
	opacity: 1;
}

.kp-single__back svg {
	flex-shrink: 0;
}

.kp-single__breadcrumb {
	margin-bottom: 36px;
	font-size: 13px;
	color: #888;
}

.kp-single__breadcrumb .woocommerce-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.kp-single__breadcrumb a {
	color: #666;
	text-decoration: none;
}

.kp-single__breadcrumb a:hover {
	color: var(--kp-blue);
}

.kp-bc__sep {
	color: #ccc;
}

/* Main grid — gallery column slightly narrower than summary */
.kp-single__product {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: start;
    margin-bottom: 40px;
}

/* Gallery column: images + OPIS tabs underneath */
.kp-single__gallery {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

.kp-single__gallery-media {
    position: relative;
    width: 100%;
}

.kp-single__gallery .woocommerce-product-gallery {
    margin: 0;
    width: 100%;
}

.kp-single__gallery .woocommerce-product-gallery__wrapper {
    border: 0;
    overflow: hidden;
    background: #fff;
    width: 100%;
}

.kp-single__gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.kp-single__gallery .flex-viewport {
    background: #fff;
    border: 0;
    width: 100% !important;
}

.kp-single__gallery .flex-control-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding: 0;
    list-style: none;
}

.kp-single__gallery .flex-control-thumbs li { flex: 0 0 calc(25% - 6px); }

.kp-single__gallery .flex-control-thumbs img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #fff;
    border: 0;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

.kp-single__gallery .flex-control-thumbs img.flex-active,
.kp-single__gallery .flex-control-thumbs img:hover {
    opacity: 1;
}

.kp-single__gallery .woocommerce-product-gallery__image {
    border: 0;
}

.kp-single__gallery .woocommerce-product-gallery > a,
.kp-single__gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}

.kp-single__gallery .zoomImg {
    display: none !important;
}

.kp-single__gallery .woocommerce-product-gallery__image img {
    cursor: default;
    transform: none !important;
}

/* Summary */
.kp-single__summary-inner {}

.kp-single__meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.kp-single__brand {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #fff5f2;
    color: var(--kp-orange);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
}

.kp-single__brand:hover { background: var(--kp-orange); color: #fff; }

.kp-single__cats {
    font-size: 13px;
    color: #888;
}

.kp-single__cats a { color: #888; text-decoration: none; }
.kp-single__cats a:hover { color: var(--kp-blue); }

.kp-single__title {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.15;
    font-weight: 400;
    color: #111;
}

.kp-single__rating { margin-bottom: 16px; }
.kp-single__rating .star-rating { font-size: 14px; }

.kp-single__price { margin-bottom: 20px; }
.kp-single__price .price {
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    color: #111;
}

.kp-single__price .price ins { text-decoration: none; color: var(--kp-orange); }
.kp-single__price .price del { color: #aaa; font-size: 20px; font-weight: 400; margin-right: 8px; }



.kp-single__short-desc {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #555;
}

.kp-single__short-desc p {
    margin: 0 0 12px;
}

.kp-single__short-desc p:last-child {
    margin-bottom: 0;
}

/* Add to cart — single divider above variations / buy */
.kp-single__add-to-cart {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.kp-single__add-to-cart .cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }

.kp-single__add-to-cart .quantity { margin: 0; }

.kp-single__add-to-cart .qty {
    width: 72px;
    min-height: 52px;
    padding: 8px;
    border: 1.5px solid #ddd;
    border-radius: 0;
    text-align: center;
    font-size: 18px;
    color: #111;
    transition: border-color 0.2s;
}

.kp-single__add-to-cart .qty:focus { outline: none; border-color: var(--kp-blue); }

.kp-single__add-to-cart .single_add_to_cart_button,
.kp-single__add-to-cart button[type="submit"] {
    flex: 0 0 auto;
    width: fit-content;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 0;
    background: var(--kp-blue);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.kp-single__add-to-cart .single_add_to_cart_button:hover { background: var(--kp-blue-dark); }

/* Variable product variations — dropdown on all viewports */
.kp-single__add-to-cart .variations_form,
.kp-single__add-to-cart .variations_form.cart {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	width: 100%;
	margin: 0 0 24px;
}

.kp-variations--chips {
	display: none !important;
}

.kp-variation-label {
	width: auto;
	margin: 0;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #888;
}

.kp-variation-selects.variations {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	position: static;
	width: 100%;
	max-width: 420px;
	height: auto;
	overflow: visible;
	clip: auto;
	white-space: normal;
	pointer-events: auto;
}

.kp-variation-select-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	max-width: 420px;
}

.kp-variation-selects select,
.kp-variation-selects .kp-variation-select {
	width: 100%;
	min-height: 48px;
	padding: 10px 40px 10px 14px;
	border: 1.5px solid #ddd;
	border-radius: 0;
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	appearance: none;
	-webkit-appearance: none;
	font-size: 15px;
	color: #222;
	cursor: pointer;
	pointer-events: auto;
}

.kp-variation-selects select:focus {
	outline: none;
	border-color: var(--kp-blue);
}

.kp-variations__reset {
	display: block;
	width: 100%;
	max-width: 420px;
	margin: 10px 0 0;
}

.kp-variations__reset .reset_variations {
	display: inline-block;
	font-size: 12px;
	color: #999;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.kp-variations__reset .reset_variations:hover {
	color: var(--kp-blue);
}

.kp-single__add-to-cart .single_variation_wrap {
	margin-bottom: 16px;
}

.kp-single__add-to-cart .woocommerce-variation-description {
	margin-bottom: 12px;
	font-size: 14px;
	color: #555;
}

.kp-single__add-to-cart .woocommerce-variation-price {
	margin-bottom: 12px;
}

.kp-single__add-to-cart .woocommerce-variation-price .price {
	font-size: 22px;
}

.kp-single__add-to-cart .woocommerce-variation-availability,
.kp-single__add-to-cart > .stock,
.kp-single__add-to-cart .stock.kp-stock {
	display: none !important;
}

.kp-single__add-to-cart .variations_form .single_add_to_cart_button:disabled,
.kp-single__add-to-cart .variations_form .single_add_to_cart_button.disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.kp-variation-purchase-wrap {
	margin-top: 16px;
	width: 100%;
}

.kp-single__add-to-cart .woocommerce-variation.single_variation {
	margin-bottom: 8px;
}

.kp-variation-purchase {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 4px;
	padding-top: 16px;
	border-top: 1px solid #eee;
}

.kp-variation-purchase__meta {
	min-height: 0;
}

.kp-variation-purchase__hint {
	display: none !important;
}

.kp-variation-purchase__selected,
.kp-variation-purchase__selected[hidden],
.kp-variation-purchase__chip {
	display: none !important;
}

.kp-variation-purchase__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.kp-variation-purchase .quantity {
	margin: 0;
}

.kp-variation-purchase .single_add_to_cart_button,
.kp-variation-purchase button[type="submit"] {
	min-height: 48px;
}

/* Cart variation chips */
.kp-cart-variations {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 8px;
}

.kp-cart-variation-chip {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 4px 8px;
	background: #f5f7fa;
	border: 1px solid #e5e7eb;
	font-size: 12px;
	line-height: 1.35;
	color: #374151;
}

.kp-cart-variation-chip__label {
	font-weight: 600;
	color: #6b7280;
}

.kp-cart-variation-chip__value {
	font-weight: 500;
	color: #111;
}

.shop_table .product-name .kp-cart-variations {
	margin-top: 10px;
}

.shop_table .product-name dl.variation {
	display: none;
}

/* Product meta list — no second divider; add-to-cart already has the top rule */
.kp-single__meta-list {
    padding: 20px 0 0;
    border-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* When add-to-cart is missing (prices hidden), keep one divider above meta */
.kp-single__summary-inner > .kp-single__meta-list {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.kp-single__add-to-cart + .kp-single__meta-list {
    margin-top: 0;
    padding-top: 20px;
    border-top: 0;
}

/* Hide empty add-to-cart shell (e.g. out of stock) so it doesn't leave a lone divider + gap */
.kp-single__add-to-cart:not(:has(form.cart, .variations_form, .single_add_to_cart_button, .quantity)) {
	display: none;
}

.kp-single__meta-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    line-height: 22px;
}

.kp-single__meta-label {
    flex-shrink: 0;
    width: 110px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
}

.kp-single__meta-value { color: #333; }
.kp-single__meta-value a { color: var(--kp-blue); text-decoration: none; }
.kp-single__meta-value a:hover { text-decoration: underline; }

/* Product description — accordion (closed by default) */
.kp-single__tabs {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
}

.kp-single__gallery .kp-single__tabs {
    width: 100%;
    max-width: 100%;
}

.kp-single__desc-accordion {
    border: 1px solid #e8e8e8;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
}

.kp-single__desc-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
    transition: background 0.15s ease;
}

.kp-single__desc-summary::-webkit-details-marker {
    display: none;
}

.kp-single__desc-summary::marker {
    content: '';
}

.kp-single__desc-summary:hover {
    background: #fafafa;
}

.kp-single__desc-summary-label {
    flex: 1;
}

.kp-single__desc-chevron {
    flex-shrink: 0;
    color: #666;
    transition: transform 0.2s ease;
}

.kp-single__desc-accordion[open] .kp-single__desc-chevron {
    transform: rotate(180deg);
}

.kp-single__desc-panel {
    padding: 0 16px 18px;
    border-top: 1px solid #f0f0f0;
}

/* Accordion already says Karakteristike — hide duplicate heading inside content */
.kp-single__desc-panel .product-properties-title,
.kp-single__desc-panel h1.product-properties-title,
.kp-single__desc-panel h2.product-properties-title,
.kp-single__desc-panel > .woocommerce-Tabs-panel > h1:first-child,
.kp-single__desc-panel > .woocommerce-Tabs-panel > h2:first-child {
    display: none !important;
}

.kp-single__tabs .woocommerce-tabs {
    background: transparent;
    border: 0;
    overflow: visible;
}

.kp-single__tabs .woocommerce-tabs ul.tabs {
    display: none !important;
}

.kp-single__tabs .woocommerce-tabs .panel {
    display: none !important;
    margin: 0;
    padding: 16px 0 0;
    color: #333;
    line-height: 1.7;
    background: transparent;
    border: 0;
}

.kp-single__tabs .woocommerce-tabs .panel#tab-description,
.kp-single__tabs .woocommerce-tabs #tab-description.panel {
    display: block !important;
}

.kp-single__tabs .woocommerce-tabs .panel > h2:first-child {
    display: none;
}

/* KARAKTERISTIKE tables — same look as ULTRA PROMO PAKET */
.kp-single__tabs .panel .product-properties-title,
.kp-single__tabs .panel h1.product-properties-title,
.kp-single__tabs .panel h1,
.kp-single__tabs .panel h2.product-properties-title {
    display: block;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #111;
    line-height: 1.3;
}

.kp-single__tabs .panel .TableWrapper {
    overflow: hidden;
    border: 0;
    background: transparent;
    max-width: 100%;
    box-shadow: none;
}

.kp-single__tabs .panel .product-properties-table,
.kp-single__tabs .panel .TableWrapper table,
.kp-single__tabs .panel table {
    width: 100%;
    margin: 0 !important;
    padding: 0;
    border-collapse: collapse;
    border-spacing: 0;
    border: 0 !important;
    box-shadow: none !important;
}

.kp-single__tabs .panel .product-properties-table th,
.kp-single__tabs .panel .product-properties-table td,
.kp-single__tabs .panel .TableWrapper th,
.kp-single__tabs .panel .TableWrapper td,
.kp-single__tabs .panel table th,
.kp-single__tabs .panel table td {
    padding: 14px 18px;
    border: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    vertical-align: middle !important;
    text-align: left;
    font-size: 14px;
    line-height: 1.45;
}

.kp-single__tabs .panel .product-properties-table tr:last-child th,
.kp-single__tabs .panel .product-properties-table tr:last-child td,
.kp-single__tabs .panel .TableWrapper tr:last-child th,
.kp-single__tabs .panel .TableWrapper tr:last-child td,
.kp-single__tabs .panel table tr:last-child th,
.kp-single__tabs .panel table tr:last-child td {
    border-bottom: 0 !important;
}

.kp-single__tabs .panel .product-properties-table th,
.kp-single__tabs .panel .TableWrapper th,
.kp-single__tabs .panel table th {
    width: 46%;
    color: #8a8a8a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    background: transparent;
    white-space: nowrap;
}

.kp-single__tabs .panel .product-properties-table td,
.kp-single__tabs .panel .TableWrapper td,
.kp-single__tabs .panel table td {
    color: #222;
    font-weight: 500;
    background: #fff;
}

.kp-single__tabs .panel p {
    margin: 0 0 14px;
    color: #555;
    font-size: 15px;
    line-height: 1.65;
}

.kp-single__tabs .panel p:last-child {
    margin-bottom: 0;
}

.kp-single__tabs .panel ul {
    margin: 0 0 16px;
    padding-left: 1.2em;
    color: #555;
}

@media (max-width: 640px) {
    .kp-single__tabs {
        margin-top: 12px;
    }

    .kp-single__desc-summary {
        padding: 12px 14px;
        font-size: 12px;
        min-height: 48px;
    }

    .kp-single__desc-panel {
        padding: 0 12px 14px;
    }

    .kp-single__tabs .woocommerce-tabs .panel {
        padding: 12px 0 0;
    }

    .kp-single__tabs .panel .product-properties-table,
    .kp-single__tabs .panel .TableWrapper table,
    .kp-single__tabs .panel table,
    .kp-single__tabs .panel .product-properties-table tbody,
    .kp-single__tabs .panel .TableWrapper tbody,
    .kp-single__tabs .panel table tbody {
        display: block;
        width: 100%;
    }

    .kp-single__tabs .panel .product-properties-table tr,
    .kp-single__tabs .panel .TableWrapper tr,
    .kp-single__tabs .panel table tr {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        background: transparent;
        min-height: 0;
        box-sizing: border-box;
    }

    .kp-single__tabs .panel .product-properties-table tr:last-child,
    .kp-single__tabs .panel .TableWrapper tr:last-child,
    .kp-single__tabs .panel table tr:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .kp-single__tabs .panel .product-properties-table tr:first-child,
    .kp-single__tabs .panel .TableWrapper tr:first-child,
    .kp-single__tabs .panel table tr:first-child {
        padding-top: 0;
    }

    .kp-single__tabs .panel .product-properties-table th,
    .kp-single__tabs .panel .product-properties-table td,
    .kp-single__tabs .panel .TableWrapper th,
    .kp-single__tabs .panel .TableWrapper td,
    .kp-single__tabs .panel table th,
    .kp-single__tabs .panel table td {
        display: block;
        width: 100%;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        white-space: normal;
        line-height: 1.4;
    }

    .kp-single__tabs .panel .product-properties-table th,
    .kp-single__tabs .panel .TableWrapper th,
    .kp-single__tabs .panel table th {
        font-size: 10px;
        letter-spacing: 0.06em;
        color: #8a8a8a;
    }

    .kp-single__tabs .panel .product-properties-table td,
    .kp-single__tabs .panel .TableWrapper td,
    .kp-single__tabs .panel table td {
        font-size: 14px;
        color: #222;
        font-weight: 500;
    }

    .kp-single__tabs .panel p {
        font-size: 14px;
        margin-bottom: 10px;
    }
}


/* Related products */
.related.products,
.kp-related {
    margin-top: 80px;
    padding-top: 56px;
    border-top: 1px solid #eee;
}

.kp-related__title,
.related.products > h2 {
    margin: 0 0 36px;
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 400;
    color: #111;
}

.kp-products--related {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.related.products ul.products,
.upsells ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================================================
   WooCommerce — CART
   ========================================================= */

.kp-woo-page {
    padding-top: 130px;
    padding-bottom: 80px;
    background: #fff;
    min-height: 100vh;
}

.kp-woo-page__inner {
    background: #fff;
    padding: 48px clamp(24px, 5vw, 48px);
    border: 0;
}

.kp-woo-page__inner { max-width: 1200px; }

.kp-woo-page__header { margin-bottom: 40px; }

.kp-woo-page__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--kp-blue);
}

.kp-woo-page__eyebrow-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--kp-blue);
    flex-shrink: 0;
}

.kp-woo-page__title {
    margin: 0;
    font-size: clamp(36px, 4.5vw, 56px);
    line-height: 1.15;
    font-weight: 400;
    color: #111;
}

/* Cart layout */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    width: 100%;
}

/* Empty cart — no recommended products below the message */
.wp-block-woocommerce-empty-cart-block > .wp-block-separator,
.wp-block-woocommerce-empty-cart-block > hr.wp-block-separator,
.wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title),
.wp-block-woocommerce-empty-cart-block .wp-block-woocommerce-product-new,
.wp-block-woocommerce-empty-cart-block .wc-block-product-new,
.wp-block-woocommerce-empty-cart-block [class*="wp-block-woocommerce-product-"] {
    display: none !important;
}

/* Cart table */
.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.shop_table th {
    padding: 12px 16px;
    background: #fff;
    border-bottom: 2px solid #e8e8e8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    text-align: left;
}

.shop_table td {
    padding: 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.shop_table tbody tr:hover td { background: #fff; }

.shop_table .product-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border: 1px solid #eee;
}

.shop_table .product-name a {
    color: #111;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
}

.shop_table .product-name a:hover { color: var(--kp-blue); }

.shop_table .product-price,
.shop_table .product-subtotal { font-weight: 500; color: #111; }

/* Qty input in cart */
.shop_table .qty {
    width: 60px;
    min-height: 40px;
    padding: 6px;
    border: 1.5px solid #ddd;
    text-align: center;
    font-size: 15px;
    transition: border-color 0.2s;
}

.shop_table .qty:focus { outline: none; border-color: var(--kp-blue); }

/* Remove link */
.shop_table a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666 !important;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.shop_table a.remove:hover { background: #111; color: #fff !important; }

/* Cart actions */
.cart .actions {
    padding: 20px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

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

.cart .coupon input.input-text {
    flex: 1 1 180px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    font-size: 14px;
    transition: border-color 0.2s;
}

.cart .coupon input.input-text:focus { outline: none; border-color: var(--kp-blue); }

/* Cart collaterals & totals */
.cart-collaterals { margin-top: 40px; }

.cart_totals {
    max-width: 440px;
    margin-left: auto;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.cart_totals h2 {
    margin: 0;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fff;
    color: #111;
    border-bottom: 1px solid #e8e8e8;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals table th,
.cart_totals table td {
    padding: 14px 24px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.cart_totals table th { font-weight: 500; color: #666; width: 40%; }
.cart_totals table .order-total th,
.cart_totals table .order-total td { font-weight: 700; font-size: 18px; background: #fff; }
.cart_totals table .order-total td { color: #111; }

.wc-proceed-to-checkout { padding: 20px 24px; background: #fff; }

.wc-proceed-to-checkout .checkout-button,
.wc-proceed-to-checkout a.button {
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 16px;
    border: 0;
    background: #111;
    color: #fff !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wc-proceed-to-checkout .checkout-button:hover { background: var(--kp-blue); }

/* Cross-sells */
.cross-sells { margin-top: 56px; }
.cross-sells h2 { font-size: 22px; font-weight: 400; margin-bottom: 24px; }

/* =========================================================
   WooCommerce buttons (global override)
   ========================================================= */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce .button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border: 0;
    border-radius: 0;
    background: #111;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover { background: var(--kp-blue); color: #fff !important; }

.woocommerce button[name="update_cart"],
.woocommerce button[name="apply_coupon"] {
    min-height: 48px;
    padding: 12px 24px;
    background: #111;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.woocommerce button[name="update_cart"]:hover,
.woocommerce button[name="apply_coupon"]:hover { background: var(--kp-blue); }

/* =========================================================
   WooCommerce — CHECKOUT (accent: #F15A24)
   ========================================================= */

.woocommerce-checkout .col2-set {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.woocommerce-checkout h3 {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--kp-orange);
}

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

.woocommerce-checkout label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

/* WooCommerce Blocks: order note checkbox (theme label:block was crushing spacing) */
.wc-block-checkout__add-note,
.wp-block-woocommerce-checkout-order-note-block {
    margin: 20px 0 8px;
    padding: 16px 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
}

.wc-block-checkout__add-note .wc-block-components-checkbox,
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-checkbox {
    margin: 0;
}

.woocommerce-checkout .wc-block-components-checkbox label,
.wc-block-checkout .wc-block-components-checkbox label,
.wp-block-woocommerce-checkout .wc-block-components-checkbox label {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    margin: 0 !important;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: #222;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input,
.wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input,
.wp-block-woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input {
    flex-shrink: 0;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    min-height: 20px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border: 1.5px solid #bbb !important;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    cursor: pointer;
    box-shadow: none !important;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input:checked,
.wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input:checked,
.wp-block-woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input:checked {
    background: var(--kp-orange, #f5a623);
    border-color: var(--kp-orange, #f5a623) !important;
}

.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label,
.wc-block-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label,
.wp-block-woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__label {
    flex: 1;
    padding: 0;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    line-height: inherit;
}

.wc-block-checkout__add-note .wc-block-components-textarea,
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-textarea,
.wc-block-checkout__add-note textarea,
.wp-block-woocommerce-checkout-order-note-block textarea {
    margin-top: 12px;
    width: 100%;
    min-height: 96px;
    padding: 12px 14px;
    border: 1.5px solid #ddd;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #111;
    background: #fff;
    resize: vertical;
}

.wc-block-checkout__add-note .wc-block-components-textarea:focus,
.wp-block-woocommerce-checkout-order-note-block .wc-block-components-textarea:focus,
.wc-block-checkout__add-note textarea:focus,
.wp-block-woocommerce-checkout-order-note-block textarea:focus {
    outline: none;
    border-color: var(--kp-orange, #f5a623);
}

/* Classic checkout order notes */
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #order_comments_field {
    margin-top: 8px;
}

.woocommerce-checkout #order_comments_field label {
    margin-bottom: 10px;
}

.woocommerce-checkout #order_comments {
    min-height: 96px;
}

.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    font-size: 14px;
    color: #111;
    background: #fff;
    transition: border-color 0.2s;
}

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

.woocommerce-checkout #order_review_heading {
    margin-top: 40px;
}

.woocommerce-checkout .woocommerce-checkout-review-order {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table td,
.woocommerce-checkout .shop_table.woocommerce-checkout-review-order-table th {
    padding: 14px 20px;
}

/*
 * Block checkout renders order summary twice (sidebar + mobile fill slot).
 * WooCommerce hides the duplicate via @container queries; fall back to viewport
 * media queries so only one summary stays visible.
 */
@media (min-width: 700px) {
    .wp-block-woocommerce-checkout .checkout-order-summary-block-fill-wrapper {
        display: none !important;
    }
}

@media (max-width: 699px) {
    .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-totals-block {
        display: none !important;
    }
}

/* Classic shortcode checkout order review alongside block checkout */
.woocommerce-checkout:has(.wp-block-woocommerce-checkout) #order_review,
.woocommerce-checkout:has(.wp-block-woocommerce-checkout) #order_review_heading {
    display: none !important;
}

#place_order {
    display: block;
    width: 100%;
    min-height: 58px;
    padding: 16px;
    border: 0;
    background: var(--kp-orange);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s;
}

#place_order:hover { background: var(--kp-orange-dark); }

/* ── Cart / error toast notifications ── */
.kp-cart-toast-host {
    position: fixed !important;
    z-index: 2147483646 !important;
    right: 20px !important;
    bottom: 24px !important;
    width: min(400px, calc(100vw - 32px));
    pointer-events: none !important;
    display: flex !important;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
    visibility: visible !important;
}

.kp-cart-toast {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 24px 60px rgb(0 0 0 / 18%),
        0 0 0 1px rgb(0 0 0 / 6%);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.98);
    transition:
        opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.35s;
    pointer-events: auto;
    flex-shrink: 0;
}

.kp-cart-toast--visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
}

.kp-cart-toast__progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #eef2f8;
}

.kp-cart-toast__progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--kp-blue), #4d9aff);
    transition: width 0.1s linear;
}

.kp-cart-toast--error .kp-cart-toast__progress span {
    background: linear-gradient(90deg, #e53e3e, #f87171);
}

.kp-cart-toast--error {
    box-shadow:
        0 24px 60px rgb(229 62 62 / 18%),
        0 0 0 1px rgb(229 62 62 / 12%);
}

.kp-cart-toast__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: #f4f6f9;
    color: #666;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.kp-cart-toast__close:hover {
    background: #e8edf5;
    color: #111;
}

.kp-cart-toast__content {
    display: flex;
    gap: 14px;
    padding: 18px 44px 14px 16px;
}

.kp-cart-toast__thumb {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f5f8;
    border: 1px solid #e8edf2;
}

.kp-cart-toast__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kp-cart-toast__thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eef2f8, #f8fafc);
}

.kp-cart-toast__badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: var(--kp-blue);
    color: #fff;
    box-shadow: 0 4px 10px rgb(25 120 230 / 35%);
}

.kp-cart-toast--error .kp-cart-toast__badge {
    background: #e53e3e;
    box-shadow: 0 4px 10px rgb(229 62 62 / 35%);
}

.kp-cart-toast--error .kp-cart-toast__eyebrow {
    color: #c53030;
}

.kp-cart-toast__text {
    min-width: 0;
    padding-top: 2px;
}

.kp-cart-toast__eyebrow {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--kp-blue);
}

.kp-cart-toast__title {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kp-cart-toast__meta {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #6b7280;
}

.kp-cart-toast--error .kp-cart-toast__meta {
    color: #7a2e2e;
}

.kp-cart-toast__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 16px 16px;
}

.kp-cart-toast__actions--single {
    grid-template-columns: 1fr;
}

.kp-cart-toast__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kp-cart-toast__btn--primary {
    background: var(--kp-blue);
    color: #fff !important;
    border: 1px solid var(--kp-blue);
}

.kp-cart-toast__btn--primary:hover {
    background: var(--kp-blue-dark);
    border-color: var(--kp-blue-dark);
}

.kp-cart-toast--error .kp-cart-toast__btn--primary {
    background: #e53e3e;
    border-color: #e53e3e;
}

.kp-cart-toast--error .kp-cart-toast__btn--primary:hover {
    background: #c53030;
    border-color: #c53030;
}

.kp-cart-toast__btn--ghost {
    background: #fff;
    color: #333;
    border: 1px solid #dde3ec;
}

.kp-cart-toast__btn--ghost:hover {
    border-color: #b8c4d6;
    background: #f8fafc;
}

.kp-cart-toast__btn--full {
    width: 100%;
}

a.added_to_cart.wc-forward,
.woocommerce-notices-wrapper .woocommerce-error[data-kp-absorbed],
.woocommerce-notices-wrapper .woocommerce-message[data-kp-absorbed] {
    display: none !important;
}

@media screen and (max-width: 767px) {
    .kp-cart-toast-host {
        right: 12px;
        left: 12px;
        bottom: 16px;
        width: auto;
    }

    .kp-cart-toast__actions:not(.kp-cart-toast__actions--single) {
        grid-template-columns: 1fr;
    }
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    list-style: none;
}

.woocommerce-message { background: #fff5f2; border-left: 4px solid var(--kp-orange); color: #333; }
.woocommerce-info { background: #eef5ff; border-left: 4px solid var(--kp-blue); color: #333; }
.woocommerce-error { background: #fff0f0; border-left: 4px solid #e53e3e; color: #333; }

.woocommerce-message a.button,
.woocommerce-info a.button {
    background: var(--kp-orange);
    margin-left: 12px;
    min-height: 36px;
    padding: 8px 16px;
}

/* Sale badge */
.woocommerce span.onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    min-width: auto;
    min-height: auto;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--kp-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Star rating */
.star-rating { color: var(--kp-orange) !important; }

/* =========================================================
   Responsive
   ========================================================= */

@media screen and (max-width: 1199px) {
    .kp-shop__layout { grid-template-columns: 240px minmax(0, 1fr); gap: 32px; }
    .kp-shop .kp-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media screen and (max-width: 989px) {
    .kp-shop__layout { grid-template-columns: 1fr; }
    .kp-shop .kp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .kp-shop__sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 10060;
        width: min(86vw, 340px);
        max-width: 340px;
        transform: translateX(-105%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        background: #fff;
        box-shadow: 4px 0 32px rgb(0 0 0 / 28%);
        padding-top: env(safe-area-inset-top, 0px);
    }

    .kp-shop__sidebar.is-open {
        transform: translateX(0);
    }

    .kp-shop__sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 10050;
        background: rgb(0 0 0 / 62%);
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }

    .kp-shop__sidebar-overlay.is-visible { display: block; }

    .kp-filter-toggle { display: flex; }

    /* Keep model search pinned + stable while mobile keyboard is open */
    body.kp-shop-search-focused .kp-shop__controls {
        position: sticky;
        top: 0;
        z-index: 40;
        background: #fff;
        padding: 10px 0 12px;
        margin-bottom: 16px;
        box-shadow: 0 8px 16px rgb(255 255 255 / 92%);
    }

    body.kp-shop-search-focused .kp-shop__toolbar {
        margin-bottom: 12px;
    }

    body.kp-filters-open .header-bar,
    body.kp-filters-open .header-bar__logo,
    body.kp-filters-open .header-bar__actions,
    body.kp-filters-open .header-menu,
    body.kp-filters-open .menu-toggle {
        pointer-events: none;
    }

    .kp-shop__sidebar-inner {
        border: 0;
        border-radius: 0;
        min-height: 100%;
        padding-top: 12px;
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .kp-shop__sidebar .kp-filter-block__toggle {
        min-height: 52px;
        padding: 14px 18px;
        font-size: 1rem;
    }

    .kp-shop__sidebar .kp-filter-item__link {
        min-height: 48px;
        padding: 12px 18px;
        font-size: .98rem;
        align-items: center;
    }

    .kp-shop__sidebar #kp-filter-categories .kp-filter-list--child {
        margin-left: 18px;
        padding-left: 12px;
    }

    .kp-shop__sidebar #kp-filter-categories .kp-filter-list--child .kp-filter-item__link {
        min-height: 40px;
        padding: 8px 12px 8px 0;
        font-size: .92rem;
    }

    .kp-shop__sidebar .kp-filter-item__checkbox {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .kp-shop__sidebar #kp-filter-categories .kp-filter-list--child .kp-filter-item__checkbox {
        width: 16px;
        height: 16px;
    }

    .kp-shop__sidebar-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 16px 14px;
        border-bottom: 1px solid #ececec;
        margin-bottom: 4px;
        position: sticky;
        top: 0;
        z-index: 2;
        background: #fff;
    }

    .kp-shop__sidebar-title {
        margin: 0;
        font-size: 1.05rem;
        font-weight: 700;
        color: #111;
    }

    .kp-shop__sidebar-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        background: #fff;
        color: #374151;
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
    }

    .kp-shop__sidebar-close:hover {
        border-color: #cbd5e1;
        color: #111;
    }

    .kp-single__product {
        grid-template-columns: 1fr;
    }

    /* Flatten gallery so tabs can go after summary on mobile */
    .kp-single__gallery {
        display: contents;
        position: static;
        max-width: none;
    }

    .kp-single__gallery-media {
        order: 1;
    }

    .kp-single__summary {
        order: 2;
    }

    .kp-single__gallery .kp-single__tabs,
    .kp-single__tabs {
        order: 3;
        margin-top: 8px;
    }

    .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }

    .related.products ul.products,
    .kp-products--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 767px) {
    .kp-shop { padding-top: 100px; padding-bottom: 60px; }
    .kp-single { padding-top: 100px; padding-bottom: 60px; }
    .kp-woo-page { padding-top: 100px; padding-bottom: 60px; }
    .kp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .kp-product-card__body { padding: 10px 10px 12px; }
    .kp-product-card__name { font-size: 13px; }
    .kp-product-card__brand { font-size: 10px; }
    .kp-product-card__price { font-size: 13px; }
    .kp-product-card__atc-icon { width: 40px; height: 40px; border-radius: 12px; }
    .kp-product-card__atc-icon-svg { width: 20px; height: 20px; }
    .kp-product-card__qty-btn { width: 24px; height: 26px; font-size: 13px; }
    .kp-product-card__qty-input { width: 28px; height: 26px; font-size: 12px; }

    /* Cart floats on image (bottom-right), frosted glass — no gray action bar */
    .kp-product-card__media {
        isolation: isolate;
    }

    .kp-product-card__hover {
        opacity: 1;
        position: absolute;
        inset: 0;
        background: transparent;
        border-top: 0;
        padding: 0;
        pointer-events: none;
    }

    .kp-product-card__hover-inner {
        position: static;
        height: 100%;
        width: 100%;
        pointer-events: none;
    }

    .kp-product-card__hover .kp-product-card__actions {
        position: absolute;
        right: 8px;
        bottom: 8px;
        left: auto;
        transform: none;
        gap: 6px;
        pointer-events: auto;
        z-index: 5;
    }

    .kp-product-card__view { display: none; }

    .kp-product-card__hover .kp-product-card__qty {
        display: none;
    }

    .kp-product-card--out-of-stock .kp-product-card__hover {
        display: none;
    }

    .kp-product-card--no-image .kp-product-card__hover {
        position: relative;
        inset: auto;
        min-height: 0;
        padding: 8px 10px 10px;
        pointer-events: auto;
    }

    .kp-product-card--no-image .kp-product-card__hover .kp-product-card__actions {
        position: static;
        justify-content: flex-end;
    }

    .kp-shop__tags {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .kp-shop__tags::-webkit-scrollbar { display: none; }

    .cart_totals { max-width: none; }

    .shop_table thead { display: none; }
    .shop_table tr { display: block; padding: 12px 0; border-bottom: 1px solid #eee; }
    .shop_table td { display: block; padding: 8px 12px; border: 0; }
    .shop_table td::before {
        content: attr(data-title) ': ';
        font-weight: 600;
        font-size: 12px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #888;
    }

    .related.products ul.products,
    .kp-products--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Keep shop at 2 columns on all phone sizes */
@media screen and (max-width: 480px) {
    .kp-shop .kp-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   B2B — display toggles & hidden prices
   ========================================================= */

body.kp-prices-hidden .price,
body.kp-prices-hidden .kp-product-card__price,
body.kp-prices-hidden .kp-single__price,
body.kp-prices-hidden .woocommerce-Price-amount,
body.kp-prices-hidden .amount,
body.kp-prices-hidden .cart_totals .amount,
body.kp-prices-hidden .product-price,
body.kp-prices-hidden .product-subtotal,
body.kp-prices-hidden .product-total,
body.kp-prices-hidden .kp-product-card__badge,
body.kp-prices-hidden span.onsale,
body.kp-prices-hidden .woocommerce-cart-form thead .product-price,
body.kp-prices-hidden .woocommerce-cart-form thead .product-subtotal,
body.kp-prices-hidden .woocommerce-cart-form tbody .product-price,
body.kp-prices-hidden .woocommerce-cart-form tbody .product-subtotal,
body.kp-prices-hidden .woocommerce-checkout-review-order-table .product-total,
body.kp-prices-hidden .cart-subtotal,
body.kp-prices-hidden .order-total,
body.kp-prices-hidden .tax-total,
body.kp-prices-hidden .fee,
body.kp-prices-hidden .shipping {
    display: none !important;
}

body.kp-prices-hidden .header-cart,
body.kp-prices-hidden .kp-menu-cart {
	display:none!important;
}

body.kp-prices-hidden .kp-product-card__actions .price {
	display: none !important;
}

body.kp-prices-hidden .kp-product-card__actions,
body.kp-prices-hidden .kp-single__add-to-cart,
body.kp-prices-hidden form.cart,
body.kp-prices-hidden .single_add_to_cart_button,
body.kp-prices-hidden .add_to_cart_button {
	display:none!important;
}

body.kp-prices-hidden .kp-single__qty-row {
	display:none!important;
}

body.kp-prices-hidden .woocommerce-variation-price {
    display: none !important;
}

body.kp-prices-hidden .kp-filter-item--mpc,
body.kp-prices-hidden .kp-single__meta-item--mpc,
body.kp-prices-hidden .kp-single__cats .mpc-category,
body.kp-prices-hidden a[href*="product_cat=mpc"],
body.kp-prices-hidden a[href*="/mpc/"] {
    display: none !important;
}

body.kp-mpc-hidden .kp-filter-item--mpc,
body.kp-mpc-hidden .kp-single__meta-item--mpc,
body.kp-mpc-hidden .kp-single__cats .mpc-category,
body.kp-mpc-hidden a[href*="product_cat=mpc"],
body.kp-mpc-hidden a[href*="/mpc/"] {
    display: none !important;
}

.kp-display-settings {
    max-width: 720px;
}

.kp-display-settings--dashboard {
    margin-bottom: 40px;
    padding: 28px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.kp-display-settings__heading {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 400;
    color: #111;
}

.kp-display-settings__intro {
    margin: 0 0 28px;
    color: #4a4a4a;
    line-height: 1.6;
}

.kp-display-settings__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kp-display-settings__item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.kp-display-settings__item:last-child {
    border-bottom: 0;
}

.kp-display-settings__item-text h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 500;
    color: #111;
}

.kp-display-settings__item-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.kp-display-settings__more {
    margin: 20px 0 0;
    font-size: 14px;
}

.kp-display-settings__more a {
    color: var(--kp-blue);
    text-decoration: none;
}

.kp-display-settings__more a:hover {
    text-decoration: underline;
}

.kp-toggle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #111;
}

.kp-toggle__track {
    position: relative;
    width: 52px;
    height: 30px;
    border-radius: 999px;
    background: #ccc;
    transition: background-color 0.25s ease;
}

.kp-toggle.is-on .kp-toggle__track {
    background: var(--kp-blue);
}

.kp-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
    transition: transform 0.25s ease;
}

.kp-toggle.is-on .kp-toggle__thumb {
    transform: translateX(22px);
}

.kp-toggle__label {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* My Account navigation */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e8e8e8;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    border-bottom: 1px solid #eee;
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
    border-bottom: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 14px 18px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: background 0.2s, color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #f5f9ff;
    color: var(--kp-blue);
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #b91c1c;
    font-weight: 600;
}

.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout.is-active a {
    background: #fef2f2;
    color: #991b1b;
}

.kp-account-nav-toggle {
    display: none;
}

@media screen and (max-width: 989px) {
    .woocommerce-account:not(.woocommerce-view-order) .kp-woo-page__header {
        display: none;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin: 0 0 22px;
        position: relative;
        z-index: 40;
        overflow: visible;
    }

    .kp-account-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        min-height: 52px;
        padding: 12px 16px;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        background: #fff;
        color: #111;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        cursor: pointer;
        box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    }

    .kp-account-nav-toggle__label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .kp-account-nav-toggle svg {
        flex-shrink: 0;
        width: 18px;
        height: 18px;
        color: #6b7280;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation.is-open .kp-account-nav-toggle {
        border-color: #93c5fd;
        box-shadow: 0 0 0 3px rgba(25, 120, 230, .18);
        color: var(--kp-blue);
    }

    .woocommerce-account .woocommerce-MyAccount-navigation.is-open .kp-account-nav-toggle svg {
        color: var(--kp-blue);
    }

    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 50;
        max-height: min(60vh, 420px);
        margin: 0;
        padding: 6px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 32px rgba(15, 23, 42, .14);
    }

    .woocommerce-account .woocommerce-MyAccount-navigation.is-open ul {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li {
        border-bottom: 0;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 48px;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
        background: #eff6ff;
        color: #1d4ed8;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::after {
        content: "✓";
        font-weight: 700;
        color: #1d4ed8;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation a:hover {
        background: #f3f4f6;
        color: #111;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover {
        background: #eff6ff;
        color: #1d4ed8;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a:hover,
    .woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout.is-active a {
        background: #fef2f2;
        color: #991b1b;
    }
}

.woocommerce-account .woocommerce-MyAccount-content {
    padding-left: 0;
}

@media screen and (min-width: 990px) {
    .woocommerce-account .woocommerce {
        display: grid;
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 48px;
        align-items: start;
    }
}

/* Account forms — address & order details */
.kp-account-form,
.kp-account-addresses {
    max-width: 720px;
}

.kp-account-role {
    margin: -4px 0 20px;
}

.kp-account-role__badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.kp-account-form__section + .kp-account-form__section {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.kp-account-form__title {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
}

.kp-account-form__hint {
    margin: -8px 0 16px;
    font-size: 14px;
    color: #666;
}

.kp-account-form .form-row {
    margin-bottom: 16px;
}

.kp-account-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.kp-account-form input[type="text"],
.kp-account-form input[type="email"],
.kp-account-form input[type="tel"],
.kp-account-form input[type="password"],
.kp-account-form select,
.kp-account-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    font-size: 14px;
    color: #111;
    background: #fff;
    transition: border-color 0.2s;
}

.kp-account-form input:focus,
.kp-account-form select:focus,
.kp-account-form textarea:focus {
    outline: none;
    border-color: var(--kp-orange);
}

.kp-account-form__grid .form-row-first,
.kp-account-form__grid .form-row-last {
    width: 100%;
}

@media screen and (min-width: 640px) {
    .kp-account-form__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 20px;
    }

    .kp-account-form__grid .form-row-wide {
        grid-column: 1 / -1;
    }
}

.kp-account-form__actions {
    margin-top: 28px;
}

.kp-account-form__submit {
    min-height: 52px;
    padding: 14px 28px;
    border: 0;
    background: var(--kp-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.kp-account-form__submit:hover {
    background: var(--kp-orange-dark);
}

.kp-account-addresses__intro {
    margin: 0 0 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.kp-account-addresses__grid {
    display: grid;
    gap: 20px;
}

@media screen and (min-width: 768px) {
    .kp-account-addresses__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.kp-account-address-card {
    border: 1px solid #e8e8e8;
    background: #fafafa;
    padding: 20px;
}

.kp-account-address-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
}

.kp-account-address-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.kp-account-address-card__edit {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--kp-blue);
    text-decoration: none;
}

.kp-account-address-card__edit:hover {
    color: var(--kp-orange);
}

.kp-account-address-card__body {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.kp-account-address-card__empty {
    margin: 0;
    color: #888;
    font-style: italic;
}

/* =========================================================
   WooCommerce — ORDER RECEIVED
   ========================================================= */

.woocommerce-order-received .woocommerce {
    max-width: 900px;
    margin: 0 auto;
}

.kp-order-received {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.kp-order-received__success {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 32px;
    border: 1px solid #d9ebff;
    background: #f5f9ff;
}

.kp-order-received__success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--kp-blue);
    color: #fff;
}

.kp-order-received__success-title {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.2;
    font-weight: 400;
    color: #111;
}

.kp-order-received__success .woocommerce-thankyou-order-received {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
}

.kp-order-received__overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.kp-order-received__overview-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.kp-order-received__overview-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
}

.kp-order-received__overview-value {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: #111;
}

.kp-order-received__details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.kp-order-details__title,
.kp-order-customer__title {
    margin: 0 0 20px;
    font-size: 22px;
    font-weight: 400;
    color: #111;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8e8e8;
}

.kp-order-details__table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e8e8e8;
}

.kp-order-details__table thead th {
    padding: 14px 18px;
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    text-align: left;
}

.kp-order-details__table tbody td,
.kp-order-details__table tfoot th,
.kp-order-details__table tfoot td {
    padding: 16px 18px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-size: 15px;
    color: #333;
}

.kp-order-details__table tbody tr:last-child td {
    border-bottom: 1px solid #e8e8e8;
}

.kp-order-details__table tfoot th {
    font-weight: 600;
    color: #666;
    width: 40%;
}

.kp-order-details__table tfoot tr:last-child th,
.kp-order-details__table tfoot tr:last-child td {
    font-weight: 700;
    font-size: 17px;
    background: #fafafa;
}

.kp-order-details__table .product-name a {
    color: #111;
    text-decoration: none;
    font-weight: 500;
}

.kp-order-details__table .product-name a:hover {
    color: var(--kp-blue);
}

.kp-order-details__table .product-quantity {
    font-weight: 400;
    color: #888;
}

.kp-order-customer {
    margin-top: 8px;
}

.kp-order-customer__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.kp-order-customer__col,
.kp-order-customer__single {
    padding: 24px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.kp-order-customer__address {
    font-style: normal;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

.kp-order-customer__address p {
    margin: 8px 0 0;
}

.kp-order-received__footer-actions,
.kp-order-received__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.kp-order-received__notice {
    padding: 24px;
    border: 1px solid #f5c6c6;
    background: #fff5f5;
}

.kp-order-received__notice--error p {
    margin: 0 0 16px;
    color: #333;
}

.kp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 1px solid #111;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.kp-btn--primary {
    background: #111;
    color: #fff;
    border-color: #111;
}

.kp-btn--primary:hover {
    background: var(--kp-blue);
    border-color: var(--kp-blue);
    color: #fff;
}

.kp-btn--secondary {
    background: #fff;
    color: #111;
    border-color: #111;
}

.kp-btn--secondary:hover {
    background: #111;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .kp-order-received__success {
        flex-direction: column;
        padding: 22px 20px;
    }

    .kp-order-received__overview {
        grid-template-columns: 1fr;
    }

    .kp-order-customer__grid {
        grid-template-columns: 1fr;
    }

    .kp-order-received__footer-actions .kp-btn,
    .kp-order-received__actions .kp-btn {
        width: 100%;
    }

    .kp-view-order {
        gap: 20px;
    }

    .kp-order-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 16px 18px;
    }

    .kp-order-details__title,
    .kp-order-customer__title {
        font-size: 18px;
    }

    .kp-order-details__table thead {
        display: none;
    }

    .kp-order-details__table tbody tr {
        display: block;
        padding: 14px 16px;
        border-bottom: 1px solid #eee;
    }

    .kp-order-details__table tbody td {
        display: block;
        padding: 0;
        border: 0;
    }

    .kp-order-details__table tbody td.product-total {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px dashed #e8e8e8;
        font-weight: 600;
    }

    .kp-order-details__table tbody td.product-total::before {
        content: 'Ukupno: ';
        font-weight: 700;
        font-size: 11px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #888;
    }

    .kp-order-details__table tfoot tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        padding: 12px 16px;
        border-bottom: 1px solid #eee;
    }

    .kp-order-details__table tfoot th,
    .kp-order-details__table tfoot td {
        display: block;
        padding: 0;
        border: 0;
        width: auto;
        font-size: 14px;
    }

    .kp-order-details__table tfoot tr:last-child th,
    .kp-order-details__table tfoot tr:last-child td {
        font-size: 16px;
    }

    .kp-order-details__table tfoot .order-actions-button {
        display: block;
        width: 100%;
        margin-top: 8px;
        text-align: center;
    }

    .kp-account-form__submit,
    .kp-account-address-card__edit {
        width: 100%;
        text-align: center;
    }

    .woocommerce-account .woocommerce-MyAccount-content > h2,
    .woocommerce-account .woocommerce-MyAccount-content > h3 {
        font-size: 1.25rem;
    }

    .kp-view-order__updates-title {
        font-size: 1.15rem;
    }
}

/* =========================================================
   WooCommerce — VIEW ORDER & ORDERS LIST
   ========================================================= */

.woocommerce-account .woocommerce-MyAccount-content {
    max-width: 960px;
}

.kp-view-order {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.kp-view-order__back {
    margin: 0;
}

.kp-view-order__back a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--kp-blue);
    text-decoration: none;
}

.kp-view-order__back a:hover {
    opacity: 0.8;
}

.kp-order-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    border: 1px solid #e8e8e8;
    background: #fff;
}

.kp-order-status__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
}

.kp-order-status__value {
    font-size: 16px;
    font-weight: 600;
    color: #111;
}

.kp-order-status--processing .kp-order-status__value,
.kp-order-status--completed .kp-order-status__value {
    color: var(--kp-blue);
}

.kp-order-status--cancelled .kp-order-status__value,
.kp-order-status--failed .kp-order-status__value {
    color: #c0392b;
}

.kp-order-status--pending .kp-order-status__value,
.kp-order-status--on-hold .kp-order-status__value {
    color: #d97706;
}

.kp-view-order__updates-title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 400;
    color: #111;
}

.kp-view-order__updates-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kp-view-order__update {
    padding: 18px 20px;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

.kp-view-order__update-date {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}

.kp-view-order__update-text {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.kp-view-order__update-text p:last-child {
    margin-bottom: 0;
}

/* Orders list table */
.kp-orders-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e8e8e8;
}

.kp-orders-table thead th {
    padding: 14px 16px;
    background: #f8f8f8;
    border-bottom: 1px solid #e8e8e8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    text-align: left;
}

.kp-orders-table tbody td,
.kp-orders-table tbody th {
    padding: 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    font-size: 15px;
    color: #333;
}

.kp-orders-table tbody tr:hover td,
.kp-orders-table tbody tr:hover th {
    background: #fafafa;
}

.kp-orders-table__number {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.kp-orders-table__number:hover {
    color: var(--kp-blue);
}

.kp-orders-table__identity {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.kp-orders-table__types {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.kp-order-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.kp-order-type__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.kp-order-type--presentation {
    border-color: #ddd6fe;
    background: #f5f3ff;
    color: #6d28d9;
}

.kp-order-type--reklamacija {
    border-color: #fecaca;
    background: #fef2f2;
    color: #dc2626;
}

.kp-order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #f3f3f3;
    color: #555;
}

.kp-order-status-badge--processing,
.kp-order-status-badge--completed {
    background: #eef5ff;
    color: var(--kp-blue);
}

.kp-order-status-badge--pending,
.kp-order-status-badge--on-hold {
    background: #fff8eb;
    color: #d97706;
}

.kp-order-status-badge--cancelled,
.kp-order-status-badge--failed {
    background: #fff0f0;
    color: #c0392b;
}

.kp-order-status-badge--processing,
.kp-order-status-badge--primljeno,
.kp-order-status-badge--izdvajanje,
.kp-order-status-badge--nepotpune,
.kp-order-status-badge--partial,
.kp-order-status-badge--ordered {
    background: #eef5ff;
    color: var(--kp-blue);
}

.kp-order-status-badge--admin {
    background: #fce7f3;
    color: #9d174d;
}

.kp-order-status-badge--done,
.kp-order-status-badge--completed {
    background: #dcfce7;
    color: #15803d;
}

.kp-orders-table__split {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.02em;
}

.kp-view-order__split {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.kp-view-order__fulfillment {
    margin-top: 16px;
}

.kp-fulfillment {
    padding: 18px 20px;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

.kp-fulfillment__label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.kp-fulfillment__label-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kp-blue);
}

.kp-fulfillment--done .kp-fulfillment__label-dot { background: #16a34a; }
.kp-fulfillment--warning .kp-fulfillment__label-dot { background: #ea580c; }

.kp-fulfillment__hint {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.kp-shipment {
    margin: 0 0 28px;
    padding: 20px 22px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
}

.kp-shipment__title {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 600;
    color: #111;
}

.kp-shipment__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.kp-shipment__card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    text-align: center;
}

.kp-shipment__val {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
}

.kp-shipment__lbl {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.kp-shipment__card--sent .kp-shipment__val { color: #15803d; }
.kp-shipment__card--waiting .kp-shipment__val { color: #c2410c; }
.kp-shipment__card--cancelled .kp-shipment__val { color: #64748b; }

.kp-shipment-lines {
    margin-top: 20px;
}

.kp-shipment-lines__title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.kp-shipment-lines__wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.kp-shipment-lines__table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.kp-shipment-lines__table th,
.kp-shipment-lines__table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
}

.kp-shipment-lines__table th {
    background: #f8fafc;
    font-size: .72rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
}

.kp-shipment-lines__table tr:last-child td {
    border-bottom: 0;
}

.kp-shipment-lines__sku {
    display: block;
    margin-top: 2px;
    font-size: .78rem;
    color: #64748b;
    font-weight: 400;
}

.kp-shipment-lines__badge {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    white-space: nowrap;
}

.kp-shipment-lines__badge--sent,
.kp-shipment-lines__badge--partial_done {
    background: #ecfdf5;
    color: #15803d;
}

.kp-shipment-lines__badge--waiting,
.kp-shipment-lines__badge--partial,
.kp-shipment-lines__badge--ordered {
    background: #fff7ed;
    color: #c2410c;
}

.kp-shipment-lines__badge--cancelled {
    background: #f1f5f9;
    color: #64748b;
}

.kp-shipment-lines__badge--pending {
    background: #eef5ff;
    color: var(--kp-blue);
}

@media screen and (max-width: 767px) {
    .kp-shipment__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kp-shipment-lines__table thead {
        display: none;
    }

    .kp-shipment-lines__table,
    .kp-shipment-lines__table tbody,
    .kp-shipment-lines__table tr,
    .kp-shipment-lines__table td {
        display: block;
        width: 100%;
    }

    .kp-shipment-lines__table tr {
        padding: 12px;
        border-bottom: 1px solid #e2e8f0;
    }

    .kp-shipment-lines__table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        padding: 4px 0;
        border: 0;
    }

    .kp-shipment-lines__table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: .75rem;
        text-transform: uppercase;
        letter-spacing: .03em;
        flex: 0 0 auto;
    }
}

.kp-fulfillment__track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 4px;
}

.kp-fulfillment__step {
    flex: 1;
    min-width: 72px;
    text-align: center;
    position: relative;
}

.kp-fulfillment__step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 11px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 0;
}

.kp-fulfillment__step.is-done:not(:last-child)::after { background: #86efac; }

.kp-fulfillment__dot {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #cbd5e1;
    font-size: 11px;
    line-height: 20px;
    color: #94a3b8;
}

.kp-fulfillment__step.is-done .kp-fulfillment__dot {
    background: #dcfce7;
    border-color: #22c55e;
    color: #15803d;
}

.kp-fulfillment__step.is-current .kp-fulfillment__dot {
    background: #3b82f6;
    border-color: #2563eb;
    color: #fff;
}

.kp-fulfillment__name {
    font-size: 11px;
    color: #64748b;
    line-height: 1.2;
    padding: 0 2px;
}

.kp-fulfillment__step.is-current .kp-fulfillment__name {
    color: #1d4ed8;
    font-weight: 600;
}

.kp-btn--small {
    min-height: 40px;
    padding: 8px 16px;
    font-size: 11px;
}

.kp-orders-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.kp-orders-empty {
    padding: 48px 24px;
    text-align: center;
    border: 1px solid #e8e8e8;
    background: #fafafa;
}

.kp-orders-empty p {
    margin: 0 0 20px;
    font-size: 16px;
    color: #666;
}

@media screen and (max-width: 767px) {
    .kp-orders-table {
        border: 0;
    }

    .kp-orders-table thead {
        display: none;
    }

    .kp-orders-table tr {
        display: block;
        margin-bottom: 12px;
        padding: 4px 0 10px;
        border: 1px solid #e8e8e8;
        border-radius: 10px;
        background: #fff;
    }

    .kp-orders-table td,
    .kp-orders-table th {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        padding: 7px 14px;
        border: 0;
        text-align: right;
    }

    .kp-orders-table td::before,
    .kp-orders-table th::before {
        content: attr(data-title);
        flex: 0 0 96px;
        font-weight: 700;
        font-size: 11px;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #888;
        text-align: left;
        padding-top: 2px;
    }

    .kp-orders-table .woocommerce-orders-table__cell-order-number {
        padding-top: 12px;
        font-size: 16px;
        border-bottom: 1px dashed #eee;
        margin-bottom: 4px;
        padding-bottom: 10px;
    }

    .kp-orders-table .woocommerce-orders-table__cell-order-actions {
        flex-direction: column;
        align-items: stretch;
        padding-top: 10px;
        border-top: 1px dashed #eee;
        margin-top: 4px;
    }

    .kp-orders-table .woocommerce-orders-table__cell-order-actions::before {
        margin-bottom: 4px;
    }

    .kp-orders-table .woocommerce-orders-table__cell-order-actions .kp-btn {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    .kp-orders-pagination {
        flex-direction: column;
    }

    .kp-orders-pagination .kp-btn {
        width: 100%;
        justify-content: center;
    }
}

@media screen and (max-width: 989px) {
    /* Home — Prezentacije slider (mobile polish) */
    .recent-work-section__header {
        display: flex;
        flex-direction: column;
    }

    .recent-work-section__header-top {
        display: contents;
    }

    .recent-work-section__eyebrow {
        order: 1;
        margin-bottom: 12px;
    }

    .recent-work-section__heading {
        order: 2;
    }

    .recent-work-section__description {
        order: 3;
    }

    .recent-work-section__view-all {
        order: 4;
        width: min(520px, 100%);
        margin: 20px auto 0;
        align-self: center;
    }

    .recent-work-section__slots {
        position: relative;
        display: block;
        padding: 0 42px;
    }

    .recent-work-section__slot--center {
        width: 100%;
        max-width: none;
    }

    .recent-work-section__slot--prev,
    .recent-work-section__slot--next {
        position: absolute;
        top: clamp(96px, 31vw, 170px);
        transform: translateY(-50%);
        z-index: 3;
        width: 48px;
    }

    .recent-work-section__slot--prev {
        left: 0;
    }

    .recent-work-section__slot--next {
        right: 0;
    }
}

/* ── Outlet mode ───────────────────────────────────── */

body.kp-outlet-mode .header-cart,
body.kp-outlet-mode .kp-menu-cart,
body.kp-outlet-mode .kp-product-card__actions,
body.kp-outlet-mode .kp-single__add-to-cart,
body.kp-outlet-mode .kp-single__qty-row {
    display: none !important;
}

.kp-product-card__badge--outlet,
.kp-single__badge--outlet {
    background: #c45c26;
    color: #fff;
}

.kp-single__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.kp-single__badge--gallery {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
}

.kp-single__outlet-tag {
    margin: -8px 0 16px;
}

.kp-single__badge--summary {
    background: #c45c26;
}

/* ── Catalog staff controls ────────────────────────── */

.kp-catalog-staff {
    position: relative;
    z-index: 3;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e5e5e5;
    background: #fafafa;
    font-size: 12px;
    line-height: 1.4;
}

.kp-catalog-staff--single {
    margin: 20px 0;
}

.kp-catalog-staff__row--visibility {
    margin-bottom: 10px;
}

.kp-catalog-staff__visibility {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    font-weight: 600;
}

.kp-catalog-staff__visibility span {
    flex: 0 0 auto;
}

.kp-catalog-staff__row--taxonomy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 10px;
}

.kp-catalog-staff__taxonomy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    font-weight: 600;
}

.kp-catalog-staff__category-select,
.kp-catalog-staff__brand-select {
    width: 100%;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
}

.kp-catalog-staff__status-select {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 200px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    background: #fff;
}

.kp-catalog-staff__pricing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.kp-catalog-staff__toggle-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.kp-catalog-staff__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.kp-catalog-staff__field {
    display: none;
    align-items: center;
    gap: 6px;
}

.kp-catalog-staff__field.is-visible {
    display: inline-flex;
}

.kp-catalog-staff__discount-input,
.kp-catalog-staff__sale-price-input,
.kp-catalog-staff__sale-discount-input,
.kp-catalog-staff__stock-input {
    width: 88px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 12px;
}

.kp-catalog-staff__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.kp-catalog-staff__row--actions {
    margin-bottom: 0;
}

.kp-catalog-staff__stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.kp-catalog-staff__open-variations,
.kp-catalog-staff__save,
.kp-catalog-staff__delete {
    padding: 7px 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.kp-catalog-staff__open-variations {
    width: 100%;
    text-align: center;
    border-color: var(--kp-blue);
    color: var(--kp-blue);
}

.kp-catalog-staff__hint {
    margin: 8px 0 0;
    font-size: 11px;
    line-height: 1.4;
    color: #888;
    font-weight: 400;
}

.kp-catalog-modal__empty {
    margin: 12px 0;
    padding: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    background: #f7f7f7;
    border: 1px solid #eee;
}

.kp-catalog-staff__open-variations:hover,
.kp-catalog-staff__save:hover {
    border-color: var(--kp-blue);
    color: var(--kp-blue);
}

.kp-catalog-staff__delete {
    border-color: #b33;
    color: #b33;
    margin-left: auto;
}

.kp-catalog-staff__status {
    margin: 8px 0 0;
    font-size: 11px;
    color: #2d6a2d;
}

.kp-catalog-staff__status.is-error {
    color: #b33;
}

body.kp-catalog-modal-open {
    overflow: hidden !important;
    height: 100%;
}

html.kp-catalog-modal-open {
    overflow: hidden !important;
    height: 100%;
}

body.kp-catalog-modal-open {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

.kp-catalog-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.kp-catalog-modal[hidden] {
    display: none !important;
}

.kp-catalog-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.kp-catalog-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(92vh, 860px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    min-height: 0;
}

.kp-catalog-modal--variations .kp-catalog-modal__dialog {
    width: min(1120px, calc(100vw - 32px));
    height: min(860px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    min-height: min(560px, calc(100dvh - 32px));
}

.kp-catalog-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.kp-catalog-modal__title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

.kp-catalog-modal__close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.kp-catalog-modal__body {
    flex: 1 1 0;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px 18px 18px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    scrollbar-gutter: stable;
}

.kp-catalog-modal--variations .kp-catalog-modal__body {
    padding: 18px 22px 22px;
    min-height: 320px;
}

.kp-catalog-modal__body::-webkit-scrollbar {
    width: 8px;
}

.kp-catalog-modal__body::-webkit-scrollbar-thumb {
    background: #c5c9d1;
    border-radius: 999px;
}

.kp-catalog-modal__body::-webkit-scrollbar-track {
    background: transparent;
}

.kp-catalog-variation-modal__product {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #111;
}

.kp-catalog-variation-modal__hint {
    margin: 0 0 14px;
    font-size: 0.84rem;
    color: #6b7280;
    line-height: 1.45;
}

.kp-catalog-variation-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

@media (min-width: 1100px) {
    .kp-catalog-modal--variations .kp-catalog-variation-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .kp-catalog-variation-list {
        grid-template-columns: 1fr;
    }

    .kp-catalog-modal--variations .kp-catalog-modal__dialog {
        width: calc(100vw - 16px);
        height: calc(100dvh - 16px);
        min-height: 0;
        border-radius: 10px;
    }
}

.kp-catalog-variation-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    min-width: 0;
}

.kp-catalog-variation-card__attrs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.kp-catalog-variation-chip {
    display: block;
    padding: 5px 8px;
    border-radius: 8px;
    background: #f3f4f6;
    font-size: 0.78rem;
    line-height: 1.35;
}

.kp-catalog-variation-chip__text {
    color: #111;
    word-break: break-word;
    font-weight: 600;
}

.kp-catalog-variation-card__meta {
    font-size: 0.75rem;
    color: #6b7280;
}

.kp-catalog-variation-card__sku {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.kp-catalog-variation-card__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.kp-catalog-variation-card__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.kp-catalog-variation-card__field--sale-toggle {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    text-transform: none;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
}

.kp-catalog-variation-card__field--sale-price {
    grid-column: 1 / -1;
}

.kp-catalog-modal__stock-input,
.kp-catalog-modal__sale-input {
    width: 100%;
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: #111;
}

.kp-catalog-modal__sale-toggle {
    display: inline-flex;
    align-items: center;
}

.kp-catalog-modal__regular {
    display: block;
    margin-top: 4px;
    font-size: 0.72rem;
    font-weight: 400;
    color: #9ca3af;
    text-transform: none;
    letter-spacing: normal;
}

.kp-catalog-modal__loading {
    grid-column: 1 / -1;
    margin: 0;
    padding: 24px 8px;
    text-align: center;
    color: #6b7280;
    font-size: 0.88rem;
}

.kp-catalog-modal__footer {
    flex-shrink: 0;
    padding: 12px 18px 16px;
    border-top: 1px solid #eee;
    background: #fff;
}

.kp-catalog-modal__status {
    margin: 0 0 8px;
    font-size: 11px;
    color: #2d6a2d;
}

.kp-catalog-modal__status.is-error {
    color: #b33;
}

.kp-catalog-modal__footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.kp-catalog-modal__cancel,
.kp-catalog-modal__save {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
}

.kp-catalog-modal__save {
    border-color: var(--kp-blue);
    background: var(--kp-blue);
    color: #fff;
}

.kp-catalog-modal__save:hover {
    background: var(--kp-blue-dark);
    border-color: var(--kp-blue-dark);
}

/* =========================================================
   404
   ========================================================= */

body.error404 .header-bar {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(11, 31, 58, 0.06);
}

.kp-404 {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 115px);
    margin-top: 115px;
    padding: 72px 24px 96px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(241, 90, 36, 0.22), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(25, 120, 230, 0.35), transparent 50%),
        linear-gradient(155deg, #0b1f3a 0%, #123a6b 42%, #1978e6 100%);
    color: #fff;
}

.kp-404__atmosphere {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.kp-404__grid {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}

.kp-404__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    animation: kp-404-float 10s ease-in-out infinite;
}

.kp-404__orb--a {
    width: min(42vw, 380px);
    height: min(42vw, 380px);
    top: -8%;
    right: -6%;
    background: rgba(241, 90, 36, 0.55);
}

.kp-404__orb--b {
    width: min(50vw, 460px);
    height: min(50vw, 460px);
    bottom: -18%;
    left: -10%;
    background: rgba(255, 255, 255, 0.18);
    animation-delay: -4s;
}

.kp-404__plus {
    position: absolute;
    font-family: Montserrat, "Google Sans Text", sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    user-select: none;
    animation: kp-404-pulse 6s ease-in-out infinite;
}

.kp-404__plus--1 {
    top: 18%;
    left: 8%;
    font-size: clamp(3rem, 8vw, 6rem);
}

.kp-404__plus--2 {
    top: 28%;
    right: 12%;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: rgba(241, 90, 36, 0.35);
    animation-delay: -2s;
}

.kp-404__plus--3 {
    bottom: 16%;
    right: 22%;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    animation-delay: -3.5s;
}

.kp-404__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 720px;
    text-align: center;
}

.kp-404__brand {
    margin: 0 0 18px;
    font-family: Montserrat, "Google Sans Text", sans-serif;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    animation: kp-404-rise 0.7s ease both;
}

.kp-404__brand::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 14px auto 0;
    background: var(--kp-orange);
    border-radius: 2px;
}

.kp-404__code {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    margin: 0 0 12px;
    animation: kp-404-rise 0.75s 0.08s ease both;
}

.kp-404__digits {
    font-family: Montserrat, "Google Sans Text", sans-serif;
    font-size: clamp(6.5rem, 18vw, 10.5rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.kp-404__plus-mark {
    margin-left: -0.15em;
    margin-top: 0.12em;
    font-family: Montserrat, sans-serif;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    font-weight: 700;
    color: var(--kp-orange);
    animation: kp-404-pulse 3.5s ease-in-out infinite;
}

.kp-404__title {
    margin: 0 0 14px;
    font-family: Montserrat, "Google Sans Text", sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    animation: kp-404-rise 0.75s 0.14s ease both;
}

.kp-404__text {
    margin: 0 auto 32px;
    max-width: 34rem;
    font-size: clamp(0.98rem, 1.6vw, 1.12rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    animation: kp-404-rise 0.75s 0.2s ease both;
}

.kp-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    animation: kp-404-rise 0.75s 0.28s ease both;
}

.kp-404__actions .kp-btn--primary {
    background: var(--kp-orange);
    border-color: var(--kp-orange);
    color: #fff;
}

.kp-404__actions .kp-btn--primary:hover {
    background: var(--kp-orange-dark);
    border-color: var(--kp-orange-dark);
    color: #fff;
}

.kp-404__btn-light {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #fff !important;
}

.kp-404__btn-light:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #0b1f3a !important;
}

@keyframes kp-404-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kp-404-float {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, 18px, 0); }
}

@keyframes kp-404-pulse {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
    .kp-404__orb,
    .kp-404__plus,
    .kp-404__plus-mark,
    .kp-404__brand,
    .kp-404__code,
    .kp-404__title,
    .kp-404__text,
    .kp-404__actions {
        animation: none !important;
    }
}

@media screen and (max-width: 767px) {
    .kp-404 {
        min-height: calc(100vh - 80px);
        margin-top: 80px;
        padding: 48px 20px 72px;
    }

    .kp-404__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .kp-404__actions .kp-btn {
        width: 100%;
    }
}
