/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background: #F5F8F4;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-green {
    color: #397C2C !important;
}

/* Site Header */
.site-header {
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Top Row */
.header-top {
    background: #FFFFFF;
    padding: 15px 0;
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    object-fit: contain;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 700;
}

.top-link {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.divider {
    color: #D9D9D9;
}

.btn-login {
    background: #397C2C;
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #D9D9D9;
    padding: 8px 15px;
    border-radius: 8px;
    background: #FFFFFF;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
    min-width: 120px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
}
.dropdown-menu.show {
    display: block;
}
.dropdown-menu li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    font-weight: normal;
}
.dropdown-menu li a:hover {
    background: #f0f0f0;
    color: #397C2C;
}

/* Bottom Row */
.header-bottom {
    background: #F3F4F6;
    border-top: 1px solid #EAEAEA;
}

.header-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 50px;
}

.main-nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav-links a {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #333;
}

.main-nav-links a.active,
.main-nav-links a:hover {
    color: #397C2C;
}

/* Hotline Box with Skew */
.hotline-box-wrapper {
    position: relative;
}

.hotline-box {
    background: #397C2C;
    color: #FFFFFF;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px 0 50px;
    font-weight: 700;
    font-size: 16px;
    gap: 10px;
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 40px 15px;
    background: #F5F8F4;
}

.banner-slide {
    /*max-width: 1300px;*/
    margin: 0 auto;
    height: 600px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    color: #FFFFFF;
    max-width: 800px;
    z-index: 2;
}

.banner-content .subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.banner-content .title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.btn-primary {
    display: inline-block;
    background: #5CB85C; /* Assuming lighter green from design */
    color: #FFFFFF;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
}

.btn-primary:hover {
    background: #4cae4c;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFF;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #333;
    z-index: 2;
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* Categories Section */
.categories-section {
    background: #FFFFFF;
    padding: 60px 0;
    position: relative;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 440px;
    height: 490px;
    background: url('https://via.placeholder.com/440x490/ffffff/f0f0f0?text=Leaf+Bg') no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

.categories-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 490px;
    height: 546px;
    background: url('https://via.placeholder.com/490x546/ffffff/f0f0f0?text=Leaf+Bg') no-repeat;
    opacity: 0.5;
    pointer-events: none;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 10;
}

.category-card {
    height: 300px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    color: #FFFFFF;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card i {
    font-size: 40px;
    margin-bottom: 15px;
}

.category-card h3 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Footer */
.site-footer {
    background: #F5F8F4;
    padding-top: 60px;
    border-top: 1px solid #eaeaea;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr 2fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.col-info p {
    font-size: 14px;
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #397C2C;
    color: #FFFFFF;
    border-radius: 5px;
}

.footer-col h4 {
    color: #397C2C;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.col-links ul li {
    margin-bottom: 10px;
}

.col-links ul li a {
    font-size: 14px;
    color: #333;
}

.col-links ul li a:hover {
    color: #397C2C;
}

.col-newsletter p {
    font-size: 14px;
    margin-bottom: 15px;
}

.newsletter-form .input-group {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 10px;
}

.newsletter-form .input-group i {
    color: #898989;
    margin-right: 10px;
}

.newsletter-form input {
    border: none;
    outline: none;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
}

.newsletter-form button {
    width: 100%;
    background: #397C2C;
    color: #FFFFFF;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.footer-bottom {
    border-top: 1px solid #D9D9D9;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #397C2C;
    font-weight: 600;
}

/* Responsive basics */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-wrapper {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        gap: 15px;
    }
    .menu-items {
        flex-wrap: wrap;
        justify-content: center;
    }
    .banner-slide {
        height: 240px;
    }
    .banner-content .title {
        font-size: 32px;
    }
    .categories-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* 3-Level Dropdown Menu */
.menu-item-has-children {
    position: relative;
    padding: 15px 0; /* Increase hit area */
}

.sub-menu, .sub-menu-level3 {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    border-radius: 8px;
    padding: 10px 0;
    border-top: 3px solid #397C2C;
}

.sub-menu-level3 {
    top: -10px;
    left: 100%;
    margin-left: 5px;
}

.menu-item-has-children:hover > .sub-menu,
.has-sub-menu-level3:hover > .sub-menu-level3 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li, .sub-menu-level3 li {
    position: relative;
    margin: 4px 12px;
}

.sub-menu a, .sub-menu-level3 a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    text-transform: none !important;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sub-menu a:hover, .sub-menu-level3 a:hover {
    background: rgba(57, 124, 44, 0.08);
    color: #397C2C !important;
    padding-left: 20px;
}

.has-sub-menu-level3 > a::after {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    float: right;
}
/* Category Page Styles */
.category-page-section {
    background-color: #f9f9f9;
}

/* Sidebar Menu */
.sidebar-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}
.sidebar-header {
    background-color: #3A7D44;
    padding: 15px 20px;
    border: none;
    margin: 0;
}
.sidebar-header h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu .menu-item {
    margin: 0;
}
.sidebar-menu .menu-item > a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px dashed #e2e8f0;
    transition: all 0.3s ease;
}
.sidebar-menu .menu-item:last-child > a {
    border-bottom: none;
}
.sidebar-menu .menu-item > a i {
    width: 20px;
    text-align: center;
    margin-right: 12px;
    color: #94a3b8;
}
.sidebar-menu .menu-item > a:hover {
    background-color: #f8fafc;
    color: #3A7D44;
}
.sidebar-menu .menu-item > a:hover i {
    color: #3A7D44;
}
.sidebar-menu .menu-item.active > a {
    background-color: #eefdf4;
    color: #3A7D44;
}
.sidebar-menu .menu-item.active > a i {
    color: #3A7D44;
}
.sidebar-menu .submenu {
    list-style: none;
    padding-left: 20px;
    margin: 0;
    background-color: #fff;
}
.sidebar-menu .submenu li {
    margin: 0;
}
.sidebar-menu .submenu li a {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: block;
    padding: 8px 20px;
    transition: color 0.3s;
}
.sidebar-menu .submenu li a:hover,
.sidebar-menu .submenu li.active a {
    color: #3A7D44;
    font-weight: 600;
}

