.hsp-menu-builder {
    --hsp-red: #c91f1f;
    --hsp-dark: #181818;
    --hsp-border: #e8e2db;
    --hsp-muted: #6f6b67;
    --hsp-cream: #fbf6ef;
    color: #252525;
    font-family: inherit;
}

.hsp-menu-builder * {
    box-sizing: border-box;
}

.hsp-section-heading {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.hsp-step {
    font-family: Georgia, serif;
    font-size: 26px;
    line-height: 1.1;
}

.hsp-section-heading h2 {
    margin: 0 0 6px;
    font-family: Georgia, serif;
    font-weight: 500;
    font-size: 30px;
}

.hsp-section-heading p {
    margin: 0;
    color: var(--hsp-muted);
    font-size: 14px;
}

.hsp-menu-selection {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 35px;
    padding: 50px 0;
}

.hsp-category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hsp-category-tab {
    border: 1px solid var(--hsp-border);
    background: #fff;
    border-radius: 24px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
	color:#000;
}

.hsp-category-tab.is-active,
.hsp-category-tab:hover {
    background: var(--hsp-red);
    color: #fff;
    border-color: var(--hsp-red);
}

.hsp-items-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.hsp-menu-card {
    overflow: hidden;
    border: 1px solid var(--hsp-border);
    border-radius: 8px;
    background: #fff;
    transition: .2s ease;
}

.hsp-menu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.hsp-menu-card.is-added {
    border-color: var(--hsp-red);
}

.hsp-card-image {
    aspect-ratio: 1.35 / 1;
    overflow: hidden;
    background: #eee;
}

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

.hsp-no-image {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #888;
    font-size: 13px;
}

.hsp-card-body {
    padding: 12px;
    text-align: center;
}

.hsp-card-body h3 {
    margin: 0 0 7px;
    font-size: 14px;
    line-height: 1.25;
    min-height: 35px;
}

.hsp-card-body p {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--hsp-muted);
}

.hsp-add-btn {
    width: 100%;
    border: 1px solid #ded9d2;
    border-radius: 4px;
    background: #fff;
    padding: 9px 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
	color:#000;
}

.hsp-add-btn.is-added,
.hsp-menu-card.is-added .hsp-add-btn {
    background: var(--hsp-red);
    border-color: var(--hsp-red);
    color: #fff;
}

.hsp-added-label {
    display: none;
}

.hsp-add-btn.is-added .hsp-add-label {
    display: none;
}

.hsp-add-btn.is-added .hsp-added-label {
    display: inline;
}

.hsp-item-hidden {
    display: none;
}

.hsp-show-more {
    display: block;
    margin: 18px auto 0;
    padding: 10px 40px;
    border: 1px solid var(--hsp-red);
    color: var(--hsp-red);
    background: #fff;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}

.hsp-menu-sidebar {
    position: relative;
}

.hsp-sidebar-inner {
    position: sticky;
    top: 25px;
    padding: 25px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,.10);
}

.hsp-sidebar-inner h2 {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 500;
}

.hsp-selection-count {
    margin: 6px 0 16px;
    color: var(--hsp-red);
    font-size: 13px;
    font-weight: 700;
}

.hsp-selected-items {
    max-height: 480px;
    overflow: auto;
}

.hsp-selected-item {
    display: grid;
    grid-template-columns: 40px 1fr 18px;
    gap: 9px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.hsp-selected-item img,
.hsp-mini-placeholder {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    background: #eee;
}

.hsp-selected-copy strong {
    display: block;
    font-size: 12px;
    line-height: 1.25;
}

.hsp-selected-copy small {
    display: block;
    margin-top: 3px;
    color: #888;
    font-size: 10px;
}

.hsp-remove-item {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 19px;
    color: #888;
    padding: 0;
}

.hsp-empty-selection {
    padding: 20px 0;
    color: #999;
    text-align: center;
    font-size: 13px;
}

.hsp-sidebar-actions {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.hsp-review-btn {
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 4px;
    background: var(--hsp-red);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.hsp-clear-btn {
    display: block;
    margin: 14px auto 0;
    border: 0;
    background: transparent;
    color: var(--hsp-red);
    font-weight: 700;
    cursor: pointer;
}

.hsp-services-section {
    padding: 45px 0;
    background: var(--hsp-cream);
}

.hsp-services-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.hsp-service-card {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--hsp-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.hsp-service-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hsp-service-icon {
    color: var(--hsp-red);
    font-size: 20px;
}

.hsp-service-copy strong {
    display: block;
    margin-bottom: 5px;
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 500;
}

.hsp-service-copy small {
    display: block;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
}

.hsp-service-check {
    margin-left: auto;
    width: 18px;
    height: 18px;
    border: 1px solid #bbb;
    border-radius: 3px;
    color: transparent;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
}

.hsp-service-card:has(.hsp-service-checkbox:checked) {
    border-color: var(--hsp-red);
}

.hsp-service-card:has(.hsp-service-checkbox:checked) .hsp-service-check {
    background: var(--hsp-red);
    border-color: var(--hsp-red);
    color: #fff;
}

.hsp-form-section {
    padding: 50px 0;
}

.hsp-form-wrap {
    padding-top: 10px;
}

.hsp-form-missing {
    margin: 35px 0;
    padding: 20px;
    border: 1px solid #f1c2c2;
    background: #fff7f7;
    border-radius: 8px;
}

@media (max-width: 1100px) {
    .hsp-items-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hsp-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .hsp-menu-selection {
        grid-template-columns: 1fr;
    }

    .hsp-menu-sidebar {
        order: -1;
    }

    .hsp-sidebar-inner {
        position: static;
    }

    .hsp-items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .hsp-items-grid,
    .hsp-services-grid {
        grid-template-columns: 1fr;
    }

    .hsp-section-heading h2 {
        font-size: 25px;
    }
}
