/* =============================================
   FlowerEast - Custom CSS Overrides
   ============================================= */

/* ---- Logo ---- */
.fe-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    line-height: 1;
    text-decoration: none !important;
    display: inline-block;
}
.fe-logo-flower { color: #2db56a; font-weight: 700; }
.fe-logo-east   { color: #1a1a1a; font-style: italic; }
.fe-logo:hover .fe-logo-east { color: #2db56a; }

/* ---- Category dropdown z-index fix ---- */
.categori-dropdown-wrap {
    z-index: 9999 !important;
}
.sub-menu {
    z-index: 9999 !important;
}

/* ---- Search AJAX dropdown ---- */
.fe-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    z-index: 9999;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}
.fe-search-results.show { display: block; }
.fe-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #333;
    transition: background .15s;
}
.fe-search-item:hover { background: #f9f9f9; color: #333; }
.fe-search-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.fe-search-item-info { flex: 1; min-width: 0; }
.fe-search-item-name { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fe-search-item-price { font-size: .82rem; color: #3BB77E; font-weight: 700; }
.fe-search-empty { padding: 20px; text-align: center; color: #888; font-size: .9rem; }
.search-style-2 { position: relative; }

/* ---- Global Container ---- */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Brand / Price Color ---- */
:root {
    --fe-green: #3BB77E;
    --fe-green-dark: #29a56c;
}

.text-brand,
.product-price span:first-child,
.product-price > span:not(.old-price) {
    color: var(--fe-green) !important;
    font-weight: 700;
}

/* ---- Buttons ---- */
.btn-primary {
    background-color: var(--fe-green) !important;
    border-color: var(--fe-green) !important;
    color: #fff !important;
    transition: background-color .25s, transform .2s;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--fe-green-dark) !important;
    border-color: var(--fe-green-dark) !important;
    color: #fff !important;
}
.btn-outline-secondary:hover {
    background-color: var(--fe-green) !important;
    border-color: var(--fe-green) !important;
    color: #fff !important;
}

/* ---- Product Price (large) ---- */
.product-price .text-brand,
#product-price,
.detail-info .product-price span {
    color: var(--fe-green) !important;
    font-weight: 900;
}

/* ---- Product Card ---- */
.product-cart-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    transition: box-shadow .25s, transform .25s;
    background: #fff;
}
.product-cart-wrap:hover {
    box-shadow: 0 8px 24px rgba(59,183,126,.18);
    transform: translateY(-4px);
}
.product-content-wrap {
    padding: 15px;
}
.product-content-wrap h2 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}
.product-content-wrap h2 a {
    color: #333;
}
.product-content-wrap h2 a:hover {
    color: var(--fe-green);
}
.product-price {
    margin-bottom: 10px;
}
.product-price span {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fe-green);
}

/* ---- Action buttons (cart icon) ---- */
.product-action-1.show .action-btn {
    background-color: var(--fe-green) !important;
    border-color: var(--fe-green) !important;
    color: #fff !important;
}
.product-action-1 .action-btn:hover {
    background-color: var(--fe-green-dark) !important;
}

/* ---- Breadcrumb ---- */
.breadcrumb {
    background: transparent;
    padding: 8px 0;
    font-size: .9rem;
}
.breadcrumb a {
    color: #555;
}
.breadcrumb a:hover {
    color: var(--fe-green);
}
.breadcrumb span {
    margin: 0 8px;
    color: #aaa;
}

/* ---- Detail page ---- */
.title-detail {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #222;
    margin-bottom: 15px;
}
.detail-info .short-desc p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}
.detail-info .bt-1 {
    border-top: 1px solid #efefef;
}

/* ---- Gallery thumbnails ---- */
.slider-nav-thumbnails {
    margin-top: 12px;
}
.slider-nav-thumbnails img {
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
}
.slider-nav-thumbnails .slick-current img {
    border-color: var(--fe-green);
}

/* ---- Section titles ---- */
.section-title.style-2 h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    position: relative;
    padding-bottom: 10px;
}
.section-title.style-2 h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--fe-green);
    border-radius: 2px;
}

/* ---- Shop filter bar ---- */
.shop-product-fillter {
    padding: 15px 0;
    border-bottom: 1px solid #efefef;
    margin-bottom: 25px;
}
.shop-product-fillter .btn-sm {
    padding: 5px 14px;
    font-size: .82rem;
    border-radius: 20px;
}

/* ---- Quick view modal ---- */
#feQuickViewModal .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
#feQuickViewModal .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}
#feQuickViewModal #qv-price {
    color: var(--fe-green);
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .title-detail {
        font-size: 1.4rem;
    }
    #product-price {
        font-size: 1.6rem !important;
    }
    .detail-info {
        margin-top: 20px;
    }
    .product-cart-wrap:hover {
        transform: none;
    }
    .col-sm-6 .product-cart-wrap {
        margin-bottom: 15px;
    }
}

/* ---- Page header ---- */
.page-header.breadcrumb-wrap {
    background: #f8f8f8;
    padding: 12px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #efefef;
}

/* ---- Banner features ---- */
.banner-features {
    text-align: center;
    padding: 20px 10px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: box-shadow .2s, transform .2s;
}
.banner-features:hover {
    box-shadow: 0 6px 20px rgba(59,183,126,.15);
    transform: translateY(-3px);
}
.banner-features img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
}
.banner-features h4 {
    font-size: .9rem;
    font-weight: 600;
}
