/* ==========================================================================
   Baluth – Help Centre | Premium Redesign v3.0
   Modern, trustworthy, Indian handcrafted e-commerce support experience
   ========================================================================== */

:root {
    --hc-bg: #faf6f0;
    --hc-card-bg: #ffffff;
    --hc-text-main: #133e2b;
    --hc-text-muted: #5a7066;
    --hc-text-subtle: #93a89f;
    --hc-border: #e2ebd8;
    --hc-border-light: #eff4eb;

    /* Baluth Brand */
    --hc-primary: #1e5638;
    --hc-primary-rgb: 30, 86, 56;
    --hc-primary-light: #edf6f1;
    --hc-primary-dark: #143d28;
    --hc-primary-hover: #16462d;
    --hc-accent-gold: #c99a3c;
    --hc-accent-gold-light: #fef9ed;
    --hc-secondary: #c99a3c;

    /* Statuses */
    --hc-success: #15803d;
    --hc-success-bg: #ecfdf5;
    --hc-warning: #b45309;
    --hc-warning-bg: #fffbeb;
    --hc-danger: #b91c1c;
    --hc-danger-bg: #fef2f2;
    --hc-info: #1d4ed8;
    --hc-info-bg: #eff6ff;

    /* Geometry */
    --hc-radius-xl: 24px;
    --hc-radius-lg: 18px;
    --hc-radius-md: 12px;
    --hc-radius-sm: 8px;

    --hc-shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.04);
    --hc-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.05);
    --hc-shadow-md: 0 10px 30px rgba(19, 62, 43, 0.07);
    --hc-shadow-lg: 0 20px 50px rgba(19, 62, 43, 0.1);
    --hc-shadow-hover: 0 16px 40px rgba(var(--hc-primary-rgb), 0.14);

    --hc-transition: all 0.27s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: var(--hc-bg);
    color: var(--hc-text-main);
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1;
}

/* ── Nav Enhancements ──────────────────────────────────────────────────────── */
nav#mainNav {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hc-border) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.nav-logo img {
    height: 42px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 6px 14px;
    border-radius: 8px;
    transition: var(--hc-transition);
}

.nav-links a:hover {
    background: var(--hc-primary-light);
    color: var(--hc-primary) !important;
}

.icon-btn {
    transition: var(--hc-transition) !important;
}

.icon-btn:hover {
    background: var(--hc-primary-light) !important;
    border-color: var(--hc-primary) !important;
    color: var(--hc-primary) !important;
    transform: translateY(-1px);
}

/* ── Language Toggle (Help Centre) ────────────────────────────────────────────
   FIX (Issue 2): The markup + JS toggle logic (toggleLanguage/setLanguage in
   translations.js) already existed and already worked — this page simply had
   no CSS at all for .lang-toggle-container / .lang-toggle-option / .active,
   so the toggle was invisible/low-contrast and appeared "broken" even though
   the language was switching underneath. No JS or translation logic touched;
   this only styles the existing markup and the existing .active class that
   translatePage() already applies. ─────────────────────────────────────────── */
.lang-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: var(--hc-primary-light);
    border: 1.5px solid rgba(var(--hc-primary-rgb), 0.25);
    border-radius: 30px;
    padding: 3px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    transition: var(--hc-transition);
    position: relative;
    z-index: 20;
    /* keep above other header content, never hidden by overflow */
}

.lang-toggle-container:hover {
    border-color: var(--hc-primary);
    box-shadow: 0 2px 10px rgba(var(--hc-primary-rgb), 0.18);
}

.lang-toggle-container:focus-visible {
    outline: 2px solid var(--hc-primary);
    outline-offset: 2px;
}

.lang-toggle-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hc-text-muted);
    line-height: 1;
    white-space: nowrap;
    transition: var(--hc-transition);
}

