/* ================================================================================
   REBEAUTY Front Styles - Kmong Style Header
   ================================================================================ */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
}

/* Header */
.header {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.logo {
    display: inline-block;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: #333;
    margin: 0;
    letter-spacing: -0.5px;
}

.search-form {
    max-width: 500px;
    margin: 0 auto;
}

.search-form .input-group {
    border: 2px solid #e5e5e5;
    border-radius: 24px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.search-form .input-group:focus-within {
    border-color: #333;
}

.search-form .form-control {
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    background: transparent;
}

.search-form .form-control:focus {
    box-shadow: none;
}

.search-form .form-control::placeholder {
    color: #999;
}

.search-form .btn-search {
    background: transparent;
    border: none;
    padding: 0.75rem 1.25rem;
    color: #333;
}

.search-form .btn-search:hover {
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.25rem;
}

.header-action-item {
    color: #666;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.header-action-item:hover {
    color: #333;
}

.btn-register {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-register:hover {
    background-color: #d63a6a;
    color: white !important;
}

/* Navigation */
.header-nav {
    background-color: var(--white);
    border-bottom: 1px solid #f1f1f1;
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu-left {
    justify-content: flex-start;
}

.nav-menu-left > .nav-item:first-child > .nav-link {
    padding-left: 0;
}

.nav-menu-right {
    justify-content: flex-end;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-item.active .nav-link {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 2px;
    background-color: var(--primary-color);
}

/* NEW Badge */
.nav-link {
    position: relative;
}

.nav-badge-new {
    position: absolute;
    top: 4px;
    right: 0;
    padding: 2px 5px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 3px;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

/* Mobile Menu NEW Badge */
.mobile-nav-menu a {
    position: relative;
}

.mobile-nav-menu .nav-badge-new {
    position: static;
    display: inline-block;
    margin-left: 6px;
    vertical-align: middle;
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
    padding: 0;
    overflow: hidden;
}

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-inner {
    display: flex;
    padding: 24px;
    gap: 32px;
}

.nav-dropdown-column {
    flex: 1;
    min-width: 160px;
}

.nav-dropdown-title {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-dropdown-list li {
    margin-bottom: 4px;
}

.nav-dropdown-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #555;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-dropdown-list a:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(231, 76, 60, 0.04) 100%);
    color: var(--primary-color);
    transform: translateX(4px);
}

.nav-dropdown-list a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: #999;
    transition: color 0.2s;
}

.nav-dropdown-list a:hover i {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    padding: 0.5rem;
    cursor: pointer;
    color: #333;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    z-index: 2000;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-header {
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
}

.mobile-menu-body {
    padding: 1rem;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid #f1f1f1;
}

.mobile-nav-menu li.mobile-menu-title {
    padding: 1rem 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    border-bottom: none;
}

.mobile-nav-menu li.mobile-menu-divider {
    border-bottom: none;
    height: 1rem;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0;
    color: #333;
    font-weight: 500;
}

.mobile-nav-menu a:hover {
    color: var(--primary-color);
}

/* Main Banner */
.main-banner {
    position: relative;
    padding: 1.5rem 0;
    background-color: #f8f9fa;
}

.main-banner .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-banner .main-banner-swiper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.main-banner .swiper-slide {
    aspect-ratio: 1320 / 880;
    max-height: 880px;
}

.main-banner .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-banner .swiper-pagination-bullet {
    background-color: var(--white);
    opacity: 0.5;
}

.main-banner .swiper-pagination-bullet-active {
    opacity: 1;
}

.main-banner .swiper-button-prev,
.main-banner .swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.main-banner .swiper-button-prev:after,
.main-banner .swiper-button-next:after {
    font-size: 18px;
}

/* ==========================================
   KONEST Style Hero Banner (k-hero-mv)
   ========================================== */
.k-hero-mv {
    background-color: #f8f9fa;
    padding: 24px 0;
    overflow: visible;
}

.k-hero-mv__inner {
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.k-hero-mv__content {
    position: relative;
    overflow: visible;
}

.k-hero-mv__slider {
    overflow: hidden;
    border-radius: 16px;
}

.k-hero-mv__slide-inner {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    min-height: 420px;
}

/* Info Section (Left) */
.k-hero-mv__info {
    flex: 0 0 45%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #fafbfc 100%);
}

.k-hero-mv__subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #e74c3c;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 12px;
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1) 0%, rgba(192, 57, 43, 0.08) 100%);
    border-radius: 20px;
    border-left: 3px solid #e74c3c;
}

.k-hero-mv__title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 18px;
    word-break: keep-all;
    letter-spacing: -0.5px;
}

.k-hero-mv__description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 380px;
    position: relative;
    padding-left: 16px;
    border-left: 3px solid rgba(231, 76, 60, 0.3);
}

.k-hero-mv__button-wrap {
    margin-top: auto;
}

.k-hero-mv__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.k-hero-mv__button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: #fff;
}

