/*
Theme Name: natora
Description: Giao dien website natora
Theme URI: https://natora.vn
Author URI: https://vutruso.com
Template: flatsome
Version: 3.5
*/


/* ============================================================
   1. BASE & TYPOGRAPHY
   ============================================================ */

body {
    font-size: 16px !important;
}

b,
strong {
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6,
.heading-font {
    color: #f69c1f;
}


/* ============================================================
   2. HEADER
   ============================================================ */

.logo h1 {
    margin-bottom: 0;
}

.header-bottom-nav .nav-dropdown-default {
    padding: 4px !important;
}

.header-bottom-nav .nav-dropdown.nav-dropdown-default > li > a {
    border-bottom: 1px dashed #aee4e638;
}

.header-search-form-wrapper .icon-search {
    color: #fff;
}

.form-flat input:not([type=submit]),
.form-flat select,
.form-flat textarea {
    background: #fff !important;
    border-color: #e9e3e5 !important;
}

/* ============================================================
   3. NAVIGATION
   ============================================================ */

.nav > li > a,
.mobile-sidebar-levels-2 .nav > li > ul > li > a {
    font-weight: 400;
    font-style: normal;
}

.nav-pagination > li > a {
    border-color: var(--fs-color-primary);
}

.nav-pagination > li > .current {
    background-color: var(--fs-color-primary) !important;
    border-color: var(--fs-color-primary) !important;
}

.nav-pagination > li > a:hover {
    background-color: var(--fs-color-primary) !important;
    border-color: var(--fs-color-primary) !important;
}

.nav-previous,
.nav-next {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 90%;
}

ul.links li a {
    color: var(--fs-color-primary);
}


/* ============================================================
   4. SECTION TITLE
   ============================================================ */

.section-title-main {
    color: var(--fs-color-primary);
}

.section-title a {
    display: block;
    font-size: .66em;
    margin-left: auto;
    padding-left: 15px;
    font-family: sans-serif;
    font-weight: normal;
}

.section-title b {
    background-color: transparent;
}

/* Section title — normal alignment */
.section-title-normal span {
    margin: 0;
    color: #f69c1f;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 30px;
    line-height: 38px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    width: 100%;
}

.section-title-normal .section-title-main::after {
    content: "";
    display: block;
    position: absolute;
    width: 125px;
    height: 7px;
    top: initial;
    bottom: -5px;
    left: 0;
    margin: 0 auto;
}

/* Section title — center alignment */
.section-title-center span {
    margin: 0;
    color: #f69c1f;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 30px;
    line-height: 38px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 6px;
    width: 100%;
}

.section-title-center .section-title-main::after {
    content: "";
    display: block;
    position: absolute;
    width: 125px;
    height: 7px;
    top: initial;
    bottom: -5px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* Section title arrow decoration (shared) */
.section-title-main::after,
.section-title-center .section-title-main::after,
.section-title-normal .section-title-main::after {
    background: transparent url(https://natora.updata.top/wp-content/uploads/2026/03/mui-ten.png) center no-repeat;
}

/* Custom title layout */
.custom-title > p > a {
    float: left;
    line-height: 40.5px;
    display: block;
    margin-left: auto;
    padding-left: 15px;
    font-family: sans-serif;
    font-weight: normal;
}

.custom-title .section-title {
    float: left;
    width: 91.3%;
}

.title-wrapper {
    font-size: 16px;
}

.title-lienhe {
    padding-bottom: 0 !important;
}

.single-product-lienhe .section-title-normal {
    border-bottom: 1px solid #603d2e;
}

.single-product-lienhe .section-title-normal span {
    border-bottom: none;
}


/* ============================================================
   5. WIDGET & SIDEBAR
   ============================================================ */

.widget .is-divider {
    margin-top: 3px;
    border-bottom: 2px solid var(--fs-color-primary);
    background: transparent;
}

.widget .badge-outline .badge-inner {
    border-radius: 8px;
}

.post-sidebar .badge {
    height: 4.8em;
    width: 4.8em;
}

.flatsome_recent_posts .badge {
    height: 4.8em;
    width: 4.8em;
}

#product-sidebar {
    padding: 0 15px 15px;
}

/* Icon Box Widget — Sidebar (#block_widget-2) */
#block_widget-2 {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: hidden;
    padding: 0 !important;
    margin-bottom: 1.5em;
    background: #fff;
}

#block_widget-2 .icon-box {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

#block_widget-2 .icon-box:hover {
    background-color: #fafafa;
}