.lang-toggle-option.active {
    background: var(--hc-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(var(--hc-primary-rgb), 0.32);
}

.lang-toggle-container:hover .lang-toggle-option:not(.active) {
    color: var(--hc-primary);
}

/* Slightly larger tap target on mobile per spec ("easy to tap on mobile") */
@media (max-width: 640px) {
    .lang-toggle-option {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* ── Page Container ────────────────────────────────────────────────────────── */
.hc-page {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(16px, 2.5vw, 36px) 80px;
    overflow-x: hidden;
    /* prevent horizontal scroll */
}

/* ── Premium Hero Band (Warm Cream & Handcrafted Style) ─────────────────────── */
.hc-hero-band {
    background: linear-gradient(135deg, #f7f2e9 0%, #fdfbf7 50%, #f4ede2 100%);
    border: 1px solid #ebded0;
    border-radius: 24px;
    margin: 24px 0 40px;
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(30, 86, 56, 0.04);
}

.hc-hero-band::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201, 154, 60, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hc-hero-band::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(30, 86, 56, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hc-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hc-hero-content {
    flex: 1;
    min-width: 0;
}

.hc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--hc-primary);
    text-decoration: none;
    margin-bottom: 20px;
    padding: 6px 16px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid #d2e3d7;
    transition: var(--hc-transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hc-back-link:hover {
    background: var(--hc-primary);
    color: #ffffff;
    border-color: var(--hc-primary);
    transform: translateX(-4px);
}

.hc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hc-primary);
    background: var(--hc-primary-light);
    border: 1px solid rgba(30, 86, 56, 0.2);
    border-radius: 30px;
    padding: 6px 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.hc-hero-content h1 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--hc-text-main);
    margin: 0 0 14px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.hc-hero-desc {
    color: var(--hc-text-muted);
    font-size: 0.98rem;
    margin: 0 0 24px;
    line-height: 1.6;
    max-width: 580px;
}

.hc-hero-benefits {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hc-benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--hc-text-main);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #dfebd9;
    padding: 7px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hc-benefit-pill i {
    color: var(--hc-accent-gold);
    font-size: 0.9rem;
}

.hc-hero-visual {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hc-handicraft-svg {
    width: 260px;
    height: auto;
    filter: drop-shadow(0 12px 24px rgba(30, 86, 56, 0.08));
    transition: transform 0.4s ease;
}

.hc-hero-band:hover .hc-handicraft-svg {
    transform: scale(1.03) rotate(1deg);
}

/* ── Content Area ─────────────────────────────────────────────────────────── */
.hc-content-area {
    position: relative;
    z-index: 5;
    min-width: 0;
}

/* ── Help Options Section ──────────────────────────────────────────────────── */
.hc-options-section {
    margin-bottom: 0;
}

.hc-section-header {
    text-align: center;
    margin-bottom: 32px;
}

.hc-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--hc-text-main);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.hc-section-subtitle {
    font-size: 0.9rem;
    color: var(--hc-text-muted);
    margin: 0;
}

.hc-options-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 52px;
}

/* ── Category Card ─────────────────────────────────────────────────────────── */
.hc-option-card {
    background: var(--hc-card-bg);
    border: 1.5px solid var(--hc-border);
    border-radius: var(--hc-radius-xl);
    padding: 28px 24px;
    cursor: pointer;
    box-shadow: var(--hc-shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-width: 0;
    transition: var(--hc-transition);
    position: relative;
    overflow: hidden;
}

.hc-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height 0.3s ease;
}

.card-track .hc-card-accent {
    background: #2563eb;
}

.card-return .hc-card-accent {
    background: #c99a3c;
}

.card-replace .hc-card-accent {
    background: #7c3aed;
}

.card-refund .hc-card-accent {
    background: #059669;
}

.card-issue .hc-card-accent {
    background: #d97706;
}

.card-other .hc-card-accent {
    background: #1e5638;
}

.hc-option-card:hover {
    border-color: rgba(var(--hc-primary-rgb), 0.35);
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(30, 86, 56, 0.12);
}

.hc-option-card:hover .hc-card-accent {
    height: 6px;
}

.hc-option-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hc-option-card:hover .hc-option-icon {
    transform: scale(1.1) rotate(4deg);
}

.icon-track {
    background: #eff6ff;
    color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}

.icon-return {
    background: #fef9ed;
    color: #c99a3c;
    box-shadow: 0 4px 14px rgba(201, 154, 60, 0.18);
}

.icon-replace {
    background: #f5f3ff;
    color: #7c3aed;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.12);
}

.icon-refund {
    background: #ecfdf5;
    color: #059669;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}

.icon-issue {
    background: #fffbeb;
    color: #d97706;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
}

.icon-other {
    background: var(--hc-primary-light);
    color: var(--hc-primary);
    box-shadow: 0 4px 14px rgba(var(--hc-primary-rgb), 0.12);
}

.hc-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.hc-option-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hc-text-main);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.hc-option-card p {
    font-size: 0.88rem;
    color: var(--hc-text-muted);
    margin: 0;
    line-height: 1.55;
}

.hc-option-action {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--hc-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: var(--hc-transition);
    letter-spacing: 0.01em;
}

.hc-option-card:hover .hc-option-action {
    color: var(--hc-primary-dark);
    gap: 12px;
}

/* ── Progress Step Bar ─────────────────────────────────────────────────────── */
.hc-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    max-width: 540px;
    background: #ffffff;
    border: 1px solid var(--hc-border);
    border-radius: 50px;
    padding: 14px 28px;
    box-shadow: var(--hc-shadow-sm);
}

.hc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}

