:root {
    --gh-primary: #fb471f;
    --gh-primary-dark: #dc3408;
    --gh-primary-soft: #ffe2d8;
    --gh-yellow: #fabc05;
    --gh-tint-1: #fff8f6;
    --gh-tint-2: #ffe2d8;
    --gh-ink: #b23216;
    --gh-ink-2: #7f1d1d;
    --gh-line: #e5e7eb;
}

.gh-icon {
    color: var(--gh-primary);
    filter: drop-shadow(0 0 4px rgba(250, 188, 5, 0.6));
}
.gh-icon--lg {
    font-size: 22px;
}

.gh-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--gh-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}
.gh-badge--lg {
    padding: 5px 12px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.02em;
}
.gh-badge--soft {
    background: var(--gh-tint-2);
    color: var(--gh-ink);
}
.gh-badge--accent {
    background: #1a1a1a;
    color: var(--gh-yellow);
    border: 1px solid rgba(250, 188, 5, 0.35);
}
.gh-badge i {
    font-size: 0.85em;
}

.gh-card {
    background: linear-gradient(
        135deg,
        var(--gh-tint-1) 0%,
        var(--gh-tint-2) 100%
    );
    border: 1.5px solid var(--gh-primary);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 6px 18px -10px rgba(251, 71, 31, 0.25);
}
.gh-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.gh-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gh-yellow), var(--gh-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
    box-shadow: 0 4px 12px -4px rgba(251, 71, 31, 0.5);
}
.gh-card__title {
    margin: 0;
    color: var(--gh-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}
.gh-card__sub {
    color: var(--gh-ink-2);
    font-size: 12px;
    line-height: 1.3;
}
.gh-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.gh-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 9px 16px;
    border-radius: 8px;
    background: var(--gh-primary);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.15s;
}
.gh-card__cta:hover {
    background: var(--gh-primary-dark);
    color: #fff;
    text-decoration: none;
}
.gh-card__hint {
    font-size: 12px;
    color: var(--gh-ink-2);
    margin-top: 8px;
    display: none;
    padding-top: 8px;
    border-top: 1px dashed rgba(251, 71, 31, 0.35);
}
.gh-card__hint.is-on {
    display: block;
}

.gh-window {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    font-size: 12px;
    flex-wrap: nowrap;
    white-space: nowrap;
}
.gh-window__day {
    font-weight: 700;
    color: var(--gh-ink);
    flex-shrink: 0;
}
.gh-window__time {
    color: #374151;
    font-variant-numeric: tabular-nums;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gh-window .gh-badge {
    flex-shrink: 0;
    padding: 2px 7px;
    font-size: 10px;
}

.vnr-slot.is-golden {
    background: linear-gradient(180deg, #fff1ed 0%, #ffd9c8 100%);
    border: 2px solid var(--gh-primary);
    color: var(--gh-ink);
    font-weight: 800;
    position: relative;
    overflow: visible;
    box-shadow: 0 4px 14px -6px rgba(251, 71, 31, 0.35);
    transform: translateY(0);
    transition:
        transform 0.15s,
        box-shadow 0.15s;
}
.vnr-slot.is-golden::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        var(--gh-primary),
        var(--gh-yellow),
        var(--gh-primary)
    );
    background-size: 200% 200%;
    z-index: -1;
    opacity: 0.35;
    animation: gh-shimmer 2.4s ease-in-out infinite;
}
.vnr-slot.is-golden:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(251, 71, 31, 0.55);
}
.vnr-slot.is-golden.is-selected {
    background: linear-gradient(
        180deg,
        var(--gh-primary) 0%,
        var(--gh-primary-dark) 100%
    );
    color: #fff;
    border-color: var(--gh-primary);
    box-shadow: 0 6px 18px -4px rgba(251, 71, 31, 0.6);
}
.vnr-slot.is-golden.is-selected .vnr-slot__golden {
    background: var(--gh-yellow);
    color: #1a1a1a;
}
.vnr-slot.is-golden.is-selected .vnr-slot__time {
    color: #fff;
}
.vnr-slot__time {
    display: block;
    font-size: 13px;
    line-height: 1.1;
    color: inherit;
}
.vnr-slot__golden {
    position: absolute;
    top: -8px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--gh-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.03em;
    box-shadow: 0 3px 8px -2px rgba(0, 0, 0, 0.25);
    border: 1.5px solid #fff;
    z-index: 2;
    pointer-events: none;
}

