
/* ==========================================================================
   Hal-Al Mushkila — Professional Home & Technical Services Design System
   Matches Dokan Oman Main Corporate Theme (Royal Blue #0660c1, Gold #c59b4b, Deep Navy #0f2337)
   Designed with Linear, Stripe, Airbnb, Upwork & Vercel Design Principles
   Includes Native Google AdSense Ready Placement Architecture (Zero-CLS)
   ========================================================================== */

:root {
    /* Brand Colors */
    --ham-primary: #0660c1;
    --ham-primary-hover: #004ea1;
    --ham-navy: #153765;
    --ham-navy-dark: #0d2342;
    --ham-accent-blue: #0875e1;
    --ham-accent-hover: #0660c1;
    --ham-accent-light: #eef6ff;
    --ham-accent-soft: rgba(8, 117, 225, 0.08);
    --ham-primary-light: rgba(6, 96, 193, 0.08);
    --ham-primary-soft: rgba(6, 96, 193, 0.04);
    --ham-secondary: #c59b4b;
    --ham-secondary-hover: #b48939;
    --ham-secondary-light: rgba(197, 155, 75, 0.12);

    /* Neutral & Ink Colors */
    --ham-dark: #0f172a;
    --ham-dark-soft: #1e293b;
    --ham-body: #334155;
    --ham-muted: #64748b;
    --ham-muted-light: #94a3b8;
    --ham-border: #e2e8f0;
    --ham-border-light: #f1f5f9;
    --ham-bg: #f8fafc;
    --ham-card: #ffffff;

    /* Semantic Feedback Colors */
    --ham-success: #10b981;
    --ham-success-bg: #ecfdf5;
    --ham-warning: #f59e0b;
    --ham-warning-bg: #fffbeb;
    --ham-danger: #ef4444;
    --ham-danger-bg: #fef2f2;
    --ham-info: #0284c7;
    --ham-info-bg: #f0f9ff;

    /* Spacing & Radii */
    --ham-radius-sm: 8px;
    --ham-radius: 12px;
    --ham-radius-lg: 16px;
    --ham-radius-pill: 9999px;

    /* Elevations & Shadows */
    --ham-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --ham-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --ham-shadow: 0 4px 12px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04);
    --ham-shadow-md: 0 8px 20px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.04);
    --ham-shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(15, 23, 42, 0.05);

    /* Transitions */
    --ham-transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Global Page Architecture ──────────────────────── */
.ham-page {
    background: linear-gradient(180deg, #eaf4ff 0%, #f3f8fe 380px, #ffffff 850px);
    color: var(--ham-body);
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.ham-page .container {
    max-width: 1380px;
    padding-left: 20px;
    padding-right: 20px;
}
.ham-section {
    padding: 44px 0;
}
.ham-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--ham-dark);
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    line-height: 1.3;
}
.ham-muted {
    color: var(--ham-muted) !important;
}

/* ─── Breadcrumb Architecture ───────────────────────── */
/* ─── Breadcrumb Architecture (Zero-Box, Transparent) ─ */
.ham-page .breadcrumb,
.ham-breadcrumb {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    font-size: 12.5px;
    font-weight: 500;
}
.ham-breadcrumb .breadcrumb-item {
    display: inline-flex;
    align-items: center;
}
.ham-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›" !important;
    color: var(--ham-muted-light);
    font-size: 14px;
    padding: 0 8px;
    line-height: 1;
}

/* ─── Executive Eyebrow & Badges ────────────────────── */
.ham-eyebrow {
    color: var(--ham-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 700;
}
.ham-page .badge,
.ham-page .badge-pill,
.ham-page .badge-inline {
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    line-height: 1.35 !important;
}

@keyframes hamFadeInDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Native Google AdSense Placement Units (Zero CLS) ─ */
.ham-adsense-unit {
    margin: 24px auto;
    text-align: center;
    position: relative;
    width: 100%;
}
.ham-adsense-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 6px;
}
.ham-adsense-tag {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ham-muted-light);
    display: inline-flex;
    align-items: center;
}
.ham-adsense-network {
    font-size: 10px;
    color: var(--ham-muted-light);
    font-weight: 500;
}
.ham-adsense-content {
    background: #ffffff;
    border: 1px solid var(--ham-border);
    border-radius: var(--ham-radius-sm);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ham-shadow-xs);
}

