/* ============================================
   ATMT THEME - WORDPRESS FIX CSS
   Fix các vấn đề khi chuyển từ Haravan sang WP
   ============================================ */

/* --- CSS Variables (từ Haravan theme) --- */
:root {
    --shop-color-bg: #ffffff;
    --shop-color-main: #ffce0e;
    --shop-color-text: #0B2341;
    --shop-color-hover: #e6c01c;
    --shop-color-button: #ffce0e;
    --shop-color-button-text: #0B2341;
    --shop-color-border: #e6e6e6;
    --shop-bg-header: #ffffff;
    --shop-color-header: #0B2341;
    --shop-color-title: #0B2341;
}

/* --- Fix SVG icons bị to --- */
.box-icon svg,
.header-action svg { width: 20px !important; height: 20px !important; }
.svg-ico-search    { width: 20px !important; height: 20px !important; }
.box-icon--close svg { width: 18px !important; height: 18px !important; }
.menuList-main > li > a > svg { width: 12px !important; height: 12px !important; }
.menuList-submain li a svg    { width: 15px !important; height: 15px !important; }

/* --- Logo --- */
.logoimg { max-height: 75px !important; width: auto !important; display: block; }

/* --- Menu cấp 2: Fix hover hiển thị --- */
.mainHeader .header-wrap-menu .menuList-main li.has-submenu:hover > .menuList-submain,
.mainHeader .header-wrap-menu .menuList-main li.has-submenu:focus-within > .menuList-submain {
    pointer-events: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    top: 100% !important;
}

/* --- Search dropdown --- */
.header-action_search:not(.active) .header-action_dropdown { display: none !important; }
.header-action_search.active .header-action_dropdown        { display: block !important; }
.sitenav-search .boxtitle { font-weight: 600; margin-bottom: 10px; }

/* --- Slider images --- */
.slider-owl .slide--image { overflow: hidden; }
.slider-owl .slide--image img,
.slider-owl .slide--image source { width: 100%; display: block; }
.slider-owl img { opacity: 1 !important; }

/* --- Section images --- */
.section-home-service img,
.section-home-about1 img,
.section-home-counter img,
.section-home-blog img,
.section-home-partner img { opacity: 1 !important; }

/* --- Lazyload fix --- */
img.lazyload,
img[data-src] { opacity: 1 !important; }

/* --- Fix WordPress admin bar khi sticky --- */
.admin-bar .mainHeader.header-sticky { top: 32px !important; }
@media screen and (max-width: 782px) {
    .admin-bar .mainHeader.header-sticky { top: 46px !important; }
}

/* --- Owl Carousel nav buttons --- */
.owl-nav .owl-prev,
.owl-nav .owl-next {
    background: rgba(0,0,0,0.35) !important;
    border-radius: 50% !important;
    width: 44px !important; height: 44px !important;
    display: flex !important; align-items: center; justify-content: center;
}
.owl-nav button span { font-size: 0 !important; }

/* ============================================
   FIX: Menu cấp 2 bị che bởi slider
   ============================================ */
.mainHeader--height {
    position: relative;
    z-index: 1000;
}
.mainHeader {
    position: relative;
    z-index: 1000;
}
.mainHeader .header-wrap-menu .menuList-main li.has-submenu .menuList-submain {
    z-index: 9999 !important;
}
/* Slider phải có z-index thấp hơn header */
.section-home-slider,
.slider-owl,
.owl-carousel {
    z-index: 1 !important;
    position: relative;
}

/* ============================================
   FIX: Footer - nền vàng + floating buttons
   ============================================ */

/* Footer background vàng từ file gốc */
footer.mainFooter {
    background-color: #ffce0e !important;
    color: #0B2341 !important;
}
footer.mainFooter .title-footer,
footer.mainFooter h4 {
    color: #0B2341 !important;
    font-weight: 700;
}
footer.mainFooter .content-footer,
footer.mainFooter .address-footer li,
footer.mainFooter p {
    color: #0B2341 !important;
    font-weight: 600;
}
footer.mainFooter .address-footer a {
    color: #0B2341 !important;
}
footer.mainFooter .footer-copyright {
    background: rgba(0,0,0,0.1);
    color: #0B2341 !important;
    font-weight: 600;
    padding: 15px 0;
    margin-top: 20px;
}
.footerNav-social li a {
    color: #0B2341 !important;
    background: rgba(0,0,0,0.1) !important;
}
.footerNav-social li a:hover {
    background: rgba(0,0,0,0.2) !important;
}

