/**
 * Hagia Sophia Travel Homepage Styles
 * Header, Hero Slider, Vacation Cards, Tour Cards, Why Us, Footer
 *
 * @package WP_SEO_Tour_System
 */

/* ============================================================
   HEADER
   ============================================================ */
.cr-header {
    width: 100%;
    background: #fff;
    z-index: 1000;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.cr-header--sticky {
    position: sticky;
    top: 0;
    z-index: 10050;
}

/* Container width/alignment: colina-rojo-mega-menu.css (--cr-header-gutter) */

/* Top Bar */
.cr-header__top-bar {
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
}

/* Logo */
.cr-header__logo .cr-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cr-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.cr-logo-img {
    max-height: 52px;
    width: auto;
    display: block;
}

.cr-logo-text {
    display: flex;
    flex-direction: column;
}

.cr-logo-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e3a5f;
    line-height: 1.2;
}

.cr-logo-belge {
    font-size: 11px;
    color: #6b7280;
    margin-top: 2px;
}

/* Top Links */
.cr-header__links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: #4b5563;
}

.cr-header__link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #4b5563;
    white-space: nowrap;
    transition: color 0.2s;
}

.cr-header__link:hover {
    color: #2563eb;
}

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

.cr-header__phone-info {
    display: flex;
    flex-direction: column;
}

.cr-header__phone-number {
    font-weight: 400;
    color: #111827;
}

.cr-header__phone-label,
.cr-header__whatsapp-badge {
    font-size: 10px;
    background: #007bff;
    color: #fff;
    padding: 3px 10px;
    border-radius: 10px;
    text-align: center;
    width: fit-content;
}

/* Phone link hover */
a.cr-header__phone {
    text-decoration: none;
    color: inherit;
    transition: opacity 200ms ease;
}

a.cr-header__phone:hover {
    opacity: 0.8;
}

/* Navigation */
.cr-header__nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.cr-header__nav .cr-header__container {
    padding-top: 0;
    padding-bottom: 0;
}

.cr-nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.cr-nav__list li {
    margin: 0;
    padding: 0;
}

.cr-nav__list > .menu-item > a {
    font-size: 15px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.cr-nav__list a:hover {
    color: #2563eb;
}

/* Hamburger */
.cr-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.cr-hamburger__bar {
    width: 24px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s;
}

.cr-hamburger[aria-expanded="true"] .cr-hamburger__bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.cr-hamburger[aria-expanded="true"] .cr-hamburger__bar:nth-child(2) {
    opacity: 0;
}
.cr-hamburger[aria-expanded="true"] .cr-hamburger__bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu — slide-in panel from left */
.cr-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99990;
    pointer-events: none;
    visibility: hidden;
}

.cr-mobile-menu[aria-hidden="false"] {
    pointer-events: auto;
    visibility: visible;
}

.cr-mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cr-mobile-menu[aria-hidden="false"] .cr-mobile-menu__backdrop {
    opacity: 1;
}

.cr-mobile-menu__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: min(320px, 85vw);
    height: 100%;
    background: #fff;
    overflow-y: auto;
    padding: 24px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
}

.cr-mobile-menu[aria-hidden="false"] .cr-mobile-menu__inner {
    transform: translateX(0);
}

/* Hero section at top of mobile menu */
.cr-mobile-menu__hero {
    text-align: center;
    padding: 0 0 20px;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 16px;
}

.cr-mobile-menu__login-btn {
    display: block;
    background: #007bff;
    color: #fff;
    text-align: center;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    margin-bottom: 10px;
    transition: background 0.2s ease;
}

.cr-mobile-menu__login-btn:hover {
    background: #7a1a30;
    color: #fff;
    text-decoration: none;
}

.cr-mobile-menu__promo-text {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
}

.cr-mobile-menu__greeting {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #111827;
}

.cr-mobile-menu__phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 8px;
}

.cr-mobile-menu__phone-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cr-mobile-menu__nav {
    margin-bottom: 8px;
}

.cr-mobile-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cr-mobile-nav__list ul {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
}

.cr-mobile-nav__list .menu-item-has-children > a {
    font-weight: 600;
}

.cr-mobile-nav__list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    color: #1f2937;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f3f4f6;
}

.cr-mobile-menu__links {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    margin-top: 8px;
}

.cr-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f9fafb;
}

.cr-mobile-menu__link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
}

.cr-mobile-menu__logout {
    color: #dc2626;
}

/* Legacy selectors kept for backward compat */
.cr-mobile-menu__phone {
    display: none;
}

