/**
 * fullzpro Custom Styles - DataHub Design
 * Clean, Minimal, Professional
 * Desktop: Normal sizes | Mobile: Compact
 * 
 * @package fullzpro_Child
 */

/* ============================================
   GLOBAL STYLES
   ============================================ */

:root {
    --primary: #14b8a6;
    --primary-dark: #0d9488;
    --secondary: #f97316;
    --accent: #06b6d4;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --border: #e2e8f0;
    --white: #ffffff;
    --success: #22c55e;
    --warning: #eab308;
    --danger: #ef4444;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--light-gray);
    color: var(--dark);
    line-height: 1.6;
}

/* ============================================
   HEADER - Top Navigation Bar
   ============================================ */

.dh-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.dh-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo */
.dh-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 22px;
    color: var(--dark);
}

.dh-logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.dh-logo-text {
    color: var(--dark);
}

.dh-logo-domain {
    color: var(--primary);
}

/* Desktop Navigation */
.dh-nav-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
}

.dh-nav {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dh-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--gray);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dh-nav-link:hover,
.dh-nav-link.active {
    background: var(--light-gray);
    color: var(--primary);
    text-decoration: none;
}

.dh-nav-link i {
    font-size: 16px;
}

/* Header Actions */
.dh-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dh-balance {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.dh-balance-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.dh-balance-amount {
    color: var(--dark);
}

.dh-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dh-btn-primary {
    background: var(--primary);
    color: white;
}

.dh-btn-primary:hover {
    background: var(--primary-dark);
    text-decoration: none;
    color: white;
}

.dh-btn-secondary {
    background: var(--secondary);
    color: white;
}

.dh-btn-secondary:hover {
    background: #ea580c;
    color: white;
}

.dh-btn-icon {
    background: transparent;
    color: var(--gray);
    padding: 10px;
}

.dh-btn-icon:hover {
    background: var(--light-gray);
    color: var(--dark);
}

.dh-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dh-icon-btn:hover {
    background: var(--light-gray);
    color: var(--dark);
}

.dh-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* User Menu */
.dh-user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dh-user-menu:hover {
    background: var(--border);
}

.dh-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

.dh-username {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
}

/* Dropdown */
.dh-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    min-width: 200px;
    border: 1px solid var(--border);
}

.dh-user-menu:hover .dh-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dh-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s ease;
}

.dh-dropdown-item:hover {
    background: var(--light-gray);
    text-decoration: none;
}

.dh-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--gray);
}

.dh-dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

/* ============================================
   MOBILE MENU
   ============================================ */

.dh-mobile-toggle {
    display: none;
}

.dh-mobile-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.dh-mobile-panel.active {
    right: 0;
}

.dh-mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border);
}

.dh-mobile-panel-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--dark);
}

.dh-mobile-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.dh-mobile-nav {
    padding: 20px 0;
}

.dh-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: background 0.2s ease;
    border-left: 3px solid transparent;
}

.dh-mobile-nav-link:hover,
.dh-mobile-nav-link.active {
    background: var(--light-gray);
    border-left-color: var(--primary);
    text-decoration: none;
}

.dh-mobile-nav-link i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.dh-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.dh-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   SEARCH MODAL
   ============================================ */

.dh-search-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

body.search-open .dh-search-backdrop {
    opacity: 1;
    visibility: visible;
}

.dh-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 20px 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    pointer-events: none;
}

