/* ==========================================================================
   HospiDirect Design System v3.0
   Complete CSS foundation: tokens, typography, components, layout utilities.
   Source: Stitch Tailwind config → vanilla CSS custom properties.
   ========================================================================== */

/* === Section 1: CSS Custom Properties (:root) === */
:root {
    /* --- Colors --- */
    --hd-primary: #C59D5F;
    --hd-primary-dark: #A68248;
    --hd-primary-light: #E8D5B5;
    --hd-charcoal: #334155;
    --hd-bg-light: #ffffff;
    --hd-bg-off-white: #f8f9fa;
    --hd-bg-dark: #1e293b;
    --hd-surface-offset: #f1f5f9;
    --hd-text-main: #1e293b;
    --hd-text-muted: #64748b;
    --hd-slate-400: #94a3b8;
    --hd-slate-500: #64748b;
    --hd-slate-600: #475569;
    --hd-slate-800: #1e293b;
    --hd-slate-900: #0f172a;
    --hd-white: #ffffff;
    --hd-whatsapp-green: #25D366;
    --hd-success: #22c55e;
    --hd-error: #ef4444;
    --hd-warning: #f59e0b;
    --hd-info: #3b82f6;

    /* --- Typography --- */
    --hd-font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --hd-font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* --- Shadows --- */
    --hd-shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.05);
    --hd-shadow-gold: 0 10px 30px -10px rgba(197, 157, 95, 0.4);
    --hd-shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --hd-shadow-layered: 0 1px 1px rgb(0 0 0 / 0.05), 0 10px 20px -5px rgb(0 0 0 / 0.05), 0 20px 40px -10px rgb(0 0 0 / 0.05);
    --hd-shadow-layered-hover: 0 1px 1px rgb(0 0 0 / 0.05), 0 15px 30px -5px rgb(0 0 0 / 0.1), 0 30px 60px -10px rgb(0 0 0 / 0.1);
    --hd-shadow-glow: 0 0 15px rgba(197, 157, 95, 0.6);

    /* --- Gradients --- */
    --hd-gradient-gold: linear-gradient(135deg, #C59D5F 0%, #E8D5B5 50%, #C59D5F 100%);
    --hd-gradient-subtle: linear-gradient(to bottom, #ffffff, #f8f9fa);
    --hd-gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
    --hd-gradient-metallic-gold: linear-gradient(135deg, #C59D5F, #d4b076, #A68248);

    /* --- Spacing Scale --- */
    --hd-space-xs: 0.25rem;   /* 4px */
    --hd-space-sm: 0.5rem;    /* 8px */
    --hd-space-md: 1rem;      /* 16px */
    --hd-space-lg: 1.5rem;    /* 24px */
    --hd-space-xl: 2rem;      /* 32px */
    --hd-space-2xl: 3rem;     /* 48px */
    --hd-space-3xl: 4rem;     /* 64px */

    /* --- Border Radius --- */
    --hd-radius-sm: 0.5rem;   /* 8px */
    --hd-radius-md: 1rem;     /* 16px */
    --hd-radius-lg: 1.5rem;   /* 24px */
    --hd-radius-xl: 2rem;     /* 32px */
    --hd-radius-full: 9999px; /* pill */

    /* --- Backdrop Blur --- */
    --hd-blur-glass: 12px;

    /* --- Layout --- */
    --hd-container-max: 1280px;
    --hd-navbar-height: 56px;
    --hd-navbar-top-offset: 24px;

    /* --- Transitions --- */
    --hd-transition-fast: 150ms ease;
    --hd-transition-base: 300ms ease;
    --hd-transition-slow: 500ms ease;
}


/* === Section 2: Base Reset and Typography === */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--hd-font-sans);
    color: var(--hd-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: 104px; /* Fixed navbar clearance: 24px offset + 56px height + 24px breathing */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hd-font-display);
    color: var(--hd-charcoal);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

.hd-display {
    font-size: 3.5rem;
    font-weight: 900;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--hd-primary);
    transition: color var(--hd-transition-fast);
}

a:hover {
    color: var(--hd-primary-dark);
}