.k-hero-mv__button i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.k-hero-mv__button:hover i {
    transform: translateX(3px);
}

/* Image Section (Right) */
.k-hero-mv__image {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.k-hero-mv__image a {
    display: block;
    height: 100%;
}

.k-hero-mv__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 16px;
}

.k-hero-mv__slide:hover .k-hero-mv__image img {
    transform: scale(1.03);
}

/* Controls */
.k-hero-mv__control {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.k-hero-mv__control-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e74c3c;
    background: transparent;
    border-radius: 50%;
    color: #e74c3c;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.k-hero-mv__control-btn:hover {
    background: #e74c3c;
    color: #fff;
}

.k-hero-mv__pagination-fraction {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    min-width: 60px;
    text-align: center;
}

.k-hero-mv__pagination-fraction .current {
    color: #e74c3c;
    font-size: 18px;
}

/* Pagination Bullets */
.k-hero-mv__pagination-bullets {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.k-hero-mv__pagination-bullets .swiper-pagination-bullet,
.k-hero-mv__pagination-bullets .pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.k-hero-mv__pagination-bullets .swiper-pagination-bullet-active,
.k-hero-mv__pagination-bullets .pagination-bullet.active {
    background: #e74c3c;
    transform: scale(1.2);
}

.k-hero-mv__pagination-bullets .swiper-pagination-bullet:hover,
.k-hero-mv__pagination-bullets .pagination-bullet:hover {
    background: #999;
}

/* Hero Navigation Buttons - Left/Right */
.k-hero-mv__content {
    position: relative;
    overflow: visible !important;
}

.hero-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 10;
}

.hero-nav-btn:hover {
    background: #e74c3c;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

/* 버튼이 경계에 정확히 반반 걸치도록 위치 */
.hero-nav-prev {
    left: -25px;
}

.hero-nav-next {
    right: -25px;
}

/* Hero Pagination Dots */
.hero-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    gap: 8px;
    padding: 16px 0;
    margin-top: 12px;
}

.hero-pagination .hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #d0d0d0;
    border: 1px solid #bbb;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hero-pagination .hero-dot.active {
    width: 28px;
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-pagination .hero-dot:hover {
    background: #aaa;
}