body.search-open .dh-search-modal {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dh-search-dialog {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: scale(0.95) translateY(-10px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

body.search-open .dh-search-dialog {
    transform: scale(1) translateY(0);
}

.dh-search-header {
    background: var(--primary);
    padding: 20px;
}

.dh-search-header-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dh-search-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.dh-search-title {
    flex: 1;
}

.dh-search-title h2 {
    margin: 0 0 3px 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.dh-search-title p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.dh-search-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dh-search-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.dh-search-input-wrapper {
    position: relative;
    margin-top: 15px;
}

.dh-search-input {
    width: 100%;
    padding: 14px 50px 14px 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: white;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: all 0.3s ease;
}

.dh-search-input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

.dh-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--light-gray);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.dh-search-clear.visible {
    opacity: 1;
    pointer-events: auto;
}

.dh-search-clear:hover {
    background: var(--secondary);
    color: white;
}

.dh-search-body {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.dh-search-state {
    text-align: center;
    padding: 40px 20px;
}

.dh-search-state i {
    font-size: 60px;
    color: var(--border);
    margin-bottom: 15px;
    display: block;
}

.dh-search-state h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.dh-search-state p {
    margin: 0;
    font-size: 14px;
    color: var(--gray);
}

#search-state-loading i {
    color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Search Results */
.dh-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
}

.dh-result-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.dh-result-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.dh-result-image {
    width: 100%;
    height: 150px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 40px;
    overflow: hidden;
}

.dh-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-result-body {
    padding: 15px;
}

.dh-result-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.dh-result-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.dh-result-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dh-result-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.dh-result-add {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dh-result-add:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.dh-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* Welcome Section */
.dh-welcome {
    background: white;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid var(--border);
}

.dh-welcome-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.dh-welcome-title span {
    color: var(--primary);
}

.dh-welcome-text {
    color: var(--gray);
    font-size: 16px;
}

/* Stats Grid */
.dh-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.dh-stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s ease;
}

.dh-stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.dh-stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dh-stat-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray);
}

.dh-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.dh-stat-icon.primary {
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary);
}

.dh-stat-icon.secondary {
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
}

.dh-stat-icon.success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.dh-stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.dh-stat-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dh-stat-change {
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
}

.dh-stat-change.negative {
    color: var(--danger);
}

.dh-stat-action {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.dh-stat-action:hover {
    text-decoration: underline;
}

/* Alert Box */
.dh-alert {
    background: white;
    border: 1px solid var(--border);
    border-left: 4px solid var(--secondary);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 32px;
    display: flex;
    gap: 16px;
}

.dh-alert.info {
    border-left-color: var(--primary);
}

.dh-alert.success {
    border-left-color: var(--success);
}

.dh-alert.warning {
    border-left-color: var(--warning);
}

.dh-alert.danger {
    border-left-color: var(--danger);
}

.dh-alert-icon {
    width: 44px;
    height: 44px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.dh-alert.info .dh-alert-icon {
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary);
}

.dh-alert.success .dh-alert-icon {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
}

.dh-alert.warning .dh-alert-icon {
    background: rgba(234, 179, 8, 0.1);
    color: var(--warning);
}

.dh-alert.danger .dh-alert-icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.dh-alert-content {
    flex: 1;
}

.dh-alert-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
}

.dh-alert-text {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Section Header */
.dh-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dh-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
}

.dh-section-link {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dh-section-link:hover {
    text-decoration: underline;
}

/* Products Grid */
.dh-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.dh-product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.dh-product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.dh-product-image {
    width: 100%;
    height: 180px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 48px;
}

.dh-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-product-body {
    padding: 20px;
}

.dh-product-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.dh-product-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.dh-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dh-product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.dh-product-btn {
    padding: 8px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dh-product-btn:hover {
    background: var(--primary-dark);
    text-decoration: none;
    color: white;
}

/* Quick Actions */
.dh-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.dh-action-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dh-action-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    text-decoration: none;
}

.dh-action-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.dh-action-icon.primary {
    background: rgba(20, 184, 166, 0.1);
    color: var(--primary);
}

.dh-action-icon.secondary {
    background: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
}

.dh-action-content {
    flex: 1;
}

.dh-action-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}

.dh-action-text {
    font-size: 13px;
    color: var(--gray);
}

/* Form Styles */
.dh-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
}

.dh-form-group {
    margin-bottom: 24px;
}

.dh-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 14px;
}

.dh-form-input,
.dh-form-textarea,
.dh-form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--dark);
    transition: all 0.2s ease;
}

