@import 'tailwindcss';
@import './fh-themes.css';
@import './fh-account.css';
@import './fh-corp-account.css';

@source '../../vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php';
@source '../../storage/framework/views/*.php';
@source '../**/*.blade.php';
@source '../**/*.js';

* {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body.fh-mobile-menu-open {
    overflow: hidden;
    touch-action: none;
}

/* Safari paints native up/down arrows unless -webkit-appearance is none. */
.fh-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: var(--fh-select-chevron);
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.fh-select::-ms-expand {
    display: none;
}

body,
.fh-body {
    background: var(--fh-bg);
    color: var(--fh-body-text);
    font-family: 'Inter', sans-serif;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    line-height: 1;
}

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

.fh-app-shell {
    display: grid;
    grid-template-columns: 212px minmax(0, 1fr);
    height: 100vh;
    background: var(--fh-bg);
    overflow: hidden;
}

.fh-app-shell > .fh-main {
    min-height: 0;
}

.fh-sidebar {
    background: var(--fh-sidebar-bg);
    border-right: 1px solid var(--fh-border-soft);
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100vh;
}

.fh-sidebar-top {
    padding: 18px 16px 14px;
    flex-shrink: 0;
}

.fh-sidebar-bottom {
    margin-top: auto;
    padding: 12px 16px 16px;
    border-top: 1px solid var(--fh-border-soft);
    flex-shrink: 0;
}

.fh-sidebar-categories {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin-top: 8px;
    padding: 14px 16px 12px;
    border-top: 1px solid var(--fh-border-soft);
}

.fh-sidebar-categories-panel {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 12px 10px 10px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 53, 0.14);
    background: var(--fh-sidebar-categories-panel-bg);
}

.fh-sidebar-categories-head {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 0 2px;
}

.fh-sidebar-section-label {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fh-sidebar-section-label);
}

.fh-sidebar-categories-all {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    color: rgba(212, 175, 53, 0.78);
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 8px;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.fh-sidebar-categories-all:hover {
    color: var(--fh-gold);
    background: rgba(212, 175, 53, 0.08);
}

.fh-sidebar-categories-all.is-active {
    color: var(--fh-gold);
    background: rgba(212, 175, 53, 0.14);
}

.fh-sidebar-categories-empty {
    margin: 0;
    padding: 4px 4px 2px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--fh-sidebar-muted-text);
}

.fh-sidebar-category-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px 0 4px;
    margin: 0;
}

.fh-sidebar-category-link {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.fh-sidebar-category-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fh-sidebar-offer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-radius: 14px;
    border: 1px solid var(--fh-sidebar-cta-border);
    background: var(--fh-sidebar-cta-bg);
    color: var(--fh-sidebar-cta-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.fh-sidebar-offer-cta:hover {
    border-color: var(--fh-sidebar-cta-border-hover);
    background: var(--fh-sidebar-cta-bg-hover);
    transform: translateY(-1px);
    color: var(--fh-sidebar-cta-text-hover);
}

.fh-sidebar-offer-cta:active {
    transform: translateY(0);
}

.fh-sidebar-offer-cta .material-symbols-outlined {
    font-size: 20px;
    color: var(--fh-gold);
}

.fh-sidebar-locale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 2px 12px;
    margin-bottom: 2px;
}

.fh-sidebar-locale-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--fh-sidebar-locale-label);
}

.fh-sidebar-locale-form {
    display: flex;
    gap: 6px;
    margin: 0;
}

.fh-sidebar-locale-btn {
    min-width: 36px;
    padding: 5px 8px;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 53, 0.25);
    background: rgba(212, 175, 53, 0.06);
    color: var(--fh-sidebar-locale-btn-text);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.18s ease;
}

.fh-sidebar-locale-btn:hover {
    border-color: rgba(212, 175, 53, 0.45);
    color: var(--fh-gold);
}

.fh-sidebar-locale-btn.is-active {
    background: rgba(212, 175, 53, 0.18);
    border-color: rgba(212, 175, 53, 0.5);
    color: var(--fh-gold);
}

.fh-brand {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    
}

.fh-brand-link {
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    margin: -4px -6px;
    padding: 4px 6px;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.fh-brand-link:hover {
    background: rgba(212, 175, 53, 0.06);
}

.fh-brand-link:hover .fh-brand-title {
    color: var(--fh-sidebar-brand-title-hover);
}

.fh-brand-link:focus-visible {
    outline: 2px solid var(--fh-gold);
    outline-offset: 2px;
}

.fh-brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: var(--fh-gold);
    color: #201d12;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fh-brand-icon .material-symbols-outlined {
    font-size: 17px;
}

.fh-brand-icon--logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: transparent;
    padding: 0;
    overflow: hidden;
}

.fh-brand-icon--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.fh-brand-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.05;
    font-weight: 800;
    color: var(--fh-sidebar-brand-title);
}

.fh-brand-subtitle {
    margin: 2px 0 0;
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--fh-gold);
}

.fh-sidebar-menu,
.fh-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fh-mobile-nav-overlay {
    display: none;
}

.fh-sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    color: var(--fh-sidebar-link);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.fh-sidebar-link:hover {
    background: var(--fh-sidebar-link-hover-bg);
    color: var(--fh-gold);
}

.fh-sidebar-link.is-active {
    background: var(--fh-sidebar-link-active-bg);
    color: var(--fh-gold);
}

.fh-sidebar-link .material-symbols-outlined {
    font-size: 18px;
}

.fh-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-width: 0;
}

.fh-topbar {
    position: relative;
    z-index: 100;
    overflow: visible;
    height: 64px;
    border-bottom: 1px solid rgba(212, 175, 53, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    flex-shrink: 0;
    min-width: 0;
}

.fh-mobile-menu-button {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fh-border-soft);
    background: rgba(212, 175, 53, 0.04);
    color: var(--fh-sidebar-mobile-btn);
    flex-shrink: 0;
    cursor: pointer;
}

.fh-mobile-menu-button:focus-visible {
    outline: 2px solid var(--fh-gold);
    outline-offset: 2px;
}

.fh-search-box {
    position: relative;
    width: min(100%, 560px);
    min-width: 0;
}

@media (min-width: 1025px) {
    .fh-search-box {
        flex: 0 1 auto;
    }
}

@media (max-width: 1024px) {
    .fh-search-box {
        flex: 1;
    }
}

.fh-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--fh-text-muted);
}

.fh-search-input {
    width: 100%;
    height: 42px;
    border-radius: 9999px;
    border: 1px solid var(--fh-search-border, rgba(212, 175, 53, 0.1));
    background: var(--fh-search-bg, rgba(212, 175, 53, 0.04));
    color: var(--fh-body-text);
    padding: 0 18px 0 42px;
    outline: none;
    font-size: 13px;
    font-weight: 500;
}

.fh-search-input::placeholder {
    color: var(--fh-search-placeholder, #738097);
}

.fh-search-input:focus {
    border-color: rgba(212, 175, 53, 0.24);
}

.fh-topbar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.fh-topbar-user-cluster {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.fh-topbar-user-cluster--guest {
    margin-left: 0;
}

.fh-topbar-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 53, 0.28);
    background: linear-gradient(135deg, rgba(212, 175, 53, 0.2), rgba(212, 175, 53, 0.06));
    color: #fff4c7;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.fh-topbar-login-btn:hover {
    border-color: rgba(212, 175, 53, 0.48);
    background: linear-gradient(135deg, rgba(212, 175, 53, 0.3), rgba(212, 175, 53, 0.1));
    color: #fff8e6;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
}

.fh-topbar-login-btn:focus-visible {
    outline: 2px solid var(--fh-gold);
    outline-offset: 2px;
}

.fh-topbar-login-btn:active {
    transform: translateY(1px);
}

.fh-topbar-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 53, 0.1);
    background: rgba(212, 175, 53, 0.04);
    color: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.fh-topbar-icon-btn .material-symbols-outlined {
    font-size: 20px;
    color: var(--fh-gold);
}

.fh-topbar-icon-btn:hover {
    background: rgba(212, 175, 53, 0.1);
    border-color: rgba(212, 175, 53, 0.22);
    color: #fff4c7;
}

.fh-topbar-icon-btn:focus-visible {
    outline: 2px solid var(--fh-gold);
    outline-offset: 2px;
}

.fh-topbar-icon-btn.is-active {
    background: rgba(212, 175, 53, 0.14);
    border-color: rgba(212, 175, 53, 0.38);
}

.fh-topbar-icon-btn.is-active .fh-icon-favorite {
    font-variation-settings:
        'FILL' 1,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    color: #f4d35e;
}

.fh-user-menu {
    position: relative;
    flex-shrink: 0;
}