.cr-mobile-menu__login {
    margin-top: 12px;
    padding: 12px 20px;
    background: #007bff !important;
    color: #fff !important;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.cr-hero-slider {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    z-index: 1;
}

.cr-hero-swiper {
    width: 100%;
    height: 100%;
}

.cr-hero-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
    width: 100% !important;
    height: 100% !important;
}

.cr-hero-slide__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.cr-hero-slide__link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.cr-hero-slider__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: rgba(0,0,0,0.15);
}

.cr-hero-slider .swiper-button-prev,
.cr-hero-slider .swiper-button-next {
    color: #fff;
    z-index: 5;
}

.cr-hero-slider .swiper-button-prev::after,
.cr-hero-slider .swiper-button-next::after {
    font-size: 20px;
}

.cr-hero-slider .swiper-pagination {
    z-index: 5;
}

.cr-hero-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}

.cr-hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Search Form (inside hero) */
.cr-hero-search-wrap {
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: none;
    z-index: 10;
}

.cr-search-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    overflow: hidden;
}

.cr-search-tabs {
    display: flex;
    border-bottom: 1px solid #f3f4f6;
}

.cr-search-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.cr-search-tab.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.cr-search-panel {
    display: none;
    padding: 16px;
}

.cr-search-panel.active {
    display: block;
}

.cr-search-fields {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.cr-search-field {
    flex: 1;
    min-width: 140px;
    position: relative;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.cr-search-field--location {
    flex: 2;
}

.cr-search-field--sm {
    flex: 0.7;
    min-width: 100px;
}

.cr-search-field svg {
    color: #9ca3af;
    flex-shrink: 0;
}

.cr-search-input {
    width: 100%;
    padding: 12px 8px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #374151;
    background: transparent;
}

.cr-search-input::placeholder {
    color: #9ca3af;
}

.cr-search-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: #fff;
    color: #007bff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: none;
}

.cr-search-btn:hover,
.cr-search-btn:focus-visible {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(139, 28, 49, 0.28);
}

/* ============================================================
   VACATION CARDS
   ============================================================ */
.cr-vacation-section {
    padding: 0;
}

.cr-vacation-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 24px 0;
}

.cr-vacation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cr-vacation-card {
    position: relative;
    height: 250px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}

.cr-vacation-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cr-vacation-card__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

.cr-vacation-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cr-vacation-card:hover .cr-vacation-card__img {
    transform: scale(1.1);
}

.cr-vacation-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 40%, transparent 100%);
}

.cr-vacation-card__content {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
}

.cr-vacation-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
}

.cr-vacation-card__desc {
    font-size: 14px;
    color: #e5e7eb;
    margin: 0 0 16px 0;
}

.cr-vacation-card__btn {
    display: inline-block;
    background: #fff;
    color: #111827;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: background 0.2s;
}

.cr-vacation-card:hover .cr-vacation-card__btn {
    background: #f3f4f6;
}

/* ============================================================
   TOUR CARDS SLIDER
   ============================================================ */
.cr-tour-slider-section {
    padding: 0;
}

.cr-tour-slider__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.cr-tour-slider__title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.cr-tour-slider__subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 4px 0 0 0;
}

.cr-tour-slider__arrows {
    display: flex;
    gap: 8px;
}

.cr-tour-slider-section .swiper-button-prev,
.cr-tour-slider-section .swiper-button-next {
    position: static;
    width: 40px;
    height: 40px;
    margin: 0;
}

.cr-tour-slider-section .swiper-button-prev::after,
.cr-tour-slider-section .swiper-button-next::after {
    display: none;
}

.cr-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4b5563;
    transition: color 0.2s;
    position: static;
}

.cr-arrow-btn:hover {
    color: #2563eb;
}

.cr-arrow-btn::after {
    display: none;
}

.cr-tour-swiper {
    overflow: hidden;
}

.cr-tour-swiper .swiper-wrapper {
    display: flex;
}

.cr-tour-swiper .swiper-slide {
    flex-shrink: 0;
    width: auto;
    height: auto;
}

.cr-tour-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cr-tour-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cr-tour-card__media {
    position: relative;
    height: 192px;
    overflow: hidden;
    background: #f3f4f6;
}

.cr-tour-card__solo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cr-tour-card-gallery {
    height: 100%;
    width: 100%;
}

.cr-tour-card-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cr-tour-card-gallery__pagination {
    bottom: 8px !important;
    left: 0;
    right: 0;
}

.cr-tour-card-gallery__pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

.cr-tour-card-gallery__pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 18px;
    border-radius: 4px;
}

