/* Eight top-level items, not five, and the bar is uppercase: the theme's
   20px/19px overflows the header row well before the hamburger takes over. */
.main-menu>ul>li>a {
    padding: 30px 0;
    font-size: 16px;
}

.main-menu>ul>li {
    margin: 0 12px;
}

@media (max-width: 1299.98px) {
    .main-menu>ul>li>a {
        font-size: 14px;
    }

    .main-menu>ul>li {
        margin: 0 8px;
    }
}

/* 992-1199 is the narrowest width that still shows the desktop bar at all
   (every .th-menu-toggle is d-lg-none). Below this it drops under the logo
   onto its own row. */
@media (max-width: 1199.98px) {
    .main-menu>ul>li>a {
        font-size: 13px;
    }

    .main-menu>ul>li {
        margin: 0 6px;
    }
}

.header-logo {
    padding-top: 5px;
    padding-bottom: 15px;
}

.hero-style1 {
    position: relative;
    z-index: 6;
    padding: 180px 0;
}

.contact-feature .box-text {
    line-height: 24px;
    max-width: 100% !important;
}

.th-menu-toggle {
    width: 45px;
    height: 45px;
}

.th-menu-wrapper .th-menu-area {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

/* Replaces the theme's max-height: calc(100vh - 200px): on iOS Safari 100vh excludes the toolbars, so
   the scroller's last rows land under them, unreachable. Filling the column measures what is on screen. */
.th-menu-wrapper .th-mobile-menu {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
}

.th-mobile-menu ul li a {
    font-size: 18px;
    font-weight: 600;
    padding-left: 16px;
}

.mobile-logo img:not([draggable]) {
    max-width: 50%;
    height: auto;
}

.header-layout1 .th-menu-toggle {
    margin-left: 10px;
}

@media only screen and (max-width: 600px) {
    #logo_img {
        max-width: 70%;
    }

    .product-detail-right{
      margin-top: 30px;
    }
}

.blog-card .blog-img img {
    height: 200px;
    object-fit: cover;
    object-position: center center;
}

.th-mobile-menu ul .th-item-has-children>a:after {
    display: none;
}

.th-mobile-menu ul .th-item-has-children>a .th-mean-expand {
    font-size: 18px;
}
body {
    font-family: "Roboto", sans-serif;
    line-height: 24px;
}

.dropdown_search.show .search-list,
.dropdown-search.show .search-list {
    display: block !important;
    transform-origin: top center;
    animation: rotateX 1000ms 60ms ease-in-out forwards;
}

@keyframes rotateX {
    0% {
        opacity: 0;
        transform: rotateX(-90deg);
    }

    100% {
        opacity: 1;
        transform: rotateX(0deg);
    }
}

.form-search,

.dropdown_search {
}

.dropdown_search form {
}

.input-search {
    border: 2px solid #07ff0b !important;
}

.dropdown_search.show .input-search,
.dropdown-search.show .input-search {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.search-list {
    position: absolute;
    width: 100%;
    z-index: 600;
    padding: 5px;
    display: none;
    opacity: 0;
    background-color: #fff;
    border: 2px solid #07ff0b;
    border-top: none;
    border-bottom-left-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
    overflow: hidden;

}

.search-list>div {
    height: auto;
    overflow: auto;
    overflow-x: hidden;
    max-height: 270px !important;
}

.search_list{
}

.search-list>div::-webkit-scrollbar {
    width: 5px;
}

.search-list>div::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px grey;
    border-radius: 10px;
}

.search-list>div::-webkit-scrollbar-thumb {
    background: rgb(7, 7, 7);
    border-radius: 10px;
}

.search-list>div::-webkit-scrollbar-thumb:hover {
    background: #009eb3;
}

.product-search {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
}

.product-search img {
    width: 60px;
    height: 50px;
}

.product-search a {
    margin-left: 20px;
}

.search_list {
    margin-left: 10%;
}
.carousel-control-prev {
    background: none !important;
    border: none !important;

}

.carousel-control-next{
    background: none !important;
    border: none !important;

}