.fh-user-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: min(220px, 42vw);
    height: 40px;
    padding: 0 10px 0 6px;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 53, 0.1);
    background: rgba(212, 175, 53, 0.04);
    color: var(--fh-body-text);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.fh-user-menu-trigger:hover {
    background: rgba(212, 175, 53, 0.08);
    border-color: rgba(212, 175, 53, 0.2);
}

.fh-user-menu-trigger:focus-visible {
    outline: 2px solid var(--fh-gold);
    outline-offset: 2px;
}

.fh-user-menu.is-open .fh-user-menu-trigger {
    background: rgba(212, 175, 53, 0.12);
    border-color: rgba(212, 175, 53, 0.28);
}

.fh-user-menu-trigger.is-route-active {
    border-color: rgba(212, 175, 53, 0.32);
    background: rgba(212, 175, 53, 0.08);
}

.fh-user-menu-avatar-wrap {
    position: relative;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(212, 175, 53, 0.22);
    background: rgba(0, 0, 0, 0.25);
}

.fh-user-menu-avatar-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.fh-user-menu-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--fh-user-menu-name);
}

.fh-user-menu-chevron {
    font-size: 18px !important;
    color: var(--fh-user-menu-chevron);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.fh-user-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 220px;
    max-width: min(280px, calc(100vw - 24px));
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--fh-user-menu-border);
    background: var(--fh-user-menu-bg);
    box-shadow: var(--fh-user-menu-shadow);
    z-index: 1200;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.fh-user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--fh-user-menu-item);
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}

.fh-user-menu-item .material-symbols-outlined {
    font-size: 18px;
    color: var(--fh-user-menu-icon);
}

.fh-user-menu-item:hover,
.fh-user-menu-item:focus-visible {
    background: var(--fh-user-menu-item-hover-bg);
    color: var(--fh-user-menu-item-hover);
    outline: none;
}

.fh-user-menu-item.is-active {
    background: var(--fh-user-menu-item-active-bg);
    color: var(--fh-user-menu-item-active);
}

.fh-user-menu-item--danger .material-symbols-outlined {
    color: var(--fh-user-menu-danger);
}

.fh-user-menu-item--danger:hover,
.fh-user-menu-item--danger:focus-visible {
    background: var(--fh-user-menu-danger-hover-bg);
    color: var(--fh-user-menu-danger-hover);
}

.fh-user-menu-logout-form {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--fh-user-menu-divider);
    margin-top: 4px;
    padding-top: 4px;
}

.fh-location-button {
    height: 40px;
    border-radius: 9999px;
    border: 1px solid var(--fh-location-bar-border);
    background: var(--fh-location-bar-bg);
    box-shadow: var(--fh-location-bar-shadow);
    color: var(--fh-location-button-fg);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        border-color 0.2s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.fh-location-button:hover:not(:disabled) {
    background: var(--fh-location-bar-bg-hover);
    border-color: var(--fh-location-bar-border-hover);
}

.fh-location-button:active:not(:disabled) {
    background: var(--fh-location-bar-active-bg);
}

.fh-location-button:focus-visible {
    outline: 2px solid var(--fh-location-bar-focus-ring);
    outline-offset: 2px;
}

.fh-location-button.is-geo-loading {
    opacity: 0.72;
    pointer-events: none;
}

/* Konum çekmecesi: varsayılan metin rengi (buton inherit / tema tutarlılığı) */
.fh-location-drawer {
    color: var(--fh-body-text);
}

.fh-location-drawer-secondary {
    margin-top: 10px;
}

.fh-location-drawer-secondary .fh-geo-status-line:first-child {
    margin-top: 0;
}

.fh-location-drawer-secondary .fh-location-geo-btn {
    margin-bottom: 0;
}

.fh-geo-status-line {
    margin: 0 0 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--fh-geo-status-text);
    background: var(--fh-geo-status-bg);
    border: 1px solid var(--fh-geo-status-border);
}

.fh-location-geo-btn {
    width: 100%;
    min-height: 44px;
    margin-bottom: 10px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 53, 0.22);
    background: rgba(212, 175, 53, 0.08);
    color: var(--fh-geo-btn-fg);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background 0.18s ease,
        border-color 0.18s ease;
}

.fh-location-geo-btn:hover:not(:disabled) {
    background: rgba(212, 175, 53, 0.14);
    border-color: rgba(212, 175, 53, 0.36);
}

.fh-location-geo-btn:focus-visible {
    outline: 2px solid var(--fh-gold);
    outline-offset: 2px;
}

.fh-location-geo-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.fh-location-geo-btn .material-symbols-outlined {
    font-size: 18px;
    color: var(--fh-gold);
}

.fh-location-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fh-location-icon {
    font-size: 16px;
    color: var(--fh-location-button-icon);
}

.fh-expand-icon {
    font-size: 16px;
    color: var(--fh-location-chevron);
}

.fh-circle-icon-button {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 1px solid transparent;
    background: rgba(212, 175, 53, 0.04);
    color: #d6d9df;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fh-circle-icon-button .material-symbols-outlined {
    font-size: 18px;
}

.fh-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    border: 2px solid rgba(212, 175, 53, 0.24);
    padding: 2px;
    flex-shrink: 0;
}

.fh-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    object-fit: cover;
}

.fh-page-content {
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 16px 18px 20px;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

.fh-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.fh-scrollbar::-webkit-scrollbar-thumb {
    background: #3b372b;
    border-radius: 9999px;
}

.fh-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.fh-category-pills {
    display: flex;
    gap: 10px;
    overflow: auto;
    padding-bottom: 8px;
    margin-bottom: 14px;
}

.fh-category-pill {
    white-space: nowrap;
    height: 38px;
    padding: 0 16px;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 53, 0.10);
    background: rgba(212, 175, 53, 0.04);
    color: var(--fh-text-soft);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.fh-category-pill.is-active {
    background: var(--fh-gold);
    border-color: var(--fh-gold);
    color: #201d12;
}

.fh-section {
    margin-top: 4px;
}

.fh-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 14px;
}

.fh-section-header--action-only {
    justify-content: flex-end;
    margin: 2px 0 12px;
}

.fh-section--latest-feed {
    margin-top: 8px;
}

.fh-section-title {
    margin: 0;
    font-size: 17px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--fh-heading);
}