.cr-tour-card__badge,
.cr-tour-card__badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    max-width: calc(100% - 64px);
    pointer-events: none;
}

.cr-tour-card__badge {
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    color: #7c2d12;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.cr-tour-card__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.cr-tour-card__badge-item {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    max-width: 100%;
}

.cr-tour-card .tour-favorite-btn.cr-tour-card__fav {
    left: 10px;
    right: auto;
    top: 10px;
    z-index: 5;
}

.cr-tour-card__image {
    height: 192px;
    overflow: hidden;
}

.cr-tour-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cr-tour-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cr-tour-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cr-tour-card__desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 16px 0;
}

.cr-tour-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.cr-tour-card__price-label {
    display: block;
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
}

.cr-tour-card__price {
    font-size: 24px;
    font-weight: 700;
    color: #f97316;
}

.cr-tour-card__btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}

.cr-tour-card__btn:hover {
    background: #f9fafb;
}

.cr-tour-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cr-tour-card__whatsapp.whatsapp-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

/* ============================================================
   WHY US
   ============================================================ */
.cr-whyus-section {
    padding: 64px 0;
}

.cr-whyus-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0 0 40px 0;
}

.cr-whyus-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.cr-whyus-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    border-radius: 16px;
    background: #f9fafb;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.cr-whyus-card:hover {
    background: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-color: #f3f4f6;
}

.cr-whyus-card__icon {
    margin-bottom: 16px;
    font-size: 32px;
    color: #00a2e8;
}

.cr-whyus-card__icon svg {
    width: 32px;
    height: 32px;
}

.cr-whyus-card__icon i {
    font-size: inherit;
}

.cr-whyus-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px 0;
}

.cr-whyus-card__desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   FOOTER (Renderer)
   ============================================================ */
.cr-footer {
    background: #fff;
    padding-top: 24px;
    padding-bottom: 32px;
    margin-top: -40px;
}

.cr-footer__inner {
    width: 100%;
}

.cr-footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.cr-footer__columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.cr-footer__col-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

.cr-footer__col-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cr-footer__col-links li {
    margin-bottom: 8px;
}

.cr-footer__col-links a {
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.cr-footer__col-links a:hover {
    color: #2563eb;
}

.cr-footer__col--contact .cr-footer__contact-pill + .cr-footer__contact-pill {
    margin-top: 10px;
}

.cr-footer__contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 100%;
    width: 100%;
    padding: 10px 18px 10px 12px;
    margin-top: 4px;
    border-radius: 999px;
    background: #e8f4fc;
    color: #1e293b;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #cfe8f8;
}

.cr-footer__contact-pill:hover {
    background: #dceef9;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.cr-footer__contact-pill-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #007bff;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-footer__contact-pill-icon--email {
    background: #007bff;
}

.cr-footer__contact-pill-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    text-align: left;
}

.cr-footer__contact-pill-number {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.cr-footer__contact-pill-label {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

@media (max-width: 600px) {
    .cr-footer__contact-pill {
        width: 100%;
        justify-content: flex-start;
    }
}

.cr-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cr-footer__contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
}

.cr-footer__contact-phone {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    display: block;
}

.cr-footer__contact-subtitle {
    font-size: 14px;
    color: #6b7280;
    display: block;
}

.cr-footer__contact-image {
    margin-top: 16px;
}

.cr-footer__contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cr-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 10px;
    padding: 14px 0 16px;
    border-top: 1px solid #e5e7eb;
    font-size: 12px;
    line-height: 1.4;
}

.cr-footer__legal-link {
    color: #6b7280;
    text-decoration: none;
}

.cr-footer__legal-link:hover,
.cr-footer__legal-link:focus-visible {
    color: #007bff;
    text-decoration: underline;
    outline: none;
}

.cr-footer__legal-link:not(:last-child)::after {
    content: '·';
    margin-left: 10px;
    color: #9ca3af;
    text-decoration: none;
    pointer-events: none;
}

.cr-footer__legal-link--partner {
    font-weight: 600;
}

.cr-footer__legal-link--partner:hover,
.cr-footer__legal-link--partner:focus-visible {
    color: #007bff;
}

.cr-footer__bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cr-footer__copyright {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.cr-footer__belge {
    font-size: 14px;
    color: #6b7280;
}

/* Trust badges (TripAdvisor, TÜRSAB, cards, secure payment) */
.cr-trust-bar {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    padding: clamp(16px, 3vw, 24px) 0;
    margin: 0;
    background: #fff;
}

.cr-trust-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: clamp(12px, 3vw, 28px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.cr-trust-bar__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    text-decoration: none;
    color: inherit;
}

.cr-trust-bar__item:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 3px;
}

