/* Gladly Help Center: right rail + chat (customer service) — aligned with ecomm_frontend-style panel */
.belk-gladly-cs-overlay {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: transparent;
}

.belk-gladly-cs-backdrop {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 100%;
    background: rgba(0, 0, 0, 0.45);
    cursor: pointer;
}

.belk-gladly-cs-dialog {
    position: fixed;
    width: min(440px, 100vw);
    max-width: 100%;
    margin: 0;
    background: #fff;
    border-radius: 8px 0 0 8px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    height: 100%;
    max-height: 100%;
    min-height: 0;
    overflow-y: auto;
}

.belk-gladly-cs-dialog__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
    background: #fff;
}

.belk-gladly-cs-dialog__title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #020202;
    padding-right: 8px;
    display: flex;
    width: 100%;
    justify-content: center;
}

.belk-gladly-cs-dialog__close {
    background: none;
    border: none;
    font-size: 2.4rem;
    line-height: 1;
    cursor: pointer;
    color: #444;
    padding: 4px 8px;
    margin: -4px -8px -4px 0;
    flex-shrink: 0;
}

.belk-gladly-cs-dialog__close:hover,
.belk-gladly-cs-dialog__close:focus {
    color: #000;
    outline: none;
}

/* Scrollable main + footer pinned (matches reference stacking) */
.belk-gladly-cs-dialog__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.belk-gladly-cs-dialog__main {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 20px 8px;
    -webkit-overflow-scrolling: touch;
}

.belk-gladly-cs-hc__search {
    display: block;
    margin-bottom: 14px;
}

.belk-gladly-cs-hc__search-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 44px;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    overflow: hidden;
}

.belk-gladly-cs-hc__search-wrap:focus-within {
    border-color: #0073cf;
    box-shadow: 0 0 0 1px rgba(0, 115, 207, 0.25), 0 1px 4px rgba(0, 0, 0, 0.06);
}

.belk-gladly-cs-hc__search-icon-btn {
    flex: 0 0 44px;
    width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #9a9a9a;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.belk-gladly-cs-hc__search-icon-btn:hover,
.belk-gladly-cs-hc__search-icon-btn:focus {
    color: #0073cf;
    outline: none;
}

.belk-gladly-cs-hc__search-icon-btn:focus-visible {
    outline: 2px solid #0073cf;
    outline-offset: -2px;
}

.belk-gladly-cs-hc__search-icon {
    display: block;
    pointer-events: none;
}

.belk-gladly-cs-hc__query {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 34px;
    margin: 0;
    padding: 8px 14px 8px 0;
    border: none;
    border-radius: 0;
    font-size: 1.4rem;
    box-sizing: border-box;
    line-height: 1.25;
    background: transparent;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.belk-gladly-cs-hc__query:focus {
    outline: none;
}

.belk-gladly-cs-hc__query::placeholder {
    color: #9a9a9a;
}

.belk-gladly-cs-hc__msg--error {
    color: #b00020;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.belk-gladly-cs-hc__loading {
    font-size: 1.4rem;
    color: #444;
    margin: 8px 0;
}

.belk-gladly-cs-hc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.belk-gladly-cs-hc__list li {
    margin: 0 0 8px;
}

.belk-gladly-cs-hc__answer-btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1.35;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
}

.belk-gladly-cs-hc__answer-label {
    flex: 1 1 0;
    min-width: 0;
}

.belk-gladly-cs-hc__answer-chevron {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.belk-gladly-cs-hc__answer-chevron svg {
    display: block;
}

.belk-gladly-cs-hc__answer-btn:hover {
    border-color: #0073cf;
    background: #f7fbff;
}

.belk-gladly-cs-hc__detail {
    margin-top: 8px;
}

.belk-gladly-cs-hc__back {
    background: none;
    border: none;
    color: #0073cf;
    cursor: pointer;
    font-size: 1.4rem;
    padding: 0 0 20px;
    text-decoration: underline;
}

.belk-gladly-cs-hc__detail-title {
    margin: 0 0 20px;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #020202;
    font-family: proxima-nova, sans-serif;
}

.belk-gladly-cs-hc__detail-body {
    font-size: 1.4rem;
    line-height: 1.45;
    color: #222;
}

.belk-gladly-cs-hc__footer {
    flex-shrink: 0;
    margin-top: 0;
    padding: 16px 20px 20px;
    border-top: 1px solid #e8e8e8;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.belk-gladly-cs-hc__legal {
    font-size: 14px;
    line-height: 1.45;
    color: #555;
    margin: 0 2px;
    text-align: center;
}

.belk-gladly-cs-hc__legal a {
    color: #222;
}

.belk-gladly-cs-hc__chat {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    margin: 0;
}

.belk-gladly-cs-hc__chat-icon {
    flex-shrink: 0;
}

.belk-gladly-cs-hc__chat--primary {
    background: #0073cf;
    color: #fff;
}

.belk-gladly-cs-hc__chat--primary .belk-gladly-cs-hc__chat-icon {
    stroke: #fff;
}

.belk-gladly-cs-hc__chat--primary:hover {
    background: #005aa3;
}

.belk-gladly-cs-hc__chat--offline {
    background: #e8e8e8;
    color: #444;
    cursor: not-allowed;
}

.belk-gladly-cs-hc__chat--offline .belk-gladly-cs-hc__chat-icon {
    stroke: #555;
}

.belk-gladly-cs-hc__hours {
    margin-top: 4px;
    font-size: 1.4rem;
    color: #333;
}

.belk-gladly-cs-hc__hours h4 {
    margin: 0 0 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #020202;
}

/* Day + time read as one line (not stretched to opposite rails) */
.belk-gladly-cs-hc__hours-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
    margin-bottom: 6px;
    line-height: 1.4;
    justify-content: space-between;
}

.belk-gladly-cs-hc__hours-day {
    font-weight: 500;
    color: #020202;
}

.belk-gladly-cs-hc__hours-time {
    font-weight: 400;
    color: #444;
}

.belk-gladly-cs-overlay .visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#gladlyChat_container {
    margin: 0 !important;
}