.fh-section-action {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--fh-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.fh-section-action .material-symbols-outlined {
    font-size: 16px;
}

.fh-campaign-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.fh-campaign-card {
    position: relative;
    border: 1px solid var(--fh-border-soft);
    background: var(--fh-panel-soft);
    border-radius: 18px;
    overflow: hidden;
    transition: 0.18s ease;
    min-width: 0;
}

.fh-campaign-card--clickable {
    cursor: pointer;
}

.fh-campaign-card__stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

.fh-campaign-card__stretched-link:focus-visible {
    outline: 2px solid var(--fh-gold);
    outline-offset: 2px;
}

.fh-campaign-card--clickable .fh-campaign-image-wrapper,
.fh-campaign-card--clickable .fh-campaign-body {
    pointer-events: none;
}

.fh-campaign-card--clickable .fh-campaign-save-button,
.fh-campaign-card--clickable .fh-campaign-claim-link {
    pointer-events: auto;
}

/* Stretched-link z-index:1 ile tüm kartı kaplar; detay dışı tıklanabilir öğeler üstte olmalı */
.fh-campaign-card--clickable .fh-campaign-claim-link {
    position: relative;
    z-index: 2;
}

.fh-campaign-card--clickable .fh-campaign-brand-link {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    text-decoration: none;
    color: var(--fh-brand-link, #d9e0ea);
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    font-weight: 700;
    transition: color 0.15s ease;
}

.fh-campaign-card--clickable .fh-campaign-brand-link:hover {
    color: var(--fh-gold);
}

.fh-campaign-card:hover {
    border-color: var(--fh-border-strong);
    transform: translateY(-1px);
}

.fh-campaign-image-wrapper {
    position: relative;
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
    background: var(--fh-card-image-bg, #181818);
}

.fh-campaign-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fh-campaign-badge {
    position: absolute;
    left: 10px;
    top: 10px;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 9999px;
    background: var(--fh-gold);
    color: #201d12;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.fh-campaign-save-button {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 10px;
    background: rgba(19, 19, 19, 0.45);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.fh-campaign-save-button.is-active {
    color: #ff3b5c;
}

.fh-campaign-save-button.is-active .material-symbols-outlined {
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
}

.fh-campaign-save-button .material-symbols-outlined {
    font-size: 18px;
}

.fh-campaign-card--listing-inactive {
    border-color: rgba(120, 118, 110, 0.45);
    background: rgba(22, 21, 18, 0.65);
}

.fh-campaign-card--listing-inactive .fh-campaign-image {
    filter: grayscale(0.42) brightness(0.88);
}

.fh-campaign-card--listing-inactive .fh-campaign-body {
    opacity: 0.9;
}

.fh-campaign-card--listing-inactive .fh-campaign-title {
    color: rgba(236, 230, 210, 0.78);
}

.fh-campaign-card--listing-inactive .fh-campaign-description {
    color: rgba(200, 195, 180, 0.55);
}

.fh-campaign-card--listing-inactive .fh-campaign-meta,
.fh-campaign-card--listing-inactive .fh-campaign-brand-name {
    color: rgba(190, 186, 172, 0.62);
}

.fh-campaign-card--listing-inactive .fh-campaign-badge {
    opacity: 0.75;
}

.fh-campaign-inactive-banner {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 248, 220, 0.96);
    background: linear-gradient(to top, rgba(18, 16, 12, 0.94) 0%, rgba(18, 16, 12, 0.55) 55%, transparent 100%);
    pointer-events: none;
}

.fh-campaign-inactive-banner .material-symbols-outlined {
    font-size: 16px;
    opacity: 0.9;
}

.fh-campaign-claim-link--inactive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px dashed rgba(212, 175, 53, 0.28);
    font-size: 10px;
    font-weight: 800;
    color: rgba(212, 175, 53, 0.42);
    cursor: not-allowed;
    user-select: none;
}

.fh-campaign-time-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 7px;
    max-width: calc(100% - 20px);
    padding: 6px 11px;
    border-radius: 9999px;
    background: rgba(19, 19, 19, 0.48);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
}

.fh-campaign-time-badge-icon {
    font-size: 15px;
    color: var(--fh-gold);
    flex-shrink: 0;
}

.fh-campaign-time-badge-text {
    color: #f3e6c4;
}

.fh-campaign-time-badge--normal .fh-campaign-time-badge-icon,
.fh-campaign-time-badge--open .fh-campaign-time-badge-icon {
    color: var(--fh-gold);
}

.fh-campaign-time-badge--critical .fh-campaign-time-badge-icon,
.fh-campaign-time-badge--critical .fh-campaign-time-badge-text {
    color: #e8a84a;
}

/* Kalan süre: 0–2 gün (aciliyet) */
.fh-campaign-time-badge--urgent .fh-campaign-time-badge-icon,
.fh-campaign-time-badge--urgent .fh-campaign-time-badge-text {
    color: #f87171;
}

/* 3–7 gün: uyarı */
.fh-campaign-time-badge--warn .fh-campaign-time-badge-icon,
.fh-campaign-time-badge--warn .fh-campaign-time-badge-text {
    color: #f0c278;
}

.fh-campaign-time-badge--expired .fh-campaign-time-badge-icon,
.fh-campaign-time-badge--expired .fh-campaign-time-badge-text {
    color: #9a8f7a;
}

[data-fh-countdown-end] {
    font-variant-numeric: tabular-nums;
}

.fh-campaign-time-badge-pill {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(232, 168, 74, 0.14);
    border: 1px solid rgba(232, 168, 74, 0.38);
    color: #f0c278;
}

.fh-campaign-body {
    padding: 12px 12px 11px;
}

.fh-campaign-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.fh-campaign-category {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fh-gold);
}

.fh-campaign-distance {
    display: flex;
    align-items: center;
    gap: 3px;
    color: var(--fh-distance-text);
    font-size: 10px;
    font-weight: 600;
}

.fh-campaign-distance .material-symbols-outlined {
    font-size: 12px;
    color: var(--fh-distance-icon);
}

.fh-campaign-title {
    margin: 0;
    color: var(--fh-heading);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.fh-campaign-description {
    margin: 8px 0 0;
    color: var(--fh-text-muted);
    font-size: 11px;
    line-height: 1.45;
    min-height: 32px;
}

.fh-campaign-footer {
    margin-top: 11px;
    padding-top: 10px;
    border-top: 1px solid rgba(212, 175, 53, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fh-campaign-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.fh-campaign-brand-logo {
    width: 18px;
    height: 18px;
    border-radius: 9999px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 53, 0.20);
    flex-shrink: 0;
}

.fh-campaign-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fh-campaign-brand-name {
    min-width: 0;
    font-size: 10px;
    font-weight: 700;
    color: #d9e0ea;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fh-campaign-claim-link {
    color: var(--fh-gold);
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

/* —— Campaign card variants —— */
.fh-campaign-card--compact {
    border-radius: 14px;
}

.fh-campaign-card--compact .fh-campaign-image-wrapper {
    aspect-ratio: 2 / 1;
}

.fh-campaign-card--compact .fh-campaign-badge {
    left: 8px;
    top: 8px;
    min-height: 20px;
    padding: 0 8px;
    font-size: 9px;
    letter-spacing: 0.1em;
}

.fh-campaign-card--compact .fh-campaign-save-button {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.fh-campaign-card--compact .fh-campaign-save-button .material-symbols-outlined {
    font-size: 16px;
}

.fh-campaign-card--compact .fh-campaign-time-badge {
    left: 8px;
    bottom: 8px;
    padding: 4px 9px;
    font-size: 10px;
    max-width: calc(100% - 16px);
}

.fh-campaign-card--compact .fh-campaign-time-badge-icon {
    font-size: 13px;
}

.fh-campaign-card--compact .fh-campaign-body {
    padding: 10px 10px 9px;
}

.fh-campaign-card--compact .fh-campaign-meta {
    margin-bottom: 4px;
}

.fh-campaign-card--compact .fh-campaign-category {
    font-size: 8px;
    letter-spacing: 0.14em;
}

.fh-campaign-card--compact .fh-campaign-distance {
    font-size: 9px;
}

.fh-campaign-card--compact .fh-campaign-title {
    font-size: 13px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fh-campaign-card--compact .fh-campaign-description {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.35;
    min-height: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fh-campaign-card--compact .fh-campaign-footer {
    margin-top: 8px;
    padding-top: 8px;
    gap: 8px;
}

.fh-campaign-card--compact .fh-campaign-brand-logo {
    width: 16px;
    height: 16px;
}

.fh-campaign-card--compact .fh-campaign-brand-name {
    font-size: 9px;
}

.fh-campaign-card--compact .fh-campaign-claim-link {
    font-size: 9px;
}

.fh-campaign-card--compact .fh-campaign-claim-link--inactive {
    font-size: 9px;
    padding: 6px 9px;
}

.fh-campaign-card--featured {
    border-radius: 22px;
    border-color: rgba(212, 175, 53, 0.22);
    background: linear-gradient(165deg, rgba(212, 175, 53, 0.09) 0%, rgba(212, 175, 53, 0.03) 42%, var(--fh-panel-soft) 100%);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.fh-campaign-card--featured:hover {
    border-color: rgba(212, 175, 53, 0.35);
}

.fh-campaign-card--featured .fh-campaign-image-wrapper {
    aspect-ratio: 16 / 10;
}

.fh-campaign-card--featured .fh-campaign-body {
    padding: 16px 16px 15px;
}

.fh-campaign-card--featured .fh-campaign-title {
    font-size: 19px;
    line-height: 1.18;
}

.fh-campaign-card--featured .fh-campaign-description {
    font-size: 12px;
    margin-top: 10px;
    min-height: 40px;
    color: rgba(140, 153, 173, 0.95);
}

.fh-campaign-card--featured .fh-campaign-footer {
    margin-top: 14px;
    padding-top: 12px;
}

.fh-campaign-card--featured .fh-campaign-claim-link {
    font-size: 11px;
    padding: 2px 0;
}

/* —— Homepage showcase —— */
.fh-home-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 20px;
    /* İki kolon satır yüksekliğini paylaşır; sağ panel sol “Öne çıkan” ile aynı yüksekliğe uzar */
    align-items: stretch;
    margin-bottom: 28px;
}

@media (min-width: 1280px) {
    .fh-home-showcase {
        grid-template-columns: minmax(0, 1.22fr) minmax(300px, 360px);
        gap: 24px;
    }
}

@media (min-width: 1600px) {
    .fh-home-showcase {
        grid-template-columns: minmax(0, 1.15fr) minmax(300px, 340px);
    }
}

.fh-home-showcase-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.fh-home-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 641px) {
    .fh-home-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
    }
}

@media (min-width: 1025px) {
    .fh-home-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 14px;
    }
}

.fh-home-featured-grid .fh-campaign-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fh-home-featured-grid .fh-campaign-image-wrapper {
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
}

.fh-home-featured-grid .fh-campaign-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 11px 12px 10px;
}

.fh-home-featured-grid .fh-campaign-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
}

.fh-home-featured-grid .fh-campaign-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
    margin-top: 6px;
}

.fh-home-featured-grid .fh-campaign-footer {
    margin-top: auto;
}

.fh-home-hero-label {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(212, 175, 53, 0.85);
    
}

.fh-home-showcase-aside {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--fh-border-soft);
    border-radius: 20px;
    background: var(--fh-home-aside-bg);
    padding: 12px 12px 10px;
    padding-top: 24px;
    /* Grid satırı yüksekliğini doldur (sol kolon ile eşit) */
    height: 100%;
    align-self: stretch;
    /* Köşe radius içteki scroll ile uyumlu */
    overflow: hidden;
}

