/**
 * Konya Kapımda — Referans Tasarım v2
 */

:root {
    --kk-green: #1b8c45;
    --kk-green-dark: #0d5c30;
    --kk-green-hero: #22a055;
    --kk-green-donate: #0f4d28;
    --kk-teal: #169a8e;
    --kk-orange: #f4511e;
    --kk-orange-hover: #e64a19;
    --kk-bg: #f0f2f5;
    --kk-white: #ffffff;
    --kk-text: #1a1a2e;
    --kk-muted: #64748b;
    --kk-border: #e2e8f0;
    --kk-radius: 20px;
    --kk-radius-sm: 12px;
    --kk-shadow: 0 4px 24px rgba(0,0,0,.06);
}

/* ── Reset legacy ── */
.kk-legacy-header, .whb-header, .ustalan,
header.whb-header + .sf-ColorfulBand-3p0K5 {
    display: none !important;
}

body {
    font-family: "Nunito", sans-serif !important;
    background: var(--kk-bg) !important;
    color: var(--kk-text);
    margin: 0;
    padding-bottom: 80px;
    overflow-x: hidden;
    max-width: 100%;
}

.kk-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ══════════════ HEADER ══════════════ */
.kk-header {
    background: var(--kk-white);
    box-shadow: 0 2px 16px rgba(13, 92, 48, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.kk-topbar {
    background: linear-gradient(90deg, var(--kk-green-dark) 0%, #126b38 100%);
    color: #fff;
    font-size: 12px;
}

.kk-topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 34px;
    gap: 12px;
    flex-wrap: wrap;
}

.kk-topbar-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kk-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,.12);
    padding: 3px 10px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 11px;
}

.kk-badge-pill.kk-badge-red {
    background: #e53935;
    color: #fff;
    font-weight: 800;
}

.kk-topbar-badges .kk-badge-pill:nth-child(2) {
    max-width: none;
    overflow: visible;
    white-space: nowrap;
}

.kk-topbar-links {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.kk-topbar-roles {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.kk-topbar-roles .kk-role-pill {
    padding: 4px 12px;
    font-size: 11px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.85);
    border: 1px solid rgba(255,255,255,.15);
}

.kk-topbar-roles .kk-role-pill:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
    border-color: rgba(255,255,255,.3);
}

.kk-topbar-roles .kk-role-pill.active {
    background: var(--kk-orange);
    border-color: var(--kk-orange);
    color: #fff;
    box-shadow: 0 2px 8px rgba(244, 81, 30, .35);
}

.kk-topbar-links a {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-weight: 600;
}

.kk-topbar-links a:hover,
.kk-link-highlight { color: #ffb74d !important; }

.kk-mainbar {
    padding: 16px 0 12px;
    background: var(--kk-white);
}

.kk-mainbar-row {
    display: grid;
    grid-template-areas:
        "brand location actions"
        "search search search";
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    gap: 12px 14px;
    align-items: center;
}

.kk-brand { grid-area: brand; }
.kk-location-chip { grid-area: location; }
.kk-search { grid-area: search; }
.kk-header-actions { grid-area: actions; justify-self: end; }

@media (min-width: 1280px) {
    .kk-mainbar-row {
        grid-template-areas: "brand location search actions";
        grid-template-columns: 220px minmax(220px, 280px) minmax(280px, 1fr) auto;
        gap: 14px;
    }
}

/* Brand */
.kk-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
    padding-right: 4px;
}

.kk-brand-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(26, 140, 74, 0.15);
}

.kk-brand-copy strong {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: var(--kk-green-dark);
    line-height: 1.15;
    letter-spacing: -0.2px;
}

.kk-brand-copy strong span { color: var(--kk-orange); }

.kk-brand-copy small {
    display: block;
    font-size: 10px;
    color: var(--kk-muted);
    font-weight: 700;
    margin-top: 3px;
    line-height: 1.3;
}