/* Filter Tabs */
.filter-tabs .filter-tab {
    display: inline-block;
    padding: 6px 25px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #fff;
}
.filter-tabs .filter-tab:hover,
.filter-tabs .filter-tab.active {
    background-color: #f8fafc;
    color: #333;
    border-color: #cbd5e1;
}

/* Product Card */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #d1fae5;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border-color: #3A7D44;
}
.product-img {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    border-radius: 8px;
}
.product-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
    transform: scale(1.05);
}
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc2626;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}
.product-info {
    padding: 15px 5px 5px 5px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product-title {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 8px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price .price-new {
    color: #dc2626;
    font-weight: 700;
    font-size: 15px;
}
.product-price .price-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 12px;
    margin-left: 8px;
}





/* Store Header */
.store-header {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 50px 0;
    color: #f3f4f6;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.store-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}
.store-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    padding: 8px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.store-name {
    font-size: 32px;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.store-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    color: #e5e7eb;
}
.info-item i {
    color: #34d399;
    width: 20px;
    margin-top: 3px;
    margin-right: 10px;
    font-size: 16px;
}
.info-label {
    font-weight: 600;
    color: #9ca3af;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.store-desc {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 15px;
    line-height: 1.6;
    color: #d1d5db;
}

/* Table of Contents (TOC) */
.toc-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    display: inline-block;
    min-width: 300px;
    max-width: 100%;
}
.toc-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.toc-list li {
    margin-bottom: 8px;
}
.toc-list li:last-child {
    margin-bottom: 0;
}
.toc-list a {
    color: #3A7D44;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    display: inline-block;
}
.toc-list a:hover {
    color: #2F5734;
    text-decoration: underline;
}

/* Product Detail */
.breadcrumb-custom { background: #f8fafc; padding: 15px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 40px; }
.breadcrumb-custom a { color: #3A7D44; text-decoration: none; font-weight: 500; }
.breadcrumb-custom a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: #64748b; }
.product-gallery img { width: 100%; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); object-fit: cover; }
.product-title-main { font-size: 32px; font-weight: 700; color: #1e293b; margin-bottom: 15px; }
.product-price-main { font-size: 28px; font-weight: 700; color: #e11d48; margin-bottom: 20px; }
.product-price-old { font-size: 20px; color: #94a3b8; text-decoration: line-through; margin-left: 15px; font-weight: 400; }
.product-short-desc { color: #475569; font-size: 16px; line-height: 1.6; margin-bottom: 30px; }
.btn-contact-main { background: #3A7D44; color: #fff; padding: 12px 30px; font-size: 18px; font-weight: 600; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s; }
.btn-contact-main:hover { background: #2F5734; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(58,125,68,0.3); }
.nav-tabs-custom { border-bottom: 2px solid #e2e8f0; margin-bottom: 30px; margin-top: 3rem; }
.nav-tabs-custom .nav-link { border: none; border-bottom: 3px solid transparent; color: #64748b; font-weight: 600; font-size: 18px; padding: 15px 25px; transition: all 0.3s; }
.nav-tabs-custom .nav-link:hover { color: #3A7D44; }
.nav-tabs-custom .nav-link.active { background: none; color: #3A7D44; border-bottom-color: #3A7D44; }
.product-content { color: #334155; line-height: 1.8; font-size: 16px; }
.product-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
.section-title { color: #2F5734; border-left: 4px solid #3A7D44; padding-left: 15px; font-weight: 700; text-transform: uppercase; margin-bottom: 30px; }
.business-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}
.business-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-color: #cbd5e1;
}
.business-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid #3A7D44;
    background: #fff;
    padding: 4px;
}
.business-info { flex: 1; }
.business-name { font-weight: 700; color: #1e293b; font-size: 18px; margin-bottom: 5px; }
.business-meta { font-size: 14px; color: #64748b; margin-bottom: 3px; }
.business-meta i { width: 16px; color: #3A7D44; }
.btn-store {
    background: white;
    color: #3A7D44;
    border: 1px solid #3A7D44;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-store:hover {
    background: #3A7D44;
    color: white;
}

/* Business Register & Login */
.auth-card {
    max-width: 450px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: #fff;
}
.auth-title {
    color: #2F5734;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}
.btn-auth {
    background: #397C2C;
    color: #fff;
    width: 100%;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    font-size: 18px;
}
.btn-auth:hover {
    background: #2F5734;
    color: #fff;
}
.auth-section-title {
    color: #166534;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}
.input-group-text {
    background-color: #f8fafc;
    color: #64748b;
}

/* Business Profile */
.card-custom { border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: none; margin-bottom: 25px; overflow: hidden; }
.card-header-custom { background: linear-gradient(135deg, #166534 0%, #14532d 100%); color: white; padding: 15px 20px; font-weight: 600; font-size: 1.1rem; }
.upload-box { border: 2px dashed #cbd5e1; border-radius: 8px; padding: 30px; text-align: center; cursor: pointer; background: #f8fafc; transition: all 0.3s ease; }
.upload-box:hover { background: #f1f5f9; border-color: #94a3b8; }
.form-label { font-weight: 500; color: #475569; }
.form-control:focus { border-color: #166534; box-shadow: 0 0 0 0.2rem rgba(22, 101, 52, 0.25); }

/* Featured Businesses Section */
.featured-businesses-section {
    position: relative;
    z-index: 10;
}
.featured-title {
    color: #333;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
    padding-left: 15px;
    border-left: 4px solid #3A7D44;
}
.btn-featured-all {
    background: #3A7D44;
    color: white;
    border-radius: 50px;
    padding: 6px 6px 6px 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid #3A7D44;
    display: inline-flex;
    align-items: center;
}
.btn-featured-all:hover {
    background: #2F5734;
    color: white;
    border-color: #2F5734;
}
.btn-featured-all .icon-circle {
    width: 26px;
    height: 26px;
    background: white;
    color: #3A7D44;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: all 0.3s;
}
.btn-featured-all:hover .icon-circle {
    background: #eefdf4;
}
.featured-slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
}
.slider-btn {
    background: white;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    outline: none;
}
.slider-btn:hover {
    background: #f8fafc;
    color: #3A7D44;
    border-color: #3A7D44;
}
.featured-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
    padding: 10px 5px;
    flex: 1;
    scroll-behavior: smooth;
}
.featured-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.featured-card {
    min-width: 200px;
    max-width: 200px;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}
.featured-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: #e2e8f0;
}
.featured-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}
.featured-logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 1px solid #bbf7d0;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}
.featured-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.featured-logo-wrapper .no-logo {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3A7D44;
    font-size: 24px;
}
.featured-name {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* News Section */
.news-small-card {
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.news-small-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #d1fae5;
}
.news-img-wrapper {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}
.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-small-card:hover .news-img-wrapper img {
    transform: scale(1.05);
}
.news-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
.news-excerpt {
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.news-large-card:hover .news-bg-img {
    transform: scale(1.05);
}
.news-bg-img {
    transition: transform 0.5s ease;
}


/* From news.php */
.news-card { border: none; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s; margin-bottom: 30px; }
        .news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
        .news-img { width: 100%; height: 220px; object-fit: cover; }
        .news-content { padding: 20px; background: #fff; }
        .news-date { font-size: 14px; color: #64748b; margin-bottom: 10px; display: block; }
        .news-title { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 10px; line-height: 1.4; }
        .news-title a { color: inherit; text-decoration: none; transition: color 0.3s; }
        .news-title a:hover { color: #3A7D44; }
        .news-desc { color: #475569; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 15px; }
        .btn-readmore { color: #3A7D44; font-weight: 600; text-decoration: none; font-size: 14px; text-transform: uppercase; }
        .btn-readmore:hover { text-decoration: underline; }

/* From news_detail.php */
.breadcrumb-custom { background: #f8fafc; padding: 15px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 40px; }
        .breadcrumb-custom a { color: #3A7D44; text-decoration: none; font-weight: 500; }
        .breadcrumb-item.active { color: #64748b; }
        
        .news-detail-title { font-size: 32px; font-weight: 700; color: #1e293b; margin-bottom: 15px; line-height: 1.4; }
        .news-detail-meta { color: #64748b; font-size: 14px; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #e2e8f0; }
        .news-detail-short { font-size: 18px; font-weight: 600; color: #334155; line-height: 1.6; margin-bottom: 30px; font-style: italic; }
        .news-detail-content { font-size: 16px; color: #334155; line-height: 1.8; }
        .news-detail-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
        
        .sidebar-title { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 20px; text-transform: uppercase; border-left: 4px solid #3A7D44; padding-left: 10px; }
        .related-news-item { display: flex; gap: 15px; margin-bottom: 20px; }
        .related-news-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
        .related-news-title { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
        .related-news-title a { color: #1e293b; text-decoration: none; transition: color 0.3s; }
        .related-news-title a:hover { color: #3A7D44; }
        .related-news-date { font-size: 12px; color: #94a3b8; }

/* From real_estate.php */
.re-card {
            border: 1px solid #eee;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            background: #fff;
        }
        .re-card:hover {
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            transform: translateY(-5px);
        }
        .re-img {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }
        .re-info {
            padding: 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        .re-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 10px;
            color: #333;
            text-decoration: none;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .re-title:hover {
            color: #397c2c;
        }
        .re-price {
            font-size: 18px;
            font-weight: 700;
            color: #e74c3c;
            margin-bottom: 10px;
        }
        .re-meta {
            font-size: 13px;
            color: #666;
            margin-bottom: 5px;
        }
        .re-meta i {
            width: 20px;
            color: #397c2c;
        }
        .re-type-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: #397c2c;
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: bold;
        }

/* From real_estate_detail.php */
.re-detail-img {
            width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .re-detail-info {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 25px;
            border-left: 5px solid #397c2c;
        }
        .info-row {
            display: flex;
            margin-bottom: 15px;
            border-bottom: 1px dashed #ddd;
            padding-bottom: 10px;
        }
        .info-row:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }
        .info-label {
            font-weight: 600;
            color: #555;
            width: 130px;
            flex-shrink: 0;
        }
        .info-value {
            color: #333;
            font-weight: 500;
        }
        .re-price-big {
            font-size: 28px;
            font-weight: 700;
            color: #e74c3c;
            margin-bottom: 20px;
        }
        .contact-box {
            background: #fff;
            border: 1px solid #e0e0e0;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            margin-top: 30px;
        }
        .btn-call {
            background: #397c2c;
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            font-weight: bold;
            font-size: 18px;
            display: inline-block;
            text-decoration: none;
            transition: all 0.3s;
        }
        .btn-call:hover {
            background: #2b5d21;
            color: white;
            box-shadow: 0 5px 15px rgba(57,124,44,0.3);
        }
        .content-section {
            margin-top: 40px;
            line-height: 1.8;
            color: #444;
        }
        .content-section h3 {
            font-size: 20px;
            font-weight: 700;
            border-bottom: 2px solid #397c2c;
            display: inline-block;
            padding-bottom: 5px;
            margin-bottom: 20px;
        }

/* From travel.php */
.news-card { border: none; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s; margin-bottom: 30px; }
        .news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
        .news-img { width: 100%; height: 220px; object-fit: cover; }
        .news-content { padding: 20px; background: #fff; }
        .news-date { font-size: 14px; color: #64748b; margin-bottom: 10px; display: block; }
        .news-title { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 10px; line-height: 1.4; }
        .news-title a { color: inherit; text-decoration: none; transition: color 0.3s; }
        .news-title a:hover { color: #3A7D44; }
        .news-desc { color: #475569; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 15px; }
        .btn-readmore { color: #3A7D44; font-weight: 600; text-decoration: none; font-size: 14px; text-transform: uppercase; }
        .btn-readmore:hover { text-decoration: underline; }
        
        .cat-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
        .cat-btn { padding: 8px 20px; border-radius: 30px; border: 1px solid #e2e8f0; color: #475569; text-decoration: none; font-weight: 500; transition: all 0.3s; background: #fff; }
        .cat-btn:hover, .cat-btn.active { background: #3A7D44; color: #fff; border-color: #3A7D44; }
        .hero-section { padding: 0 !important; margin-bottom: 40px; }
        .hero-section .banner-slide { border-radius: 0; }
        .banner-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); z-index: 1; }

/* From travel_detail.php */
.breadcrumb-custom { background: #f8fafc; padding: 15px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 40px; }
        .breadcrumb-custom a { color: #3A7D44; text-decoration: none; font-weight: 500; }
        .breadcrumb-item.active { color: #64748b; }
        
        .news-detail-title { font-size: 32px; font-weight: 700; color: #1e293b; margin-bottom: 15px; line-height: 1.4; }
        .news-detail-meta { color: #64748b; font-size: 14px; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid #e2e8f0; }
        .news-detail-short { font-size: 18px; font-weight: 600; color: #334155; line-height: 1.6; margin-bottom: 30px; font-style: italic; }
        .news-detail-content { font-size: 16px; color: #334155; line-height: 1.8; }
        .news-detail-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0; }
        
        .sidebar-title { font-size: 20px; font-weight: 700; color: #1e293b; margin-bottom: 20px; text-transform: uppercase; border-left: 4px solid #3A7D44; padding-left: 10px; }
        .related-news-item { display: flex; gap: 15px; margin-bottom: 20px; }
        .related-news-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; }
        .related-news-title { font-size: 15px; font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
        .related-news-title a { color: #1e293b; text-decoration: none; transition: color 0.3s; }
        .related-news-title a:hover { color: #3A7D44; }
        .related-news-date { font-size: 12px; color: #94a3b8; }


        .footer-col ul { padding-left: 0 !important; }

        /* Real Estate Detail Image Fixes */
        .re-detail-img { max-width: 100%; height: auto; border-radius: 8px; object-fit: contain; }
        .description-content img { max-width: 100% !important; height: auto !important; }

@media (max-width: 768px) { 
    .section-title { font-size: 1.1rem !important; margin-bottom: 15px !important; } 
    .banner-content .title { font-size: 1.4rem !important; } 
    .featured-title { font-size: 18px !important; } 
    .auth-card { margin: 20px 15px !important; padding: 20px !important; width: auto !important; }
}
.register-card { max-width: 800px !important; width: 100%; }