.fh-home-nearby-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.fh-home-nearby-head h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--fh-heading);
}

.fh-home-map-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 53, 0.28);
    background: rgba(212, 175, 53, 0.08);
    color: var(--fh-gold);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: 0.18s ease;
}

.fh-home-map-link:hover {
    background: rgba(212, 175, 53, 0.14);
    border-color: rgba(212, 175, 53, 0.42);
}

.fh-home-map-link .material-symbols-outlined {
    font-size: 15px;
}

.fh-home-nearby-hint {
    margin: -6px 0 10px;
    font-size: 11px;
    line-height: 1.35;
    color: var(--fh-home-nearby-hint);
}

.fh-home-nearby-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 53, 0.35) transparent;
}

.fh-home-nearby-list::-webkit-scrollbar {
    width: 5px;
}

.fh-home-nearby-list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 53, 0.28);
    border-radius: 999px;
}

.fh-home-nearby-list .fh-campaign-card--compact {
    flex-shrink: 0;
}

/* Sağ panel: daha kompakt kartlar, sütunu kısalt */
.fh-home-nearby-list .fh-campaign-card--compact .fh-campaign-image-wrapper {
    aspect-ratio: 2.2 / 1;
}

.fh-home-nearby-list .fh-campaign-card--compact .fh-campaign-body {
    padding: 8px 9px 7px;
}

.fh-home-nearby-list .fh-campaign-card--compact .fh-campaign-title {
    font-size: 12px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

.fh-home-nearby-list .fh-campaign-card--compact .fh-campaign-description {
    display: none;
}

.fh-home-nearby-list .fh-campaign-card--compact .fh-campaign-meta {
    margin-bottom: 3px;
}

.fh-home-nearby-list .fh-campaign-card--compact .fh-campaign-footer {
    margin-top: 6px;
    padding-top: 6px;
    gap: 6px;
}

.fh-home-nearby-list .fh-campaign-card--compact .fh-campaign-time-badge {
    font-size: 9px;
    padding: 3px 7px;
}

.fh-home-hero-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    border: 1px dashed rgba(212, 175, 53, 0.2);
    border-radius: 22px;
    background: rgba(212, 175, 53, 0.04);
    color: var(--fh-home-hero-empty-text);
    font-size: 14px;
}

.fh-home-hero-empty .material-symbols-outlined {
    font-size: 44px;
    color: var(--fh-gold);
    margin-bottom: 12px;
    opacity: 0.85;
}

.fh-home-categories-cta {
    margin: 26px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid var(--fh-border-soft);
    background: rgba(212, 175, 53, 0.05);
    text-decoration: none;
    color: inherit;
    transition: 0.18s ease;
}

.fh-home-categories-cta:hover {
    border-color: rgba(212, 175, 53, 0.28);
    background: rgba(212, 175, 53, 0.08);
}

.fh-home-categories-cta-text strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--fh-home-categories-strong);
    margin-bottom: 4px;
}

.fh-home-categories-cta-text span {
    font-size: 13px;
    color: var(--fh-text-muted);
}

.fh-home-categories-cta .material-symbols-outlined {
    font-size: 28px;
    color: var(--fh-gold);
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .fh-home-showcase {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: stretch;
    }

    .fh-home-showcase-aside {
        height: auto;
        min-height: 0;
        align-self: stretch;
    }

    /* Alt alta düzende sayfa ile birlikte uzasın; iç scroll zorunlu değil */
    .fh-home-nearby-list {
        flex: 0 1 auto;
        overflow-y: visible;
    }
}

@media (max-width: 1320px) {
    .fh-campaign-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 980px) {
    .fh-campaign-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .fh-app-shell {
        grid-template-columns: 1fr;
    }

    .fh-mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(2px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, visibility 0.22s ease;
    }

    body.fh-mobile-menu-open .fh-mobile-nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .fh-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: min(292px, 88vw);
        height: 100vh;
        height: 100dvh;
        z-index: 1091;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: 8px 0 36px rgba(0, 0, 0, 0.35);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.fh-mobile-menu-open .fh-sidebar {
        transform: translateX(0);
    }

    .fh-mobile-menu-button {
        display: inline-flex;
    }
}

@media (min-width: 1025px) {
    .fh-app-shell {
        grid-template-columns: 212px minmax(0, 1fr);
    }

    .fh-sidebar {
        position: relative;
        left: auto;
        top: auto;
        width: auto;
        height: 100vh;
        transform: none !important;
        z-index: auto;
        box-shadow: none;
        overflow: visible;
    }

    .fh-mobile-nav-overlay {
        display: none !important;
    }

    .fh-mobile-menu-button {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .fh-topbar {
        flex-wrap: wrap;
        height: auto;
        min-height: 64px;
        padding: 10px 12px;
        gap: 10px;
        align-items: center;
    }

    .fh-mobile-menu-button {
        width: 44px;
        height: 44px;
    }

    .fh-search-box {
        flex: 1;
        min-width: 0;
        width: auto;
    }

    .fh-search-input {
        min-height: 44px;
        font-size: 16px;
    }

    .fh-topbar-actions {
        display: flex;
        width: 100%;
        margin-left: 0;
        flex: 1 1 100%;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    .fh-location-button {
        flex: 1;
        min-width: 0;
        min-height: 44px;
        height: auto;
        padding: 10px 14px;
        white-space: nowrap;
    }

    .fh-topbar-user-cluster {
        flex-shrink: 0;
    }

    .fh-topbar-icon-btn {
        width: 44px;
        height: 44px;
    }

    .fh-user-menu-trigger {
        height: 44px;
        max-width: min(200px, 40vw);
    }

    .fh-topbar-login-btn {
        min-height: 44px;
        height: auto;
        padding: 10px 18px;
        font-size: 11px;
    }

    .fh-page-content {
        padding: 12px 12px 16px;
    }

    .fh-campaign-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .fh-section-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .fh-user-menu-name {
        display: none;
    }

    .fh-user-menu-trigger {
        max-width: none;
        padding: 0 8px 0 5px;
    }
}

@media (max-width: 480px) {
    .fh-campaign-footer {
        flex-wrap: wrap;
        gap: 8px;
    }

    .fh-campaign-claim-link {
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
}



.fh-map-shell {
    flex: 1;
    display: flex;
    min-height: 0;
}

.fh-map-sidebar {
    background: var(--fh-map-sidebar-bg);
    border-right: 1px solid rgba(212, 175, 53, 0.08);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fh-map-searchbar {
    padding: 16px 16px 10px;
    border-bottom: 1px solid rgba(212, 175, 53, 0.06);
}

.fh-map-search-input-wrap {
    position: relative;
}

.fh-map-search-input-wrap .material-symbols-outlined {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--fh-map-search-icon);
}

.fh-map-search-input-wrap input {
    width: 100%;
    height: 44px;
    border-radius: 9999px;
    border: 1px solid var(--fh-map-input-border);
    background: var(--fh-map-input-bg);
    color: var(--fh-map-input-text);
    padding: 0 16px 0 42px;
    outline: none;
    font-size: 13px;
}

.fh-map-search-input-wrap input::placeholder {
    color: var(--fh-map-input-placeholder);
}

.fh-map-sidebar-content {
    padding: 18px 16px 20px;
    overflow: auto;
}

.fh-map-heading-row {
    margin-bottom: 14px;
}

.fh-map-title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--fh-map-title);
}

.fh-map-subtitle {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--fh-map-subtitle);
}

.fh-map-filter-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.fh-map-filter-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(212, 175, 53, 0.75);
}

.fh-map-filter-select-wrap {
    position: relative;
}

.fh-map-filter-select {
    width: 100%;
    margin: 0;
    padding: 11px 40px 11px 14px;
    border-radius: 14px;
    border: 1px solid rgba(212, 175, 53, 0.18);
    background: var(--fh-map-select-bg);
    color: var(--fh-map-select-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.fh-map-filter-select:hover {
    border-color: rgba(212, 175, 53, 0.35);
}

.fh-map-filter-select:focus {
    outline: none;
    border-color: var(--fh-map-select-focus);
    box-shadow: 0 0 0 2px rgba(212, 175, 53, 0.2);
}

.fh-map-filter-select-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 22px;
    color: var(--fh-gold);
    opacity: 0.9;
}

.fh-map-offer-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.fh-map-offer-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(212, 175, 53, 0.06);
    border: 1px solid rgba(212, 175, 53, 0.07);
    transition: 0.18s ease;
}

.fh-map-offer-item:hover,
.fh-map-offer-item.is-featured {
    border-color: rgba(212, 175, 53, 0.22);
    background: rgba(212, 175, 53, 0.09);
}