/* ============================================
   FIX: Floating social buttons - bên phải cố định
   ============================================ */
.addThis_listSharing {
    position: fixed !important;
    right: 16px !important;
    bottom: 80px !important;
    left: auto !important;
    z-index: 9000 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}
.addThis_listSharing .addThis_listing {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0; margin: 0;
}
.addThis_listSharing .tooltip-text {
    display: none !important;
}
/* Ẩn label text bên cạnh buttons */
.addThis_item a span.tooltip-text { display: none !important; }

/* ============================================
   BLOG: archive.php & single.php - Layout Blog
   ============================================ */

/* Section breadcrumb cho Blog (dùng ảnh thật thay background) */
.layout-blogs .section-breadcrumb {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.layout-blogs .section-breadcrumb > img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}
.layout-blogs .section-breadcrumb .breadcrumb-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    z-index: 2;
    width: 100%;
}
.layout-blogs .section-breadcrumb .breadcrumb-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.layout-blogs .section-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
.layout-blogs .section-breadcrumb .container {
    position: relative;
    z-index: 2;
}
.layout-blogs .section-breadcrumb .breadcrumb-nav {
    padding: 8px 0;
}
.layout-blogs .section-breadcrumb .breadcrumb {
    background: transparent;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.layout-blogs .section-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.85);
}
.layout-blogs .section-breadcrumb .breadcrumb-item.active {
    color: #fff;
}
.layout-blogs .section-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

/* Article single layout */
.article-single .entry-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--shop-color-text);
}
.article-single .article-featured-image img {
    border-radius: 8px;
}
.article-single .article-post-meta {
    font-size: 14px;
    color: #74839f;
    border-bottom: 1px solid var(--shop-color-border);
    padding-bottom: 12px;
    margin-bottom: 20px;
}
.article-single .article-post-meta i {
    color: var(--shop-color-main);
    margin-right: 5px;
}
.article-body {
    font-size: 16px;
    line-height: 1.8;
}
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 10px 0;
}

/* Tags */
.article-tags { font-size: 14px; }
.tag-badge {
    display: inline-block;
    background: rgba(255,206,14,0.2);
    color: var(--shop-color-text);
    padding: 4px 12px;
    border-radius: 20px;
    margin: 3px;
    font-weight: 600;
    transition: background 0.2s;
}
.tag-badge:hover {
    background: var(--shop-color-main);
    color: var(--shop-color-text);
    text-decoration: none;
}