.vnr-product-card__golden {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #111827;
    color: var(--gh-yellow);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 5px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.55);
    z-index: 2;
    border: 1px solid rgba(250, 188, 5, 0.4);
    text-transform: uppercase;
    animation: gh-pulse 2.6s ease-in-out infinite;
    max-width: calc(100% - 24px);
}
.vnr-product-card__golden i {
    color: var(--gh-yellow);
    font-size: 12px;
}
.vnr-product-card__golden strong {
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}
.vnr-product-card__golden-time {
    color: var(--gh-yellow);
    font-size: 10.5px;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 700;
    padding-left: 6px;
    border-left: 1px solid rgba(250, 188, 5, 0.4);
}
.vnr-product-card__golden.is-today {
    background: linear-gradient(135deg, #111827, #3b1d10);
    border-color: rgba(250, 188, 5, 0.65);
}

.gh-day-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
@media (max-width: 575.98px) {
    .gh-day-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.gh-day-chip {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid var(--gh-line);
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    color: #374151;
    user-select: none;
    transition:
        border-color 0.15s ease,
        background 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}
.gh-day-chip:hover {
    border-color: var(--gh-primary);
    background: var(--gh-tint-1);
    color: var(--gh-primary);
}
.gh-day-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}
.gh-day-chip.is-on {
    border-color: var(--gh-primary);
    background: linear-gradient(135deg, var(--gh-yellow), var(--gh-primary));
    color: #fff;
    box-shadow: 0 3px 8px -3px rgba(251, 71, 31, 0.4);
}

.gh-discount-tier {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--gh-ink-2);
}
.gh-discount-tier__label {
    font-weight: 700;
    color: var(--gh-ink);
}

.gh-time-preview {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 4px 10px;
    background: var(--gh-tint-1);
    border-radius: 8px;
    color: var(--gh-ink);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.gh-time-preview i {
    color: var(--gh-primary);
}

.gh-range {
    display: none;
}
.gh-range.is-on {
    display: grid;
}

.gh-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
@media (min-width: 992px) {
    .gh-list-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.gh-list-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 14px;
    background: #fff8f6;
    border: 1px solid var(--gh-tint-2);
    border-radius: 12px;
    margin-bottom: 14px;
}
.gh-list-summary__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gh-yellow), var(--gh-primary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.gh-list-summary__text {
    color: var(--gh-ink);
    font-weight: 700;
    font-size: 14px;
}

.gh-list-row-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.gh-inactive-toggle {
    background: none;
    border: 0;
    color: var(--gh-ink-2);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.gh-inactive-toggle:hover {
    color: var(--gh-primary);
}
.gh-inactive-list {
    display: none;
}
.gh-inactive-list.is-on {
    display: block;
}

@keyframes gh-shimmer {
    0%,
    100% {
        background-position: 0% 50%;
        opacity: 0.25;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.55;
    }
}
@keyframes gh-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 6px 16px -6px rgba(0, 0, 0, 0.55),
            0 0 0 0 rgba(250, 188, 5, 0.5);
    }
    50% {
        transform: scale(1.04);
        box-shadow:
            0 6px 16px -6px rgba(0, 0, 0, 0.55),
            0 0 0 6px rgba(250, 188, 5, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .vnr-slot.is-golden::before,
    .vnr-product-card__golden {
        animation: none;
    }
}