.fh-map-offer-thumb {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--fh-map-offer-thumb);
}

.fh-map-offer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fh-map-offer-body {
    min-width: 0;
    flex: 1;
}

.fh-map-offer-category-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.fh-map-offer-category {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: #d4af37;
}

.fh-map-offer-star {
    font-size: 16px;
    color: #d4af37;
}

.fh-map-offer-title {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--fh-map-title);
    line-height: 1.2;
}

.fh-map-offer-text {
    margin: 5px 0 0;
    font-size: 12px;
    color: var(--fh-map-offer-desc);
    line-height: 1.4;
}

.fh-map-offer-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.fh-map-offer-distance {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--fh-distance-text);
}

.fh-map-offer-distance .material-symbols-outlined {
    font-size: 14px;
    color: var(--fh-distance-icon);
}

.fh-map-offer-time {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--fh-map-offer-time);
}

.fh-map-offer-time .material-symbols-outlined {
    font-size: 16px;
    color: var(--fh-gold);
}

.fh-map-offer-time--critical {
    color: #e8a84a;
}

.fh-map-offer-time--critical .material-symbols-outlined {
    color: #e8a84a;
}

.fh-map-offer-time--expired {
    color: #9a8f7a;
}

.fh-map-offer-time--expired .material-symbols-outlined {
    color: #9a8f7a;
}

.fh-map-offer-time-pill {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(232, 168, 74, 0.12);
    border: 1px solid rgba(232, 168, 74, 0.35);
    color: #f0c278;
}

.fh-map-canvas {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: var(--fh-map-canvas-bg);
}

.fh-map-topnav {
    position: absolute;
    top: 16px;
    left: 24px;
    right: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 20px;
}

.fh-map-topnav-link {
    text-decoration: none;
    color: var(--fh-map-topnav);
    font-size: 14px;
    font-weight: 700;
}

.fh-map-topnav-link.is-active {
    color: var(--fh-map-topnav-active);
}

.fh-map-topnav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fh-map-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    border: 1px solid rgba(212, 175, 53, 0.10);
    background: rgba(0, 0, 0, 0.35);
    color: var(--fh-map-icon-btn-text);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.fh-map-style-toggle {
    position: absolute;
    top: 58px;
    right: 24px;
    z-index: 6;
    display: inline-flex;
    padding: 4px;
    border-radius: 9999px;
    background: rgba(20, 18, 14, 0.75);
    border: 1px solid rgba(212, 175, 53, 0.10);
    backdrop-filter: blur(10px);
}

.fh-map-style-toggle button {
    height: 34px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    border-radius: 9999px;
    color: var(--fh-map-style-inactive);
    font-size: 12px;
    font-weight: 700;
}

.fh-map-style-toggle button.is-active {
    background: rgba(212, 175, 53, 0.18);
    color: var(--fh-map-style-active);
}

.fh-map-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(18, 15, 10, 0.64), rgba(18, 15, 10, 0.72)),
        url('https://maps.geoapify.com/v1/staticmap?style=dark-matter-brown&width=1200&height=900&center=lonlat:28.9784,41.0082&zoom=12&apiKey=demo');
    background-size: cover;
    background-position: center;
}

.fh-map-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(212, 175, 53, 0.08), transparent 45%),
        linear-gradient(to right, rgba(15, 13, 9, 0.25), rgba(15, 13, 9, 0.05));
}

.fh-map-marker {
    position: absolute;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    background: rgba(212, 175, 53, 0.18);
    border: 1px solid rgba(212, 175, 53, 0.40);
    color: var(--fh-map-marker-text);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(212, 175, 53, 0.05);
    backdrop-filter: blur(8px);
}

.fh-map-marker .material-symbols-outlined {
    font-size: 20px;
}

.fh-marker-1 { top: 30%; left: 42%; }
.fh-marker-2 { top: 48%; left: 56%; }
.fh-marker-3 { top: 62%; left: 68%; }
.fh-marker-4 { top: 52%; left: 78%; }

.fh-map-popup {
    position: absolute;
    top: 33%;
    left: 47%;
    width: 290px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(18, 16, 12, 0.92);
    border: 1px solid rgba(212, 175, 53, 0.16);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
}

.fh-map-popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fh-map-popup-close .material-symbols-outlined {
    font-size: 16px;
}

.fh-map-popup-image {
    height: 96px;
    overflow: hidden;
}

.fh-map-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fh-map-popup-body {
    padding: 12px;
}

.fh-map-popup-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: white;
}

.fh-map-popup-text {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.4;
    color: #d3af45;
}

.fh-map-popup-footer {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fh-map-popup-meta {
    font-size: 11px;
    color: #98a4b3;
}

.fh-map-popup-button {
    height: 34px;
    padding: 0 16px;
    border-radius: 9999px;
    background: #d4af37;
    color: #201d12;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
}

.fh-map-controls {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fh-map-control-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(212, 175, 53, 0.12);
    border-radius: 9999px;
    background: rgba(14, 12, 9, 0.85);
    color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.fh-map-control-btn .material-symbols-outlined {
    font-size: 20px;
}
/* Logout button'u link gibi davranmaya zorla */
.fh-sidebar-bottom form {
    margin: 0;
}

.fh-sidebar-bottom button.fh-sidebar-link {
    width: 100%;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
}

@media (max-width: 1280px) {
    .fh-map-shell {
        min-height: 0;
    }
}

@media (max-width: 1024px) {
    .fh-map-popup {
        left: 50%;
        top: 56%;
        transform: translateX(-50%);
    }
}

/* —— Skeleton / shimmer loading —— */
.fh-skel {
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        90deg,
        var(--fh-skel-base) 0%,
        var(--fh-skel-mid) 50%,
        var(--fh-skel-base) 100%
    );
    background-size: 200% 100%;
    animation: fh-skel-pulse 2.4s ease-in-out infinite;
}

.fh-skel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        100deg,
        transparent 0%,
        transparent 38%,
        var(--fh-skel-track) 48%,
        var(--fh-skel-shine) 50%,
        var(--fh-skel-track) 55%,
        transparent 68%
    );
    transform: translateX(-120%);
    animation: fh-skel-shimmer 1.45s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes fh-skel-pulse {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes fh-skel-shimmer {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(120%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .fh-skel,
    .fh-skel::after {
        animation: none;
    }

    .fh-skel {
        background: var(--fh-skel-base);
    }
}

.fh-boot-reveal-host {
    position: relative;
}

.fh-boot-reveal-host.fh-boot-host-lock {
    overflow: hidden;
}

.fh-boot-skeleton-overlay {
    position: absolute;
    inset: 0;
    z-index: 40;
    background: var(--fh-bg);
    overflow: hidden;
    pointer-events: none;
    transition:
        opacity 0.42s cubic-bezier(0.33, 1, 0.68, 1),
        visibility 0.42s;
}

.fh-boot-skeleton-overlay.is-done {
    opacity: 0;
    visibility: hidden;
}

.fh-boot-skeleton-overlay__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: min(70vh, 640px);
    padding: 2px 0 8px;
}

.fh-boot-skeleton-overlay--map .fh-boot-skeleton-overlay__inner {
    min-height: 220px;
    gap: 14px;
    padding-top: 4px;
}

.fh-campaign-card.fh-campaign-card--skeleton {
    pointer-events: none;
    border-color: rgba(212, 175, 53, 0.09);
    background: rgba(212, 175, 53, 0.035);
}

.fh-campaign-card.fh-campaign-card--skeleton:hover {
    transform: none;
    border-color: rgba(212, 175, 53, 0.09);
}

.fh-skel-card-media {
    position: relative;
    overflow: hidden;
    background: rgba(24, 22, 18, 0.92);
}

.fh-skel-pill {
    position: absolute;
    border-radius: 999px;
    z-index: 1;
}

.fh-skel-pill--tl {
    left: 10px;
    top: 10px;
    width: 52px;
    height: 22px;
}

.fh-skel-pill--tr {
    right: 10px;
    top: 10px;
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.fh-skel-pill--bl {
    left: 10px;
    bottom: 10px;
    width: min(72%, 140px);
    height: 26px;
}

.fh-campaign-card--compact.fh-campaign-card--skeleton .fh-skel-pill--tl {
    left: 8px;
    top: 8px;
    width: 44px;
    height: 18px;
}

.fh-campaign-card--compact.fh-campaign-card--skeleton .fh-skel-pill--tr {
    right: 8px;
    top: 8px;
    width: 28px;
    height: 28px;
}

.fh-campaign-card--compact.fh-campaign-card--skeleton .fh-skel-pill--bl {
    left: 8px;
    bottom: 8px;
    height: 22px;
}

.fh-campaign-card--featured.fh-campaign-card--skeleton .fh-skel-pill--tl {
    width: 64px;
    height: 24px;
}

.fh-skel-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fh-campaign-card--compact.fh-campaign-card--skeleton .fh-skel-lines {
    gap: 6px;
}

.fh-skel-line {
    height: 10px;
    border-radius: 6px;
}

.fh-skel-line--sm {
    height: 8px;
}

.fh-skel-line--lg {
    height: 14px;
}

.fh-skel-line--short {
    width: 42%;
}

.fh-skel-line--med {
    width: 72%;
}

.fh-skel-line--footer {
    margin-top: 4px;
    height: 28px;
    border-radius: 10px;
}

.fh-campaign-card--compact.fh-campaign-card--skeleton .fh-skel-line--footer {
    height: 24px;
    margin-top: 2px;
}

.fh-skel-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 6px 0 14px;
}

.fh-skel-section-header__title {
    flex: 1;
    max-width: 220px;
    height: 18px;
    border-radius: 8px;
}

.fh-skel-section-header__action {
    width: 118px;
    height: 15px;
    border-radius: 8px;
    flex-shrink: 0;
}

.fh-skel-section-header--action-only {
    justify-content: flex-end;
}

.fh-skel-map-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(212, 175, 53, 0.06);
    border: 1px solid rgba(212, 175, 53, 0.08);
}