/* Post navigation */
.post-navigation { border-top: 1px solid var(--shop-color-border); padding-top: 20px; }
.nav-post { display: block; padding: 10px; border-radius: 6px; transition: background 0.2s; }
.nav-post:hover { background: #f5f5f5; text-decoration: none; }
.nav-post span { font-size: 13px; color: #888; display: block; }
.nav-post p { font-size: 15px; font-weight: 600; color: var(--shop-color-text); margin: 4px 0 0; }

/* Related posts title */
.related-title {
    font-size: 22px;
    font-weight: 700;
    border-left: 4px solid var(--shop-color-main);
    padding-left: 12px;
    margin-bottom: 20px;
}

/* Blog Sidebar */
.blog-sidebar {
    padding-left: 20px;
}
.blog-sidebar .sidebar-widget {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.blog-sidebar .widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--shop-color-text);
    border-left: 3px solid var(--shop-color-main);
    padding-left: 10px;
    margin-bottom: 15px;
}
.blog-sidebar .sidebar-search input.form-control {
    border-radius: 20px;
    border: 1px solid var(--shop-color-border);
    padding: 8px 18px;
    font-size: 14px;
}
.blog-sidebar .sidebar-categories {
    list-style: none;
    padding: 0; margin: 0;
}
.blog-sidebar .sidebar-categories li {
    border-bottom: 1px solid var(--shop-color-border);
    padding: 8px 0;
}
.blog-sidebar .sidebar-categories li:last-child { border-bottom: none; }
.blog-sidebar .sidebar-categories li a {
    color: var(--shop-color-text);
    font-size: 14px;
}
.blog-sidebar .sidebar-categories li a:hover { color: var(--shop-color-hover); }
.blog-sidebar .sidebar-recent-posts {
    list-style: none; padding: 0; margin: 0;
}
.blog-sidebar .sidebar-recent-posts li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--shop-color-border);
}
.blog-sidebar .sidebar-recent-posts li:last-child { border-bottom: none; }
.blog-sidebar .sidebar-recent-posts .recent-thumb img {
    width: 65px;
    height: 55px;
    object-fit: cover;
    border-radius: 5px;
}
.blog-sidebar .sidebar-recent-posts .recent-info a {
    font-size: 14px;
    font-weight: 600;
    color: var(--shop-color-text);
    display: block;
    line-height: 1.3;
}
.blog-sidebar .sidebar-recent-posts .recent-info a:hover { color: var(--shop-color-hover); }
.blog-sidebar .sidebar-recent-posts .recent-date {
    font-size: 12px;
    color: #999;
    display: block;
    margin-top: 4px;
}

/* Archive Pagination */
.pagination-shop .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 3px;
    border-radius: 50%;
    border: 1px solid var(--shop-color-border);
    color: var(--shop-color-text);
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}
.pagination-shop .page-numbers.current,
.pagination-shop .page-numbers:hover {
    background: var(--shop-color-main);
    border-color: var(--shop-color-main);
    color: var(--shop-color-text);
}
.pagination-shop .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 30px 0 10px;
}

/* No article text */
.txt-noArticle {
    font-size: 16px;
    color: #999;
    padding: 40px 0;
    text-align: center;
    width: 100%;
}

/* Archive image fit */
.article-loop .article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .layout-blogs .section-breadcrumb .breadcrumb-content h1 { font-size: 22px; }
    .blog-sidebar { padding-left: 0; margin-top: 30px; }
    .article-single .entry-title { font-size: 22px; }
}

/* ============================================
   ARTICLE SINGLE: layout-article (single.php)
   ============================================ */

/* Banner breadcrumb cho layout-article */
.layout-article .section-breadcrumb {
    position: relative;
    overflow: hidden;
    padding: 0;
}
.layout-article .section-breadcrumb > img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    display: block;
}
.layout-article .section-breadcrumb .breadcrumb-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    z-index: 2;
    width: 100%;
}
.layout-article .section-breadcrumb::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}
.layout-article .section-breadcrumb .container { position: relative; z-index: 2; }
.layout-article .section-breadcrumb .breadcrumb {
    background: transparent;
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.layout-article .section-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,0.85); }
.layout-article .section-breadcrumb .breadcrumb-item.active { color: #fff; }
.layout-article .section-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.7); }

/* Heading article */
.heading-article { margin: 30px 0 20px; }
.heading-article h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--shop-color-text);
    margin-bottom: 15px;
}

/* Tags */
.box-article-tags { margin: 20px 0; font-size: 14px; }
.box-article-tags .tags-title { margin-right: 8px; }
.box-article-tags .tag {
    display: inline-block;
    background: rgba(255,206,14,0.15);
    color: var(--shop-color-text);
    padding: 4px 12px;
    border-radius: 20px;
    margin: 3px;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
}
.box-article-tags .tag:hover {
    background: var(--shop-color-main);
    color: var(--shop-color-text);
    text-decoration: none;
}

/* ============================================
   WOOCOMMERCE FIX: Tràn viền trang Sản phẩm/Shop (v1.17)
   ============================================ */

/* Đảm bảo các wrapper chính luôn căn giữa và có max-width */
.woocommerce-page .wrapperMain_content,
.woocommerce-page .layout-collections,
.woocommerce-page #primary.content-area,
.woocommerce-page .wrapper-mainCollection,
.woocommerce-page #main.site-main,
.woocommerce-page .layout-productDetail,
.woocommerce-page .productDetail-information {
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    float: none !important;
    clear: both !important;
}