::selection {
    background-color: var(--hd-primary-light);
    color: var(--hd-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* === Section 3: Layout Utilities === */

.hd-container {
    max-width: var(--hd-container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.hd-section {
    padding: var(--hd-space-3xl) 0;
    max-width: var(--hd-container-max);
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hd-section-title {
    text-align: center;
    margin-bottom: var(--hd-space-2xl);
}

.hd-section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.hd-section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--hd-primary);
}

/* Grid Utilities */
.hd-grid {
    display: grid;
    gap: var(--hd-space-lg);
}

.hd-grid-2 { grid-template-columns: repeat(2, 1fr); }
.hd-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hd-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Spacing Utilities */
.hd-mt-1 { margin-top: var(--hd-space-sm); }
.hd-mt-2 { margin-top: var(--hd-space-md); }
.hd-mt-3 { margin-top: var(--hd-space-lg); }
.hd-mb-1 { margin-bottom: var(--hd-space-sm); }
.hd-mb-2 { margin-bottom: var(--hd-space-md); }
.hd-mb-3 { margin-bottom: var(--hd-space-lg); }
.hd-text-center { text-align: center; }


/* === Section 4: Glass Panel Components === */

.hd-glass-panel {
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(var(--hd-blur-glass));
    backdrop-filter: blur(var(--hd-blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--hd-shadow-glass);
    border-radius: var(--hd-radius-lg);
}

.hd-glass-panel-dark {
    background: rgba(15, 23, 42, 0.4);
    -webkit-backdrop-filter: blur(var(--hd-blur-glass));
    backdrop-filter: blur(var(--hd-blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--hd-shadow-glass);
    border-radius: var(--hd-radius-lg);
}

@supports not (backdrop-filter: blur(12px)) {
    .hd-glass-panel {
        background: rgba(255, 255, 255, 0.92);
    }
    .hd-glass-panel-dark {
        background: rgba(15, 23, 42, 0.92);
    }
}


/* === Section 5: Buttons === */

.hd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-family: var(--hd-font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--hd-transition-base);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hd-btn-gold {
    background: var(--hd-gradient-metallic-gold);
    color: white;
    border-radius: var(--hd-radius-full);
    box-shadow: var(--hd-shadow-gold);
}

.hd-btn-gold:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: var(--hd-shadow-glow);
    color: var(--hd-charcoal);
}

.hd-btn-outline {
    background: transparent;
    border: 2px solid var(--hd-primary);
    color: var(--hd-primary);
    border-radius: var(--hd-radius-full);
}

.hd-btn-outline:hover {
    background: var(--hd-primary);
    color: white;
}

.hd-btn-dark {
    background: var(--hd-charcoal);
    color: white;
    border-radius: var(--hd-radius-full);
}

.hd-btn-dark:hover {
    background: var(--hd-bg-dark);
}

.hd-btn-white-glass {
    background: rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--hd-charcoal);
    border-radius: var(--hd-radius-full);
}

.hd-btn-white-glass:hover {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px rgba(215, 164, 104, 0.3), 0 4px 12px rgba(215, 164, 104, 0.2);
    transform: translateY(-1px);
}


/* === Section 6: Cards and Badges === */

.hd-card {
    background: white;
    border-radius: var(--hd-radius-lg);
    padding: var(--hd-space-lg);
    box-shadow: var(--hd-shadow-layered);
    transition: all var(--hd-transition-base);
}

.hd-card:hover {
    box-shadow: var(--hd-shadow-layered-hover);
    transform: translateY(-4px);
}

.hd-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--hd-radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
}

.hd-badge-success {
    background: #dcfce7;
    color: #166534;
}

.hd-badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.hd-badge-error {
    background: #fee2e2;
    color: #991b1b;
}

.hd-badge-info {
    background: #dbeafe;
    color: #1e40af;
}

.hd-badge-gray {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}


/* === Section 7: Form Inputs === */

.hd-input {
    width: 100%;
    background: var(--hd-bg-off-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--hd-radius-sm);
    padding: 0.75rem 1rem;
    font-family: var(--hd-font-sans);
    font-size: 0.875rem;
    color: var(--hd-charcoal);
    transition: all var(--hd-transition-fast);
}

.hd-input:focus {
    outline: none;
    border-color: var(--hd-primary);
    box-shadow: 0 0 0 1px var(--hd-primary);
}

.hd-input::placeholder {
    color: var(--hd-slate-400);
}

textarea.hd-input {
    resize: vertical;
}


/* === Section 8: Text Utilities === */

.hd-metallic-gold-text {
    background: linear-gradient(135deg, #C59D5F, #E8D5B5, #A68248);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #C59D5F; /* fallback */
}

@supports not (background-clip: text) {
    .hd-metallic-gold-text {
        color: var(--hd-primary);
        background: none;
        -webkit-text-fill-color: currentColor;
    }
}

.hd-text-gold {
    color: var(--hd-primary);
}

.hd-text-muted {
    color: var(--hd-text-muted);
}


/* === Section 9: Animation Utilities === */

.hd-hover-lift {
    transition: all var(--hd-transition-base);
}

.hd-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--hd-shadow-layered-hover);
}

.hd-animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hd-animate-up.hd-visible {
    opacity: 1;
    transform: translateY(0);
}

.hd-delay-200 {
    transition-delay: 0.2s;
}

.hd-delay-400 {
    transition-delay: 0.4s;
}


/* === Section 10: Navbar Styles === */

.hd-navbar-wrapper {
    position: fixed;
    top: 24px;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    pointer-events: none;
}

.hd-navbar {
    pointer-events: auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.06),
        0 8px 24px rgba(0, 0, 0, 0.04);
    border-radius: var(--hd-radius-full);
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: var(--hd-container-max);
    width: 100%;
    transition: all var(--hd-transition-base);
}