.fh-skel-map-thumb {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    flex-shrink: 0;
}

.fh-skel-map-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 2px;
}

.fh-skel-map-meta {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.fh-skel-map-meta span {
    height: 12px;
    border-radius: 6px;
    width: 88px;
}

.fh-skel-home-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
    gap: 20px;
    align-items: start;
}

.fh-skel-home-showcase-main {
    min-width: 0;
}

.fh-skel-home-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    width: 100%;
}

@media (min-width: 641px) {
    .fh-skel-home-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 16px;
    }
}

@media (min-width: 1025px) {
    .fh-skel-home-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 14px;
    }
}

@media (max-width: 1024px) {
    .fh-skel-home-showcase {
        grid-template-columns: 1fr;
    }
}

.fh-skel-home-aside {
    border: 1px solid rgba(212, 175, 53, 0.1);
    border-radius: 20px;
    background: rgba(12, 11, 9, 0.45);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fh-skel-home-aside-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.fh-skel-home-aside-head .fh-skel-line:first-child {
    flex: 1;
    max-width: 140px;
    height: 15px;
}

.fh-skel-home-aside-head .fh-skel-line:last-child {
    width: 96px;
    height: 32px;
    border-radius: 999px;
}

.fh-skeleton-busy {
    position: relative;
    pointer-events: none;
    min-height: 120px;
}

.fh-skeleton-busy__layer {
    position: absolute;
    inset: 0;
    z-index: 25;
    width: 100%;
    background: rgba(32, 29, 18, 0.94);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 12px;
    border-radius: inherit;
    box-sizing: border-box;
}

.fh-skeleton-busy:not(.is-busy) .fh-skeleton-busy__layer {
    display: none;
}

/* —— Anasayfa “Yeni eklenen fırsatlar”: 6 kolon (desktop) + sıkı kart —— */
.fh-campaign-grid.fh-campaign-grid--latest {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-body {
    padding: 10px 10px 9px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-meta {
    margin-bottom: 5px;
    gap: 6px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-title {
    font-size: 14px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-description {
    margin-top: 6px;
    font-size: 10px;
    line-height: 1.4;
    min-height: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-footer {
    margin-top: 9px;
    padding-top: 8px;
    gap: 8px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-badge {
    left: 8px;
    top: 8px;
    min-height: 22px;
    padding: 0 8px;
    font-size: 9px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-save-button {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 9px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-save-button .material-symbols-outlined {
    font-size: 16px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-time-badge {
    left: 8px;
    bottom: 8px;
    padding: 5px 9px;
    font-size: 11px;
    max-width: calc(100% - 16px);
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-time-badge-icon {
    font-size: 14px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-claim-link {
    font-size: 9px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-brand-logo {
    width: 16px;
    height: 16px;
}

.fh-campaign-grid--latest > .fh-campaign-card--standard .fh-campaign-brand-name {
    font-size: 9px;
}

@media (max-width: 1480px) {
    .fh-campaign-grid.fh-campaign-grid--latest {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1240px) {
    .fh-campaign-grid.fh-campaign-grid--latest {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 1100px) {
    .fh-campaign-grid.fh-campaign-grid--latest {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 900px) {
    .fh-campaign-grid.fh-campaign-grid--latest {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 768px) {
    .fh-campaign-grid.fh-campaign-grid--latest {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 420px) {
    .fh-campaign-grid.fh-campaign-grid--latest {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
}

/* Anasayfa sonsuz kaydırma: sentinel + durum metni */
.fh-latest-sentinel {
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.fh-latest-infinite-status {
    margin: 14px 0 0;
    text-align: center;
    font-size: 12px;
    color: var(--fh-text-muted);
    min-height: 1.2em;
}

/* —— Genel kullanıcı / işletme profili —— */
.fh-profile {
    max-width: 1120px;
    margin: 0 auto;
}

.fh-profile-hero {
    border-radius: 20px;
    border: 1px solid var(--fh-border-soft);
    background: var(--fh-profile-hero-bg);
    padding: 22px 22px 20px;
    margin-bottom: 22px;
}

.fh-profile-hero--individual {
    padding: 18px 20px;
}

.fh-profile-hero-main {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.fh-profile-hero-main--compact {
    align-items: center;
}

.fh-profile-logo-wrap,
.fh-profile-avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 53, 0.28);
    flex-shrink: 0;
    align-self: center;
    background: rgba(0, 0, 0, 0.2);
}

.fh-profile-logo,
.fh-profile-avatar {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.fh-profile-hero-text {
    min-width: 0;
    flex: 1;
}

.fh-profile-kicker {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fh-gold);
}

.fh-profile-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--fh-profile-title);
    line-height: 1.2;
}

.fh-profile-lead {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--fh-text-muted);
}

/* Kurumsal profil: tek birleşik üst kart */
.fh-profile-corp-shell {
    margin-bottom: 26px;
}

.fh-profile-corp-card {
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 53, 0.12);
    background: var(--fh-profile-corp-gradient);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
    overflow: hidden;
}

.fh-profile-corp-hero {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 22px 24px 20px;
    flex-wrap: nowrap;
}

.fh-profile-corp-logo-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 3px;
    flex-shrink: 0;
    background: linear-gradient(145deg, rgba(200, 165, 80, 0.45), rgba(70, 55, 30, 0.35));
    box-shadow:
        0 0 0 1px rgba(212, 175, 53, 0.18),
        0 10px 28px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.fh-profile-corp-logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: var(--fh-profile-corp-logo-bg);
    border: 2px solid rgba(16, 12, 9, 0.95);
}

.fh-profile-corp-identity {
    min-width: 0;
    flex: 1;
    padding-top: 2px;
}

.fh-profile-corp-badge {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(212, 175, 85, 0.85);
}

.fh-profile-corp-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--fh-profile-corp-title);
    letter-spacing: -0.02em;
}

.fh-profile-corp-sector {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--fh-profile-corp-sector);
    line-height: 1.4;
}

.fh-profile-corp-meta-wrap {
    border-top: 1px solid rgba(212, 175, 53, 0.1);
    /* İnce ızgaralı ayırıcı: tek kart içinde bölüm hissi, ayrı kutu yok */
    background: var(--fh-profile-corp-meta-wrap-bg);
    padding: 1px;
}

.fh-profile-corp-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
}

.fh-profile-corp-col {
    padding: 16px 20px 18px;
    min-width: 0;
    background: var(--fh-profile-corp-col-bg);
}

.fh-profile-corp-col-label {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fh-profile-corp-col-label);
}

.fh-profile-corp-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 500;
    color: var(--fh-profile-corp-text);
    white-space: pre-line;
}

.fh-profile-corp-text--hours {
    color: var(--fh-profile-corp-text-hours);
}

.fh-profile-corp-dir-wrap {
    margin: 12px 0 0;
}

.fh-profile-corp-dir-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 85, 0.35);
    background: rgba(212, 175, 85, 0.12);
    color: var(--fh-profile-corp-dir);
    font-weight: 700;
    font-size: 12px;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.fh-profile-corp-dir-btn .material-symbols-outlined {
    font-size: 18px;
    opacity: 0.95;
}

.fh-profile-corp-dir-btn:hover {
    background: rgba(212, 175, 85, 0.2);
    border-color: rgba(212, 175, 85, 0.5);
    color: var(--fh-profile-corp-dir-hover);
}

.fh-profile-corp-dir-btn:active {
    transform: translateY(1px);
}

.fh-profile-corp-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fh-profile-corp-contact-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.fh-profile-corp-contact-key {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fh-profile-corp-col-label);
}

.fh-profile-corp-contact-val {
    font-size: 14px;
    font-weight: 600;
    color: var(--fh-profile-corp-contact-val);
    word-break: break-word;
}

.fh-profile-corp-contact-val a {
    color: var(--fh-profile-corp-link);
    text-decoration: none;
}

.fh-profile-corp-contact-val a:hover {
    text-decoration: underline;
    color: var(--fh-profile-corp-link-hover);
}

@media (max-width: 640px) {
    .fh-profile-corp-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 18px 18px;
    }

    .fh-profile-corp-identity {
        text-align: center;
    }
}

@media (min-width: 641px) and (max-width: 879px) {
    .fh-profile-corp-hero {
        flex-wrap: wrap;
    }
}

.fh-profile-campaigns-head--after-card {
    margin-top: 4px;
}

.fh-profile-contact {
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(212, 175, 53, 0.1);
    display: grid;
    gap: 14px;
}

@media (min-width: 720px) {
    .fh-profile-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.fh-profile-contact-block {
    margin: 0;
}

.fh-profile-contact-label {
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fh-text-dim);
}

.fh-profile-contact-label .material-symbols-outlined {
    font-size: 16px;
    color: var(--fh-gold);
}

.fh-profile-contact-value {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--fh-profile-contact-val);
}

.fh-profile-contact-value--multiline {
    white-space: pre-line;
}

.fh-profile-contact-value a {
    color: var(--fh-gold);
    text-decoration: none;
    word-break: break-word;
}

.fh-profile-contact-value a:hover {
    text-decoration: underline;
}

.fh-profile-campaigns-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.fh-profile-section-title {
    margin: 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--fh-profile-title);
}

.fh-profile-count {
    margin: 0;
    font-size: 12px;
    color: var(--fh-text-muted);
}

.fh-profile-grid {
    margin-bottom: 8px;
}

.fh-profile-empty {
    text-align: center;
    padding: 28px 16px;
}

.fh-profile-empty .material-symbols-outlined {
    font-size: 40px;
    color: rgba(212, 175, 53, 0.45);
    display: block;
    margin-bottom: 8px;
}

.fh-profile-empty p {
    margin: 0;
    color: var(--fh-text-muted);
    font-size: 14px;
}

/* —— Ayarlar —— */
.fh-settings-page {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.fh-settings-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    background: var(--fh-settings-surface);
    border: 1px solid var(--fh-settings-border);
    border-radius: 16px;
    padding: 18px 20px;
}

.fh-settings-hero h1 {
    margin: 0 0 6px;
    color: var(--fh-heading);
    font-size: 24px;
}

.fh-settings-hero p {
    margin: 0;
    color: var(--fh-settings-muted);
    font-size: 14px;
}

.fh-settings-hero .material-symbols-outlined {
    color: var(--fh-settings-icon);
    font-size: 28px;
}

.fh-settings-hint {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--fh-settings-muted);
    line-height: 1.45;
}

.fh-settings-page .fh-alert {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--fh-settings-border);
}

.fh-settings-page .fh-alert.success {
    background: var(--fh-alert-success-bg);
    border-color: var(--fh-alert-success-border);
    color: var(--fh-alert-success-text);
}

.fh-settings-page .fh-alert.error {
    background: rgba(239, 68, 68, 0.12);
    border-color: rgba(239, 68, 68, 0.35);
    color: #b91c1c;
}

html.fh-theme-light .fh-settings-page .fh-alert.error {
    background: #f8ecec;
    border-color: #e8c4c4;
    color: #7f2a2a;
}

.fh-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fh-settings-card {
    background: var(--fh-settings-surface);
    border: 1px solid var(--fh-settings-border);
    border-radius: 16px;
    padding: 18px;
}

.fh-settings-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.fh-settings-card-head h2 {
    margin: 0;
    font-size: 16px;
    color: var(--fh-heading);
}

.fh-settings-card-head .material-symbols-outlined {
    color: var(--fh-settings-icon);
    font-size: 20px;
}

.fh-settings-page .fh-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fh-settings-page .fh-form-grid.single {
    grid-template-columns: 1fr;
}

.fh-settings-page .fh-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fh-settings-page .fh-form-group.full-input {
    grid-column: 1 / -1;
}

.fh-settings-page .fh-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--fh-settings-label);
}