.cr-trust-bar__img {
    display: block;
    height: clamp(30px, 6.5vw, 46px);
    width: auto;
    max-width: min(168px, 42vw);
    object-fit: contain;
}

/* Wide TÜRSAB mark (bundled PNG); keep row height aligned via object-fit */
.cr-trust-bar__img--tursab {
    max-width: min(320px, 88vw);
}

/* Google Maps pin (bundled); square mark, match row height */
.cr-trust-bar__img--google {
    max-width: min(52px, 14vw);
    object-fit: contain;
}

.cr-trust-bar__item--cards {
    gap: clamp(8px, 2vw, 14px);
}

.cr-trust-bar__item--cards .cr-trust-bar__img {
    max-width: clamp(48px, 14vw, 72px);
    height: clamp(26px, 5.5vw, 40px);
}

/* Visa wordmark — bundled PNG with alpha (transparent background) */
.cr-trust-bar__item--cards .cr-trust-bar__img--visa {
    max-width: clamp(56px, 18vw, 88px);
    image-rendering: auto;
}

.cr-trust-bar__item--secure {
    flex-direction: column;
    gap: 4px;
    color: #374151;
    text-align: center;
    max-width: 110px;
}

.cr-trust-bar__secure-icon {
    flex-shrink: 0;
    color: #15803d;
}

.cr-trust-bar__secure-text {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

.cr-trust-bar__item--currency {
    align-self: center;
}

/* ============================================================
   FOOTER (Elementor Widget - .cr-ew-footer)
   ============================================================ */
.cr-ew-footer {
    padding: 24px 0 32px;
    margin-top: -40px;
}

.cr-ew-footer__columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.cr-ew-footer__col-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
}

.cr-ew-footer__col-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cr-ew-footer__col-links li {
    margin-bottom: 8px;
}

.cr-ew-footer__col-links a {
    font-size: 14px;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.cr-ew-footer__col-links a:hover {
    color: #2563eb;
}

.cr-ew-footer__contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cr-ew-footer__contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex-shrink: 0;
}

.cr-ew-footer__contact-phone {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    display: block;
}

.cr-ew-footer__contact-sub {
    font-size: 14px;
    color: #6b7280;
    display: block;
}

.cr-ew-footer__contact-img {
    margin-top: 16px;
}