/* Location chip */
.kk-location-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 8px 12px 8px 10px;
    border: 1.5px solid var(--kk-border);
    border-radius: 14px;
    background: linear-gradient(180deg, #fff 0%, #f7faf8 100%);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

.kk-location-chip:hover {
    border-color: rgba(26, 140, 74, 0.4);
    box-shadow: 0 6px 18px rgba(26, 140, 74, 0.1);
}

.kk-location-chip-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #fff3e8 0%, #ffe8d8 100%);
    color: var(--kk-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.kk-location-chip-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1;
}

.kk-location-chip-label {
    font-size: 9px;
    font-weight: 800;
    color: var(--kk-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    line-height: 1.2;
}

.kk-location-chip-value {
    font-size: 13px;
    font-weight: 800;
    color: var(--kk-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}

.kk-location-chip-action {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(180deg, #ff7043 0%, var(--kk-orange) 100%);
    padding: 6px 10px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.28);
}

/* Legacy location box (unused) */
.kk-location-box { display: none; }

/* Search */
.kk-search {
    display: flex;
    align-items: stretch;
    background: #fff;
    border: 1.5px solid var(--kk-border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
    min-height: 48px;
    width: 100%;
}

.kk-search-icon {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    color: #94a3b8;
    flex-shrink: 0;
    font-size: 14px;
    background: transparent;
}

.kk-search:focus-within {
    border-color: var(--kk-green);
    box-shadow: 0 0 0 3px rgba(26, 140, 74, 0.12);
}

.kk-search input[type="text"],
.kk-search input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 16px !important;
    font-size: 14px;
    outline: none !important;
    font-family: inherit;
    min-width: 0;
    width: 100%;
    min-height: 48px;
    color: var(--kk-text);
    box-shadow: none !important;
}

.kk-search input[type="text"]:focus,
.kk-search input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.kk-search input::placeholder {
    color: #94a3b8;
    font-weight: 600;
}

.kk-search button {
    background: linear-gradient(180deg, #22a055 0%, var(--kk-green) 100%) !important;
    border: none !important;
    border-radius: 0 !important;
    color: #fff !important;
    padding: 0 18px !important;
    min-width: 52px;
    min-height: 48px;
    height: auto;
    align-self: stretch;
    cursor: pointer;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .2s;
    flex-shrink: 0;
    box-shadow: none !important;
}

.kk-search button:hover {
    filter: brightness(1.06);
}

/* Header actions */
.kk-header-actions {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.kk-action-card {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--kk-text);
    padding: 8px 12px;
    border-radius: 14px;
    border: 1.5px solid var(--kk-border);
    background: #fafbfc;
    transition: all .2s;
    min-height: 46px;
}

.kk-action-card:hover {
    border-color: rgba(26, 140, 74, 0.35);
    background: #fff;
    box-shadow: 0 4px 14px rgba(26, 140, 74, 0.1);
    transform: translateY(-1px);
}

.kk-action-icon {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(26, 140, 74, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kk-action-icon i {
    font-size: 17px;
    color: var(--kk-green);
}

.kk-action-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--kk-text);
    white-space: nowrap;
}

.kk-action-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.kk-action-meta .kk-action-label {
    font-size: 11px;
    color: var(--kk-muted);
    font-weight: 700;
}

.kk-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--kk-orange);
    color: #fff;
    font-style: normal;
    font-size: 9px;
    font-weight: 800;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(255, 87, 34, 0.4);
}

.kk-cart-price {
    font-size: 13px;
    font-weight: 900;
    color: var(--kk-orange);
    line-height: 1.2;
}

.kk-action-sub {
    font-size: 12px;
    font-weight: 800;
    color: var(--kk-green-dark);
    line-height: 1.2;
}

.kk-role-links {
    display: none;
}

.kk-role-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    color: var(--kk-muted);
    background: #f4f6f8;
    border: 1.5px solid transparent;
    transition: all .2s;
    letter-spacing: 0.1px;
}

.kk-role-pill:hover {
    background: #fff;
    border-color: var(--kk-border);
    color: var(--kk-green);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.kk-role-pill.active {
    background: linear-gradient(180deg, #ff6d3a 0%, var(--kk-orange) 100%);
    border-color: var(--kk-orange);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.35);
}

/* ══════════════ BUTTONS ══════════════ */
.kk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s;
    font-family: inherit;
    white-space: nowrap;
}

.kk-btn-orange {
    background: var(--kk-orange);
    color: #fff;
}

.kk-btn-orange:hover {
    background: var(--kk-orange-hover);
    color: #fff;
    transform: translateY(-1px);
}

.kk-btn-green { background: var(--kk-green); color: #fff; }

.kk-btn-xs { padding: 4px 12px; font-size: 11px; }
.kk-btn-sm { padding: 8px 16px; font-size: 13px; }
.kk-btn-block { width: 100%; padding: 12px; font-size: 14px; }

/* ══════════════ ÜST KATEGORİ MENÜ ══════════════ */
.kk-cat-menu-section {
    margin-bottom: 16px;
}

.kk-cat-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 4px 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.kk-cat-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: var(--kk-white);
    border: 1.5px solid var(--kk-border);
    border-radius: 50px;
    text-decoration: none;
    color: var(--kk-text);
    font-size: 12px;
    font-weight: 700;
    flex: 0 0 auto;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: all .2s;
    scroll-snap-align: start;
}

.kk-cat-menu-item:hover {
    border-color: var(--kk-green);
    box-shadow: 0 4px 16px rgba(27, 140, 69, 0.12);
    transform: translateY(-2px);
}

.kk-cat-menu-item.active {
    border-color: var(--kk-orange);
    background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
    box-shadow: 0 4px 16px rgba(244, 81, 30, 0.15);
}

.kk-cat-menu-icon {
    font-size: 22px;
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kk-cat-menu-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.kk-cat-menu-label {
    line-height: 1.2;
    white-space: nowrap;
}

.kk-cat-menu::-webkit-scrollbar { height: 6px; }
.kk-cat-menu::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.12);
    border-radius: 999px;
}

