/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

/* ===== Account Sidebar Navigation – Hover & Active State ===== */
.my_account_left_column .list-group-item {
    border-right: 3px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Hover effect */
.my_account_left_column .list-group-item:hover,
.my_account_left_column .list-group-item:focus {
    background-color: #fff8ec;
    border-right-color: #f4a508;
}

.my_account_left_column .list-group-item:hover a,
.my_account_left_column .list-group-item:focus a {
    color: #f4a508 !important;
    text-decoration: none;
}

.my_account_left_column .list-group-item:hover a i,
.my_account_left_column .list-group-item:focus a i {
    color: #f4a508;
}

/* Active (currently selected) tab */
.my_account_left_column .list-group-item.active-nav {
    background-color: #fff3d6;
    border-right-color: #f4a508;
}

.my_account_left_column .list-group-item.active-nav a {
    color: #f4a508 !important;
    font-weight: 600;
}

.my_account_left_column .list-group-item.active-nav a i {
    color: #f4a508;
}

/* ===== Standardize Blog Grid Card Heights & Layout ===== */
.blog_list_grid {
    display: flex;
    flex-wrap: wrap;
}

.blog_list_grid .product_list_item,
.blog_list_grid .block_blog {
    display: flex;
    flex-direction: column;
}

.blog_list_grid .pro_outer_box {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
}

.blog_list_grid .pro_second_box {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blog_list_grid .blok_blog_short_content {
    flex: 1 1 auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    min-height: 80px;
}

.blog_list_grid .blog_image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ===== Professional Styling for Bottom Category SEO Description Box ===== */
#category-description.style_content {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 28px 32px !important;
    margin: 35px 0 25px 0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    line-height: 2.2 !important;
    color: #334155 !important;
    clear: both !important;
}

#category-description h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 16px 0 !important;
    padding-bottom: 10px !important;
    border-bottom: 2px solid #f1f5f9 !important;
}

#category-description h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #0f766e !important;
    margin: 22px 0 10px 0 !important;
}

#category-description p {
    font-size: 14.5px !important;
    line-height: 2.2 !important;
    margin-bottom: 14px !important;
    color: #475569 !important;
}

#category-description ul {
    padding-right: 22px !important;
    margin: 12px 0 !important;
}

#category-description li {
    margin-bottom: 8px !important;
    font-size: 14px !important;
    line-height: 2.1 !important;
}

/* Highlighted, Professional Internal Links Across All Descriptions and Blog Articles */
#category-description a,
.description-Category a,
.blog_internal_links a,
.product-description a,
.product-information a,
.pro_desc a,
.article-content a,
.st_blog_content a {
    color: #0284c7 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1.5px solid #38bdf8 !important;
    padding-bottom: 1px !important;
    transition: all 0.2s ease !important;
}

#category-description a:hover,
.description-Category a:hover,
.blog_internal_links a:hover,
.product-description a:hover,
.product-information a:hover,
.pro_desc a:hover,
.article-content a:hover,
.st_blog_content a:hover {
    color: #f4a508 !important;
    border-bottom-color: #f4a508 !important;
    background-color: #fffbeb !important;
    border-radius: 3px !important;
    padding: 2px 4px !important;
}

/* Align blog category header with right sidebar */
.page-blog-category .page_heading {
    display: none !important;
}

/* Widen related brands container and banner area across all category pages */
.category_wide_brands_slider,
#brands_slider_container_d40e96ddab {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 15px !important;
    margin-bottom: 25px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 16px 20px 20px 20px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03) !important;
}

#category_related_brands .swiper-slide {
    width: 155px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#category_related_brands .brands_slider_item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 8px 12px !important;
    transition: all 0.25s ease !important;
    height: 85px !important;
    width: 100% !important;
}

#category_related_brands .brands_slider_item:hover {
    background: #ffffff !important;
    border-color: #f4a508 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(244, 165, 8, 0.15) !important;
}

#category_related_brands .brands_slider_item img {
    max-width: 100% !important;
    max-height: 65px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