#gladlyChat_container .App__App___PJ5T6 {
    border-radius: 0 !important;
    overflow: hidden !important;
}
#gladlyChat_container .App__App___PJ5T6 > div.hsGrpe {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    min-width: 440px !important;
    width: 100% !important;
    max-width: 440px !important;
    height: 100dvh !important;
}

/* Customer Service landing v2: contact panel + phone cards (folder content search) */
.cs-landing-v2__contact-panel {
    background: #eef2f4;
    border-radius: 4px;
    padding: 24px;
    margin: 24px 0 20px;
    box-sizing: border-box;
}

/* Intro + CTA are separate columns on desktop, stacked on mobile (no single flex column with space-between). */
.cs-landing-v2__gladly {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.cs-landing-v2__gladly-intro {
    flex: 1 1 auto;
    min-width: 0;
}

.cs-landing-v2__gladly-intro p {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.4;
    color: #020202;
}

.cs-landing-v2__gladly-intro p strong {
    font-weight: 700;
}

.cs-landing-v2__gladly-cta {
    flex-shrink: 0;
}

.cs-landing-v2__gladly-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0073cf;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.cs-landing-v2__gladly-btn:hover,
.cs-landing-v2__gladly-btn:focus {
    background: #005aa3;
    color: #fff;
    outline: none;
}

.cs-landing-v2__gladly-btn svg {
    flex-shrink: 0;
    stroke: currentColor;
}

.cs-landing-v2__phone-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.cs-landing-v2__phone-card {
    flex: 1 1 0;
    min-width: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px 20px;
    box-sizing: border-box;
}

.cs-landing-v2__phone-card-head {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.cs-landing-v2__phone-card-head span {
    font-weight: 700;
    font-size: 1.4rem;
    color: #020202;
}

.cs-landing-v2__phone-card-head a {
    font-weight: 700;
    font-size: 1.4rem;
    color: #020202;
    text-decoration: none;
    white-space: nowrap;
}

.cs-landing-v2__phone-card-head a:hover,
.cs-landing-v2__phone-card-head a:focus {
    text-decoration: underline;
    color: #020202;
}

.cs-landing-v2__phone-card-head--solo {
    margin-bottom: 0;
}

.cs-landing-v2__phone-card-body {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.5;
    color: #444;
}

.cs-landing-v2__phone-card-body a {
    color: #0073cf;
    text-decoration: underline;
}

.cs-landing-v2__hours-row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.cs-landing-v2__hours-row--full .cs-landing-v2__hours-day {
    flex: 1 1 auto;
}

.cs-landing-v2__hours-day {
    color: #444;
}

.cs-landing-v2__hours-time {
    color: #444;
    white-space: nowrap;
}

.cs-landing-v2__survey {
    margin: 16px 0 24px;
    font-size: 1.4rem;
    line-height: 1.45;
    color: #222;
}

.cs-landing-v2__survey strong {
    font-weight: 700;
    margin-right: 4px;
}

.cs-landing-v2__survey a {
    color: #0073cf;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .cs-landing-v2__contact-panel {
        padding: 16px;
        margin: 16px 0;
    }

    .cs-landing-v2__gladly {
        display: block;
    }

    .cs-landing-v2__gladly-intro,
    .cs-landing-v2__gladly-cta {
        flex: none;
    }

    .cs-landing-v2__gladly-cta {
        margin-top: 12px;
    }

    .cs-landing-v2__gladly-btn {
        width: 100%;
    }

    .cs-landing-v2__phone-row {
        flex-direction: column;
        gap: 12px;
    }
}