/* ══════════════ HERO SLIDER ══════════════ */
.kk-hero-slider {
    --kk-slider-height: 320px;
    position: relative;
    margin-bottom: 24px;
    border-radius: var(--kk-radius);
    overflow: hidden;
    height: var(--kk-slider-height);
    background: #0d5c30;
}

.kk-slider-track {
    position: relative;
    height: 100%;
    width: 100%;
}

.kk-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s ease, visibility .45s;
    z-index: 1;
    pointer-events: none;
}

.kk-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.kk-slide-welcome {
    background: var(--kk-green-hero);
    height: 100%;
}

.kk-slide-welcome .kk-slide-inner {
    display: grid;
    grid-template-columns: 1fr 260px;
    height: 100%;
}

.kk-slide-content {
    padding: 32px 36px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    overflow: visible;
}

.kk-slide-content h1 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #fff;
}

.kk-slide-content p {
    font-size: 14px;
    opacity: .9;
    line-height: 1.5;
    margin: 0 0 16px;
    max-width: 520px;
}

.kk-slide-donate {
    background: var(--kk-green-donate);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #fff;
    height: 100%;
}

.kk-slide-social {
    background: linear-gradient(135deg, var(--kk-teal) 0%, #0d7a71 100%);
    height: 100%;
}

.kk-slide-social-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 40px;
    height: 100%;
    color: #fff;
    box-sizing: border-box;
}

.kk-slide-social-visual {
    font-size: 72px;
    letter-spacing: 8px;
    flex-shrink: 0;
}

.kk-slide-social-content {
    flex: 1;
    min-width: 0;
}

.kk-slide-social-content h2 {
    font-size: 26px;
    font-weight: 900;
    margin: 0 0 10px;
    color: #fff;
}

.kk-slide-social-content p {
    margin: 0 0 20px;
    opacity: .9;
    font-size: 14px;
}

.kk-social-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.kk-social-stats strong {
    display: block;
    font-size: 22px;
    font-weight: 900;
}

.kk-social-stats small {
    font-size: 11px;
    opacity: .85;
}

.kk-slide-image {
    height: 100%;
}

.kk-slide-image-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

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

.kk-slide-db {
    position: absolute;
    inset: 0;
    background: #0d5c30;
}

.kk-slide-db-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.kk-slide-db-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.kk-slide-db-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(180deg, rgba(0,0,0,.02) 30%, rgba(0,0,0,.55) 100%);
    padding: 20px 24px;
    pointer-events: none;
}

.kk-slide-db-copy {
    color: #fff;
    max-width: 560px;
    pointer-events: auto;
}

.kk-slide-db-copy h2 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
}

.kk-slide-db-copy p {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.45;
    opacity: .95;
}