/* Zero-CLS Container Dimensions */
.ham-adsense-leaderboard {
    max-width: 970px;
}
.ham-adsense-leaderboard .ham-adsense-content,
.ham-adsense-leaderboard .ham-adsense-placeholder {
    min-height: 90px;
    width: 100%;
}
.ham-adsense-sidebar {
    max-width: 320px;
    margin: 0 auto;
}
.ham-adsense-sidebar .ham-adsense-content,
.ham-adsense-sidebar .ham-adsense-placeholder {
    min-height: 250px;
    width: 100%;
}
.ham-adsense-in_feed {
    max-width: 100%;
}
.ham-adsense-in_feed .ham-adsense-content,
.ham-adsense-in_feed .ham-adsense-placeholder {
    min-height: 105px;
    width: 100%;
}
.ham-adsense-footer_banner {
    max-width: 1140px;
}
.ham-adsense-footer_banner .ham-adsense-content,
.ham-adsense-footer_banner .ham-adsense-placeholder {
    min-height: 90px;
    width: 100%;
}

/* Elegant Neutral Standby Placeholder */
.ham-adsense-placeholder {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--ham-radius-sm);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ham-transition);
}
.ham-adsense-placeholder:hover {
    border-color: var(--ham-primary);
    background: #ffffff;
}

/* ─── Airbnb-Inspired Modern Marketplace Category Cards ────────── */
.ham-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 142px;
    padding: 22px 14px;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    text-align: center;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(21, 55, 101, 0.04);
    text-decoration: none !important;
    position: relative;
    cursor: pointer;
}
.ham-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(21, 55, 101, 0.09);
    border-color: #0875e1;
    text-decoration: none !important;
}
.ham-category-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 12px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.ham-category:hover .ham-category-icon-box {
    transform: scale(1.08);
}
.ham-category-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #153765;
    margin-bottom: 4px;
    line-height: 1.35;
    transition: color 0.15s ease;
    max-width: 100%;
}
.ham-category:hover .ham-category-name {
    color: #0875e1;
}
.ham-category-count {
    color: #64748b;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.2;
}

/* ─── Dynamic Category Tone Color Palettes ────────── */
.ham-tone-cyan {
    background: #e0f2fe;
    color: #0284c7;
}
.ham-tone-purple {
    background: #f3e8ff;
    color: #9333ea;
}
.ham-tone-green {
    background: #dcfce7;
    color: #16a34a;
}
.ham-tone-orange {
    background: #ffedd5;
    color: #ea580c;
}
.ham-tone-teal {
    background: #ccfbf1;
    color: #0d9488;
}
.ham-tone-pink {
    background: #fce7f3;
    color: #db2777;
}
.ham-tone-emerald {
    background: #d1fae5;
    color: #059669;
}
.ham-tone-rose {
    background: #ffe4e6;
    color: #e11d48;
}
.ham-tone-blue {
    background: #e8f2ff;
    color: #0875e1;
}
.ham-verified {
    color: var(--ham-success);
    font-size: 11.5px;
    font-weight: 700;
}
.ham-rating {
    color: #f59e0b;
    font-size: 12.5px;
    font-weight: 700;
}
.ham-chip {
    display: inline-block;
    border-radius: var(--ham-radius-pill);
    background: var(--ham-bg);
    border: 1px solid var(--ham-border-light);
    color: var(--ham-body);
    padding: 4px 10px;
    margin: 2px;
    font-size: 11px;
    font-weight: 500;
}
.ham-chip.active {
    background: var(--ham-primary) !important;
    color: #ffffff !important;
    border-color: var(--ham-primary) !important;
}
.ham-price {
    color: var(--ham-primary);
    font-weight: 800;
    font-size: 15px;
}