@media (max-width: 768px) {
    /* 모바일에서 좌우 버튼 숨김 */
    .hero-nav-btn {
        display: none !important;
    }

    /* 모바일에서 페이지네이션 닷 표시 */
    .hero-pagination {
        display: flex;
    }
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .k-hero-mv__slide-inner {
        flex-direction: column-reverse;
        min-height: auto;
    }

    .k-hero-mv__info {
        flex: none;
        padding: 28px;
    }

    .k-hero-mv__image {
        flex: none;
        height: 280px;
    }

    .k-hero-mv__subtitle {
        font-size: 12px;
        padding: 5px 12px;
    }

    .k-hero-mv__title {
        font-size: 24px;
    }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .k-hero-mv {
        padding: 16px 0;
    }

    .k-hero-mv__info {
        padding: 20px;
    }

    .k-hero-mv__subtitle {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .k-hero-mv__title {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .k-hero-mv__description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .k-hero-mv__button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }

    .k-hero-mv__image {
        height: 200px;
    }

    .k-hero-mv__control {
        gap: 12px;
        margin-top: 16px;
    }

    .k-hero-mv__control-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .k-hero-mv__pagination-bullets {
        margin-top: 12px;
    }

    .k-hero-mv__pagination-bullets .swiper-pagination-bullet,
    .k-hero-mv__pagination-bullets .pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

/* Category Icons */
.category-icons {
    padding: 2rem 0;
    background-color: var(--white);
}

.category-icon-item {
    text-align: center;
    padding: 1rem;
    transition: var(--transition);
}

.category-icon-item:hover {
    transform: translateY(-5px);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.category-icon-item:hover .category-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.category-name {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.9375rem;
}

/* Vendor Card */
.vendor-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    background-color: var(--white);
    height: 100%;
}

.vendor-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.vendor-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.vendor-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.vendor-card:hover .vendor-card-image img {
    transform: scale(1.05);
}

.vendor-card-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.vendor-card-wishlist:hover,
.vendor-card-wishlist.active {
    color: var(--primary-color);
}

.vendor-card-wishlist.active i {
    font-weight: 900;
}

.vendor-card-body {
    padding: 1rem;
}

.vendor-card-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.vendor-card-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.vendor-card-info {
    font-size: 0.8125rem;
    color: var(--gray-color);
    margin-bottom: 0.5rem;
}

.vendor-card-body .text-small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vendor-card-tags {
    margin-bottom: 0.75rem;
}

.vendor-card-price {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-color);
}

.vendor-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.vendor-card-actions .btn {
    flex: 1;
    font-size: 0.8125rem;
    padding: 0.5rem;
}

/* Package Card */
.package-card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--white);
    transition: var(--transition);
}

.package-card:hover {
    box-shadow: var(--shadow-md);
}

.package-card-image {
    height: 180px;
    overflow: hidden;
}

.package-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-card-body {
    padding: 1.25rem;
}

.package-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.package-card-vendors {
    font-size: 0.8125rem;
    color: var(--gray-color);
    margin-bottom: 0.75rem;
}

.package-card-price {
    margin-bottom: 1rem;
}

/* Review Item */
.review-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.review-vendor {
    font-weight: 600;
    color: var(--dark-color);
}

.review-rating {
    color: #ffc107;
}