.header-search{
 background: transparent !important;
}
.header-search input{
 color: #000 !important;
}
.header-search input::placeholder{
 color: #555;
}
/* .vlt-submenu outranks the theme's own .sub-menu selector. */
.main-menu ul.vlt-submenu {
    display: none;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    visibility: visible;
    opacity: 1;
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
    transition: none;
    -webkit-transition: none;
    z-index: auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 0 0 16px;
    box-shadow: none;
    background-color: transparent;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.main-menu li.item-sanpham.vlt-open > ul.vlt-submenu {
    display: block;
}

/* Tied to .vlt-open, not :hover — avoids a minus on a closed row. */
.main-menu ul.sub-menu li.item-sanpham.menu-item-has-children > a:hover:after {
    content: "\2b";
    transform: none;
    -webkit-transform: none;
    -ms-transform: none;
}

.main-menu ul.sub-menu li.item-sanpham.vlt-open > a:after,
.main-menu ul.sub-menu li.item-sanpham.vlt-open > a:hover:after {
    content: "\f068";
}

/* Both selectors: pu-erh is nested AND a parent. */
.main-menu ul.vlt-submenu .item-sanpham,
.main-menu ul.vlt-submenu .item-sanpham.menu-item-has-children {
    height: auto;
    min-height: 0;
    padding-top: 3px;
    padding-bottom: 3px;
}

.main-menu ul.vlt-submenu a {
    font-size: 15px;
    line-height: 24px;
}

/* overflow-x hidden (hover's bullet); fixed width (theme's max-content grew this to ~950px). */
.main-menu > ul > li > ul.sub-menu {
    width: 400px;
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Theme's hover bullet re-wrapped these names — removed. */
.main-menu ul.sub-menu li.item-sanpham a:hover {
    padding-left: 0;
}

.main-menu ul.sub-menu li.item-sanpham a:before {
    display: none;
}

/* Named by class — the theme zeroes margin on every sub-menu li. */
.main-menu ul.sub-menu li.item-sanpham,
.th-mobile-menu li.item-sanpham {
    margin-bottom: 14px;
}

.main-menu ul.vlt-submenu li.item-sanpham {
    margin-bottom: 4px;
}

.main-menu ul.sub-menu li.item-sanpham:last-child,
.main-menu ul.vlt-submenu li.item-sanpham:last-child,
.th-mobile-menu li.item-sanpham:last-child {
    margin-bottom: 0;
}

.item-sanpham img {
    border-radius: 6px;
}

.item-sanpham.menu-item-has-children {
    height: auto;
    flex-wrap: wrap;
    align-content: flex-start;
    padding-top: 15px;
    padding-bottom: 15px;
}

.item-sanpham > ul.vlt-submenu {
    flex: 0 0 100%;
    margin-top: 12px;
}

/* The 100px row is the top-level thumbnail's height; a nested row carries no
   image and was 114px of mostly nothing. Desktop climbs down already, but by
   a .main-menu-scoped selector the drawer never matched. */
.th-mobile-menu ul.vlt-submenu li.item-sanpham {
    height: auto;
    min-height: 0;
    margin-bottom: 4px;
}

.th-mobile-menu ul.vlt-submenu li.item-sanpham > a {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 15px;
}

/* Clamped to 5 lines so a long name can't grow a tile past its neighbours. */
.line-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Same partial, 3 pages — fixed height + clamp keep tiles identical. */
.vlt-category-tile {
    position: relative;
    height: 280px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.vlt-category-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.15) 75%,
        rgba(0, 0, 0, 0.05) 100%);
}

.vlt-tile-cover {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.vlt-category-tile .box-title,
.vlt-category-tile .box-subtitle {
    position: relative;
    z-index: 3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.vlt-category-tile .box-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.vlt-category-tile .box-title a {
    color: #fff;
}

.vlt-category-tile .box-title a:hover {
    color: var(--theme-color2);
}

.vlt-category-tile .box-subtitle {
    color: #F0E2C6;
    margin-bottom: 0;
}

#input_search_mobie {
    margin-top: 5px;
}
#dropdown_search_mobie{
       display: none;
    }
@media only screen and (max-width: 1024px){
    #dropdown_search_mobie{
       display: block;
    }
}

.blog-single .blog-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

@media only screen and (max-width: 767px) {
    .blog-single .blog-img img {
        height: 240px;
    }
}

/* Zalo's icon carries its own colour — theme's green tile was a mistake. */
.contact-feature .box-icon.vlt-icon-plain {
    background-color: transparent;
    line-height: 0;
}

.contact-feature .box-icon.vlt-icon-plain img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
}

/* Selects, not pills — 11 clays, 50 shapes, 8 artisans for one clay alone. */
.vlt-facets {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 28px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.vlt-facets .vlt-facet {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vlt-facet-legend {
    flex: none;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--title-color);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Restyled, not replaced — native dropdown still has to work on a phone. */
.vlt-facet-select {
    max-width: 260px;
    padding: 7px 34px 7px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.4;
    color: var(--body-color);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    /* The chevron, inline so it costs no request and cannot 404. */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%2354595F' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color .2s, color .2s;
}

.vlt-facet-select:hover {
    border-color: var(--theme-color);
}

.vlt-facet-select:focus {
    outline: none;
    border-color: var(--theme-color);
    box-shadow: 0 0 0 3px rgba(1, 125, 3, 0.12);
}

.vlt-facet-select:not([data-empty]) {
    color: var(--title-color);
}

.vlt-facet-reset {
    padding: 7px 4px;
    font-size: 14px;
    color: var(--body-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.vlt-facet-reset:hover {
    color: var(--theme-color);
}

.vlt-facet-go {
    padding: 7px 18px;
    border: 1px solid var(--theme-color);
    border-radius: 6px;
    background: var(--theme-color);
    color: #fff;
    font-size: 14px;
}

@media (max-width: 767px) {
    .vlt-facets {
        display: grid;
        gap: 10px;
    }

    .vlt-facets .vlt-facet {
        justify-content: space-between;
    }

    .vlt-facet-select {
        flex: 1;
        max-width: none;
        margin-left: 12px;
    }
}

/* Fixed height, not the photo's own ratio: the source is portrait and the
   band is wide, so the stylesheet reserves the box and object-fit crops.
   Tag-qualified — the theme's img:not([draggable]){height:auto} outranks a
   bare class and flattens this back to the full frame. */
img.vlt-hero-band {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    img.vlt-hero-band {
        height: 240px;
    }
}

/* The files are already 4:3, so width/height on the tag reserves the box. */
.vlt-shop-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Photo to the card edge; the theme insets it by the card's own padding. The top
   corners are restated because .product-img clips its overflow, so the card's
   radius never reaches the image. */
.th-product.product-grid {
    padding: 0;
}

.th-product.product-grid .product-img {
    margin: 0;
    border-radius: 20px 20px 0 0;
}

.th-product.product-grid .product-content {
    padding: 18px;
}