.hc-step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f6f5;
    border: 2px solid var(--hc-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--hc-text-subtle);
    transition: var(--hc-transition);
}

.hc-step.active .hc-step-dot {
    background: var(--hc-primary);
    border-color: var(--hc-primary);
    color: #ffffff;
    box-shadow: 0 0 0 5px rgba(var(--hc-primary-rgb), 0.16), 0 3px 10px rgba(var(--hc-primary-rgb), 0.3);
    transform: scale(1.08);
}

.hc-step.done .hc-step-dot {
    background: var(--hc-success);
    border-color: var(--hc-success);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.25);
}

.hc-step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hc-text-subtle);
    white-space: nowrap;
    letter-spacing: 0.01em;
    transition: var(--hc-transition);
}

.hc-step.active .hc-step-label {
    color: var(--hc-primary);
    font-weight: 700;
}

.hc-step.done .hc-step-label {
    color: var(--hc-success);
    font-weight: 600;
}

.hc-step-line {
    flex: 1;
    height: 2px;
    background: var(--hc-border);
    margin: 0 10px 22px;
    border-radius: 3px;
    transition: background 0.4s ease;
}

.hc-step-line.done {
    background: var(--hc-success);
}

/* ── Base Card ──────────────────────────────────────────────────────────────── */
.hc-card {
    background: var(--hc-card-bg);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius-xl);
    padding: 36px;
    box-shadow: var(--hc-shadow-md);
    margin-bottom: 28px;
    transition: var(--hc-transition);
}

.hc-auth-card {
    max-width: 540px;
    margin: 0 auto 28px;
}

.hc-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.hc-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--hc-primary-light);
    color: var(--hc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    border: 1px solid rgba(var(--hc-primary-rgb), 0.15);
    box-shadow: 0 3px 10px rgba(var(--hc-primary-rgb), 0.1);
}

.hc-card-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--hc-text-main);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.hc-card-header p {
    color: var(--hc-text-muted);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ── Form Inputs ────────────────────────────────────────────────────────────── */
.hc-form-group {
    margin-bottom: 22px;
}

.hc-label {
    display: block;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--hc-text-main);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.hc-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.hc-input-icon {
    position: absolute;
    left: 16px;
    color: var(--hc-text-subtle);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.2s;
}

.hc-input-wrap:focus-within .hc-input-icon {
    color: var(--hc-primary);
}

.hc-input,
.hc-select,
.hc-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--hc-border);
    border-radius: var(--hc-radius-md);
    font-size: 0.94rem;
    color: var(--hc-text-main);
    background: #fafcfb;
    font-family: inherit;
    outline: none;
    transition: var(--hc-transition);
}

.hc-input-wrap .hc-input {
    padding-left: 46px;
}