/* Ép container luôn có max-width và căn giữa */
.woocommerce-page .container,
.woocommerce-page .container-pd-parent,
.woocommerce-page .container-pd0,
.woocommerce-page .breadcrumb-shop .container {
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Breadcrumb woocommerce mặc định */
.woocommerce-breadcrumb {
    max-width: 1140px !important;
    margin: 20px auto !important;
    padding: 0 15px !important;
    display: block !important;
}

/* Sidebar & Content area columns fix */
.woocommerce-page .row.col-content {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

/* Fix product grid width */
ul.products {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* Related products section fix */
.related.products,
.upsells.products {
    max-width: 1140px !important;
    margin: 40px auto !important;
    padding: 0 15px !important;
}

/* Breadcrumb shop banner section fix */
.section-breadcrumb {
    width: 100% !important;
    max-width: none !important; /* Banner nền có thể tràn viền */
    background-color: #f5f5f5;
    margin-bottom: 20px;
}
.section-breadcrumb .container {
    max-width: 1140px !important;
    margin: 0 auto !important;
}
.flex-row-articleToolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.articleToolbar-title p {
    font-size: 15px;
    color: var(--shop-color-text);
    margin: 0;
    font-weight: 500;
}
.articleToolbar-title p span {
    font-weight: 700;
}
.articleToolbar--nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}
.articleToolbar--nav a {
    color: var(--shop-color-text);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.articleToolbar--nav a:hover { color: var(--shop-color-hover); text-decoration: none; }
.articleToolbar--nav .separator {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(11,35,65,0.3);
    vertical-align: middle;
    margin: 0 5px;
}
.articleToolbar--nav svg {
    width: 10px;
    height: 16px;
    vertical-align: middle;
}

/* Comment section */
.article-comment { margin-top: 40px; }
.article-comment .title-bl h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--shop-color-text);
    border-left: 4px solid var(--shop-color-main);
    padding-left: 12px;
    margin-bottom: 20px;
}
.article-comment-form { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.06); margin-bottom: 30px; }
.article-comment .comment_form .form-control {
    border: 1px solid var(--shop-color-border);
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
}
.article-comment #comment-submit {
    background: var(--shop-color-main);
    color: var(--shop-color-text);
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}
.article-comment #comment-submit:hover { background: var(--shop-color-hover); }
.comment-user {
    border-bottom: 1px solid var(--shop-color-border);
    padding: 15px 0;
}
.comment-user .author {
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}
.comment-user .author .date { font-size: 13px; color: #999; }

/* Article related (Owl Carousel) */
.article-related {
    padding: 60px 0;
    background: #f5f5f5;
    margin-top: 40px;
}
.title-blog-related {
    font-size: 24px;
    font-weight: 700;
    color: var(--shop-color-text);
    margin-bottom: 25px;
    position: relative;
}
.title-blog-related span {
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--shop-color-main);
}
.list-blogs-related .article-loop { padding: 0 5px; }
.list-blogs-related .article-loop .article-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}
.list-blogs-related .article-loop .article-inner:hover { transform: translateY(-5px); }
.list-blogs-related .article-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .heading-article h1 { font-size: 22px; }
    .flex-row-articleToolbar { flex-direction: column; align-items: flex-start; }
    .article-related { padding: 40px 0; }
    .layout-article .section-breadcrumb > img { max-height: 180px; }
}

/* ============================================
   TOPBAR SEARCH: nút kính lúp + dropdown
   ============================================ */

/* Nút kính lúp trong topbar */
.topbar-search-wrapper {
    display: flex;
    align-items: center;
    border-left: 1px solid rgba(0,0,0,0.12);
    padding-left: 12px;
    margin-left: 6px;
}
.topbar-search-btn {
    background: none;
    border: none;
    padding: 4px 6px;
    cursor: pointer;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.topbar-search-btn .search-text {
    font-size: 13px;
    font-weight: 500;
}
.topbar-search-btn:hover {
    color: var(--shop-color-main);
}
.topbar-search-btn svg {
    width: 16px !important;
    height: 16px !important;
}
/* Topbar right cần flex */
.topbar .topbar-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    height: 100%;
}