.review-content {
    color: var(--gray-color);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.review-footer {
    font-size: 0.8125rem;
    color: var(--light-gray);
}

/* Magazine Card */
.magazine-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.magazine-card:hover {
    transform: translateY(-3px);
}

.magazine-card-image {
    height: 200px;
    overflow: hidden;
}

.magazine-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.magazine-card:hover .magazine-card-image img {
    transform: scale(1.05);
}

.magazine-card-body {
    padding: 1rem 0;
}

.magazine-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.magazine-card-meta {
    font-size: 0.8125rem;
    color: var(--light-gray);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-main {
    padding: 3rem 0;
}

.footer-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.footer-info,
.footer-links {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.footer-info li {
    margin-bottom: 0.5rem;
    font-size: 0.8125rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Back to Top Button */
.btn-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
}

.btn-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 991px) {
    .header-main .row {
        justify-content: space-between;
    }

    .header-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-action-item {
        display: none;
    }

    .btn-register {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 0.75rem 0;
    }

    .header-main .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .search-form {
        display: none;
    }

    .main-banner .swiper-slide {
        height: 250px;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .vendor-card-image {
        height: 150px;
    }

    .footer-main {
        padding: 2rem 0;
    }

    .footer-main .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-main .row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .footer-main .row > [class*="col-"] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .footer-title {
        font-size: 0.9375rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-info li {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
        line-height: 1.5;
    }

    .footer-info li strong {
        display: block;
        margin-bottom: 2px;
        color: rgba(255, 255, 255, 0.9);
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .footer-links li {
        margin-bottom: 0;
        width: calc(50% - 0.25rem);
    }

    .footer-links a {
        font-size: 0.8125rem;
        display: block;
        padding: 0.25rem 0;
    }

    .footer-social {
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .footer-newsletter {
        margin-top: 1.5rem !important;
    }

    .footer-newsletter h6 {
        font-size: 0.875rem;
    }

    .footer-newsletter p {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-form .form-control {
        border-radius: 6px !important;
        font-size: 0.875rem;
        padding: 0.625rem 0.75rem;
        width: 100% !important;
        flex: none !important;
    }

    .newsletter-form .btn {
        border-radius: 6px !important;
        width: 100%;
        padding: 0.625rem;
        font-size: 0.875rem;
    }

    .footer-bottom {
        padding: 1rem 0;
    }

    .footer-bottom .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-bottom .row {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .footer-bottom .col-md-6 {
        width: 100%;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
    }

    .copyright {
        font-size: 0.75rem;
    }

    .trust-icons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .trust-item {
        margin-right: 0 !important;
        font-size: 0.75rem;
    }

    .trust-item small {
        font-size: 0.6875rem;
    }

    .btn-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .footer-main {
        padding: 1.5rem 0;
    }

    .footer-main .row > .col-lg-4,
    .footer-main .row > .col-lg-2,
    .footer-main .row > .col-md-6 {
        margin-bottom: 1.25rem !important;
    }

    .footer-main .row > .col-lg-4:last-child,
    .footer-main .row > .col-md-6:last-child {
        margin-bottom: 0 !important;
    }

    .footer-links li {
        width: 100%;
    }

    .footer-info li strong {
        display: inline;
        margin-bottom: 0;
    }

    .trust-icons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .trust-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
    }
}

/* Coupon Cards */
.coupon-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px dashed #ddd;
}
.coupon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}
.coupon-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: calc(0.375rem - 2px) calc(0.375rem - 2px) 0 0;
}
.coupon-code {
    font-size: 1rem;
    font-weight: bold;
    color: var(--primary-color);
    background: transparent;
}

/* Event Cards */
.event-card {
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* ================================================================================
   Mobile Bottom Navigation
   ================================================================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    z-index: 1000;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
}

.mobile-bottom-nav .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #888;
    font-size: 10px;
    gap: 4px;
    transition: color 0.2s;
}

.mobile-bottom-nav .bottom-nav-item i {
    font-size: 20px;
}

.mobile-bottom-nav .bottom-nav-item span {
    font-weight: 500;
}

.mobile-bottom-nav .bottom-nav-item.active,
.mobile-bottom-nav .bottom-nav-item:hover {
    color: var(--primary-color, #ff6b6b);
}

.mobile-bottom-nav .bottom-nav-item.active i {
    transform: scale(1.1);
}

/* Show on mobile only */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }

    /* Add padding to body so content doesn't hide behind bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* Hide footer on mobile if bottom nav is present */
    .footer {
        padding-bottom: 80px;
    }
}

/* ================================================================================
   Mobile Search Overlay
   ================================================================================ */
.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-search-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-search-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-search-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-search-close {
    background: none;
    border: none;
    padding: 8px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.mobile-search-input {
    flex: 1;
    border: none;
    background: #f5f5f5;
    padding: 12px 16px;
    border-radius: 24px;
    font-size: 16px;
    outline: none;
}

.mobile-search-input:focus {
    background: #eee;
}

.mobile-search-submit {
    background: var(--primary-color, #ff6b6b);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
}

.mobile-search-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
}

.mobile-search-section {
    margin-bottom: 24px;
}

.mobile-search-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
}

.mobile-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mobile-search-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #f5f5f5;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s;
}

.mobile-search-tag:hover {
    background: #e5e5e5;
    color: #333;
}