.hc-input:focus,
.hc-select:focus,
.hc-textarea:focus {
    border-color: var(--hc-primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(var(--hc-primary-rgb), 0.1);
}

.hc-input.otp-input {
    font-size: 2rem;
    letter-spacing: 16px;
    text-align: center;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    color: var(--hc-primary);
    padding: 16px;
    background: var(--hc-primary-light);
    border-color: rgba(var(--hc-primary-rgb), 0.2);
}

.hc-input.otp-input:focus {
    background: #ffffff;
    border-color: var(--hc-primary);
}

.hc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hc-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235a7066' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.hc-textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.6;
}

.hc-hint {
    font-size: 0.8rem;
    color: var(--hc-text-muted);
    margin: -4px 0 12px;
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.hc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border: none;
    border-radius: var(--hc-radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    letter-spacing: 0.01em;
    transition: var(--hc-transition);
}

.hc-btn-primary {
    background: linear-gradient(135deg, var(--hc-primary), var(--hc-primary-dark));
    color: #ffffff;
    width: 100%;
    box-shadow: 0 4px 16px rgba(var(--hc-primary-rgb), 0.3);
}

.hc-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--hc-primary-dark), #0e2d1e);
    box-shadow: 0 6px 22px rgba(var(--hc-primary-rgb), 0.4);
    transform: translateY(-2px);
}

.hc-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.hc-btn-outline {
    background: #ffffff;
    color: var(--hc-primary);
    border: 1.5px solid var(--hc-primary);
    box-shadow: var(--hc-shadow-xs);
}

.hc-btn-outline:hover:not(:disabled) {
    background: var(--hc-primary-light);
    border-color: var(--hc-primary-dark);
    transform: translateY(-1px);
}

.hc-text-btn {
    background: none;
    border: none;
    color: var(--hc-primary);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 8px;
    transition: var(--hc-transition);
    font-family: inherit;
}

.hc-text-btn:hover {
    background: var(--hc-primary-light);
    color: var(--hc-primary-dark);
}

.hc-form-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

/* ── Alerts ─────────────────────────────────────────────────────────────────── */
.hc-alert {
    padding: 14px 18px;
    border-radius: var(--hc-radius-md);
    font-size: 0.88rem;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.hc-alert i {
    margin-top: 2px;
    flex-shrink: 0;
}

.hc-alert.error {
    background: var(--hc-danger-bg);
    color: var(--hc-danger);
    border: 1px solid #fecaca;
}

.hc-alert.success {
    background: var(--hc-success-bg);
    color: var(--hc-success);
    border: 1px solid #bbf7d0;
}

.hc-alert.info {
    background: var(--hc-info-bg);
    color: var(--hc-info);
    border: 1px solid #bfdbfe;
}

/* ── OTP Meta ──────────────────────────────────────────────────────────────── */
.hc-otp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    font-size: 0.86rem;
    flex-wrap: wrap;
    gap: 12px;
}

.hc-timer {
    color: var(--hc-text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hc-timer.expiring {
    color: var(--hc-danger);
    font-weight: 700;
}

/* ── Order Selection (Step 3) ──────────────────────────────────────────────── */
.hc-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--hc-border);
}

.hc-orders-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 4px;
    color: var(--hc-text-main);
    letter-spacing: -0.02em;
}

.hc-orders-header p {
    font-size: 0.88rem;
    color: var(--hc-text-muted);
    margin: 0;
}

.hc-change-email-btn {
    background: var(--hc-primary-light);
    border: 1px solid rgba(var(--hc-primary-rgb), 0.2);
    color: var(--hc-primary);
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: var(--hc-transition);
    font-family: inherit;
}

.hc-change-email-btn:hover {
    background: #daf1e5;
    border-color: var(--hc-primary);
}

.hc-order-block {
    background: #fbfcfb;
    border: 1.5px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--hc-shadow-xs);
    transition: var(--hc-transition);
}

.hc-order-block:hover {
    border-color: rgba(var(--hc-primary-rgb), 0.25);
    box-shadow: var(--hc-shadow-sm);
}

