/**
 * Block: tr-fields/structural-header
 * Fully contained block CSS
 * Auto-generated by cr-generate-blocks.php
 */

/* CSS Custom Properties */
:root {
            /* Airbnb-inspired palette */
            --coral: #FF385C;
            --coral-dark: #E31C5F;
            --coral-light: #FF5A7D;
            --teal: #008489;
            --teal-light: #00A699;
            --black: #222222;
            --gray-900: #484848;
            --gray-700: #717171;
            --gray-500: #B0B0B0;
            --gray-300: #DDDDDD;
            --gray-100: #F7F7F7;
            --white: #FFFFFF;

            /* Semantic */
            --success: #008A05;
            --warning: #FFB400;
            --star: #FF385C;

            /* Typography */
            --font-primary: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;

            /* Spacing */
            --section-padding: clamp(3rem, 6vw, 6rem);
            --container-max: 1280px;
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            --radius-full: 9999px;
        }

/* Component: structural-header */
/* ================================
           HEADER - Airbnb style
        ================================ */
        .header {
    position: sticky;
            top: 0;
            z-index: 1001;
            background: var(--white);
            border-bottom: 1px solid var(--gray-300);
}

.header__inner {
    display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
}

.header__logo {
    display: flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
            color: var(--coral);
}

.header__logo svg {
    width: 32px;
            height: 32px;
}

.header__logo-text {
    font-size: 14px;
            font-weight: 700;
            color: var(--black);
            display: block;
            max-width: 120px;
            line-height: 1.2;
}

@media (min-width: 744px) {
    .header__logo-text {
        font-size: 18px;
                max-width: none;
    }
}

.header__logo {
    cursor: pointer;
}

.header__search {
    display: none;
            align-items: center;
            gap: 16px;
            padding: 8px 8px 8px 24px;
            background: var(--white);
            border: 1px solid var(--gray-300);
            border-radius: var(--radius-full);
            box-shadow: 0 1px 2px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
            cursor: pointer;
            transition: box-shadow 0.2s;
}

.header__search:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.1);
}

@media (min-width: 950px) {
    .header__search {
        display: flex;
    }
}

.header__search-item {
    padding: 0 16px;
            border-right: 1px solid var(--gray-300);
}

.header__search-item:last-of-type {
    border-right: none;
}

.header__search-label {
    font-size: 12px;
            font-weight: 600;
}

.header__search-value {
    font-size: 14px;
            color: var(--gray-700);
}

.header__search-btn {
    width: 48px;
            height: 48px;
            background: linear-gradient(to right, var(--coral), var(--coral-dark));
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
}

.header__search-btn svg {
    width: 16px;
            height: 16px;
            color: var(--white);
}

.header__actions {
    display: flex;
            align-items: center;
            gap: 8px;
}

.header__phone {
    display: none;
            align-items: center;
            gap: 8px;
            padding: 12px 16px;
            color: var(--black);
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            border-radius: var(--radius-full);
            transition: background 0.2s;
}

.header__phone:hover {
    background: var(--gray-100);
}

@media (min-width: 744px) {
    .header__phone {
        display: flex;
    }
}

.header__menu {
    width: 80px;
            height: 42px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 5px 5px 5px 12px;
            background: var(--white);
            border: 1px solid var(--gray-300);
            border-radius: var(--radius-full);
            cursor: pointer;
            transition: box-shadow 0.2s;
}

.header__menu:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.18);
}

.header__menu-icon {
    display: flex;
            flex-direction: column;
            gap: 3px;
}

.header__menu-icon span {
    width: 16px;
            height: 2px;
            background: var(--gray-900);
            border-radius: 1px;
}

.header__menu-avatar {
    width: 32px;
            height: 32px;
            background: var(--gray-700);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
}

.header__menu-avatar svg {
    width: 20px;
            height: 20px;
            color: var(--white);
}

.header__cta {
    display: inline-flex;
            align-items: center;
            padding: 10px 20px;
            background: var(--coral, #FF385C);
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            font-size: 14px;
            border-radius: 8px;
            transition: background 0.2s;
}

.header__cta:hover {
    background: var(--coral-dark, #E31C5F);
}

.header__nav {
    display: none;
            align-items: center;
            gap: 32px;
}

@media (min-width: 950px) {
    .header__nav {
        display: flex;
    }
}

.header__nav-link {
    color: var(--black);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 8px 4px;
            transition: color 0.2s;
}

.header__nav-link:hover {
    color: var(--coral);
}

/* Layout */
        .container {
    max-width: var(--container-max);
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
}

@media (min-width: 744px) {
    .container {
        padding-left: 40px;
                padding-right: 40px;
    }
}

@media (min-width: 1128px) {
    .container {
        padding-left: 80px;
                padding-right: 80px;
    }
}

.hero .container {
    position: relative;
            z-index: 2;
}
