.han-kat-wrap,
.han-kat-wrap * {
    box-sizing: border-box;
}

.han-kat-wrap {
    width: 100%;
    background: var(--han-bg, #fff);
    font-family: 'Poppins', Arial, sans-serif !important;
    color: var(--han-dark, #111827);
    line-height: 1.5;
    overflow: hidden;
}

.han-kat-wrap a,
.han-kat-wrap button,
.han-kat-wrap input,
.han-kat-wrap select {
    font-family: 'Poppins', Arial, sans-serif !important;
}

.han-kat-wrap a {
    color: inherit;
    text-decoration: none !important;
}

.han-kat-wrap button,
.han-kat-wrap input,
.han-kat-wrap select {
    box-shadow: none !important;
    outline: none;
}

.han-kat-container {
    max-width: var(--han-width, 1400px);
    margin: 0 auto;
    padding: 26px 20px 46px;
}

.han-kat-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: 38px;
    align-items: center;
    min-height: 285px;
    padding: 8px 4px 34px;
}

.han-kat-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 26px;
    color: var(--han-muted, #64748b);
    font-size: 13px;
    font-weight: 500;
}

.han-kat-title {
    margin: 0 0 13px !important;
    padding: 0 !important;
    color: var(--han-dark, #111827) !important;
    font-size: clamp(34px, 4vw, 55px) !important;
    line-height: 1.06 !important;
    font-weight: 600 !important;
    letter-spacing: -1.4px;
}

.han-kat-subtitle {
    max-width: 690px;
    margin: 0 !important;
    color: var(--han-muted, #64748b) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
}

.han-kat-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.han-kat-hero-badge {
    display: inline-grid;
    grid-template-columns: 22px auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 10px;
    min-width: 145px;
    padding: 13px 16px;
    border: 1px solid var(--han-border, #e8edf3) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--han-dark, #111827) !important;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.han-kat-hero-badge:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--han-primary, #20b24b) 44%, var(--han-border, #e8edf3)) !important;
    box-shadow: 0 15px 38px rgba(15, 23, 42, .08) !important;
}

.han-kat-hero-badge svg,
.han-kat-float svg,
.han-kat-icon-btn svg,
.han-kat-trustbar svg,
.han-kat-search svg,
.han-kat-view-icons svg,
.han-kat-hero-badge-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.han-kat-hero-badge-icon {
    grid-row: 1 / 3;
    color: var(--han-primary, #20b24b);
}

.han-kat-hero-badge span:not(.han-kat-hero-badge-icon) {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.han-kat-hero-badge small {
    display: block;
    color: var(--han-muted, #64748b);
    font-size: 11px;
    font-weight: 500;
}

.han-kat-hero-visual {
    position: relative;
    min-height: 270px;
    overflow: hidden;
}

.han-kat-hero-visual::before {
    content: '';
    position: absolute;
    inset: 18px -60px 0 10px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 55% 58%, color-mix(in srgb, var(--han-primary, #20b24b) 22%, transparent) 0 18%, transparent 42%),
        repeating-radial-gradient(ellipse at 50% 50%, rgba(25, 180, 75, .09) 0 1px, transparent 1px 15px);
    opacity: .95;
    filter: blur(.1px);
}

.han-kat-wp-cube {
    position: absolute;
    right: 19%;
    top: 46px;
    width: 178px;
    height: 178px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(145deg, #fff, #edf2f2);
    box-shadow: 28px 28px 45px rgba(31, 65, 47, .16), -16px -16px 32px rgba(255, 255, 255, .85);
    transform: perspective(700px) rotateY(-12deg) rotateX(5deg);
}

.han-kat-wp-cube span {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border: 5px solid #82898e;
    color: #757d82;
    border-radius: 50%;
    font-size: 58px;
    font-family: Georgia, serif !important;
    font-weight: 700;
    line-height: 1;
}

.han-kat-float {
    position: absolute;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border: 1px solid var(--han-border, #e8edf3);
    border-radius: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--han-primary, #20b24b);
    box-shadow: 0 20px 45px rgba(15, 23, 42, .08);
    z-index: 2;
}

.han-kat-float.i1 { left: 16%; top: 48px; }
.han-kat-float.i2 { left: 23%; bottom: 55px; }
.han-kat-float.i3 { right: 8%; top: 112px; }

.han-kat-toolbar {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) minmax(130px, .62fr) minmax(150px, .72fr) minmax(178px, .86fr);
    gap: 12px;
    align-items: center;
    padding: 16px;
    margin-bottom: 28px;
    border: 1px solid var(--han-border, #e8edf3);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .05);
}

.han-kat-mobile-filter {
    display: none;
    min-height: 44px;
    padding: 0 16px !important;
    border: 1px solid var(--han-primary, #20b24b) !important;
    border-radius: 10px !important;
    background: var(--han-primary, #20b24b) !important;
    color: #fff !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.han-kat-search {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 46px;
    border: 1px solid var(--han-border, #e8edf3);
    border-radius: 10px;
    background: #fff;
    color: #9aa6b2;
    overflow: hidden;
}

.han-kat-search svg {
    width: 18px;
    height: 18px;
    margin-left: 15px;
    flex: 0 0 auto;
}

.han-kat-search input,
.han-kat-toolbar select,
.han-kat-price-inputs input {
    width: 100% !important;
    min-height: 46px !important;
    border: 1px solid var(--han-border, #e8edf3) !important;
    border-radius: 10px !important;
    background-color: #fff !important;
    color: var(--han-dark, #111827) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

.han-kat-search input {
    border: none !important;
    min-height: 44px !important;
    padding: 0 14px 0 10px !important;
}

.han-kat-toolbar select {
    padding: 0 34px 0 14px !important;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #8591a1 50%), linear-gradient(135deg, #8591a1 50%, transparent 50%);
    background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.han-kat-search input:focus,
.han-kat-toolbar select:focus,
.han-kat-price-inputs input:focus {
    border-color: var(--han-primary, #20b24b) !important;
}

.han-kat-view-icons {
    display: inline-flex;
    gap: 8px;
    justify-content: flex-end;
}

.han-kat-view-icons button {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--han-border, #e8edf3) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #64748b !important;
    cursor: pointer;
}

.han-kat-view-icons button.is-active,
.han-kat-view-icons button:hover {
    color: var(--han-primary, #20b24b) !important;
    border-color: color-mix(in srgb, var(--han-primary, #20b24b) 45%, var(--han-border, #e8edf3)) !important;
}

.han-kat-main {
    display: grid;
    gap: 30px;
}

.han-kat-main.has-sidebar {
    grid-template-columns: 280px minmax(0, 1fr);
}

.han-kat-sidebar {
    align-self: start;
    display: grid;
    gap: 22px;
    padding: 22px;
    border: 1px solid var(--han-border, #e8edf3);
    border-radius: var(--han-radius, 14px);
    background: #fff;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .04);
}

.han-kat-sidebar-close,
.han-kat-overlay {
    display: none;
}

.han-kat-filter-box + .han-kat-filter-box {
    padding-top: 6px;
}

.han-kat-filter-box h3 {
    margin: 0 0 13px !important;
    color: var(--han-dark, #111827) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.han-kat-check {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    margin: 0 0 7px !important;
    color: #536173 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer;
}

.han-kat-check input {
    width: 15px !important;
    height: 15px !important;
    margin: 0 !important;
    accent-color: var(--han-primary, #20b24b);
}

.han-kat-check span {
    flex: 1;
}

.han-kat-check em {
    min-width: 28px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f4f7f9;
    color: #8a97a6;
    font-style: normal;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
}

.han-kat-check.is-all {
    color: var(--han-dark, #111827) !important;
}

.han-kat-sort-pills {
    display: grid;
    gap: 8px;
}

.han-kat-sort-pills label {
    display: block !important;
    margin: 0 !important;
    cursor: pointer;
}

.han-kat-sort-pills input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.han-kat-sort-pills span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--han-border, #e8edf3);
    border-radius: 10px;
    background: #fff;
    color: #536173;
    font-size: 13px;
    font-weight: 500;
    transition: all .18s ease;
}

.han-kat-sort-pills span::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d8dee7;
}

.han-kat-sort-pills input:checked + span {
    border-color: color-mix(in srgb, var(--han-primary, #20b24b) 48%, var(--han-border, #e8edf3));
    background: color-mix(in srgb, var(--han-primary, #20b24b) 8%, #fff);
    color: var(--han-dark, #111827);
}

.han-kat-sort-pills input:checked + span::after {
    background: var(--han-primary, #20b24b);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--han-primary, #20b24b) 12%, transparent);
}

.han-kat-price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.han-kat-price-inputs input {
    min-height: 42px !important;
    padding: 0 12px !important;
}

.han-kat-products-area {
    min-width: 0;
}

.han-kat-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 5px 0 22px;
}

.han-kat-results-head strong {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}

.han-kat-clear-filters {
    border: none !important;
    background: transparent !important;
    color: #536173 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer;
    padding: 6px 0 !important;
}

.han-kat-clear-filters:hover {
    color: var(--han-primary, #20b24b) !important;
}

.han-kat-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(var(--han-cols, 3), minmax(0, 1fr));
    gap: 26px;
    min-height: 260px;
}

.han-kat-grid.is-loading::before {
    content: '';
    position: absolute;
    inset: -8px;
    z-index: 5;
    border-radius: var(--han-radius, 14px);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(2px);
}

.han-kat-grid.is-loading::after {
    content: '';
    position: absolute;
    z-index: 6;
    top: 120px;
    left: 50%;
    width: 36px;
    height: 36px;
    margin-left: -18px;
    border: 3px solid rgba(32, 178, 75, .25);
    border-top-color: var(--han-primary, #20b24b);
    border-radius: 50%;
    animation: hanKatSpin .75s linear infinite;
}

@keyframes hanKatSpin {
    to { transform: rotate(360deg); }
}

.han-kat-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--han-border, #e8edf3);
    border-radius: var(--han-radius, 14px);
    background: var(--han-card, #fff);
    box-shadow: 0 14px 38px rgba(15, 23, 42, .05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.han-kat-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--han-primary, #20b24b) 36%, var(--han-border, #e8edf3));
    box-shadow: 0 22px 55px rgba(15, 23, 42, .10);
}

.han-kat-card-media {
    position: relative;
    display: block;
    height: var(--han-image-h, 170px);
    overflow: hidden;
    background: linear-gradient(135deg, #f5f8fb, #ffffff);
}

.han-kat-card-img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover;
    border: 0 !important;
    border-radius: 0 !important;
    transition: transform .35s ease;
}

.han-kat-card:hover .han-kat-card-img {
    transform: scale(1.04);
}

.han-kat-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    justify-content: flex-end;
}

.han-kat-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 0 10px;
    border-radius: 7px;
    background: var(--han-primary, #20b24b);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(32, 178, 75, .24);
}

.han-kat-badge.is-new {
    background: #20b24b;
}

.han-kat-badge.is-sale {
    background: #ef4444;
}

.han-kat-card-body {
    flex: 1;
    padding: 18px 18px 0;
}

.han-kat-card-title {
    margin: 0 0 6px !important;
    padding: 0 !important;
    color: var(--han-dark, #111827) !important;
    font-size: 18px !important;
    line-height: 1.32 !important;
    font-weight: 600 !important;
    letter-spacing: -.2px;
}

.han-kat-card-title a:hover {
    color: var(--han-primary, #20b24b) !important;
}

.han-kat-card-excerpt {
    min-height: 42px;
    margin: 0 0 13px !important;
    color: #64748b !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.han-kat-rating {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
}

.han-kat-stars {
    position: relative;
    display: inline-block;
    color: #e6e9ee;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 1;
}

.han-kat-stars::before {
    content: '★★★★★';
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--rating, 0%);
    overflow: hidden;
    color: #f6b21a;
}

.han-kat-rating-count {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}

.han-kat-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.han-kat-meta-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border: 1px solid var(--han-border, #e8edf3);
    border-radius: 999px;
    background: #f8fafb;
    color: #7a8795;
    font-size: 11px;
    font-weight: 500;
}

.han-kat-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px 17px;
}

.han-kat-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.han-kat-icon-btn {
    width: 36px;
    height: 36px;
    display: inline-grid !important;
    place-items: center;
    padding: 0 !important;
    border: 1px solid var(--han-border, #e8edf3) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #64748b !important;
    cursor: pointer;
    transition: all .2s ease;
}

.han-kat-icon-btn svg {
    width: 17px;
    height: 17px;
}

.han-kat-icon-btn:hover,
.han-kat-icon-btn.added {
    color: var(--han-primary, #20b24b) !important;
    border-color: color-mix(in srgb, var(--han-primary, #20b24b) 45%, var(--han-border, #e8edf3)) !important;
    background: color-mix(in srgb, var(--han-primary, #20b24b) 8%, #fff) !important;
}

.han-kat-price {
    color: var(--han-dark, #111827);
    font-size: 18px;
    font-weight: 600;
    white-space: nowrap;
}

.han-kat-price del {
    color: #9ca3af;
    font-size: 13px;
    font-weight: 500;
    margin-right: 4px;
}

.han-kat-price ins {
    text-decoration: none;
}

.han-kat-empty {
    grid-column: 1 / -1;
    min-height: 310px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 45px;
    border: 1px dashed var(--han-border, #e8edf3);
    border-radius: var(--han-radius, 14px);
    background: #fff;
    text-align: center;
}

.han-kat-empty-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--han-primary, #20b24b) 8%, #fff);
    color: var(--han-primary, #20b24b);
    font-size: 28px;
}

.han-kat-empty strong {
    color: var(--han-dark, #111827);
    font-size: 18px;
    font-weight: 600;
}

.han-kat-empty p {
    max-width: 420px;
    margin: 0 !important;
    color: #64748b;
    font-size: 14px;
}

.han-kat-pagination-wrap {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.han-kat-pagination {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.han-kat-page-btn {
    min-width: 45px;
    height: 45px;
    padding: 0 12px !important;
    border: 1px solid var(--han-border, #e8edf3) !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: var(--han-dark, #111827) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
}

.han-kat-page-btn:hover,
.han-kat-page-btn.is-active {
    background: var(--han-primary, #20b24b) !important;
    border-color: var(--han-primary, #20b24b) !important;
    color: #fff !important;
}

.han-kat-page-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.han-kat-page-dots {
    color: #64748b;
    padding: 0 6px;
}

.han-kat-trustbar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin-top: 60px;
    border: 1px solid var(--han-border, #e8edf3);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .04);
    overflow: hidden;
}

.han-kat-trustbar div {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 14px;
    padding: 24px 26px;
    border-right: 1px solid var(--han-border, #e8edf3);
}

.han-kat-trustbar div:last-child {
    border-right: 0;
}

.han-kat-trustbar svg {
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    color: var(--han-primary, #20b24b);
}

.han-kat-trustbar strong {
    color: var(--han-dark, #111827);
    font-size: 14px;
    font-weight: 600;
}

.han-kat-trustbar span {
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
}

.han-kat-notice {
    padding: 18px 20px;
    border: 1px solid #f3ca75;
    border-radius: 10px;
    background: #fff8e5;
    color: #7c4a03;
    font-family: Arial, sans-serif;
}

@media (max-width: 1180px) {
    .han-kat-toolbar {
        grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(128px, .72fr));
    }
    .han-kat-main.has-sidebar {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 24px;
    }
    .han-kat-trustbar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .han-kat-trustbar div:nth-child(2n) {
        border-right: 0;
    }
    .han-kat-trustbar div:nth-child(-n+2) {
        border-bottom: 1px solid var(--han-border, #e8edf3);
    }
}

@media (max-width: 1024px) {
    .han-kat-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .han-kat-hero-visual {
        min-height: 230px;
    }
    .han-kat-wp-cube {
        right: 50%;
        transform: translateX(50%) perspective(700px) rotateY(-12deg) rotateX(5deg);
    }
    .han-kat-grid {
        grid-template-columns: repeat(var(--han-cols-tablet, 2), minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .han-kat-container {
        padding: 20px 14px 34px;
    }
    .han-kat-toolbar {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 12px;
    }
    .han-kat-toolbar .han-kat-search {
        grid-column: 1 / -1;
    }
    .han-kat-toolbar .han-kat-view-icons {
        display: none;
    }
    .han-kat-mobile-filter {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .han-kat-main.has-sidebar {
        grid-template-columns: 1fr;
    }
    .han-kat-sidebar {
        position: fixed;
        z-index: 99999;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(88vw, 360px);
        max-height: 100vh;
        overflow-y: auto;
        border-radius: 0 18px 18px 0;
        transform: translateX(-105%);
        transition: transform .28s ease;
        box-shadow: 20px 0 60px rgba(15, 23, 42, .24);
    }
    .han-kat-products-widget.is-filter-open .han-kat-sidebar {
        transform: translateX(0);
    }
    .han-kat-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 99998;
        background: rgba(15, 23, 42, .45);
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }
    .han-kat-products-widget.is-filter-open .han-kat-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    .han-kat-sidebar-close {
        display: grid;
        place-items: center;
        position: absolute;
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        border: 1px solid var(--han-border, #e8edf3) !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: var(--han-dark, #111827) !important;
        font-size: 26px !important;
        line-height: 1 !important;
        cursor: pointer;
    }
    .han-kat-filter-box:first-of-type {
        padding-top: 32px;
    }
}

@media (max-width: 640px) {
    .han-kat-title {
        font-size: 34px !important;
        letter-spacing: -1px;
    }
    .han-kat-subtitle {
        font-size: 14px !important;
        line-height: 1.75 !important;
    }
    .han-kat-hero-badges {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .han-kat-hero-badge {
        min-width: 0;
        padding: 12px;
    }
    .han-kat-hero-visual {
        display: none;
    }
    .han-kat-toolbar {
        grid-template-columns: 1fr;
    }
    .han-kat-toolbar select,
    .han-kat-mobile-filter,
    .han-kat-search,
    .han-kat-search input {
        min-height: 48px !important;
    }
    .han-kat-grid {
        grid-template-columns: repeat(var(--han-cols-mobile, 1), minmax(0, 1fr));
        gap: 18px;
    }
    .han-kat-results-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 16px;
    }
    .han-kat-card-media {
        height: min(var(--han-image-h, 170px), 190px);
    }
    .han-kat-card-title {
        font-size: 16px !important;
    }
    .han-kat-card-footer {
        align-items: flex-start;
        flex-direction: column-reverse;
    }
    .han-kat-card-actions {
        width: 100%;
        justify-content: space-between;
    }
    .han-kat-icon-btn {
        flex: 1;
        max-width: 58px;
    }
    .han-kat-trustbar {
        grid-template-columns: 1fr;
        margin-top: 38px;
    }
    .han-kat-trustbar div {
        border-right: 0 !important;
        border-bottom: 1px solid var(--han-border, #e8edf3);
        padding: 20px;
    }
    .han-kat-trustbar div:last-child {
        border-bottom: 0 !important;
    }
    .han-kat-pagination {
        gap: 7px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .han-kat-page-btn {
        min-width: 40px;
        height: 40px;
    }
}
body.han-kat-lock {
    overflow: hidden;
}


/* Han Kategori v1.0.1 - stronger Elementor/tema bağımsızlığı */
.han-kat-wrap .han-kat-card,
.han-kat-wrap .han-kat-sidebar,
.han-kat-wrap .han-kat-toolbar,
.han-kat-wrap .han-kat-trustbar,
.han-kat-wrap .han-kat-hero-badge,
.han-kat-wrap .han-kat-search,
.han-kat-wrap .han-kat-toolbar select,
.han-kat-wrap .han-kat-price-inputs input {
    border-color: var(--han-border, #e8edf3) !important;
}

.han-kat-wrap .han-kat-toolbar,
.han-kat-wrap .han-kat-sidebar,
.han-kat-wrap .han-kat-card,
.han-kat-wrap .han-kat-trustbar,
.han-kat-wrap .han-kat-hero-badge,
.han-kat-wrap .han-kat-search,
.han-kat-wrap .han-kat-toolbar select,
.han-kat-wrap .han-kat-price-inputs input {
    background-color: var(--han-card, #fff) !important;
}

.han-kat-wrap .han-kat-mobile-filter,
.han-kat-wrap .han-kat-page-btn.is-active,
.han-kat-wrap .han-kat-page-btn:hover,
.han-kat-wrap .han-kat-badge {
    background-color: var(--han-primary, #20b24b) !important;
    border-color: var(--han-primary, #20b24b) !important;
}

.han-kat-wrap .han-kat-title,
.han-kat-wrap .han-kat-card-title,
.han-kat-wrap .han-kat-filter-box h3,
.han-kat-wrap .han-kat-price {
    color: var(--han-dark, #111827) !important;
}

.han-kat-wrap .han-kat-subtitle,
.han-kat-wrap .han-kat-breadcrumb,
.han-kat-wrap .han-kat-card-excerpt {
    color: var(--han-muted, #64748b) !important;
}

/* Han Kategori v1.1.0 - düzenlenebilir üst görsel + mobil panel */
.han-kat-hero-image-card {
    position: absolute;
    right: 15%;
    top: 35px;
    width: var(--han-hero-visual-size, 190px);
    height: var(--han-hero-visual-size, 190px);
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff, #eef4f1);
    box-shadow: 28px 28px 45px rgba(31, 65, 47, .16), -16px -16px 32px rgba(255, 255, 255, .85);
    transform: perspective(700px) rotateY(-12deg) rotateX(5deg);
    overflow: hidden;
}

.han-kat-hero-image-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border: 0 !important;
    border-radius: 0 !important;
}

.han-kat-panel-head {
    display: none;
}

.han-kat-panel-search-box {
    display: none;
}

.han-kat-mobile-filter svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: currentColor;
}

.han-kat-panel-search {
    width: 100%;
}

@media (max-width: 1024px) {
    .han-kat-hero-image-card {
        right: 50%;
        transform: translateX(50%) perspective(700px) rotateY(-12deg) rotateX(5deg);
    }
}

@media (max-width: 900px) {
    .han-kat-toolbar {
        display: block;
        padding: 10px;
        margin-bottom: 20px;
    }

    .han-kat-toolbar > :not(.han-kat-mobile-filter) {
        display: none !important;
    }

    .han-kat-mobile-filter {
        display: inline-flex !important;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .han-kat-panel-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 8px;
        padding-right: 42px;
    }

    .han-kat-panel-head strong {
        color: var(--han-dark, #111827);
        font-size: 18px;
        font-weight: 600;
    }

    .han-kat-panel-search-box {
        display: block;
    }

    .han-kat-sidebar {
        left: 0 !important;
        width: min(92vw, 390px) !important;
        border-radius: 0 18px 18px 0 !important;
        padding-top: 22px !important;
    }

    .han-kat-sidebar-close {
        top: 17px !important;
        right: 16px !important;
    }

    .han-kat-filter-box:first-of-type {
        padding-top: 0 !important;
    }
}

@media (max-width: 640px) {
    .han-kat-toolbar {
        grid-template-columns: 1fr !important;
    }

    .han-kat-hero {
        padding-bottom: 20px;
    }
}

/* Han Kategori v1.2.0 - mobil filtre ve kart aksiyonları */
.han-kat-wrap .han-kat-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.han-kat-wrap .han-kat-price {
    width: 100%;
}

.han-kat-wrap .han-kat-card-actions {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 9px;
}

.han-kat-wrap .han-kat-icon-btn {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

.han-kat-wrap .han-kat-whatsapp {
    color: #16a34a !important;
    border-color: rgba(22, 163, 74, .25) !important;
    background: rgba(22, 163, 74, .06) !important;
}

.han-kat-wrap .han-kat-whatsapp:hover {
    color: #fff !important;
    border-color: #16a34a !important;
    background: #16a34a !important;
}

@media (max-width: 1024px) {
    .han-kat-wrap .han-kat-toolbar {
        display: block !important;
        padding: 10px !important;
        margin-bottom: 20px !important;
    }

    .han-kat-wrap .han-kat-toolbar > :not(.han-kat-mobile-filter) {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .han-kat-wrap .han-kat-mobile-filter {
        display: inline-flex !important;
        width: 100% !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        height: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 0 16px !important;
        overflow: visible !important;
    }

    .han-kat-wrap .han-kat-main.has-sidebar {
        grid-template-columns: 1fr !important;
    }

    .han-kat-wrap .han-kat-sidebar {
        position: fixed !important;
        z-index: 99999 !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: min(92vw, 390px) !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        border-radius: 0 18px 18px 0 !important;
        transform: translateX(-105%) !important;
        transition: transform .28s ease !important;
        box-shadow: 20px 0 60px rgba(15, 23, 42, .24) !important;
        padding-top: 22px !important;
    }

    .han-kat-products-widget.is-filter-open .han-kat-sidebar {
        transform: translateX(0) !important;
    }

    .han-kat-wrap .han-kat-overlay {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 99998 !important;
        background: rgba(15, 23, 42, .45) !important;
        opacity: 0;
        pointer-events: none;
        transition: opacity .25s ease;
    }

    .han-kat-products-widget.is-filter-open .han-kat-overlay {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .han-kat-wrap .han-kat-panel-head,
    .han-kat-wrap .han-kat-panel-search-box {
        display: block !important;
    }

    .han-kat-wrap .han-kat-panel-head {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 8px;
        padding-right: 42px;
    }

    .han-kat-wrap .han-kat-sidebar-close {
        display: grid !important;
        place-items: center !important;
    }
}

@media (max-width: 640px) {
    .han-kat-wrap .han-kat-card-footer {
        align-items: stretch !important;
        flex-direction: column !important;
    }
    .han-kat-wrap .han-kat-card-actions {
        justify-content: stretch !important;
    }
}


/* Han Kategori v1.2.1 - net ikon seti + düzgün mobil panel kapatma */
.han-kat-wrap .han-kat-icon-btn,
.han-kat-wrap .han-kat-sidebar-close {
    appearance: none !important;
    -webkit-appearance: none !important;
}

.han-kat-wrap .han-kat-icon-btn svg,
.han-kat-wrap .han-kat-sidebar-close svg {
    display: block !important;
    fill: currentColor !important;
    stroke: none !important;
    transform: none !important;
}

.han-kat-wrap .han-kat-card-actions {
    align-items: center !important;
}

.han-kat-wrap .han-kat-icon-btn {
    min-height: 38px !important;
    border-radius: 12px !important;
    color: #475569 !important;
}

.han-kat-wrap .han-kat-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
}

.han-kat-wrap .han-kat-fav:hover,
.han-kat-wrap .han-kat-fav.added {
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, .28) !important;
    background: rgba(239, 68, 68, .07) !important;
}

.han-kat-wrap .han-kat-cart {
    color: var(--han-primary, #20b24b) !important;
    border-color: color-mix(in srgb, var(--han-primary, #20b24b) 30%, var(--han-border, #e8edf3)) !important;
    background: color-mix(in srgb, var(--han-primary, #20b24b) 7%, #fff) !important;
}

.han-kat-wrap .han-kat-cart:hover,
.han-kat-wrap .han-kat-cart.added {
    color: #fff !important;
    border-color: var(--han-primary, #20b24b) !important;
    background: var(--han-primary, #20b24b) !important;
}

.han-kat-wrap .han-kat-whatsapp {
    color: #16a34a !important;
    border-color: rgba(22, 163, 74, .28) !important;
    background: rgba(22, 163, 74, .07) !important;
}

.han-kat-wrap .han-kat-whatsapp:hover {
    color: #fff !important;
    border-color: #16a34a !important;
    background: #16a34a !important;
}

.han-kat-wrap .han-kat-whatsapp svg {
    width: 17px !important;
    height: 17px !important;
}

@media (max-width: 1024px) {
    .han-kat-wrap .han-kat-panel-head {
        position: sticky !important;
        top: 0 !important;
        z-index: 3 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        margin: -2px -2px 14px !important;
        padding: 2px 0 14px !important;
        border-bottom: 1px solid var(--han-border, #e8edf3) !important;
        background: #fff !important;
    }

    .han-kat-wrap .han-kat-sidebar-close {
        position: static !important;
        inset: auto !important;
        display: inline-grid !important;
        place-items: center !important;
        flex: 0 0 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 12px !important;
        border: 1px solid var(--han-border, #e8edf3) !important;
        background: #f8fafc !important;
        color: #0f172a !important;
        font-size: 0 !important;
        line-height: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    .han-kat-wrap .han-kat-sidebar-close:hover {
        color: #fff !important;
        border-color: var(--han-primary, #20b24b) !important;
        background: var(--han-primary, #20b24b) !important;
    }

    .han-kat-wrap .han-kat-sidebar-close svg {
        width: 13px !important;
        height: 13px !important;
    }

    .han-kat-wrap .han-kat-sidebar {
        padding: 18px !important;
        overflow-x: hidden !important;
    }
}

/* Han Kategori v1.2.2 - kart içi sepet/favori akışı */
.han-kat-wrap .han-kat-card-actions .added_to_cart,
.han-kat-wrap .han-kat-card-actions .wc-forward {
    display: none !important;
}

.han-kat-wrap .han-kat-icon-btn .han-kat-btn-text {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    font-weight: 500 !important;
}

.han-kat-wrap .han-kat-card-actions {
    grid-template-columns: auto auto auto !important;
}

.han-kat-wrap .han-kat-icon-btn {
    width: auto !important;
    min-width: 38px !important;
    height: 38px !important;
    gap: 6px !important;
    padding: 0 10px !important;
    text-decoration: none !important;
}

.han-kat-wrap .han-kat-cart.han-kat-cart-ready,
.han-kat-wrap .han-kat-cart.han-kat-cart-ready:hover,
.han-kat-wrap .han-kat-cart.is-cart-link,
.han-kat-wrap .han-kat-cart.is-cart-link:hover {
    color: #fff !important;
    border-color: var(--han-primary, #20b24b) !important;
    background: var(--han-primary, #20b24b) !important;
}

.han-kat-wrap .han-kat-cart.han-kat-cart-ready svg,
.han-kat-wrap .han-kat-cart.is-cart-link svg {
    color: #fff !important;
    fill: currentColor !important;
}

.han-kat-wrap .han-kat-fav.is-favorited,
.han-kat-wrap .han-kat-fav.is-favorited:hover {
    color: #fff !important;
    border-color: #ef4444 !important;
    background: #ef4444 !important;
}

.han-kat-wrap .han-kat-fav.is-favorited svg {
    fill: currentColor !important;
}

.han-kat-single-fav-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    margin: 8px 0 14px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(239, 68, 68, .25) !important;
    background: rgba(239, 68, 68, .08) !important;
    color: #dc2626 !important;
    font-family: Poppins, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
}

.han-kat-single-fav-status:before {
    content: "♥";
    margin-right: 7px;
    font-size: 13px;
}

.han-kat-favorites-page {
    --han-primary: #20b24b;
    font-family: Poppins, sans-serif !important;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 0;
}

.han-kat-favorites-head {
    margin-bottom: 22px;
}

.han-kat-favorites-head h2 {
    margin: 0 0 6px !important;
    font-size: 30px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #111827 !important;
}

.han-kat-favorites-head p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

.han-kat-favorites-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.han-kat-fav-card {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .05);
}

.han-kat-fav-img {
    display: block;
    width: 96px;
    height: 96px;
    border-radius: 14px;
    overflow: hidden;
    background: #f8fafc;
}

.han-kat-fav-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.han-kat-fav-body h3 {
    margin: 0 0 8px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;
}

.han-kat-fav-body h3 a {
    color: #111827 !important;
    text-decoration: none !important;
}

.han-kat-fav-body strong {
    display: block;
    margin-bottom: 10px;
    color: #111827;
    font-size: 15px;
    font-weight: 600;
}

.han-kat-fav-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--han-primary, #20b24b);
    color: #fff !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
}

.han-kat-fav-empty {
    grid-column: 1 / -1;
    padding: 22px;
    border: 1px dashed #d7dee8;
    border-radius: 18px;
    background: #fbfcfd;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 1024px) {
    .han-kat-favorites-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .han-kat-wrap .han-kat-card-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .han-kat-wrap .han-kat-icon-btn {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 7px !important;
        gap: 5px !important;
    }
    .han-kat-wrap .han-kat-icon-btn .han-kat-btn-text {
        font-size: 10px !important;
    }
    .han-kat-favorites-grid {
        grid-template-columns: 1fr;
    }
}

/* Han Kategori v1.2.3 - kart buton düzeni ve yönlendirmesiz yeşil favori */
.han-kat-wrap .han-kat-card-actions {
    display: grid !important;
    grid-template-columns: 46px minmax(120px, 1fr) 46px !important;
    align-items: center !important;
    gap: 9px !important;
    width: 100% !important;
}
.han-kat-wrap .han-kat-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 13px !important;
    line-height: 1 !important;
    text-decoration: none !important;
}
.han-kat-wrap .han-kat-fav,
.han-kat-wrap .han-kat-whatsapp {
    width: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    padding: 0 !important;
    gap: 0 !important;
}
.han-kat-wrap .han-kat-cart {
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 13px !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}
.han-kat-wrap .han-kat-cart svg {
    flex: 0 0 17px !important;
    width: 17px !important;
    height: 17px !important;
    order: 0 !important;
}
.han-kat-wrap .han-kat-cart .han-kat-btn-text {
    display: inline-flex !important;
    align-items: center !important;
    order: 1 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}
.han-kat-wrap .han-kat-fav .han-kat-btn-text,
.han-kat-wrap .han-kat-whatsapp .han-kat-btn-text {
    display: none !important;
}
.han-kat-wrap .han-kat-fav:hover,
.han-kat-wrap .han-kat-fav.added,
.han-kat-wrap .han-kat-fav.is-favorited,
.han-kat-wrap .han-kat-fav.is-favorited:hover {
    color: #fff !important;
    border-color: #16a34a !important;
    background: #16a34a !important;
}
.han-kat-wrap .han-kat-fav.is-favorited svg,
.han-kat-wrap .han-kat-fav.added svg {
    color: #fff !important;
    fill: currentColor !important;
}
.han-kat-wrap .han-kat-fav-pulse {
    animation: hanKatFavPulse .42s ease both !important;
}
@keyframes hanKatFavPulse {
    0% { transform: scale(1); }
    45% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.han-kat-single-fav-status {
    border-color: rgba(22, 163, 74, .24) !important;
    background: rgba(22, 163, 74, .08) !important;
    color: #15803d !important;
}
@media (max-width: 640px) {
    .han-kat-wrap .han-kat-card-actions {
        grid-template-columns: 44px minmax(116px, 1fr) 44px !important;
        gap: 8px !important;
    }
    .han-kat-wrap .han-kat-fav,
    .han-kat-wrap .han-kat-whatsapp {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
    }
    .han-kat-wrap .han-kat-cart {
        padding: 0 10px !important;
        gap: 7px !important;
        font-size: 12px !important;
    }
    .han-kat-wrap .han-kat-cart .han-kat-btn-text {
        font-size: 12px !important;
    }
}