/* ─── Linear Stepper Architecture (Booking Lifecycle) ── */
.ham-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 0;
}
.ham-stepper::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--ham-border);
    z-index: 1;
}
.ham-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}
.ham-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--ham-border);
    color: var(--ham-muted);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: var(--ham-transition);
}
.ham-step.active .ham-step-circle {
    background: var(--ham-primary);
    border-color: var(--ham-primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(6, 96, 193, 0.15);
}
.ham-step.completed .ham-step-circle {
    background: var(--ham-success);
    border-color: var(--ham-success);
    color: #ffffff;
}
.ham-step.declined .ham-step-circle {
    background: var(--ham-danger);
    border-color: var(--ham-danger);
    color: #ffffff;
}
.ham-step-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ham-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: block;
}
.ham-step.active .ham-step-label {
    color: var(--ham-primary);
    font-weight: 700;
}
.ham-step.completed .ham-step-label {
    color: var(--ham-success);
}
.ham-step.declined .ham-step-label {
    color: var(--ham-danger);
}

/* ─── Clean Commercial Page Cards & Forms ───────────── */
.ham-page-card {
    background: #ffffff;
    border: 1px solid var(--ham-border);
    border-radius: var(--ham-radius);
    padding: 24px;
    box-shadow: var(--ham-shadow-xs);
    transition: var(--ham-transition);
}
.ham-form-label {
    color: var(--ham-dark);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}
.ham-form-control {
    border: 1px solid var(--ham-border);
    border-radius: var(--ham-radius-sm);
    min-height: 44px;
    color: var(--ham-dark);
    font-size: 13.5px;
    transition: var(--ham-transition);
}
.ham-form-control:focus {
    border-color: var(--ham-primary);
    box-shadow: 0 0 0 3px rgba(6, 96, 193, 0.12);
}