/* Dropdown search phía dưới topbar */
.topbar-search-dropdown {
    background: #fff;
    border-top: 2px solid var(--shop-color-main);
    border-bottom: 1px solid var(--shop-color-border);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 14px 0;
    position: relative;
    z-index: 999;
    animation: slideDownFade 0.25s ease;
}
@keyframes slideDownFade {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.topbar-search-form { width: 100%; }
.topbar-search-inner {
    display: flex;
    align-items: center;
    border: 2px solid var(--shop-color-main);
    border-radius: 30px;
    background: #fff;
    overflow: hidden;
    padding: 0 5px 0 18px;
}
.topbar-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    padding: 10px 0;
    color: var(--shop-color-text);
    background: transparent;
}
.topbar-search-submit,
.topbar-search-close {
    background: none;
    border: none;
    padding: 8px 10px;
    cursor: pointer;
    color: var(--shop-color-text);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.topbar-search-submit:hover { color: var(--shop-color-main); }
.topbar-search-close {
    border-left: 1px solid var(--shop-color-border);
    color: #999;
}
.topbar-search-close:hover { color: #333; }

/* AJAX autocomplete */
.topbar-search-results {
    margin-top: 8px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--shop-color-border);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-height: 300px;
    overflow-y: auto;
    display: none;
}
.topbar-search-results .search-result-ac {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    text-decoration: none;
    color: var(--shop-color-text);
    transition: background 0.15s;
}
.topbar-search-results .search-result-ac:hover { background: #f9f9f9; }
.topbar-search-results .search-result-ac img { width: 45px; height: 45px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.topbar-search-results .search-ac-title { font-size: 14px; font-weight: 600; line-height: 1.3; }
.topbar-search-results .search-ac-more { padding: 10px 15px; text-align: center; font-size: 13px; font-weight: 600; color: var(--shop-color-main); }

/* ============================================
   SEARCH PAGE: search.php
   ============================================ */

.layout-searchPage .heading-page {
    margin: 30px 0 20px;
}
.layout-searchPage .heading-page h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--shop-color-text);
}
.layout-searchPage .heading-page .subtxt {
    font-size: 15px;
    color: #666;
    margin-top: 5px;
}
.layout-searchPage .subtext-result {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
}

/* Search result card */
.search-result-inner {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}
.search-result-inner:hover { transform: translateY(-4px); }
.search-result-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.search-result-detail {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.search-result-type {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.search-result-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}
.search-result-title a { color: var(--shop-color-text); }
.search-result-title a:hover { color: var(--shop-color-hover); text-decoration: none; }
.search-result-meta { font-size: 13px; color: #888; margin-bottom: 8px; }
.search-result-excerpt { font-size: 14px; color: #555; line-height: 1.6; flex: 1; }
.search-result-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--shop-color-text);
    margin-top: 12px;
    transition: gap 0.2s;
}
.search-result-more:hover { color: var(--shop-color-hover); gap: 10px; text-decoration: none; }

/* Search breadcrumb */
.search-breadcrumb { padding: 10px 0; background: #f5f5f5; }

/* Empty search state */
.expanded-message { padding: 50px 20px; }
.expanded-message h2 { font-size: 24px; font-weight: 700; margin-bottom: 15px; }
.expanded-message .subtext { font-size: 15px; color: #666; }
.search-field { margin-top: 20px; }
.search-page { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.search-page .search_box.form-control {
    border-radius: 30px;
    border: 2px solid var(--shop-color-border);
    padding: 10px 20px;
    font-size: 15px;
    flex: 1;
}
.search-page .search_box.form-control:focus { border-color: var(--shop-color-main); outline: none; box-shadow: none; }
.btn-search-submit {
    background: var(--shop-color-main);
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-search-submit:hover { background: var(--shop-color-hover); }

@media (max-width: 768px) {
    .layout-searchPage .heading-page h1 { font-size: 22px; }
    .search-result-image img { height: 160px; }
}