.cr-ew-footer__contact-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cr-ew-footer__bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.cr-ew-footer__copyright {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.cr-ew-footer__belge {
    font-size: 14px;
    color: #6b7280;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .cr-header__top-right {
        display: none;
    }
    .cr-hamburger {
        display: flex;
    }
    .cr-vacation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cr-whyus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cr-footer__columns,
    .cr-ew-footer__columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Hero slider container - flexbox ile sıralama */
    .cr-hero-slider {
        height: auto !important;
        min-height: auto !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Elementor widget container - padding kaldır */
    .elementor-widget-cr-hero-slider {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .elementor-widget-cr-hero-slider .elementor-widget-container {
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Elementor section - gri alan gizle */
    .elementor-widget-cr-hero-slider .elementor-element {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Search form üstte görünsün */
    .cr-hero-search-wrap {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
        padding: 0 !important;
        order: -1 !important;
        z-index: 20 !important;
    }

    /* Swiper container altta - daha yüksek */
    .cr-hero-swiper {
        order: 1 !important;
        height: 450px !important;
        min-height: 450px !important;
        max-height: 450px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Swiper wrapper tam yükseklik */
    .cr-hero-swiper .swiper-wrapper {
        height: 450px !important;
    }

    /* Swiper slide tam yükseklik */
    .cr-hero-swiper .swiper-slide {
        height: 450px !important;
        min-height: 450px !important;
    }

    /* Slider image tam yükseklik */
    .cr-hero-slide__img {
        height: 450px !important;
        object-fit: cover !important;
        object-position: center center !important;
        width: 100% !important;
    }

    /* Picture element tam yükseklik */
    .cr-hero-swiper picture {
        display: block !important;
        height: 100% !important;
        width: 100% !important;
    }

    /* Slider overlay border-radius */
    .cr-hero-slider__overlay {
        border-radius: 12px !important;
        height: 450px !important;
    }

    /* Swiper navigation buttons - mobilde gizle veya küçült */
    .cr-hero-swiper .swiper-button-prev,
    .cr-hero-swiper .swiper-button-next {
        display: none !important;
    }

    /* Swiper pagination - slider içinde */
    .cr-hero-swiper .swiper-pagination {
        bottom: 12px !important;
    }

    .cr-search-fields {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .cr-search-field,
    .cr-search-field--location,
    .cr-search-field--sm {
        width: 100%;
        flex: unset;
        min-width: unset;
    }

    .cr-search-btn {
        width: 100%;
        justify-content: center;
    }

    .cr-vacation-grid {
        grid-template-columns: 1fr;
    }

    .cr-whyus-grid {
        grid-template-columns: 1fr;
    }

    .cr-footer__columns,
    .cr-ew-footer__columns {
        grid-template-columns: 1fr;
    }

    .cr-footer__bottom,
    .cr-ew-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .cr-tour-slider__header {
        flex-direction: column;
    }

    .cr-nav__list {
        gap: 16px;
    }

    /* Üst bar: Coral benzeri sıkı dikey boşluk + logo boyutu */
    .cr-header__top-bar {
        padding: 4px 0 !important;
    }

    .cr-logo-img {
        max-height: 40px !important;
        min-width: 0 !important;
    }

    .cr-hamburger {
        padding: 4px !important;
    }

    /* Yapışkan üst menü — yalnızca mobil (#cr-header Colina header) */
    #cr-header {
        position: sticky !important;
        top: 0;
        z-index: 10050;
        background: #fff;
        box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
    }

    body.admin-bar #cr-header {
        top: var(--wp-admin--admin-bar--height, 32px);
    }

    /* Hero arama: logo ile sekmeler arası boşluğu kaldır */
    .cr-hero-search-wrap {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .elementor-widget-cr-header .elementor-widget-container {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .elementor-widget-cr-hero-slider {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .elementor-widget-cr-hero-slider .elementor-widget-container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
/* ============================================================
   SEARCH FORM MODERN OVERRIDES
   ============================================================ */
.cr-search-form,
.cr-hero-slider .cr-search-form,
.cr-hero-search-wrap .cr-search-form {
    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18) !important;
    overflow: hidden !important;
    border: none !important;
}

.cr-search-form .cr-search-tabs,
.cr-hero-search-wrap .cr-search-tabs {
    display: flex !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: #fafbfc !important;
    padding: 0 !important;
    margin: 0 !important;
}

.cr-search-form .cr-search-tab,
.cr-hero-search-wrap .cr-search-tab {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 16px 28px !important;
    background: none !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.cr-search-form .cr-search-tab:hover {
    color: #2563eb !important;
}

.cr-search-form .cr-search-tab.active,
.cr-hero-search-wrap .cr-search-tab.active {
    color: #2563eb !important;
    border-bottom-color: #2563eb !important;
    background: #fff !important;
}

.cr-search-form .cr-search-tab svg {
    width: 18px !important;
    height: 18px !important;
}

.cr-search-form .cr-search-panel,
.cr-hero-search-wrap .cr-search-panel {
    display: none !important;
    padding: 20px !important;
    background: #fff !important;
}

.cr-search-form .cr-search-panel.active,
.cr-hero-search-wrap .cr-search-panel.active {
    display: block !important;
}

.cr-search-form .cr-search-fields,
.cr-hero-search-wrap .cr-search-fields {
    display: flex !important;
    gap: 10px !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
}

.cr-search-form .cr-search-field,
.cr-hero-search-wrap .cr-search-field {
    flex: 1 !important;
    min-width: 0 !important;
    position: relative !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    background: #fff !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.cr-search-form .cr-search-field:focus-within {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1) !important;
}

.cr-search-form .cr-search-field--location {
    flex: 2 !important;
}

.cr-search-form .cr-search-field--sm {
    flex: 0.8 !important;
}

.cr-search-form .cr-search-field svg {
    color: #9ca3af !important;
    flex-shrink: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.cr-search-form .cr-search-input,
.cr-hero-search-wrap .cr-search-input {
    width: 100% !important;
    padding: 14px 10px !important;
    border: none !important;
    outline: none !important;
    font-size: 14px !important;
    color: #374151 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.cr-search-form .cr-search-input::placeholder {
    color: #b0b5bd !important;
}

.cr-search-form .cr-search-btn,
.cr-hero-search-wrap .cr-search-btn {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 14px 36px !important;
    background: #fff !important;
    color: #007bff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s !important;
    box-shadow: none !important;
    text-decoration: none !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.cr-search-form .cr-search-btn:hover,
.cr-search-form .cr-search-btn:focus-visible,
.cr-hero-search-wrap .cr-search-btn:hover,
.cr-hero-search-wrap .cr-search-btn:focus-visible {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: #fff !important;
    border-color: #007bff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(139, 28, 49, 0.35) !important;
}

.cr-search-form .cr-search-btn:active,
.cr-hero-search-wrap .cr-search-btn:active {
    transform: translateY(0) !important;
}

/* ============================================================
   SOCIAL MEDIA CTA WIDGET (Elementor)
   ============================================================ */

/* ============================================================
   TRAVEL GUIDE CAROUSEL
   ============================================================ */
.cr-guide-section {
    padding: 28px 0 32px;
    background: #f8fafc;
}

.cr-guide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 16px;
}

.cr-guide-section__title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.cr-guide-section__empty {
    margin: 0;
    padding: 24px 0;
    color: #6b7280;
    font-size: 15px;
    text-align: center;
}

.cr-guide-header__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cr-guide-viewall {
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}

.cr-guide-viewall:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    color: #111827;
}

.cr-guide-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s;
}

.cr-guide-arrow:hover {
    background: #f9fafb;
    color: #111827;
    border-color: #d1d5db;
}

/* Reset Swiper nav defaults */
.cr-guide-section .swiper-button-prev,
.cr-guide-section .swiper-button-next {
    display: none;
}

.cr-guide-swiper {
    overflow: hidden;
}

.cr-guide-swiper .swiper-wrapper {
    display: flex;
}

.cr-guide-swiper .swiper-slide {
    flex-shrink: 0;
    height: auto;
}

.cr-guide-card {
    background: #fff;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.cr-guide-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #e5e7eb;
}

.cr-guide-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.cr-guide-card__image-wrap {
    height: 200px;
    overflow: hidden;
    margin: 12px;
    border-radius: 8px;
    background: #f9fafb;
}

.cr-guide-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.cr-guide-card:hover .cr-guide-card__img {
    transform: scale(1.05);
}

.cr-guide-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.cr-guide-card__views {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 16px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
}

.cr-guide-card__body {
    padding: 4px 16px 12px;
    flex: 1;
}

.cr-guide-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cr-guide-card__desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cr-guide-card__footer {
    padding: 10px 16px 14px;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
}

.cr-guide-card__footer-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.3;
}

.cr-guide-card__cal-icon {
    flex-shrink: 0;
    color: #94a3b8;
}

.cr-guide-card__date-text {
    font-weight: 500;
    color: #475569;
}

.cr-guide-pagination {
    margin-top: 24px;
    text-align: center;
}

.cr-guide-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    margin: 0 4px;
}

.cr-guide-pagination .swiper-pagination-bullet-active {
    background: #374151;
    width: 24px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .cr-guide-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .cr-guide-card__image-wrap {
        height: 160px;
    }
}

/* ============================================================
   SOCIAL MEDIA CTA WIDGET (Elementor)
   ============================================================ */
.cr-social-cta {
    width: 100%;
    background-color: #f0f7fc;
    padding: 40px 24px;
}

.cr-social-cta__inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cr-social-cta__text {
    display: flex;
    flex-direction: column;
}

.cr-social-cta__line1 {
    font-size: 15px;
    color: #6b7280;
    font-style: italic;
    margin-bottom: 4px;
}

.cr-social-cta__line2 {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}

.cr-social-cta__icons {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

.cr-social-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0099FF;
    padding: 8px;
    border-radius: 8px;
    transition: opacity 0.2s, transform 0.2s;
}

.cr-social-cta__icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.cr-social-cta__icon svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .cr-social-cta__inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .cr-social-cta__line2 {
        font-size: 22px;
    }
}

/* ============================================================
   SOCIAL MEDIA BAND (Footer üstü)
   ============================================================ */
.cr-social-band {
    background: #f0f9ff;
    padding: 32px 0;
    border-top: 3px solid #00a2e8;
}

.cr-social-band__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cr-social-band__text {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.cr-social-band__title {
    font-size: 14px;
    color: #6b7280;
    font-style: italic;
}

.cr-social-band__subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.cr-social-band__icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cr-social-band__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #00a2e8;
    transition: color 0.2s, transform 0.2s;
}

.cr-social-band__icon:hover {
    color: #0077b6;
    transform: scale(1.15);
}

.cr-social-band__icon svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .cr-social-band__inner {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================================
   HIDE THEME PAGE TITLE ON HOMEPAGE
   ============================================================ */
.home .entry-title,
.home .page-title,
.home .entry-header,
.home .page-header,
body.home .elementor-page-title,
body.home header.entry-header,
body.home .elementor-widget-theme-post-title,
body.home .elementor-widget-theme-page-title,
body.page .entry-title,
body.page .entry-header,
body.page header.entry-header,
body.page .page-header {
    display: none !important;
}

/* Hide theme-generated title/description text above Elementor content */
body.home .entry-content > h1,
body.home .entry-content > h2,
body.home .entry-content > p {
    display: none !important;
}

body.home .entry-content > .elementor {
    display: block !important;
}

/* ============================================================
   HOMEPAGE LAYOUT — 1400px boxed (Elementor Flexbox Containers)
   Fix: .e-con and .e-con-inner render as display:inline which
   makes max-width ineffective. Force display:flex/block.
   ============================================================ */
body.home.elementor-page .elementor-element.e-con.e-parent {
    display: flex !important;
    --content-width: min(100%, 1400px) !important;
}

body.home.elementor-page .elementor-element.e-con.e-parent > .e-con-inner,
body.home.elementor-page .e-con-boxed.e-parent > .e-con-inner {
    display: flex !important;
    flex-direction: column !important;
    max-width: 1400px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    box-sizing: border-box !important;
}

@media (max-width: 768px) {
    body.home.elementor-page .elementor-element.e-con.e-parent > .e-con-inner,
    body.home.elementor-page .e-con-boxed.e-parent > .e-con-inner {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ============================================
   USER ACCOUNT DROPDOWN - TRENDYOL STYLE
   ============================================ */

/* Dropdown container */
.cr-user-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Trigger button */
.cr-user-dropdown__trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: background 200ms ease;
    white-space: nowrap;
}

.cr-user-dropdown__trigger:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Avatar circle */
.cr-user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #007bff;
    color: #ffffff;
    flex-shrink: 0;
}

.cr-user-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Chevron rotation */
.cr-user-chevron {
    transition: transform 200ms ease;
    flex-shrink: 0;
}

.cr-user-dropdown.is-open .cr-user-chevron {
    transform: rotate(180deg);
}

/* Dropdown menu */
.cr-user-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
    pointer-events: none;
}

/* Show on hover (desktop) - REMOVED, click only for reliability */

/* Show on click (all devices) */
.cr-user-dropdown.is-open .cr-user-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}

/* Header section */
.cr-user-dropdown__header {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.cr-user-dropdown__greeting {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
}

/* Menu items */
.cr-user-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 150ms ease, color 150ms ease;
}

.cr-user-dropdown__item:hover {
    background: #f8f8f8;
    color: #007bff;
    text-decoration: none;
}

.cr-user-dropdown__item svg {
    color: #888;
    flex-shrink: 0;
    transition: color 150ms ease;
}

.cr-user-dropdown__item:hover svg {
    color: #007bff;
}

/* Divider */
.cr-user-dropdown__divider {
    height: 1px;
    background: #f0f0f0;
    margin: 4px 0;
}

/* Logout item */
.cr-user-dropdown__item--logout {
    color: #dc3545;
}

.cr-user-dropdown__item--logout:hover {
    background: #fff5f5;
    color: #dc3545;
}

.cr-user-dropdown__item--logout svg {
    color: #dc3545;
}

/* ============================================
   MOBILE USER SECTION
   ============================================ */

.cr-mobile-menu__user-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
    margin-top: 8px;
}

.cr-mobile-menu__user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.cr-mobile-menu__logout {
    color: #ff6b6b !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4px;
}

/* ============================================
   LOGO SIZE & SPACING FIX
   ============================================ */
.cr-logo-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
}

.cr-logo-img {
    max-height: 70px !important;
    min-width: 160px !important;
    width: auto !important;
    display: block !important;
    object-fit: contain !important;
}

.cr-logo-belge {
    font-size: 11px !important;
    color: #6b7280 !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

/* Reduce top bar padding to minimize vertical space */
.cr-header__top-bar {
    padding: 6px 0 !important;
}

/* ============================================
   LOGIN BUTTON - BLUE STYLE
   ============================================ */
.cr-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #007bff !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: background 200ms ease;
    white-space: nowrap;
}

.cr-login-btn:hover {
    background: #7a1a2f !important;
    color: #ffffff !important;
}

.cr-login-btn svg {
    flex-shrink: 0;
    color: #ffffff;
}

/* ============================================
   DROPDOWN Z-INDEX — stay under trigger (absolute, not fixed)
   ============================================ */
.cr-header__actions .cr-user-dropdown {
    position: relative !important;
    z-index: 100100 !important;
}

.cr-header__actions .cr-user-dropdown__menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    left: auto !important;
    z-index: 100101 !important;
}

