:root {
    --cream: #f5f0e4;
    --ink: #000000;
    --muted: #6b6b6b;
    --orange: #fc6b38;
    --yellow: #ffe34d;
    --line: rgba(0, 0, 0, 0.18);
    --font: "Outfit", Arial, Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.kj-body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px; overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.kj-skip {
    position: absolute;
    left: -999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    z-index: 10000;
}
.kj-skip:focus { left: 8px; }

/* Marquee */
.kj-marquee {
    background: var(--marqueeBg, var(--orange));
    color: var(--marqueeColor, var(--cream));
    overflow: hidden;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-bottom: 1px solid #000;
}
.kj-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: kj-marquee 42s linear infinite;
    padding: 8px 0;
}
.kj-marquee span { padding: 0 8px; }
.kj-marquee a { text-decoration: underline; }
.kj-marquee-sep { opacity: 0.7; }
@keyframes kj-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}

/* Header */
.kj-header {
    border-bottom: 1px solid #000;
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 40;
}
.admin-bar .kj-header { top: 32px; }
.kj-header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
    min-height: 52px;
}
.kj-logo {
    font-weight: 800;
    letter-spacing: 0.14em;
    font-size: 18px;
    text-align: center;
}
.kj-search {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #000;
    background: var(--cream);
    padding: 6px 10px;
    max-width: 260px;
}
.kj-search input {
    border: 0;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 14px;
}
.kj-header-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}
.kj-text-link,
.kj-cart-btn,
.kj-nav a {
    background: none;
    border: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    color: #000;
}
.kj-cart-count {
    display: inline-flex;
    min-width: 18px;
    height: 18px;
    margin-left: 6px;
    border: 1px solid #000;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding: 0 4px;
}
.kj-nav {
    display: flex;
    gap: 22px;
    padding: 8px 20px 12px;
    overflow-x: auto;
    border-top: 1px solid var(--line);
}
.kj-nav a { white-space: nowrap; }
.kj-nav a:hover { text-decoration: underline; }

/* Hero */
.kj-hero {
    position: relative;
    min-height: 72vh;
    background: #1c1c1c center/cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
}
.kj-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.12) 55%, rgba(0,0,0,.05) 100%);
}
.kj-hero-inner {
    position: relative;
    z-index: 1;
    padding: 64px 40px;
    max-width: 640px;
}
.kj-hero h1 {
    margin: 0;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
}
.kj-hero p {
    margin: 12px 0 24px;
    font-size: 22px;
    font-weight: 700;
}
.kj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 0;
    cursor: pointer;
}
.kj-btn-fill {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
}
.kj-btn-fill:hover { filter: brightness(0.95); }

/* Sections */
.kj-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 20px 16px;
    border-bottom: 1px solid #000;
}
.kj-section-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Category grid */
.kj-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid #000;
}
.kj-cat-card {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #000;
    min-height: 420px;
    background: var(--cream);
}
.kj-cat-card:nth-child(4n) { border-right: 0; }
.kj-cat-card img,
.kj-cat-ph {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #efe9d8;
}
.kj-cat-ph { display: block; }
.kj-cat-card span {
    display: block;
    padding: 18px 16px 22px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Product grid */
.woocommerce ul.products,
ul.products,
.kj-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: 0 !important;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #000;
    float: none !important;
    width: 100% !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product,
ul.products li.product,
.kj-product-grid > li {
    width: auto !important;
    margin: 0 !important;
    float: none !important;
    padding: 14px 14px 18px;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
    background: var(--cream);
    position: relative;
    clear: none !important;
}
ul.products li.product:nth-child(4n),
.kj-product-grid > li:nth-child(4n) { border-right: 0; }

.kj-card-image {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 12px;
    overflow: hidden;
}
.kj-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--cream);
}
.kj-card-image .kj-second {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .25s ease;
}
.kj-card:hover .kj-second,
li.product:hover .kj-second { opacity: 1; }
.kj-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: var(--yellow);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 2px;
}
.kj-vendor {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--muted);
    text-transform: uppercase;
    margin: 0 0 4px;
}
.kj-card-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}
.kj-card-title,
ul.products .woocommerce-loop-product__title,
ul.products h2 {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.25;
    color: #000;
}
.kj-price {
    text-align: right;
    flex: 0 0 auto;
    line-height: 1.1;
}
.kj-price .ccy {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.kj-price .amt,
ul.products .price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
}
ul.products .price del { color: var(--muted); font-weight: 500; }
ul.products .button,
ul.products .add_to_cart_button {
    display: none;
}

.kj-shop-cta {
    padding: 28px 20px 40px;
    text-align: center;
}