.kk-slide-db-link-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.kk-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.95);
    color: var(--kk-green-dark);
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,.2);
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kk-slider-arrow:hover {
    background: var(--kk-orange);
    color: #fff;
}

.kk-slider-prev { left: 12px; }
.kk-slider-next { right: 12px; }

.kk-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.kk-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    padding: 0;
    transition: all .2s;
}

.kk-slider-dot.active {
    background: var(--kk-orange);
    width: 24px;
    border-radius: 5px;
}

/* ══════════════ HERO V2 (legacy) ══════════════ */
.kk-page { padding: 20px 0 40px; }

.kk-hero-v2 {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 0;
    background: var(--kk-green-hero);
    border-radius: var(--kk-radius);
    overflow: hidden;
    margin-bottom: 28px;
    min-height: 220px;
}

.kk-hero-main {
    padding: 32px 36px;
    color: #fff;
}

.kk-hero-tag {
    display: inline-block;
    background: rgba(255,255,255,.15);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.kk-hero-main h1 {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 12px;
    color: #fff;
}

.kk-hero-highlight {
    color: #ffd54f;
    display: inline-block;
}

.kk-hero-main p {
    font-size: 14px;
    opacity: .9;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 520px;
}

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

.kk-hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

.kk-hero-donate {
    background: var(--kk-green-donate);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.kk-donate-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    opacity: .8;
}

.kk-hero-donate strong {
    font-size: 36px;
    font-weight: 900;
    margin: 8px 0;
    color: #fff;
}

.kk-hero-donate p {
    font-size: 12px;
    opacity: .75;
    margin: 0 0 16px;
}

/* ══════════════ SECTION TITLES ══════════════ */
.kk-section-title {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.kk-section-title h2 {
    font-size: 18px;
    font-weight: 900;
    color: var(--kk-text);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.kk-section-title h2 span { color: var(--kk-muted); font-weight: 700; }

.kk-section-title p {
    font-size: 13px;
    color: var(--kk-muted);
    margin: 4px 0 0;
}

.kk-section-title-row {
    align-items: center;
}

.kk-section-badge {
    background: var(--kk-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
}

.kk-link-more {
    color: var(--kk-orange);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

/* ══════════════ CATEGORY TABS ══════════════ */
.kk-cat-section { margin-bottom: 28px; }

.kk-cat-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.kk-cat-tabs::-webkit-scrollbar { display: none; }

.kk-cat-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--kk-white);
    border: 2px solid var(--kk-border);
    border-radius: 50px;
    text-decoration: none;
    color: var(--kk-text);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
}

.kk-cat-tab img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.kk-cat-tab i { font-size: 16px; color: var(--kk-green); }

.kk-cat-tab em {
    background: var(--kk-bg);
    color: var(--kk-muted);
    font-style: normal;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 50px;
}

.kk-cat-tab.active,
.kk-cat-tab:hover {
    background: var(--kk-orange);
    border-color: var(--kk-orange);
    color: #fff;
}

.kk-cat-tab.active em,
.kk-cat-tab:hover em {
    background: rgba(255,255,255,.25);
    color: #fff;
}

.kk-cat-tab.active i,
.kk-cat-tab:hover i { color: #fff; }

/* ══════════════ SHOP CARDS ══════════════ */
.kk-shops-section { margin-bottom: 32px; }

.kk-shops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kk-empty-shops {
    grid-column: 1 / -1;
    background: var(--kk-white);
    border-radius: var(--kk-radius);
    padding: 40px 24px;
    text-align: center;
    box-shadow: var(--kk-shadow);
}

.kk-empty-shops p {
    margin: 0 0 16px;
    color: var(--kk-muted);
    font-weight: 600;
}

.kk-shop-card {
    background: var(--kk-white);
    border-radius: var(--kk-radius);
    overflow: hidden;
    box-shadow: var(--kk-shadow);
    transition: transform .2s, box-shadow .2s;
}

.kk-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.kk-shop-image {
    display: block;
    position: relative;
    height: 180px;
    overflow: hidden;
}

.kk-shop-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.kk-shop-card:hover .kk-shop-image img { transform: scale(1.05); }

.kk-shop-time,
.kk-shop-rating {
    position: absolute;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.kk-shop-time {
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,.65);
    color: #fff;
}

.kk-shop-rating {
    top: 10px;
    right: 10px;
    background: var(--kk-orange);
    color: #fff;
}

.kk-shop-rating small {
    font-size: 10px;
    opacity: .85;
    font-weight: 600;
}

.kk-shop-info {
    padding: 14px 16px;
}

.kk-shop-info h3 {
    font-size: 14px;
    font-weight: 800;
    margin: 0;
}

.kk-shop-info h3 a {
    color: var(--kk-text);
    text-decoration: none;
}

/* ══════════════ PRODUCT GRID ══════════════ */
.kk-products-section { margin-bottom: 32px; }

.kk-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.kk-product-card {
    background: var(--kk-white);
    border-radius: var(--kk-radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(13, 92, 48, 0.08);
    border: 1px solid var(--kk-border);
    transition: transform .25s, box-shadow .25s;
}

.kk-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(244, 81, 30, 0.12);
}

.kk-product-image {
    display: block;
    position: relative;
    height: 190px;
    background: #fafbfc;
    padding: 16px;
}

.kk-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s;
}

.kk-product-card:hover .kk-product-image img {
    transform: scale(1.05);
}

.kk-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--kk-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
}

.kk-product-body {
    padding: 16px;
}

.kk-product-body h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.45;
    min-height: 38px;
}

.kk-product-body h3 a {
    color: var(--kk-text);
    text-decoration: none;
}

.kk-stars {
    color: var(--kk-orange);
    font-size: 12px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.kk-price {
    color: var(--kk-orange);
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 12px;
}

.kk-product-body .kk-btn-block {
    font-size: 13px;
    padding: 11px;
    letter-spacing: .2px;
}

/* ══════════════ SLIDER ══════════════ */
.kk-slider-section { margin-bottom: 32px; }

.kk-slider-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.kk-slider-card {
    border-radius: var(--kk-radius-sm);
    overflow: hidden;
    display: block;
    box-shadow: var(--kk-shadow);
}

.kk-slider-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform .3s;
}

.kk-slider-card:hover img { transform: scale(1.05); }

/* ══════════════ MOBILE NAV ══════════════ */
.kk-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--kk-white);
    border-top: 2px solid var(--kk-green);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1001;
    justify-content: space-around;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}

