/* ===================================================
   GOYSEPETE KKTC - HOMEPAGE INNOVATION STYLES
   =================================================== */

/* 1. HERO WRAPPER OVERRIDES FOR PROPER CENTERING & SPACING */
.banner_slick_main_item {
    width: 100% !important;
    max-width: 880px !important;
    text-align: center !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

.banner_slick_main_item .banner_slick_main_txt {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 20px !important;
}

.banner_slick_main_item .banner_slick_main_txt h1 {
    font-size: 48px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
    margin: 0 auto !important;
}

/* OVERRIDE THE THEME'S ROW FLEX */
.banner_slick_main_item_box_main {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 780px !important;
    margin: 15px auto 0 auto !important;
}

/* 2. PROMINENT HERO SEARCH CONSOLE */
.goy-hero-search-form {
    width: 100% !important;
    max-width: 760px !important;
    margin: 0 auto 16px auto !important;
    position: relative !important;
    z-index: 20 !important;
}

.goy-search-box-unified {
    display: flex !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 50px !important;
    padding: 7px 8px 7px 22px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 2.5px solid transparent !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    width: 100% !important;
}

.goy-search-box-unified:hover,
.goy-search-box-unified:focus-within {
    border-color: #e94222 !important;
    box-shadow: 0 20px 45px rgba(233, 66, 34, 0.22) !important;
}

.goy-search-input-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.goy-search-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.goy-search-input {
    border: none !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #0f172a !important;
    outline: none !important;
    width: 100% !important;
    padding: 10px 4px !important;
}

.goy-search-input::placeholder {
    color: #94a3b8 !important;
    font-size: 15px !important;
}

.goy-search-btn {
    background: linear-gradient(135deg, #e94222 0%, #f97316 100%) !important;
    border: none !important;
    border-radius: 40px !important;
    color: #ffffff !important;
    padding: 14px 30px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 14px rgba(233, 66, 34, 0.35) !important;
    white-space: nowrap !important;
}

.goy-search-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 22px rgba(233, 66, 34, 0.5) !important;
    background: linear-gradient(135deg, #d3381a 0%, #ea580c 100%) !important;
}

/* 3. KKTC CITY QUICK PILLS - CENTERED ROW BELOW SEARCH */
.goy-city-pills-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 10px !important;
    margin: 0 auto 16px auto !important;
    flex-wrap: wrap !important;
}

.goy-city-pills-label {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    letter-spacing: 0.03em !important;
    flex-shrink: 0 !important;
}

.goy-city-pills-scroll {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.goy-city-pill {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 30px !important;
    padding: 7px 18px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.goy-city-pill:hover,
.goy-city-pill.active {
    background: #ffffff !important;
    border-color: #f97316 !important;
    color: #ea580c !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.3) !important;
}

/* 4. POPULAR SEARCHES */
.popular_link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin: 4px auto 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6) !important;
    font-size: 14px !important;
}

.popular_link li {
    color: rgba(255, 255, 255, 0.95) !important;
}

.popular_link li a {
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    transition: color 0.2s ease !important;
}

.popular_link li a:hover {
    color: #fed7aa !important;
}

/* 5. HERO TRUST & FEATURE BAR */
.goy-trust-section {
    padding: 30px 0 45px 0;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

.goy-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.goy-trust-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.goy-trust-card:hover {
    background: #ffffff;
    transform: translateY(-4px);
    border-color: #fed7aa;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.08);
}

.goy-trust-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.goy-trust-card:hover .goy-trust-icon-box {
    transform: scale(1.08);
}

.icon-rocket {
    background: linear-gradient(135deg, #fff1f2, #ffe4e6);
    color: #e11d48;
}

.icon-card {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
}

.icon-star {
    background: linear-gradient(135deg, #fefce8, #fef08a);
    color: #ca8a04;
}

.icon-scooter {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #ea580c;
}

.goy-trust-info h5 {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.goy-trust-info p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.35;
}

/* 6. SPECIAL BADGES ON CARDS */
.goy-deal-badge {
    background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
}

.goy-deal-badge h6 {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    margin: 0 !important;
}

.goy-star-badge {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
}

.goy-star-badge h6 {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    margin: 0 !important;
}

.goy-popular-badge {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
}

.goy-popular-badge h6 {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    margin: 0 !important;
}

/* 7. RESTAURANT LIVE OPEN/CLOSED FILTER BAR */
.goy-restaurant-filter-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.goy-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.goy-restaurant-count-pill {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #fed7aa;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.goy-filter-tabs {
    display: inline-flex;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 30px;
    gap: 4px;
}

.goy-tab-btn {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.goy-tab-btn.active {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.goy-tab-btn:hover:not(.active) {
    color: #0f172a;
}

.goy-live-pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    animation: goy-pulse-dot 1.8s infinite;
}

@keyframes goy-pulse-dot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* 8. CATEGORY ICONS PASTEL CIRCLE */
.categories_item {
    transition: all 0.25s ease !important;
}

.categories_item .icon {
    background: #fff7ed !important;
    border: 2px solid #ffedd5 !important;
    width: 76px !important;
    height: 76px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 12px auto !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 14px rgba(233, 66, 34, 0.08) !important;
}

.categories_item .icon img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
    transition: transform 0.25s ease !important;
}

.categories_item:hover .icon {
    transform: translateY(-4px) scale(1.05) !important;
    background: linear-gradient(135deg, #fff7ed, #fed7aa) !important;
    border-color: #f97316 !important;
    box-shadow: 0 8px 22px rgba(233, 66, 34, 0.22) !important;
}

.categories_item:hover .icon img {
    transform: scale(1.08) !important;
}

/* 9. CARD ELEVATIONS */
.food_card_item {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border-radius: 16px !important;
    border: 1px solid #f1f5f9 !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.food_card_item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.1) !important;
    border-color: #e2e8f0 !important;
}

.food_card_item_thumb img {
    transition: transform 0.4s ease !important;
}

.food_card_item:hover .food_card_item_thumb img {
    transform: scale(1.04) !important;
}

/* Open/Closed badge */
.open_btn {
    background: #dcfce7 !important;
    color: #15803d !important;
    border: 1px solid #86efac !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    padding: 4px 12px !important;
    font-size: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.open_btn::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
}

.open_btn.closed_btn {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border: 1px solid #cbd5e1 !important;
}

.open_btn.closed_btn::before {
    background: #94a3b8;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .banner_slick_main_item .banner_slick_main_txt h1 {
        font-size: 36px !important;
        line-height: 1.3 !important;
    }
    .goy-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .banner_slick_main_item .banner_slick_main_txt h1 {
        font-size: 28px !important;
    }
    .goy-search-box-unified {
        flex-direction: column !important;
        border-radius: 20px !important;
        padding: 12px !important;
        gap: 10px !important;
    }
    .goy-search-input-wrap {
        width: 100% !important;
    }
    .goy-search-btn {
        width: 100% !important;
        justify-content: center !important;
        border-radius: 14px !important;
        padding: 12px !important;
    }
    .goy-trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .goy-city-pills-wrap {
        gap: 6px !important;
    }
    .goy-city-pill {
        padding: 5px 12px !important;
        font-size: 12.5px !important;
    }
}

/* ==========================================
   TOPBAR RESTAURANT PARTNER BADGE
   ========================================== */
.header_top_partner_badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 5px 14px 5px 12px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 30px !important;
    text-decoration: none !important;
    backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.header_top_partner_badge:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(233, 66, 34, 0.5) !important;
    box-shadow: 0 4px 16px rgba(233, 66, 34, 0.3) !important;
    transform: translateY(-1px) !important;
}

.header_top_partner_badge .partner_badge_icon {
    font-size: 14px !important;
    line-height: 1 !important;
    display: inline-block !important;
    animation: partnerIconFloat 3s infinite ease-in-out !important;
}

@keyframes partnerIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-2px) rotate(4deg); }
}

.header_top_partner_badge .partner_badge_text {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #f8fafc !important;
    letter-spacing: 0.01em !important;
}

.header_top_partner_badge .partner_badge_btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 3px 10px !important;
    background: linear-gradient(135deg, #e94222 0%, #f97316 100%) !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    box-shadow: 0 2px 6px rgba(233, 66, 34, 0.4) !important;
    transition: all 0.2s ease !important;
}

.header_top_partner_badge:hover .partner_badge_btn {
    transform: scale(1.04) !important;
    box-shadow: 0 3px 10px rgba(233, 66, 34, 0.6) !important;
}

.header_top_partner_badge .partner_badge_btn svg {
    transition: transform 0.2s ease !important;
}

.header_top_partner_badge:hover .partner_badge_btn svg {
    transform: translateX(2px) !important;
}

@media (max-width: 991px) {
    .header_top_partner_badge {
        display: none !important;
    }
}