.hc-order-block-header {
    padding: 14px 20px;
    background: #f4f9f6;
    border-bottom: 1px solid var(--hc-border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hc-text-main);
}

.hc-order-block-header i {
    color: var(--hc-primary);
    margin-right: 6px;
}

.hc-items-list {
    padding: 14px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hc-item-select-card {
    background: #ffffff;
    border: 1.5px solid var(--hc-border);
    border-radius: var(--hc-radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: var(--hc-transition);
}

.hc-item-select-card:hover {
    border-color: var(--hc-primary);
    transform: translateX(3px);
    box-shadow: var(--hc-shadow-sm);
}

.hc-item-media {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 10px;
    border: 1px solid var(--hc-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: var(--hc-shadow-xs);
}

.hc-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.hc-item-select-card:hover .hc-item-img {
    transform: scale(1.06);
}

.hc-item-info {
    flex: 1;
    min-width: 0;
}

.hc-item-title {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--hc-text-main);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.hc-item-meta {
    font-size: 0.83rem;
    color: var(--hc-text-muted);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hc-select-item-btn {
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 0.86rem;
    font-weight: 700;
    background: var(--hc-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--hc-transition);
    box-shadow: 0 3px 10px rgba(var(--hc-primary-rgb), 0.2);
    font-family: inherit;
}

.hc-select-item-btn:hover {
    background: var(--hc-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(var(--hc-primary-rgb), 0.3);
}

/* ── 15-Day Return Window & Eligibility Styles ───────────────────────────────── */
.hc-item-select-card.item-disabled {
    opacity: 0.7;
    background: #f9fbf9;
    border-color: #e2e8e5;
}

.hc-item-select-card.item-disabled:hover {
    border-color: #e2e8e5;
    transform: none;
    box-shadow: none;
}

.hc-item-select-card.item-disabled .hc-item-img {
    filter: grayscale(0.25);
}

.hc-window-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-top: 6px;
}

.hc-window-badge.status-eligible {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.hc-window-badge.status-expired {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.hc-select-item-btn:disabled,
.hc-select-item-btn.btn-disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    border-color: #cbd5e1 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
}

/* ── Selected Item Box (Step 4) ────────────────────────────────────────────── */
.hc-selected-item-box {
    background: var(--hc-primary-light);
    border: 1.5px solid rgba(var(--hc-primary-rgb), 0.22);
    border-radius: var(--hc-radius-md);
    padding: 16px 20px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 2px 10px rgba(var(--hc-primary-rgb), 0.08);
}

.hc-selected-item-img {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #cbd5e1;
    box-shadow: var(--hc-shadow-xs);
}

.hc-form-header {
    margin-bottom: 28px;
}

.hc-form-header h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--hc-text-main);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.hc-form-header p {
    font-size: 0.9rem;
    color: var(--hc-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Upload Zone ────────────────────────────────────────────────────────────── */
.hc-upload-area {
    border: 2px dashed var(--hc-border);
    border-radius: var(--hc-radius-md);
    padding: 30px 24px;
    text-align: center;
    background: #fafcfb;
    cursor: pointer;
    transition: var(--hc-transition);
}

.hc-upload-area:hover {
    border-color: var(--hc-primary);
    background: var(--hc-primary-light);
}

.hc-upload-icon {
    font-size: 2.4rem;
    color: var(--hc-primary);
    margin-bottom: 12px;
    opacity: 0.7;
}

.hc-upload-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: var(--hc-text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

.hc-upload-prompt small {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--hc-text-muted);
}

.hc-upload-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.hc-upload-preview img {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--hc-border);
}

.hc-preview-info {
    flex: 1;
}

.hc-preview-info span {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--hc-text-main);
    margin-bottom: 5px;
}

.hc-preview-remove {
    background: none;
    border: none;
    color: var(--hc-danger);
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: inherit;
    transition: var(--hc-transition);
}

.hc-preview-remove:hover {
    text-decoration: underline;
}

/* ── Success Card ───────────────────────────────────────────────────────────── */
.hc-success-card {
    text-align: center;
    padding: 52px 36px;
}

.hc-success-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dcfce7, #86efac);
    color: var(--hc-success);
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.25);
}

.hc-success-card h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--hc-text-main);
    margin: 0 0 12px;
    letter-spacing: -0.03em;
}