.fh-settings-page .fh-form-group input,
.fh-settings-page .fh-form-group select {
    border: 1px solid var(--fh-settings-input-border);
    border-radius: 10px;
    background-color: var(--fh-settings-input-bg);
    color: var(--fh-body-text);
    font-size: 14px;
    padding: 11px 12px;
    outline: none;
    transition: 0.2s;
}

.fh-settings-page .fh-form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: var(--fh-select-chevron);
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 16px;
    padding-right: 36px;
    cursor: pointer;
}

.fh-settings-page .fh-form-group select::-ms-expand {
    display: none;
}

.fh-settings-page .fh-form-group input:focus,
.fh-settings-page .fh-form-group select:focus {
    border-color: var(--fh-gold);
    background-color: var(--fh-settings-surface);
    box-shadow: 0 0 0 2px rgba(212, 175, 53, 0.12);
}

.fh-settings-page .fh-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fh-settings-page .fh-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--fh-body-text);
    font-size: 14px;
}

.fh-settings-page .fh-toggle-row input[type='checkbox'] {
    width: 18px;
    height: 18px;
    accent-color: var(--fh-gold);
    cursor: pointer;
}

.fh-settings-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.fh-settings-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid var(--fh-settings-btn-border);
    background: var(--fh-settings-btn-bg);
    color: var(--fh-settings-btn-text);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.fh-settings-button:hover {
    transform: translateY(-1px);
}

.fh-password-form {
    display: block;
    margin-top: 4px;
}

.fh-form-error {
    color: #b23a2b;
    font-size: 12px;
    font-weight: 600;
}

.fh-theme-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.fh-theme-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 12px 10px;
    border-radius: 14px;
    border: 2px solid var(--fh-settings-theme-option-border);
    background: var(--fh-settings-theme-option-bg);
    cursor: pointer;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
}

.fh-theme-option:hover {
    border-color: var(--fh-settings-theme-option-hover);
}

.fh-theme-option:has(.fh-theme-option-input:checked) {
    border-color: var(--fh-settings-theme-option-checked);
    box-shadow: 0 0 0 3px rgba(212, 175, 53, 0.12);
}

html.fh-theme-light .fh-theme-option:has(.fh-theme-option-input:checked) {
    box-shadow: 0 0 0 3px rgba(107, 79, 58, 0.12);
}

.fh-theme-option-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.fh-theme-option-preview {
    height: 52px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.fh-theme-option-preview--dark {
    background: linear-gradient(135deg, #2a2418 0%, #1a1510 100%);
}

.fh-theme-option-preview--dark::after {
    content: '';
    display: block;
    height: 12px;
    margin: 8px 8px 0;
    border-radius: 4px;
    background: rgba(212, 175, 55, 0.35);
}

.fh-theme-option-preview--light {
    background: linear-gradient(135deg, #faf8f5 0%, #ece6dd 100%);
}

.fh-theme-option-preview--light::after {
    content: '';
    display: block;
    height: 12px;
    margin: 8px 8px 0;
    border-radius: 4px;
    background: rgba(154, 115, 36, 0.25);
}

.fh-theme-option-preview--system {
    position: relative;
    background: linear-gradient(90deg, #2a2418 50%, #f5f0e8 50%);
}

.fh-theme-option-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--fh-heading);
    text-align: center;
}

.fh-theme-option-tick {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 20px;
    color: var(--fh-settings-icon);
    opacity: 0;
    transition: opacity 0.15s;
}

.fh-theme-option:has(.fh-theme-option-input:checked) .fh-theme-option-tick {
    opacity: 1;
}

@media (max-width: 980px) {
    .fh-settings-grid {
        grid-template-columns: 1fr;
    }

    .fh-settings-page .fh-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .fh-theme-picker {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .fh-settings-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .fh-settings-hero h1 {
        font-size: 20px;
    }

    .fh-settings-submit {
        justify-content: stretch;
    }

    .fh-settings-button {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .fh-settings-page .fh-toggle-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .fh-settings-page .fh-toggle-row input[type='checkbox'] {
        width: 22px;
        height: 22px;
    }
}

/* —— Favoriler —— */
.fh-page-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: var(--fh-heading);
}

.fh-page-subtitle {
    margin-top: 6px;
    color: var(--fh-text-muted);
    font-size: 14px;
}

.fh-alert-success {
    margin: 18px 0 22px;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--fh-alert-success-bg);
    border: 1px solid var(--fh-alert-success-border);
    color: var(--fh-alert-success-text);
    font-weight: 500;
}

.fh-empty-state {
    padding: 56px 24px;
    border-radius: 24px;
    background: var(--fh-empty-bg);
    border: 1px solid var(--fh-empty-border);
    text-align: center;
}

.fh-empty-state .material-symbols-outlined {
    font-size: 42px;
    color: var(--fh-gold);
    margin-bottom: 10px;
}

.fh-empty-state h3 {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--fh-heading);
}

.fh-empty-state p {
    margin: 0 0 20px;
    color: var(--fh-text-muted);
}

.fh-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--fh-gold), #b8962e);
    color: var(--fh-on-gold);
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s ease;
}