.cr-user-dropdown.is-open .cr-user-dropdown__menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Header: z-index; position sticky mobilde ayrı kuralda (çakışma olmasın) */
#cr-header {
    z-index: 99999 !important;
    overflow: visible !important;
}

.cr-header {
    overflow: visible !important;
}

.cr-header__top-bar {
    overflow: visible !important;
}

.cr-header__links {
    overflow: visible !important;
}

/* ============================================================
   Trust bar — site geneli (WooCommerce Hesabım dahil)
   Tema / WooCommerce img kuralları veya flex küçülmesi bazı logoları
   budadığında bu kurallar #cr-footer ve Elementor .cr-ew-footer içinde
   görünürlüğü sabitler. Görseller eager + ?ver= şablonda yüklenir.
   ============================================================ */
.cr-footer .cr-trust-bar,
.cr-ew-footer .cr-trust-bar,
#cr-footer .cr-trust-bar {
    overflow: visible !important;
    isolation: isolate;
}

.cr-footer .cr-trust-bar__inner,
.cr-ew-footer .cr-trust-bar__inner,
#cr-footer .cr-trust-bar__inner {
    overflow: visible !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    row-gap: clamp(12px, 3vw, 28px) !important;
    column-gap: clamp(12px, 3vw, 28px) !important;
}