.dh-form-input:focus,
.dh-form-textarea:focus,
.dh-form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.dh-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.dh-form-help {
    font-size: 12px;
    color: var(--gray);
    margin-top: 6px;
}

/* Payment Methods */
.dh-payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.dh-payment-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dh-payment-card:hover {
    border-color: var(--primary);
    background: var(--light-gray);
}

.dh-payment-card.active {
    border-color: var(--primary);
    background: rgba(20, 184, 166, 0.05);
}

.dh-payment-icon {
    font-size: 40px;
    margin-bottom: 12px;
    color: var(--primary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dh-payment-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
}

/* ============================================
   FOOTER
   ============================================ */

.dh-footer {
    background: white;
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

.dh-footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
}

.dh-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.dh-footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--dark);
}

.dh-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dh-footer-link {
    display: block;
    padding: 6px 0;
    color: var(--gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.dh-footer-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.dh-footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dh-footer-copyright {
    color: var(--gray);
    font-size: 14px;
}

.dh-footer-social {
    display: flex;
    gap: 12px;
}

.dh-social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--light-gray);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dh-social-link:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.dh-desktop-only {
    display: inline-flex;
}

.dh-mobile-only {
    display: none;
}

.dh-text-center {
    text-align: center;
}

.dh-mt-1 { margin-top: 8px; }
.dh-mt-2 { margin-top: 16px; }
.dh-mt-3 { margin-top: 24px; }
.dh-mt-4 { margin-top: 32px; }

.dh-mb-1 { margin-bottom: 8px; }
.dh-mb-2 { margin-bottom: 16px; }
.dh-mb-3 { margin-bottom: 24px; }
.dh-mb-4 { margin-bottom: 32px; }

/* ============================================
   RESPONSIVE - MOBILE COMPACT
   ============================================ */

@media (max-width: 968px) {
    .dh-nav-desktop {
        display: none;
    }
    
    .dh-mobile-toggle {
        display: block;
    }
    
    .dh-username {
        display: none;
    }
    
    .dh-desktop-only {
        display: none !important;
    }
    
    .dh-mobile-only {
        display: inline-flex !important;
    }
    
    /* Hide cart and user menu on mobile */
    .dh-cart-trigger,
    .dh-user-menu {
        display: none !important;
    }
}

@media (max-width: 640px) {
    /* Compact header */
    .dh-header-container {
        padding: 0 16px;
        height: 60px;
    }
    
    .dh-logo {
        font-size: 18px;
    }
    
    .dh-logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .dh-balance {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .dh-balance-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .dh-icon-btn {
        width: 36px;
        height: 36px;
    }
    
    .dh-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    /* Compact main content */
    .dh-main {
        padding: 20px 16px;
    }
    
    .dh-welcome {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .dh-welcome-title {
        font-size: 22px;
    }
    
    .dh-welcome-text {
        font-size: 14px;
    }
    
    .dh-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .dh-stat-card {
        padding: 16px;
    }
    
    .dh-stat-value {
        font-size: 24px;
    }
    
    .dh-products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .dh-product-image {
        height: 150px;
    }
    
    .dh-product-body {
        padding: 16px;
    }
    
    .dh-quick-actions {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .dh-action-card {
        padding: 16px;
    }
    
    .dh-footer-container {
        padding: 24px 16px;
    }
    
    .dh-footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .dh-footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    /* Compact search */
    .dh-search-modal {
        padding: 15px 12px;
    }
    
    .dh-search-header {
        padding: 16px;
    }
    
    .dh-search-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }
    
    .dh-search-title h2 {
        font-size: 18px;
    }
    
    .dh-search-title p {
        font-size: 12px;
    }
    
    .dh-search-body {
        padding: 16px;
    }
    
    .dh-results-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .dh-form {
        padding: 20px;
    }
    
    .dh-payment-methods {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Payment icon images */
.dh-payment-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Payment card hover effect for images */
.dh-payment-card:hover .dh-payment-icon img {
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

.dh-payment-card.active .dh-payment-icon img {
    transform: scale(1.05);
}