.fh-primary-btn:hover {
    filter: brightness(1.05);
}

.fh-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.fh-campaign-grid .fh-campaign-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fh-campaign-grid .fh-campaign-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 32px;
}

.fh-campaign-grid .fh-campaign-category,
.fh-campaign-grid .fh-campaign-distance,
.fh-campaign-grid .fh-campaign-brand-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Kampanya detay — ana sütun (tema metin rengi) */
.fh-cd-main,
.fh-cd-main-body {
    color: var(--fh-cd-main-fg);
}

.fh-cd-main .fh-cd-prose a {
    color: var(--fh-gold);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.fh-cd-main .fh-cd-prose a:hover {
    color: var(--fh-gold-soft);
}

/* Kategoriler listesi */
.fh-categories-page {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.fh-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 20px;
    align-items: stretch;
}

.fh-category-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
    min-width: 0;
    height: 100%;
    padding: 22px;
    border-radius: 24px;
    background: var(--fh-category-card-bg);
    border: 1px solid var(--fh-category-card-border);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
    box-shadow: var(--fh-category-card-shadow);
}

.fh-category-card-main {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.fh-category-card-main:focus-visible {
    outline: 2px solid rgba(212, 175, 53, 0.7);
    outline-offset: 4px;
    border-radius: 16px;
}

.fh-category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 28%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.fh-category-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 53, 0.34);
    box-shadow: var(--fh-category-card-hover-shadow);
}

.fh-category-card:hover::before {
    opacity: 1;
}

.fh-category-card:focus-visible {
    outline: 2px solid rgba(212, 175, 53, 0.7);
    outline-offset: 4px;
}

.fh-category-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.fh-category-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.16) 0%, rgba(212, 175, 55, 0.07) 100%);
    border: 1px solid rgba(212, 175, 53, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fh-category-icon .material-symbols-outlined {
    color: var(--fh-category-icon-fg);
    font-size: 30px;
}

.fh-category-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.fh-category-count {
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    color: var(--fh-category-count-fg);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 53, 0.16);
    padding: 8px 12px;
    border-radius: 999px;
}

.fh-category-card-body {
    flex: 1;
}

.fh-category-title {
    font-size: 20px;
    line-height: 1.25;
    font-weight: 800;
    color: var(--fh-category-title);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.fh-category-description {
    font-size: 14px;
    line-height: 1.65;
    color: var(--fh-category-description);
    margin: 0;
}

.fh-category-card-footer {
    appearance: none;
    background: transparent;
    margin-top: 22px;
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid var(--fh-category-footer-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    color: var(--fh-category-footer);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.fh-category-card-footer:focus-visible {
    outline: 2px solid rgba(212, 175, 53, 0.7);
    outline-offset: 4px;
    border-radius: 10px;
}

.fh-category-card-footer-label {
    min-width: 0;
}

.fh-category-card-footer > span:first-child {
    white-space: nowrap;
}

.fh-category-card-footer .material-symbols-outlined {
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.fh-category-card:hover .fh-category-card-footer .material-symbols-outlined {
    transform: translateX(3px);
}

.fh-category-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--fh-text-dim);
}

.fh-category-breadcrumb a {
    color: var(--fh-text-muted);
    text-decoration: none;
    font-weight: 500;
}

.fh-category-breadcrumb a:hover,
.fh-category-breadcrumb a:focus-visible {
    color: var(--fh-category-count-fg);
    text-decoration: none;
}

.fh-category-breadcrumb a:focus-visible {
    outline: 2px solid rgba(212, 175, 53, 0.7);
    outline-offset: 3px;
    border-radius: 4px;
}

.fh-category-breadcrumb-sep {
    color: var(--fh-text-dim);
    opacity: 0.7;
    font-weight: 400;
}

.fh-category-breadcrumb-current {
    color: var(--fh-text-soft);
    font-weight: 600;
}

.fh-subcategories-page {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fh-subcat-hero {
    width: 100%;
    min-height: 0;
    cursor: default;
}

.fh-subcat-hero:hover {
    transform: none;
}

.fh-subcat-hint {
    margin: 0 0 18px !important;
}

.fh-subcategory-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
    width: 100%;
}

.fh-subcategory-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 196px;
    height: 100%;
    padding: 20px;
    border-radius: 24px;
    background: var(--fh-category-card-bg);
    border: 1px solid var(--fh-category-card-border);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--fh-category-card-shadow);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.fh-subcategory-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.12), transparent 28%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.fh-subcategory-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 53, 0.34);
    box-shadow: var(--fh-category-card-hover-shadow);
}

.fh-subcategory-card:hover::before {
    opacity: 1;
}

.fh-subcategory-card:focus-visible {
    outline: 2px solid rgba(212, 175, 53, 0.7);
    outline-offset: 4px;
}

.fh-subcategory-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
}

.fh-subcategory-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 14px;
}

.fh-subcategory-card-icon .material-symbols-outlined {
    font-size: 24px;
}

.fh-subcategory-card-icon img {
    width: 24px;
    height: 24px;
}

.fh-subcategory-card-title {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--fh-category-title);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
}

.fh-subcategory-card-description {
    flex: 1 1 auto;
    min-height: 2.6em;
    font-size: 13px;
    line-height: 1.6;
    color: var(--fh-category-description);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.fh-subcategory-card-description:empty {
    min-height: 0;
}

.fh-subcategory-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--fh-category-footer-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--fh-category-footer);
    font-size: 13px;
    font-weight: 600;
}

.fh-subcategory-card-footer .material-symbols-outlined {
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.fh-subcategory-card:hover .fh-subcategory-card-footer .material-symbols-outlined,
.fh-subcategory-card:focus-visible .fh-subcategory-card-footer .material-symbols-outlined {
    transform: translateX(3px);
}

.fh-subcategories-page .fh-empty-state {
    border: 1px dashed rgba(212, 175, 53, 0.16);
    background: var(--fh-category-empty-bg);
    border-radius: 24px;
    padding: 52px 24px;
    text-align: center;
}

.fh-subcategories-page .fh-empty-state .material-symbols-outlined {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 38px;
    color: var(--fh-category-empty-icon);
    background: var(--fh-category-empty-icon-bg);
    margin-bottom: 16px;
}

.fh-subcategories-page .fh-empty-state h3 {
    color: var(--fh-category-empty-title);
    margin: 0 0 8px;
    font-size: 22px;
}

.fh-subcategories-page .fh-empty-state p {
    color: var(--fh-category-description);
    margin: 0 0 20px;
    font-size: 14px;
}

.fh-categories-page .fh-empty-state {
    border: 1px dashed rgba(212, 175, 53, 0.16);
    background: var(--fh-category-empty-bg);
    border-radius: 24px;
    padding: 52px 24px;
    text-align: center;
}

.fh-categories-page .fh-empty-state .material-symbols-outlined {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 38px;
    color: var(--fh-category-empty-icon);
    background: var(--fh-category-empty-icon-bg);
    margin-bottom: 16px;
}

.fh-categories-page .fh-empty-state h3 {
    color: var(--fh-category-empty-title);
    margin: 0 0 8px;
    font-size: 22px;
}

.fh-categories-page .fh-empty-state p {
    color: var(--fh-category-description);
    margin: 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .fh-category-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fh-category-grid:has(.fh-subcategory-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .fh-category-card {
        min-height: 220px;
        padding: 18px;
        border-radius: 20px;
    }

    .fh-category-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .fh-category-card-footer {
        font-size: 13px;
    }

    .fh-subcat-hero {
        padding: 18px;
        border-radius: 20px;
        gap: 14px;
    }

    .fh-subcat-hero-title {
        font-size: 22px;
    }

    .fh-subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .fh-subcategory-card {
        min-height: 176px;
        padding: 16px;
        border-radius: 20px;
    }
}

@media (max-width: 1320px) {
    .fh-subcategory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .fh-category-grid {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
    }

    .fh-subcategory-grid,
    .fh-category-grid:has(.fh-subcategory-card) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .fh-page-title {
        font-size: 22px;
    }

    .fh-section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .fh-primary-btn {
        width: 100%;
        min-height: 48px;
    }

    .fh-subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 520px) {
    .fh-subcategory-grid,
    .fh-category-grid:has(.fh-subcategory-card) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .fh-page-title {
        font-size: 20px;
    }

    .fh-empty-state {
        padding: 40px 18px;
    }

    .fh-empty-state h3 {
        font-size: 20px;
    }
}