.hc-success-desc {
    color: var(--hc-text-muted);
    font-size: 0.97rem;
    margin: 0 auto 32px;
    max-width: 520px;
    line-height: 1.6;
}

.hc-ticket-box {
    background: #fafcfb;
    border: 1.5px solid var(--hc-border);
    border-radius: var(--hc-radius-lg);
    padding: 24px 28px;
    max-width: 480px;
    margin: 0 auto 36px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--hc-shadow-xs);
}

.hc-ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.hc-ticket-label {
    color: var(--hc-text-muted);
    font-weight: 500;
}

.hc-ticket-val {
    font-weight: 700;
    color: var(--hc-text-main);
}

.hc-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hc-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-pending {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.status-pending .hc-status-dot {
    background: #2563eb;
}

.hc-success-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hc-success-actions .hc-btn {
    width: auto;
    min-width: 180px;
}

/* ── Direct Contact Section (Light Green Premium Card) ──────────────────────── */
.hc-contact-section {
    margin-top: 56px;
}

.hc-contact-banner {
    background: linear-gradient(135deg, #edf6f0 0%, #f7fbf8 100%);
    border: 1.5px solid #d4e6da;
    border-radius: var(--hc-radius-xl);
    padding: 38px 36px;
    box-shadow: 0 6px 24px rgba(30, 86, 56, 0.05);
    position: relative;
    overflow: hidden;
}

.hc-contact-banner::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(201, 154, 60, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hc-contact-header {
    text-align: center;
    margin-bottom: 28px;
}

.hc-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--hc-primary);
    background: rgba(30, 86, 56, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.hc-contact-header h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--hc-text-main);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}

.hc-contact-header p {
    font-size: 0.88rem;
    color: var(--hc-text-muted);
    margin: 0;
}

/* FIX (Issue 1): repeat(3, 1fr) was allowing each grid track's min-width to
   default to the *content's* min-content width (CSS Grid's implicit
   min-width:auto on grid items). Because .hc-contact-card's content is an
   unwrapped flex row (icon + text + button), that content was intrinsically
   wider than a true 1/3 share of the container, so the 3rd column overflowed
   its track. .hc-page has overflow-x:hidden, so instead of a scrollbar you
   simply saw the 3rd card get clipped/cut off on the right — exactly what
   was reported. minmax(0, 1fr) removes that implicit min-width so tracks are
   free to actually shrink to 1/3 each. */
.hc-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.hc-contact-card {
    background: #ffffff;
    border: 1.5px solid #d9e7dd;
    border-radius: var(--hc-radius-lg);
    padding: 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: var(--hc-transition);
    min-width: 0;
    /* FIX: let the flex row inside actually shrink with its grid track */
}

.hc-contact-card:hover {
    transform: translateY(-4px);
    border-color: var(--hc-primary);
    box-shadow: 0 10px 24px rgba(30, 86, 56, 0.1);
}

.hc-channel-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    /* FIX: keep the icon circular instead of it being squeezed */
    transition: transform 0.3s ease;
}

.hc-contact-card:hover .hc-channel-icon {
    transform: scale(1.1) rotate(4deg);
}

.icon-wa {
    background: #dcfce7;
    color: #16a34a;
}

.icon-mail {
    background: #eff6ff;
    color: #2563eb;
}

.icon-phone {
    background: #fef3c7;
    color: #d97706;
}

.hc-contact-details {
    flex: 1;
    min-width: 0;
}

.hc-contact-details h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 3px;
    color: var(--hc-text-main);
}

.hc-contact-details p {
    font-size: 0.78rem;
    color: var(--hc-text-muted);
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hc-channel-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--hc-primary);
}

.hc-contact-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--hc-primary);
    background: #eaf3ed;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--hc-transition);
}

.hc-contact-card:hover .hc-contact-btn {
    background: var(--hc-primary);
    color: #ffffff;
}