.kk-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: var(--kk-muted);
    font-size: 10px;
    font-weight: 700;
}

.kk-mobile-nav-item i { font-size: 20px; }

.kk-mobile-nav-item:hover { color: var(--kk-orange); }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1200px) {
    .kk-location-chip-action {
        display: none;
    }

    .kk-action-card {
        padding: 7px 10px;
        gap: 8px;
    }

    .kk-action-label {
        font-size: 11px;
    }
}

@media (max-width: 1024px) {
    .kk-hide-tablet { display: none !important; }

    .kk-mainbar-row {
        grid-template-areas:
            "brand actions"
            "location location"
            "search search";
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .kk-location-chip {
        max-width: none;
    }

    .kk-header-actions .kk-action-orders .kk-action-meta {
        display: none;
    }

    .kk-header-actions .kk-action-orders {
        padding: 8px 10px;
        min-width: 46px;
        justify-content: center;
    }

    .kk-header-actions .kk-action-orders .kk-action-icon {
        margin: 0;
    }

    .kk-shops-grid { grid-template-columns: repeat(2, 1fr); }

    .kk-product-grid { grid-template-columns: repeat(3, 1fr); }

    .kk-slider-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .kk-hide-mobile { display: none !important; }

    .kk-mainbar {
        padding: 12px 0 10px;
    }

    .kk-mainbar-row {
        grid-template-areas:
            "brand actions"
            "search search";
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .kk-location-chip {
        display: none;
    }

    .kk-search:not(.kk-search-mobile) { display: none; }

    .kk-search-mobile { display: flex; margin-top: 0; }

    .kk-topbar-roles {
        display: none;
    }

    .kk-topbar-roles,
    .kk-role-links { display: none; }

    .kk-brand-copy small { display: none; }

    .kk-brand-icon {
        width: 44px;
        height: 44px;
    }

    .kk-brand-copy strong {
        font-size: 14px;
    }

    .kk-header-actions .kk-action-account {
        display: none;
    }

    .kk-header-actions .kk-action-orders {
        display: flex;
        padding: 6px 8px;
        min-width: 42px;
    }

    .kk-header-actions .kk-action-orders .kk-action-meta {
        display: none;
    }

    .kk-action-card {
        border: none;
        background: transparent;
        padding: 4px 6px;
        box-shadow: none;
        min-height: auto;
    }

    .kk-action-card:hover {
        transform: none;
        box-shadow: none;
        background: transparent;
    }

    .kk-action-icon {
        width: 40px;
        height: 40px;
    }

    .kk-hero-v2 {
        grid-template-columns: 1fr;
    }

    .kk-slide-welcome .kk-slide-inner {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }

    .kk-slide-donate {
        padding: 16px 20px;
    }

    .kk-hero-slider {
        --kk-slider-height: 220px;
    }

    .kk-slide-db-copy h2 { font-size: 18px; }
    .kk-slide-db-copy p { font-size: 12px; }

    .kk-slider-arrow {
        width: 36px;
        height: 36px;
    }

    .kk-slide-social-inner {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        justify-content: center;
    }

    .kk-slide-social-visual {
        font-size: 48px;
    }

    .kk-social-stats {
        justify-content: center;
    }

    .kk-slide-content { padding: 24px 20px; }

    .kk-slide-content h1 { font-size: 18px; }

    .kk-slide-content p { font-size: 13px; margin-bottom: 12px; }

    .kk-hero-main h1 { font-size: 20px; }

    .kk-hero-donate {
        padding: 20px;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .kk-hero-donate strong { font-size: 28px; margin: 0; }

    .kk-hero-donate .kk-btn { width: auto; flex: 1; }

    .kk-shops-grid { grid-template-columns: 1fr; }

    .kk-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

    .kk-mobile-nav { display: flex; }

    body { padding-bottom: 84px; }

    .kk-cat-tab { padding: 8px 14px; font-size: 12px; }
}

@media (max-width: 480px) {
    .kk-container { padding: 0 12px; }

    .kk-product-grid { grid-template-columns: 1fr 1fr; }

    .kk-hero-features span { font-size: 10px; padding: 4px 10px; }
}

/* ══════════════ LEGACY CLEANUP ══════════════ */
.wd-toolbar,
.woodmart-toolbar {
    display: none !important;
}

.sf-ColorfulBand-3p0K5 {
    display: none !important;
}

.footer-container.color-scheme-dark {
    background: var(--kk-green-dark) !important;
    color: rgba(255,255,255,.85) !important;
    margin-top: 40px;
}

.footer-container .main-footer {
    padding-top: 32px !important;
}

.footer-container a {
    color: rgba(255,255,255,.75) !important;
}

.footer-container a:hover {
    color: var(--kk-orange) !important;
}

.footer-container .min-footer {
    background: rgba(0,0,0,.2) !important;
    border-top: 1px solid rgba(255,255,255,.1) !important;
    color: rgba(255,255,255,.6) !important;
}

.footer-container .logo-footer {
    max-height: 48px !important;
    width: auto !important;
    filter: brightness(1.1);
}

.kk-flash-bar {
    margin: 0 auto;
    max-width: 1240px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.kk-flash-bar-success {
    background: #e8f5e9;
    color: #1b5e20;
    border: 1px solid #a5d6a7;
}
.kk-flash-bar-error {
    background: #ffebee;
    color: #b71c1c;
    border: 1px solid #ef9a9a;
}
.website-wrapper > .kk-flash-bar {
    margin: 10px 16px 0;
}

/* Category menu - more dropdown */
.kk-cat-menu-more { position: relative; flex-shrink: 0; }
.kk-cat-menu-more-btn { border: none; cursor: pointer; font-family: inherit; }
.kk-cat-menu-dropdown {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    min-width: 220px; max-height: 280px; overflow-y: auto;
    background: var(--kk-white); border: 1px solid var(--kk-border);
    border-radius: 14px; box-shadow: var(--kk-shadow); z-index: 50; padding: 8px;
}
.kk-cat-menu-dropdown.open { display: block; }
.kk-cat-menu-dropdown a {
    display: block; padding: 10px 12px; border-radius: 8px;
    color: var(--kk-text); text-decoration: none; font-size: 13px; font-weight: 600;
}
.kk-cat-menu-dropdown a:hover { background: var(--kk-bg); color: var(--kk-green); }

/* Trust band */
.kk-trust-band {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px;
}
.kk-trust-item {
    background: var(--kk-white); border: 1px solid var(--kk-border);
    border-radius: 16px; padding: 18px 14px; text-align: center; box-shadow: var(--kk-shadow);
}
.kk-trust-item i { font-size: 22px; color: var(--kk-green); margin-bottom: 8px; display: block; }
.kk-trust-item strong { display: block; font-size: 14px; color: var(--kk-green-dark); }
.kk-trust-item span { font-size: 12px; color: var(--kk-muted); }

.kk-add-cart-form { margin: 0; }
.kk-page, .kk-container, .kk-product-body h3, .kk-shop-info h3, .kk-brand-copy {
    overflow-wrap: break-word;
}
.kk-action-icon i { font-size: 18px; color: var(--kk-green); }

@media (max-width: 768px) {
    .kk-trust-band { grid-template-columns: repeat(2, 1fr); }
}

.kk-mobile-tools { display: none; }
.kk-search-mobile { display: none; }

@media (max-width: 768px) {
    .kk-mobile-tools {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }
    .kk-search-mobile { display: flex; margin-top: 0; }
}

.kk-location-mobile {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: 1.5px solid var(--kk-border);
    background: linear-gradient(180deg, #fff 0%, #f7faf8 100%);
    border-radius: 14px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    color: var(--kk-text);
    cursor: pointer;
}
.kk-location-mobile > i:first-child {
    color: var(--kk-orange);
    flex-shrink: 0;
}
.kk-location-mobile-label {
    color: var(--kk-muted);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.kk-location-mobile-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}
.kk-location-mobile-change {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 800;
    color: var(--kk-orange);
    background: #fff3e8;
    padding: 4px 8px;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .kk-search-mobile .kk-search-icon {
        display: flex;
    }

    .kk-search-mobile input[type="text"],
    .kk-search-mobile input {
        padding-left: 4px !important;
    }

    .kk-search-mobile button {
        min-width: 48px;
        padding: 0 14px !important;
    }
}

.kk-location-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
}
.kk-location-overlay[hidden] { display: none !important; }
.kk-location-modal {
    background: #fff;
    width: min(720px, 100%);
    max-height: min(80vh, 640px);
    overflow: auto;
    border-radius: 20px 20px 16px 16px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.kk-location-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.kk-location-modal-head h3 {
    margin: 0;
    font-size: 18px;
    color: var(--kk-green-dark);
}
.kk-location-close {
    border: none;
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
}
.kk-location-modal-note {
    margin: 0 0 16px;
    color: var(--kk-muted);
    font-size: 13px;
}
.kk-ilce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}
.kk-ilce-chip {
    border: 1.5px solid var(--kk-border);
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--kk-text);
    cursor: pointer;
    text-align: left;
}
.kk-ilce-chip:hover { border-color: var(--kk-green); }
.kk-ilce-chip.active {
    background: var(--kk-green);
    border-color: var(--kk-green);
    color: #fff;
}
body.kk-modal-open { overflow: hidden; }

.kk-cat-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.kk-cat-page-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1.5px solid var(--kk-border);
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    color: var(--kk-text);
    box-shadow: var(--kk-shadow);
    min-width: 0;
}
.kk-cat-page-card strong {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kk-cat-page-card small { color: var(--kk-muted); font-weight: 600; }

.kk-empty-state {
    background: #fff;
    border: 1.5px solid var(--kk-border);
    border-radius: 20px;
    padding: 48px 24px;
    text-align: center;
    box-shadow: var(--kk-shadow);
}
.kk-empty-state strong {
    display: block;
    font-size: 56px;
    color: var(--kk-orange);
    line-height: 1;
    margin-bottom: 8px;
}
.kk-empty-state h1 { margin: 0 0 8px; font-size: 24px; }
.kk-empty-state p { color: var(--kk-muted); margin: 0 0 20px; }
.kk-empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.kk-mobile-nav-item { position: relative; }
.kk-mobile-nav-item .kk-cart-badge {
    top: -2px;
    right: 8px;
}

.breadcrumb .delimiter { display: none !important; }

@media (min-width: 769px) {
    .kk-location-overlay { align-items: center; }
    .kk-location-modal { border-radius: 20px; }
}