/* Non-home pages: remove body padding, let first section extend behind navbar */
body:not(.home) {
    padding-top: 0;
    background: var(--hd-bg-off-white);
}

body:not(.home) main > :first-child {
    padding-top: 120px;
}

body:not(.home) .hd-navbar {
    background: var(--hd-bg-off-white);
}

.hd-navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.hd-navbar .hd-navbar-logo-img {
    height: 2.5rem;
    width: auto;
    max-height: 2.5rem;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.hd-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hd-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hd-charcoal);
    text-decoration: none;
    position: relative;
    transition: color var(--hd-transition-fast);
}

.hd-nav-link:hover {
    color: var(--hd-primary);
}

.hd-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hd-primary);
    transition: width var(--hd-transition-base);
}

.hd-nav-link:hover::after {
    width: 100%;
}

.hd-navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hd-navbar-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--hd-radius-full);
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--hd-slate-600);
    transition: all var(--hd-transition-fast);
}

.hd-navbar-phone:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: #f1f5f9;
}

.hd-navbar-phone .material-symbols-outlined {
    font-size: 18px;
    color: var(--hd-primary);
}

.hd-navbar-phone-number {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: 0.025em;
    color: var(--hd-charcoal);
}

.hd-navbar-login-btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.025em;
    border: 2px solid #d7a468;
    box-shadow: none;
}

.hd-navbar-login-btn .material-symbols-outlined {
    font-size: 18px;
    color: var(--hd-primary);
    transition: color var(--hd-transition-fast);
}

.hd-navbar-login-btn:hover .material-symbols-outlined {
    color: var(--hd-primary-dark);
}

/* Partner nav: Welcome link */
.hd-navbar-welcome {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-radius: var(--hd-radius-full);
    text-decoration: none;
    color: var(--hd-charcoal);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: var(--hd-font-sans);
    transition: color var(--hd-transition-fast), background var(--hd-transition-fast);
    white-space: nowrap;
}

.hd-navbar-welcome:hover {
    color: var(--hd-primary);
    background: rgba(197, 157, 95, 0.06);
}

.hd-navbar-welcome .material-symbols-outlined {
    font-size: 20px;
    color: var(--hd-primary);
}

/* Partner nav: Cart button */
.hd-navbar-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--hd-radius-full);
    background: var(--hd-charcoal);
    text-decoration: none;
    transition: background var(--hd-transition-fast), box-shadow var(--hd-transition-fast);
    flex-shrink: 0;
}

.hd-navbar-cart:hover {
    background: black;
    box-shadow: var(--hd-shadow-gold);
}

.hd-navbar-cart .material-symbols-outlined {
    font-size: 20px;
    color: white;
}

.hd-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 1.125rem;
    height: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--hd-primary);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    font-family: var(--hd-font-sans);
    line-height: 1;
    padding: 0 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hd-hamburger {
    display: none; /* Hidden on desktop; shown via responsive.css */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--hd-charcoal);
}

.hd-hamburger .material-symbols-outlined {
    font-size: 28px;
}


/* === Section 11: Footer Styles === */

.hd-footer {
    background: var(--hd-bg-dark);
    padding-top: var(--hd-space-3xl);
    padding-bottom: var(--hd-space-xl);
    border-top: 1px solid #334155;
}