/* ── Spinner ─────────────────────────────────────────────────────────────────  */
.hc-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: hc-spin 0.7s linear infinite;
}

@keyframes hc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Premium Footer ─────────────────────────────────────────────────────────── */
footer {
    background: linear-gradient(180deg, #0d291b 0%, #143d28 100%) !important;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 90% 10%, rgba(201, 154, 60, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.footer-inner {
    padding: 56px 32px 40px !important;
    grid-template-columns: 1.4fr 1fr 1fr !important;
    gap: 44px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 2;
}

.footer-brand-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.footer-brand-name span {
    color: var(--hc-accent-gold);
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #e2ebe5;
    margin-bottom: 16px;
    max-width: 320px;
}

.footer-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fce8b3;
    background: rgba(201, 154, 60, 0.15);
    border: 1px solid rgba(201, 154, 60, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
}

.footer-col h4 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 20px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(201, 154, 60, 0.4);
}

.footer-col ul {
    gap: 12px !important;
}

.footer-col ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #e5ede8;
    line-height: 1.5;
}

.footer-col ul li i {
    width: 16px;
    text-align: center;
    color: var(--hc-accent-gold);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.footer-col ul a {
    color: #e5ede8 !important;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-col ul a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

.footer-bottom {
    padding: 20px 32px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 0.85rem !important;
    color: #c2d4cb !important;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom span:last-child {
    color: #fce8b3;
    font-weight: 600;
}

/* ── Responsive breakpoints ─────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hc-hero-band {
        padding: 32px 36px;
    }

    .hc-hero-visual {
        flex: 0 0 220px;
    }

    .hc-handicraft-svg {
        width: 210px;
    }

    .hc-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

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

@media (max-width: 768px) {
    .hc-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .hc-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hc-hero-desc {
        text-align: center;
    }

    .hc-hero-benefits {
        justify-content: center;
    }

    /* Hide right visual illustration on mobile to avoid overcrowding */
    .hc-hero-visual {
        display: none;
    }

    .hc-contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 32px !important;
    }
}

@media (max-width: 640px) {
    .hc-page {
        padding: 0 16px 56px;
    }

    .hc-hero-band {
        margin: 16px 0 28px;
        padding: 28px 20px;
        border-radius: 18px;
    }

    .hc-hero-content h1 {
        font-size: 1.75rem;
    }

    .hc-hero-desc {
        font-size: 0.92rem;
    }

    .hc-card {
        padding: 22px 18px;
    }

    .hc-auth-card {
        margin: 0 0 24px;
    }

    .hc-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hc-steps-bar {
        max-width: 100%;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .hc-step-line {
        margin: 0 4px 22px;
    }

    .hc-step-label {
        font-size: 0.65rem;
    }

    .hc-options-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .hc-contact-banner {
        padding: 26px 18px;
    }

    /* FIX (Issue 1 – Mobile): intentional stacked layout for the support
       cards instead of a cramped icon/text/button row. Each card's content
       centers, wraps normally, and the button becomes a clear centered tap
       target — no overlap, no clipped text, no horizontal scroll. */
    .hc-contact-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 10px;
        padding: 18px 16px;
    }

    .hc-contact-details {
        text-align: center;
    }

    .hc-contact-details p {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .hc-contact-btn {
        align-self: center;
        padding: 8px 18px;
    }

    .footer-inner {
        grid-template-columns: 1fr !important;
        padding: 36px 18px 24px !important;
        gap: 28px !important;
    }

    .footer-bottom {
        padding: 14px 18px !important;
    }

    .hc-btn.hc-btn-primary,
    .hc-btn.hc-btn-outline {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .hc-hero-content h1 {
        font-size: 1.5rem;
    }

    .hc-hero-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    .hc-benefit-pill {
        font-size: 0.78rem;
        padding: 6px 12px;
    }

    .hc-input.otp-input {
        font-size: 1.5rem;
        letter-spacing: 10px;
    }

    .hc-card {
        padding: 18px 14px;
    }

    .hc-steps-bar {
        padding: 8px 10px;
    }

    .hc-step-dot {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }
}