.cr-footer .cr-trust-bar__item,
.cr-ew-footer .cr-trust-bar__item,
#cr-footer .cr-trust-bar__item {
    flex: 0 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cr-footer .cr-trust-bar__item--cards,
.cr-ew-footer .cr-trust-bar__item--cards,
#cr-footer .cr-trust-bar__item--cards {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: clamp(8px, 2vw, 14px) !important;
}

.cr-footer .cr-trust-bar img,
.cr-ew-footer .cr-trust-bar img,
#cr-footer .cr-trust-bar img {
    width: auto !important;
    flex-shrink: 0 !important;
    height: auto !important;
    min-height: 26px !important;
    max-height: 52px !important;
    object-fit: contain !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.cr-footer .cr-trust-bar__img--tursab,
.cr-ew-footer .cr-trust-bar__img--tursab,
#cr-footer .cr-trust-bar__img--tursab {
    max-width: min(320px, 90vw) !important;
}

.cr-footer .cr-trust-bar__img--google,
.cr-ew-footer .cr-trust-bar__img--google,
#cr-footer .cr-trust-bar__img--google {
    max-width: min(52px, 14vw) !important;
}

.cr-footer .cr-trust-bar__item--cards .cr-trust-bar__img--visa,
.cr-ew-footer .cr-trust-bar__item--cards .cr-trust-bar__img--visa,
#cr-footer .cr-trust-bar__item--cards .cr-trust-bar__img--visa {
    max-width: min(88px, 22vw) !important;
}