.hd-footer-inner {
    max-width: var(--hd-container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

.hd-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 3rem;
    margin-bottom: var(--hd-space-3xl);
}

.hd-footer-map-wrapper {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
}

.hd-footer-map-link {
    display: block;
    text-decoration: none;
}

.hd-footer-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    gap: 0.5rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.hd-footer-map-placeholder:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: var(--hd-primary);
}

.hd-footer-map-placeholder .material-symbols-outlined {
    font-size: 36px;
    color: var(--hd-primary);
}

.hd-footer-map-cta {
    font-size: 0.8125rem;
    color: var(--hd-slate-400);
    font-family: var(--hd-font-sans);
    transition: color 0.3s ease;
}

.hd-footer-map-placeholder:hover .hd-footer-map-cta {
    color: var(--hd-primary);
}

.hd-footer-map-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
    border-radius: 0.75rem;
    transition: opacity 0.3s ease;
}

.hd-footer-map-link:hover .hd-footer-map-img {
    opacity: 0.85;
}

.hd-footer-address {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--hd-slate-400);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.hd-footer-address .material-symbols-outlined {
    font-size: 18px;
    color: var(--hd-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.hd-footer-address p {
    margin: 0;
}

.hd-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--hd-space-lg);
    text-decoration: none;
}

.hd-footer-logo .hd-footer-logo-img {
    height: 2.75rem;
    width: auto;
    max-height: 2.75rem;
    display: block;
    filter: brightness(0) invert(1);
}

.hd-footer-desc {
    color: var(--hd-slate-400);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.hd-footer-heading {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--hd-space-lg);
}

.hd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hd-footer-links a {
    color: var(--hd-slate-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--hd-transition-fast);
}

.hd-footer-links a:hover {
    color: var(--hd-primary);
}

.hd-footer-bottom {
    border-top: 1px solid #334155;
    padding-top: var(--hd-space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hd-footer-bottom p,
.hd-footer-bottom div {
    color: var(--hd-slate-500);
    font-size: 1rem;
}

.hd-footer-bottom a {
    color: var(--hd-primary);
    text-decoration: none;
    transition: color var(--hd-transition-fast);
}

.hd-footer-bottom a:hover {
    color: var(--hd-primary-light);
    text-decoration: underline;
}


/* === Section 12: WhatsApp Plugin Widget Overrides === */

.hd-whatsapp-float {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    width: 56px !important;
    height: 56px !important;
    z-index: 60 !important; /* above navbar z-50 */
    border-radius: var(--hd-radius-full) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    transition: all var(--hd-transition-base) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hd-whatsapp-float:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}


/* === Section 13: Notices / Alerts === */

.hd-notice {
    padding: 1rem 1.25rem;
    border-radius: var(--hd-radius-sm);
    margin-bottom: var(--hd-space-md);
    font-size: 0.875rem;
}

.hd-notice-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.hd-notice-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.hd-notice-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.hd-notice-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}


/* === Section 14: Tables === */

.hd-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--hd-space-md);
}

.hd-table th,
.hd-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.hd-table th {
    font-family: var(--hd-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--hd-charcoal);
    background: var(--hd-surface-offset);
}

.hd-table tbody tr:hover {
    background: rgba(197, 157, 95, 0.05);
}


/* === Section 15: Form Groups === */

.hd-form-group {
    margin-bottom: var(--hd-space-md);
}

.hd-form-group label {
    display: block;
    font-family: var(--hd-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--hd-slate-500);
    margin-bottom: var(--hd-space-sm);
}

.hd-form-group input,
.hd-form-group textarea,
.hd-form-group select {
    width: 100%;
    background: var(--hd-bg-off-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--hd-radius-sm);
    padding: 0.75rem 1rem;
    font-family: var(--hd-font-sans);
    font-size: 0.875rem;
    color: var(--hd-charcoal);
    transition: all var(--hd-transition-fast);
}

.hd-form-group input:focus,
.hd-form-group textarea:focus,
.hd-form-group select:focus {
    outline: none;
    border-color: var(--hd-primary);
    box-shadow: 0 0 0 1px var(--hd-primary);
}

.hd-form-group .hd-field-error {
    color: var(--hd-error);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.hd-form-group .hd-field-hint {
    color: var(--hd-text-muted);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}
