body.admin-bar .jkh-drawer {
    top: var(--wp-admin--admin-bar--height, 32px);
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}
@media screen and (max-width: 782px) {
    body.admin-bar .jkh-drawer {
        top: 46px;
        height: calc(100vh - 46px);
    }
}

.jkh-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    background-color: #61CE70;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    font-weight: bold;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.jkh-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2147483647;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.jkh-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100vh;
    background: #fff;
    z-index: 2147483647;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.jkh-drawer.jkh-open {
    right: 0;
}
.jkh-overlay.jkh-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Header */
.jkh-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.jkh-header-left, .jkh-header-right {
    display: flex;
    gap: 10px;
    width: 80px;
}
.jkh-header-right {
    justify-content: flex-end;
}

.jkh-header-icon {
    background-color: transparent;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.jkh-header-icon svg {
    width: 20px;
    height: 20px;
}

.jkh-header-logo img {
    max-height: 30px;
    width: auto;
}

/* Progress Bar */
.jkh-progress-container {
    width: 100%;
    background-color: #f0f0f0;
    height: 6px; /* Default height, overridable by Elementor */
}

.jkh-progress-bar {
    height: 100%;
    background-color: #7a2b25; /* Default color, overridable by Elementor */
    width: 0%;
    transition: width 0.3s ease;
}

/* Content */
.jkh-content {
    padding: 30px;
    overflow-y: auto;
    flex-grow: 1;
}

.jkh-heading {
    margin-top: 0;
    font-size: 24px;
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
}

.jkh-subheading {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
}

/* Cards (Intro / Questions) */
.jkh-card {
    display: block;
    width: 100%;
    text-align: left;
    background: #7a2b25; /* Default dark red from screenshot */
    border: none;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
    color: #fff;
}
.jkh-card:hover {
    transform: translateY(-2px);
}
.jkh-card h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}
.jkh-card p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* Tags (Result page) */
.jkh-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.jkh-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e6f7eb;
    color: #0b8043;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

/* Product Card */
.jkh-result-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    background: #fff;
    position: relative;
}

.jkh-badge {
    position: absolute;
    top: -10px;
    left: 20px;
    background: #fff;
    border: 1px solid #eee;
    color: #7a2b25;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.jkh-result-img {
    text-align: center;
    margin-bottom: 15px;
}
.jkh-result-img img {
    max-width: 200px;
    height: auto;
}

.jkh-result-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.jkh-result-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}
.jkh-result-rating .star-rating {
    color: #f5c518;
    font-size: 14px;
}

.jkh-result-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.jkh-result-price {
    font-size: 20px;
    color: #111;
    font-weight: bold;
    margin-bottom: 15px;
}

.jkh-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #7a2b25;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    width: 100%;
}
.jkh-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.jkh-result-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.jkh-footer-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f5f5f5;
    color: #666;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}
.jkh-footer-tag.jkh-green {
    background: #e6f7eb;
    color: #0b8043;
}

/* Mobile */
@media screen and (max-width: 480px) {
    .jkh-drawer { max-width: 100%; }
    .jkh-content { padding: 20px; }
}