#block_widget-2 .icon-box:last-of-type {
    border-bottom: none;
}

#block_widget-2 .gap-element {
    display: none !important;
}

#block_widget-2 .icon-box-img {
    width: 42px !important;
    height: 42px;
    background: #f5f5f5;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#block_widget-2 .icon-box-img .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

#block_widget-2 .icon-box-img img {
    width: 26px !important;
    height: auto;
    padding: 0 !important;
}

#block_widget-2 .icon-box-left {
    align-items: center;
}

#block_widget-2 .icon-box-text p {
    margin: 0;
    line-height: 1.35;
}

#block_widget-2 .icon-box-text strong {
    font-size: 13.5px;
    font-weight: 600;
    color: #222;
    display: block;
}

#block_widget-2 .icon-box-text span {
    font-size: 12px !important;
    color: #888;
    line-height: 1.4;
}


/* ============================================================
   6. ENTRY META (Blog Post)
   ============================================================ */

.entry-meta.uppercase.is-xsmall {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    letter-spacing: 0.03em;
    color: #888;
}

.entry-meta .posted-on,
.entry-meta .byline,
.entry-meta .cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.entry-meta svg {
    float: none !important;
    margin: 0 !important;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    opacity: 0.6;
}

.entry-meta a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.entry-meta a:hover {
    color: #333;
}

/* Divider dọc giữa các span */
.entry-meta .posted-on::after,
.entry-meta .byline::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #ddd;
    margin-left: 18px;
}

/* Category pill */
.entry-meta .cat {
    margin-left: 0 !important;
}

.entry-meta .cat a {
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    letter-spacing: 0.04em;
}

.entry-meta .cat a:hover {
    background: #ececec;
    color: #333;
}


/* ============================================================
   7. BLOG ARCHIVE & CATEGORY
   ============================================================ */

.archive .page-title {
    text-align: left;
    padding-left: 1%;
}

.archive .product-title {
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.archive .price {
    font-size: 18px;
    font-weight: 700;
}

.archive #page-breadcrumbs {
    padding-left: 40px !important;
}

.category .large-8 {
    padding: 0 43px 30px;
}

.page-title-inner h1 {
    margin-top: 8px;
}

.page-title-inner .woocommerce-result-count,
.page-title-inner .woocommerce-ordering {
    display: none !important;
}

.post-item img {
    border-radius: 8px;
}


/* ============================================================
   8. SINGLE POST
   ============================================================ */

.blog-single .large-8,
.post-sidebar {
    padding: 0 15px 15px !important;
}

.single-post .entry-header-text-top {
    padding-bottom: 0;
    margin-bottom: 0;
}

.single-post .entry-content {
    padding-top: 15px;
}

.single-post .is-divider {
    background-color: var(--fs-color-primary) !important;
}

.single-post .entry-meta {
    margin-bottom: 12px;
}

.single-post .posted-on {
    margin-right: 10px;
}

.single-post .slider-nav-outside .flickity-prev-next-button.previous {
    right: 97%;
}

.single-post .slider-nav-outside .flickity-prev-next-button.next {
    left: 97%;
}

h1.entry-title.mb {
    margin-bottom: 15px;
}


/* ============================================================
   9. SINGLE PRODUCT
   ============================================================ */

.single-product #text-2 {
    display: none;
}

.product-info {
    padding-top: 0;
}

.product-info .price-wrapper .price {
    color: red;
    font-weight: normal;
}

.product-short-description {
    clear: both;
    display: block;
    margin-top: 10px;
    float: left;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.product-section-title-related {
    border-bottom: 2px solid var(--fs-color-primary);
    padding: 0 0 8px;
    position: relative;
    display: block;
    clear: both;
    margin-top: 2%;
    margin-bottom: 2%;
}

.product-section-title-related::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 0;
    z-index: 9999;
    height: 3px;
    display: block;
    width: 220px;
}

.product-section h2 {
    font-size: 16px;
    margin-top: 13px;
}

.product-section .entry-content {
    padding-top: 5px;
}

.product-page-sections {
    border-top: 1px solid #caecee;
}

.product-page-sections .product-section {
    border: none;
}

.related-products-wrapper {
    border: none;
}

.row-divided > .col + .col:not(.large-12) {
    border-left: 1px solid #37b3b914;
}

.row-divided.row-reverse > .col + .col:not(.large-12) {
    border-left: 0;
    border-right: none;
}