.cr-footer .cr-trust-bar__item:not(.cr-trust-bar__item--cards):not(.cr-trust-bar__item--secure) > .cr-trust-bar__img,
.cr-ew-footer .cr-trust-bar__item:not(.cr-trust-bar__item--cards):not(.cr-trust-bar__item--secure) > .cr-trust-bar__img,
#cr-footer .cr-trust-bar__item:not(.cr-trust-bar__item--cards):not(.cr-trust-bar__item--secure) > .cr-trust-bar__img {
    max-width: min(168px, 42vw) !important;
}

.cr-footer .cr-trust-bar__item--cards .cr-trust-bar__img:not(.cr-trust-bar__img--visa),
.cr-ew-footer .cr-trust-bar__item--cards .cr-trust-bar__img:not(.cr-trust-bar__img--visa),
#cr-footer .cr-trust-bar__item--cards .cr-trust-bar__img:not(.cr-trust-bar__img--visa) {
    max-width: min(72px, 18vw) !important;
}

/* Legal Information hub (index of policy pages) */
.cr-legal-hub {
    margin-top: clamp(32px, 5vw, 48px);
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}

.cr-legal-hub__title {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #1e3a5f;
}

.cr-legal-hub__intro {
    margin: 0 0 16px;
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

.cr-legal-hub__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.cr-legal-hub__link {
    display: block;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.cr-legal-hub__link:hover,
.cr-legal-hub__link:focus-visible {
    border-color: #007bff;
    color: #007bff;
    background: #fdf2f4;
    outline: none;
}