/* Reviews marquee */
.kj-reviews {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    overflow: hidden;
    padding: 28px 0;
}
.kj-reviews-track {
    display: flex;
    gap: 0;
    animation: kj-marquee 50s linear infinite;
    width: max-content;
}
.kj-review {
    width: 360px;
    padding: 0 28px;
    border-right: 1px solid var(--line);
}
.kj-review p { margin: 0 0 10px; font-size: 15px; }
.kj-review cite { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* FAQ / prose */
.kj-page-wrap,
.kj-prose-wrap {
    max-width: 920px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}
.kj-page-title,
.kj-prose-wrap h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 24px;
    text-transform: uppercase;
}
.kj-prose p, .kj-prose li { font-size: 16px; }
.kj-faq details {
    border-top: 1px solid #000;
    padding: 16px 0;
}
.kj-faq summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
}
.kj-faq details:last-child { border-bottom: 1px solid #000; }

/* Footer */
.kj-footer {
    border-top: 1px solid #000;
    padding: 40px 20px 20px;
}
.kj-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1.4fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}
.kj-footer h3 {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.kj-footer ul { list-style: none; margin: 0; padding: 0; }
.kj-footer li { margin: 0 0 8px; }
.kj-footer a { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.kj-footer a:hover { text-decoration: underline; }
.kj-footer-brand strong {
    display: block;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}
.kj-news-form {
    display: flex;
    border: 1px solid #000;
    margin-top: 10px;
}
.kj-news-form input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 10px 12px;
    outline: none;
}
.kj-news-form button {
    border: 0;
    border-left: 1px solid #000;
    background: var(--orange);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0 14px;
    cursor: pointer;
}
.kj-footer-bottom {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 28px auto 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 12px;
}

/* Drawer */
.kj-drawer[hidden] { display: none; }
.kj-drawer { position: fixed; inset: 0; z-index: 80; }
.kj-drawer-scrim {
    position: absolute;
    inset: 0;
    background: var(--orange);
    opacity: 0.92;
}
.kj-drawer-panel {
    position: absolute;
    top: 12px;
    right: 0;
    bottom: 0;
    width: min(420px, 92vw);
    background: #fff;
    border-top-left-radius: 22px;
    padding: 28px 22px;
    overflow: auto;
}
.kj-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    font-size: 22px;
    cursor: pointer;
    position: absolute;
    left: -52px;
    top: 8px;
}
.kj-drawer-panel h2 { margin: 0 0 8px; font-size: 22px; }
.kj-drawer-note { color: var(--muted); font-size: 13px; }
.kj-mini-empty { padding: 32px 0; }
.kj-mini-items { list-style: none; margin: 0; padding: 0; }
.kj-mini-items li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.kj-mini-items img { width: 64px; height: 64px; object-fit: contain; background: var(--cream); }
.kj-mini-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-weight: 700;
}
.kj-drawer .kj-btn { width: 100%; margin-top: 8px; }

/* Shop */
.kj-shop-main .woocommerce-products-header {
    padding: 28px 20px 0;
}
.kj-shop-main .woocommerce-products-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
}
.kj-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #000;
    font-size: 13px;
}
.woocommerce-ordering select {
    background: var(--cream);
    border: 1px solid #000;
    padding: 6px 8px;
}

/* Single */
.single-product div.product {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    border-bottom: 1px solid #000;
}
.single-product .woocommerce-product-gallery {
    border-right: 1px solid #000;
    padding: 24px;
    background: var(--cream);
}
.single-product .summary {
    padding: 32px 28px 48px;
}
.single-product .product_title {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
}
.single-product .price { font-size: 22px; font-weight: 700; }
.single-product .cart .button,
.single-product .single_add_to_cart_button {
    background: var(--orange) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800 !important;
    padding: 14px 22px !important;
}
.woocommerce-tabs { padding: 24px 28px 48px; }

.kj-404 {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 32px;
}
.kj-404 h1 { font-size: 42px; margin: 0 0 12px; text-transform: uppercase; }

@media (max-width: 1024px) {
    .kj-cat-grid,
    ul.products,
    .kj-product-grid { grid-template-columns: repeat(2, 1fr); }
    .kj-cat-card:nth-child(4n),
    ul.products li.product:nth-child(4n),
    .kj-product-grid > li:nth-child(4n) { border-right: 1px solid #000; }
    .kj-cat-card:nth-child(2n),
    ul.products li.product:nth-child(2n),
    .kj-product-grid > li:nth-child(2n) { border-right: 0; }
    .kj-footer-grid { grid-template-columns: 1fr 1fr; }
    .single-product div.product { grid-template-columns: 1fr; }
    .single-product .woocommerce-product-gallery { border-right: 0; border-bottom: 1px solid #000; }
}

@media (max-width: 720px) {
    .kj-header-row { grid-template-columns: auto 1fr auto; }
    .kj-search { max-width: 42px; padding: 6px; }
    .kj-search input { display: none; }
    .kj-hide-s { display: none; }
    .kj-nav { gap: 14px; }
    .kj-hero { min-height: 62vh; }
    .kj-hero-inner { padding: 40px 20px; }
    .kj-cat-card { min-height: 280px; }
}