/* ─── Classic Booking Summary & Sticky Box ──────────── */
.ham-booking-summary-box {
    background: #ffffff;
    border: 1px solid var(--ham-border);
    border-radius: var(--ham-radius);
    padding: 22px;
    box-shadow: var(--ham-shadow);
    position: sticky;
    top: 75px;
}
.ham-option-card {
    border: 1px solid var(--ham-border);
    border-radius: var(--ham-radius-sm);
    padding: 14px 16px;
    background: #ffffff;
    cursor: pointer;
    transition: var(--ham-transition);
    margin-bottom: 10px;
    position: relative;
}
.ham-option-card:hover {
    border-color: #cbd5e1;
    background: #fafcff;
}
.ham-option-card.active-tier {
    border-color: var(--ham-primary) !important;
    background: #f0f7ff !important;
    box-shadow: 0 2px 8px rgba(6, 96, 193, 0.08);
}
.ham-trust-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ham-muted);
    margin-bottom: 6px;
}
@media (max-width: 767px) {
    .ham-section {
        padding: 28px 0;
    }
    .ham-adsense-leaderboard .ham-adsense-content,
    .ham-adsense-leaderboard .ham-adsense-placeholder {
        min-height: 60px;
    }
    .ham-booking-summary-box {
        position: static;
        margin-top: 20px;
    }
    .ham-stepper::before {
        left: 20px;
        right: 20px;
    }
    .ham-step-circle {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    .ham-step-label {
        font-size: 10px;
    }
}

@keyframes hamFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

/* ─── Floating Sidebar Premium Refinement ────────────────────────────────── */
.floating-buttons-section {
    z-index: 1046;
}
.floating-buttons-section .aiz-floating-button {
    margin-bottom: 12px;
}
.floating-buttons-section .aiz-floating-button a {
    height: 44px;
    border-radius: 22px;
    box-shadow: 0 4px 16px rgba(21, 55, 101, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
}
.floating-buttons-section .aiz-floating-button a .circle {
    width: 44px;
    height: 44px;
    border-radius: 22px;
    background: #153765 !important; /* Premium Navy */
    box-shadow: 0 2px 8px rgba(21, 55, 101, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.floating-buttons-section .aiz-floating-button a .circle span {
    width: 44px;
    height: 44px;
    background: #153765 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    transition: all 0.3s ease;
}
.floating-buttons-section .aiz-floating-button a .circle svg {
    fill: #ffffff;
    width: 18px;
    height: 18px;
}
.floating-buttons-section .aiz-floating-button a:hover {
    transform: translateY(-2px);
}
.floating-buttons-section .aiz-floating-button a:hover .circle {
    background: #0875e1 !important; /* Accent Blue on hover */
    box-shadow: 0 6px 20px rgba(8, 117, 225, 0.32);
}
.floating-buttons-section .aiz-floating-button a:hover .circle span {
    background: #0875e1 !important;
}
.floating-buttons-section .aiz-floating-button a .text {
    background: #153765;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    height: 44px;
    line-height: 44px;
    padding: 0 18px 0 12px;
    border-radius: 0 22px 22px 0;
    box-shadow: 0 4px 16px rgba(21, 55, 101, 0.25);
    transition: background 0.3s ease;
}
[dir="rtl"] .floating-buttons-section .aiz-floating-button a .text {
    border-radius: 22px 0 0 22px;
    padding: 0 12px 0 18px;
}
.floating-buttons-section .aiz-floating-button a:hover .text {
    background: #0875e1;
}

/* ─── Gutters Utility ─────────────────────────────────────────────────────── */
.gutters-24 {
    margin-right: -12px;
    margin-left: -12px;
}
.gutters-24 > .col,
.gutters-24 > [class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
}
@keyframes hamPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* ─── Bottom AdSense Section Refinements ─────────────────────────────────── */
.ham-adsense-card-container {
    background: #f8fafd;
    border: 1px dashed #bfdbfe;
    border-radius: 14px;
    padding: 16px 24px;
    transition: all 0.25s ease;
    width: 100%;
}
.ham-adsense-card-container:hover {
    background: #ffffff;
    border-color: #0875e1;
    box-shadow: 0 4px 16px rgba(8, 117, 225, 0.08);
}
.ham-adsense-top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.ham-adsense-tag-v2 {
    font-size: 11px;
    font-weight: 700;
    color: #0875e1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}
.ham-adsense-network-v2 {
    font-size: 11px;
    font-weight: 600;
    color: #0875e1;
}
.ham-adsense-placeholder-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    width: 100%;
}
.ham-adsense-inner-v2 {
    text-align: center;
}
.ham-adsense-row-card {
    background: #F8FAFD;
    border: 1.5px dashed #93C5FD;
    border-radius: 16px;
    padding: 8px 18px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(8, 117, 225, 0.02);
}
.ham-adsense-row-card:hover {
    border-color: #60A5FA;
    background: #F0F7FF;
}
.ham-adsense-row-card .ham-adsense-unit { margin: 0; width: 100%; }
.ham-adsense-row-card .ham-adsense-card-container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}
.ham-adsense-row-card .ham-adsense-top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
    padding-bottom: 2px;
    border-bottom: 1px dashed rgba(191, 219, 254, 0.6);
}
.ham-adsense-tag-v2 {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #64748B;
    background: #FFFFFF;
    padding: 1px 6px;
    border-radius: 3px;
    border: 1px solid #E2E8F0;
}
.ham-adsense-network-v2 {
    font-size: 10px;
    color: #94A3B8;
    font-weight: 500;
}
.ham-adsense-brand-row { margin-bottom: 1px; }
.ham-adsense-wordmark {
    font-size: 14.5px;
    font-weight: 400;
    color: #5F6368;
    letter-spacing: -0.01em;
}
.ham-adsense-wordmark-bold {
    font-weight: 700;
    color: #153765;
}
.ham-adsense-space-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #153765;
    margin: 1px 0 1px 0;
    line-height: 1.2;
}
.ham-adsense-space-desc {
    font-size: 10px;
    color: #64748B;
    line-height: 1.3;
    max-width: 680px;
    margin: 0 auto;
}
@media (max-width: 767.98px) {
    .ham-adsense-row-card { padding: 6px 10px; }
    .ham-adsense-space-title { font-size: 11.5px; }
    .ham-adsense-space-desc { font-size: 9.5px; }
}