.article-inner.has-shadow .entry-header-text-top {
    padding-top: 0;
}

/* Khuyến mãi block */
.product-main .khuyen-mai {
    background: #F1F8E9;
    border-radius: 4px;
    border: 1px dashed #f69c1f;
    padding: 10px;
    margin-bottom: 20px;
    display: block;
    clear: both;
    float: left;
    width: 100%;
}

.product-main .khuyen-mai li {
    list-style: none;
    color: #3a3a3a;
    font-size: 14px;
    background: url(https://natora.updata.top/wp-content/uploads/2026/04/check2x.png) no-repeat left 3px / 14px;
    padding-left: 23px;
    margin-left: 0;
}


/* ============================================================
   10. WOOCOMMERCE
   ============================================================ */

span.amount {
    color: red;
    font-weight: 700;
    white-space: nowrap;
}

a.zoom-button {
    color: var(--fs-color-primary);
}

/* Layered nav */
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item::after,
.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item::before {
    content: " ";
    display: table;
}

.woocommerce .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item::after {
    clear: both;
}

.woocommerce .col-sidebar .woocommerce-widget-layered-nav-list .woocommerce-widget-layered-nav-list__item a::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid #717171;
    border-radius: 50%;
    position: absolute;
    left: 18px;
    top: 10px;
    background: white;
}

.woocommerce-widget-layered-nav-list__item.chosen a::before {
    background: #E7B211;
    border-color: #E7B211;
    top: -2px;
    left: -2px;
}

.woocommerce-widget-layered-nav-list__item.chosen a {
    padding: 7px 8px 8px 0 !important;
}

.devvn_prod_cmt,
div#reviews.woocommerce-Reviews {
    max-width: unset;
}


/* ============================================================
   11. COMMENTS
   ============================================================ */

#comments .comment-respond {
    background-color: rgb(5 161 168 / 4%);
    border-radius: 8px;
    padding: 15px 0 0;
}

.comment-respond input[type=email],
.comment-respond input[type=number],
.comment-respond input[type=search],
.comment-respond input[type=tel],
.comment-respond input[type=text],
.comment-respond input[type=url],
.comment-respond textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
    border-radius: 4px;
    border-color: var(--fs-color-primary);
}


/* ============================================================
   12. FOOTER
   ============================================================ */

.footer-wrapper .col {
    padding-bottom: 0;
}

.absolute-footer {
    padding: 10px 0;
}


/* ============================================================
   13. MISC / DECORATIVE
   ============================================================ */

/* Góc cắt hình ảnh (clip-path corner effect) */
.section-anh .img-inner::before,
.section-du-an .box-image::before {
    content: "";
    display: inline-block;
    background: #fff;
    width: 40px;
    height: 40px;
    clip-path: polygon(100% 0, 0 0, 0 100%);
    position: absolute;
    left: -1px;
    top: -1px;
    z-index: 9;
}

.section-anh .img-inner::after,
.section-du-an .box-image::after {
    content: "";
    display: inline-block;
    background: #fff;
    width: 40px;
    height: 40px;
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    position: absolute;
    right: -1px;
    bottom: -1px;
    z-index: 9;
}

.home .icon-angle-right {
    position: relative;
}

.flickity-prev-next-button {
    color: var(--fs-color-primary);
}

.back-to-top {
    background-color: var(--fs-color-primary) !important;
    color: #fff !important;
}


/* ============================================================
   14. FLOATING CONTACT BUTTONS (SCF)
   ============================================================ */

.scf-wrap {
    position: fixed;
    bottom: 60px;
    z-index: 9999;
}

.scf-item {
    position: relative;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.scf-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}

.scf-btn img {
    width: 25px;
    z-index: 3;
    position: relative;
    top: 1px;
}

.scf-btn span {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: scf-wave 1.8s infinite;
}

.scf-btn span:nth-child(2) { animation-delay: .6s; }
.scf-btn span:nth-child(3) { animation-delay: 1.2s; }

.scf-zalo          { background: #1e88e5; }
.scf-zalo span     { background: rgb(30, 136, 229); }
.scf-phone         { background: #e53935; }
.scf-phone span    { background: rgb(229, 57, 53); }

@keyframes scf-wave {
    0%   { transform: scale(1);   opacity: .45; }
    100% { transform: scale(1.8); opacity: 0; }
}


/* ============================================================
   15. RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .scf-wrap {
        bottom: 5px;
    }
}