/*Home*/
.swiper-pagination-bullet-active { background-color: var(--brand-red);}

/*Policy*/
.section-policy {background: #121212; }
.section-policy .policy--list {display: flex; justify-content: space-between; border-radius: 8px; }
.section-policy .policy--list .policy--item {width: calc(100%/3 - 10px); padding: 10px 5px; text-align: center; position: relative; }
.section-policy .policy--list span {display: block; }
.section-policy .policy--list p {margin-bottom: 0; }
.section-policy .policy--list .policy--item:first-child:after {content: none; }
.section-policy .policy--list .policy--item:after {border-left: 2px solid #ffd400; transform: rotate(25deg ); content: ""; display: block; width: auto; height: 100%; position: absolute; top: 0; left: 5%; }
.section-policy .policy--list .policy--item .content {color: #fff; }
.section-policy .policy--list .policy--item img { width: 50px; height: 50px; object-fit: contain; object-position: center;}
.section-policy .policy--list .policy--item .content h3 {font-size: 18px; margin: 0; width: 100%; padding: 20px 0 12px 0; }
.section-policy .policy--list .policy--item .content .desc {font-size: 13px; }
.section-policy-detail .policy--list-scroll {border: 1px solid #d5d4d4; margin-top: 15px; border-radius: 8px; }
.policy--list-detail { display: flex; justify-content: space-around; }
.policy-detail--item {padding: 10px 5px; text-align: center; position: relative; }
.policy--list-detail span {display: block; }
.policy--list-detail .icon {width: 40px; }

.policy--list-detail .policy--inner {
    font-size: 12px;
}

.section-policy-detail .policy--list-scroll .bottom {
    padding: 10px;
}

.section-policy-detail .policy--list-scroll .bottom .item {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
    cursor: pointer;
}

.section-policy-detail .policy--list-scroll .bottom .item .icon-right {
    transition: all ease 0.4s;
}

.section-policy-detail .policy--list-scroll .bottom .item:hover .icon-right {
    transform: translateX(5px);
}

/*Brand*/
.section-brand { background: #121212 }
.section-brand .main-title { color: var(--white) }
.brand__list { display: flex; flex-wrap: wrap; margin: -15px; padding-left: 0; list-style: none; justify-content: center;}
.brand__list-item { width: 20%; padding: 15px; }
.item-brand {display: block; }
.item-brand .img-container {position: relative; }
.item-brand .img-container>img {width: 100%; border-radius: 8px; }
.item-brand .brand-name {position: relative; z-index: 1; margin: -20px 8px 0 8px; padding: 10px 12px; box-shadow: 0px 16px 16px rgba(205, 204, 221, 0.25); border-radius: 8px; background-color: #fff; }
.item-brand .brand-name span { width: 100%; display: block; text-align: center; font-size: 20px; font-weight: 600;}


/*Product Detail*/
.product-detail .title {font-weight: bold; font-size: 20px; line-height: 1.2; letter-spacing: 0.1px; color: #303D50; margin-bottom: 12px; } 
.product-detail .product-rating-group {margin-bottom: 12px; }
.product-detail .price-group { display: flex; align-items: center; margin-bottom: 16px; min-height: 45px;}
.product-detail .woocommerce-variation-price .price { display: flex; align-items: center; margin-bottom: 12px;}
.product-detail .price-group .price, .product-detail .woocommerce-variation-price ins {font-weight: 600; font-size: 27px; line-height: 1.2; display: flex; align-items: center; letter-spacing: 0.1px; text-decoration: none; color:  #d0011b; }
.product-detail .price-group .old-price, .product-detail del {font-weight: 400; font-size: 14px; line-height: 1.5; letter-spacing: 0.1px; text-decoration: line-through; color: #929292; margin-right: 10px; }
.product-detail .price-group .discount {height: 27px; line-height: 27px; min-width: 43px; background: #ffd400; border-radius: 4px; font-weight: bold; font-size: 12px; text-align: center; color: #24242F; padding: 0 5px; }
.product-detail .alert-login-discount {padding: 4px 10px; background: #FAFAFA; border-radius: 8px; font-weight: normal; font-size: 13px; line-height: 18px; text-align: center; color: #303D50; display: inline-block; margin-bottom: 16px; }
.product-detail .alert-login-discount .price {color: #1877F2; font-weight: bold; }
.product-detail .attributes {padding: 0; margin: 0; display: block; list-style-type: none; }
.product-detail .attributes>li {display: flex; margin-bottom: 20px; align-items: center; }
.product-detail .attributes>li>.label {width: 110px; padding-right: 10px; font-weight: 500; font-size: 14px; line-height: 1.38; color: #757575; padding-left: 0; }
.product-detail .attributes>li:first-of-type {align-items: center; }
.product-detail .attributes>li>.value {flex: 1; color: #303D50; font-weight: 600; }
.product-detail .attributes>li>.value p { margin-bottom: 0; }
.product-detail .attributes select { border: 1px solid #C4C4C4; border-radius: 5px; padding: 8px 15px; width: 100%;}
.product-detail .actions .woocommerce-variation-price { display: none; }

.product-color-select {display: block; }
.product-color-select .name {font-size: 13px; line-height: 1.38; color: #303D50; margin-bottom: 2px; }
.product-detail .attributes .variable-items-wrapper { display: flex; flex-wrap: wrap; list-style: none; font-weight: 400;}
.product-detail .attributes .variable-items-wrapper .variable-item { border: 1px solid rgba(0,0,0,.09); color: rgba(0,0,0,.8); padding: 3px 8px; margin: 0 8px 8px 0; position: relative;}
.product-detail .attributes .variable-items-wrapper .variable-item.selected { border-color: #d0011b; color: #d0011b; background: url(../images/icons/icon-selected.png) no-repeat right bottom; background-size: contain; background-size: 15px 12px;}
.product-detail .attributes .variable-items-wrapper .variable-item.disabled { opacity: 0.4; pointer-events: none; cursor: not-allowed;}
.wvs-has-image-tooltip:before, [data-wvstooltip]:before, .wvs-has-image-tooltip:after, [data-wvstooltip]:after { content: none; }

.product-count-select {display: flex; }
.product-count-select .btn {background: #FAFAFA; width: 40px; height: 40px; line-height: 35px; text-align: center; padding: 0; margin: 0; border: 2px solid rgba(0,0,0,.09); border-radius: 0; }
.product-count-select .btn svg {font-size: 10px; width: 10px; height: 10px; flex-shrink: 0; }
.woocommerce .product-count-select .qty {border: none; outline: none; text-align: center; width: 50px; height: 40px; font-weight: normal; font-size: 14px; line-height: 1.5; color: #303D50; padding: 0 5px; appearance: textfield; -moz-appearance: textfield; -webkit-appearance: textfield; height: 100%; border-top: 2px solid rgba(0,0,0,.09); border-bottom: 2px solid rgba(0,0,0,.09); }

.product-detail .attributes .select2-container--default .select2-selection--single {border: 1px solid rgba(0,0,0,.09); }
.product-detail .attributes .select2-container .select2-selection--single { height: 36px; }
.product-detail .attributes .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 36px; font-weight: 400; }
.product-detail .attributes .select2-container--default .select2-selection--single .select2-selection__arrow { height: 36px; }
.product-count-select .qty::-webkit-outer-spin-button, .product-count-select .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-detail .group-action {
    display: flex;
    flex-wrap: wrap;
}

.product-detail .group-action .action {
    width: 100%;
}

.product-detail .group-action .action .btn {
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    border-radius: 8px;
    transition: all ease .4s;
    padding: 0 10px;
    display: inline-block;
    text-align: center;
    font-weight: 600;
}

.product-detail .actions .btn {
    border-radius: 8px;
    outline: none;
}

.product-detail .group-action>.action:first-child {
    margin-bottom : 10px;
}

.product-detail .group-action .action>* {
    width: 100%;
    font-size: 16px;
}

.product-detail .group-action .action .add-to-cart {
    background: #ff6600;
    color: #fff;
}

.product-detail .group-action .action .add-to-cart.disabled, .buy-now-btn.disabled { pointer-events: none; cursor: not-allowed; }

.product-detail .attributes>li .variations_button {
    flex: 1;
}

.product-related .title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 40px;
}

.product-related .item-product {
    margin-bottom: 5px;
    border-radius: 8px;
    padding: 5px;
}

.product-detail-content {
    margin-top: 20px;
    border-top: 1px solid #dadae4;
    padding-top: 15px;
}

.product-detail-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight:  600;
}

.product-detail-content .item {
    margin-bottom: 30px;
}
table td, table, table th {
    border: 1px solid #aaa;
    padding: 10px;
}
.product-detail-content .item .specifications table  { width: 100%; }
.product-detail-content .item .specifications table td { border-bottom: none }
.product-detail-content .item .specifications table tr td:first-child { border-right: none; font-weight: 700;}
.product-detail-gallery .gallery-thumbs-container .prev-slide,
.product-detail-gallery .gallery-thumbs-container .next-slide {flex: 1; display: flex; align-items: center; cursor: pointer; outline: none; }
.product-detail-gallery .gallery-thumbs-container .prev-slide {justify-content: flex-start; padding-left: 10px; }
.product-detail-gallery .gallery-thumbs-container .next-slide {justify-content: flex-end; padding-right: 10px; }
.product-detail-gallery .gallery-thumbs-container .prev-slide.swiper-button-disabled,
.product-detail-gallery .gallery-thumbs-container .next-slide.swiper-button-disabled {opacity: 0.4; }
.product-detail-gallery .gallery-thumbs-container .prev-slide>img,
.product-detail-gallery .gallery-thumbs-container .next-slide>img {width: 20px; }
.product-detail-gallery .gallery-thumbs-container .gallery-thumbs {width: 72%; }
.product-detail-gallery .img-container {position: relative; width: 100%; height: 0; padding-top: 100%; display: block; border-radius:  10px; overflow: hidden;}
.product-detail-gallery .img-container>img {position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.product-detail-gallery .gallery-thumbs .img-container {border: 1px solid #DADAE4; border-radius: 8px; overflow: hidden; transition: all ease .4s }
.product-detail-gallery .gallery-thumbs .swiper-slide.swiper-slide-thumb-active .img-container {border-color: #121212; }
.product-detail-gallery .gallery-top-container {margin-bottom: 16px; position: relative; }
.product-detail-gallery .gallery-top-container .swiper-pagination {bottom: 5px; }

.variations-reset.reset { text-align: right; font-size: 13px; }

/*********************************** PRODUCT DETAIL BODY ****************************/
.product-detail-body .body-tabs {display: flex; position: sticky; top: 60px; padding-top: 15px; background: #fff; z-index: 10; }
.product-detail-body .body-tabs .tab-link {flex: 1; font-weight: bold; font-size: 14px; line-height: 1.2; letter-spacing: 0.1px; color: #020202; position: relative; display: block; padding-bottom: 13px; text-align: center; }
.product-detail-body .body-tabs .tab-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #9596A3;
    transition: all ease .4s;
}

.product-detail-body .body-tabs .tab-link.active::after, .product-detail-body .body-tabs .tab-link:hover::after {
    height: 4px;
    background: #303D50;
}


.product-detail-body .body-tabs .tab-link .star-icon {
    width: 17px;
    margin-bottom: 5px;
}

.product-detail-body .content .title {
    font-weight: bold;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.1px;
    color: #303D50;
    padding: 24px 0;
    cursor: pointer;
    position: relative;
}

/*.product-detail-body .content .title::after {
    position: absolute;
    content: "+";
    right: 16px;
    color: #ffd400;
    font-size: 20px;
    top: 24px;
}*/

.product-detail-body .content .title[aria-expanded="true"]::after {
    content: "-";
}

.product-detail-body .content .content-item {
    margin-bottom: 8px;
    border-bottom: 1px solid #DADAE4;
}

/*Blogs*/

.news-top { background: #f5f5f5; padding: 60px 0px 20px 0;}
.news-top__inner .title { line-height: 56px; font-weight: bold; margin-bottom: 30px;}
.news-top__list { display: flex; flex-wrap: wrap; margin: -10px; }
.news-top__list-item { width: 50%; padding: 10px; }
.news-top__list-item .wrap-img { position: relative; padding-top: 60%; height: 0; }
.news-top__list-item img { border-radius: 8px; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.news-top__list-item .wrap-info { box-shadow: 0px 16px 16px rgb(205 204 221 / 25%); width: 70%; background: #fff; position: relative; text-align: center; margin: auto; transform: translateY(-50%); border-radius: 8px; padding: 5px 10px;}
.news-top__list-item .name { font-weight: bold; font-size: 28px; line-height: 32px; color: #303D50; }


.news-bot.blog .blog__list { display: flex; flex-wrap: wrap; flex-direction: row; margin: -10px;}
.news-bot.blog .blog__list-item { width: 50%; padding: 10px; margin-bottom: 0;}

/*********************************** PRODUCT CATEGORY - SIDEBAR *********************/
.product-category__inner { display: flex; flex-wrap: wrap; }
.product-category-sidebar {position: relative; width: 320px; }
.product-category-content { flex: 1; padding-left: 30px; position: relative;}
.product-category-sidebar .title {color: #303D50; letter-spacing: 0.1px; font-weight: bold; font-size: 20px; line-height: 1.2; }
.product-category-sidebar .title-container {margin-bottom: 20px; }
.product-category-sidebar .title-container .value {display: none; }
.product-category-sidebar .toggle-group {padding: 0; margin: 0; list-style: none; color: #24242F; font-size: 16px; line-height: 1.5; letter-spacing: 0.1px; }
.product-category-sidebar .toggle-group .name {font-weight: bold; position: relative; margin-bottom: 5px; font-size: 18px; cursor: pointer; }
.product-category-sidebar .toggle-group a {color: inherit; }
.product-category-sidebar .toggle-group .name::before {position: absolute; width: 8px; height: 8px; content: ""; border-right: 2px solid #616286; border-bottom: 2px solid #616286; left: 4px; top: 5px; transform: rotate(45deg); transition: all ease .4s; }
.product-category-sidebar .toggle-group .name[aria-expanded=false]::before {transform: translate(-2px, 2px) rotate(-45deg); }
.product-category-sidebar .toggle-group .group-item {padding-bottom: 30px; }
.product-category-sidebar .toggle-group .group-item-box {padding: 0; margin: 0; list-style-type: none; }
.product-category-sidebar .toggle-group .group-item-box>li>a {display: block; border-radius: 8px; padding: 5px 10px; transition: all ease .4s; }
.product-category-sidebar .toggle-group .group-item-box>li>a:hover {background: #F5F5F5; }
.product-category-sidebar .toggle-group .group-item-box>li.active>a {color: #ffd400; }
.product-category-content .product-list__item { width: 25%; }
.product-filter-box {padding: 16px 32px 10px; border: 1px solid #DADAE4; border-radius: 8px; display: flex; z-index: 20; position: relative; } 
.product-filter-box .filter-group-inner .name {color: #303D50; text-transform: uppercase; font-weight: 800; font-size: 14px; position: relative; padding: 0 18px 2px 0; display: inline-block; margin-bottom: 7px; } .product-filter-box .filter-group-inner ul { padding-left: unset; list-style: none; display: flex; margin: -5px;}
.product-filter-box .filter-group-inner ul li { padding: 5px; }
.product-filter-box .filter-group-inner ul li a{ padding: 7px; display: inline-block; color: #333; border: 1px solid #DADAE4; border-radius: 5px;}
.product-filter-box .filter-group-inner ul .item-select[selected] a, .product-filter-box .filter-group-inner ul li a:hover { background: #ffd400; }

.product-filter-box-mobile { position: sticky; top:  100px; left: 0; right: 0; display: none; z-index: 10;}
.product-filter-box-mobile ul { display: flex; padding-left: unset; list-style: none; border: 1px solid #e8eaee; background: #fff; box-shadow: 0 4px 4px -3px rgba(0,0,0,0.1);}
.product-filter-box-mobile ul li { border-right: 1px solid #e8eaee; text-align: center; padding: 5px; width: 25%; font-size: 14px;}
.product-filter-box-mobile ul li:last-child { border-right: none; }

.product-category-content .list-product  { list-style: none; margin: 0 -8px;}

/*********************************** PAGINATION *************************************/
.pagination {display: flex; align-items: center; margin: 0 -16px; position: relative; }
.pagination .item {padding: 0 8px; }
.pagination .item-link {font-size: 16px; font-weight: bold; color: #9596A3; line-height: 1.5; padding: 0 8px; transition: all ease .4s; }
.pagination .item.active .item-link,
.pagination .item .item-link:not(.item-dot):hover {color: #303D50; text-decoration: underline !important; }
.pagination .item .icon {width: 16px; padding-bottom: 3px; }

.pagination { display: block; clear: both; margin-top: 20px; text-align: center; width: 100%;}
.pagination .page-numbers { font-size: 17px; color: rgba(77,77,77); width: 36px; transition: all ease .4s; height: 36px; line-height: 36px; display: inline-block; text-align: center; border: 1px solid #dfdedb; border-radius: 5px;}
.pagination .page-numbers:hover, .pagination .page-numbers:focus, .pagination .page-numbers.current { background-color: #121212111; color: #fff; }
.pagination .screen-reader-text { display: none; }
.pagination .page-numbers.dots { font-family: initial; }

/*Detail Blog*/
.content-blog .title { color: #dc1435;}
.content-blog h1 { font-size:  27px; }
.content-blog h2 { font-size:  24px;}
.content-blog h3 { font-size:  20px;}
.content-blog h4 { font-size:  18px;}
.content-blog h5, .content-blog h6 { font-size:  16px;}
.content-blog__inner { display: flex; }
.content-blog__inner .left { width: calc(100% - 320px); padding-right: 10px; overflow: hidden;}
.content-blog__inner .top-left { background: #fff; }
.content-blog__inner .right { width: 320px; display: flex; flex-direction: column;}
.content-blog__box .content a { color: #FF486A }
.content-blog__inner .left .list-product { display: flex; flex-wrap: wrap; padding-left: unset; margin: -15px -8px; list-style: none; justify-content: center;}
.content-blog__inner .left .list-product__item { width: 50%; padding: 15px 8px; }
.content-blog__inner .left .list-product__item .name { margin-bottom: 0; font-size: 14px; color:  #fff; background: rgb(115,183,10); padding: 10px 2px; text-align: center; }
.content-blog__inner .left .list-product__item .name a { color: #fff;}
.content-blog__inner .left .list-product__item .inner-box { box-shadow: rgb(0 0 0 / 20%) 0px 8px 12px -2px; border-radius: 6px; overflow: hidden; height: 100%; display: flex; justify-content: space-between; flex-direction: column;}
.content-blog__inner .left .list-product__item .inner-box .wrap-img img { height: 200px; object-position: center; object-fit: contain; }
.content-blog__inner .left .list-product__item .inner-box .link-aff a { display: block; background: #b70a0a; box-shadow: 0px 3px 12px 0px rgba(0,0,0,0.25); padding: 8px; color:  #fff; border-radius: 24px; font-size: 18px; text-align: center;}
.content-blog__inner .left .list-product__item .inner-box .link-aff { padding: 10px; }
.content-blog__inner .left .list-product__item .inner-box .top .des { padding: 10px; font-size:  14px;}
.content-blog__inner .left .list-product__item .inner-box .top .des>ul { padding-left: 0; list-style: none; }
.content-blog__inner .left .list-product__item .inner-box .link-aff a:hover { background: rgba(183,10,10,0.8); }
.content-blog__inner .left .list-product__item:first-child:last-child { width: 100%; max-width: 350px; }
.content-blog__inner .left .list-product__item table td, 
.content-blog__inner .left .list-product__item table, 
.content-blog__inner .left .list-product__item table th { padding: 5px; }

.content-blog .post-related { background: #e7f8ff; padding: 15px;}
.content-blog .post-related ul { padding-left: 16px; margin-bottom: 0; list-style: inherit;}
.content-blog .post-related p { margin-bottom: 0px; }
.content-blog .post-related a { border: none; color: #A80002;}

.socials-share__list { list-style: none; padding-left: unset; display: flex; flex-wrap: wrap; width: 100%; margin-bottom: 20px; }
.socials-share__item a { display: flex; -webkit-box-align: center; align-items: center; -webkit-box-pack: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, 0.05); transition: all ease 0.4s; padding: 8px; margin-right: 8px;} 
.socials-share__item a svg {width: 20px; max-height: 20px; }
.socials-share__item:hover svg path { fill: #fff!important; }
.socials-share__item:first-child:hover a { background: #479be5; }
.socials-share__item:nth-of-type(2):hover a { background: #265091; }
.socials-share__item:nth-of-type(4):hover a { background: #076c9e; }
.socials-share__item:nth-of-type(3):hover a { background: #f73e2f }
.socials-share__item:nth-of-type(5):hover svg path { fill: transparent!important; }
.socials-share__item:nth-of-type(5):hover svg path.st1 { fill: #076c9e!important; }

.post-cover { margin-bottom: 2rem; width: 100%; border-radius: .25rem; display: block; object-fit: cover; } 
.blog-author-links a {color: #23232d !important; font-size: 1.25rem; opacity: 0.5; padding: 0 10px; }
.blog-author-links { margin: 0 -10px; }
.blog-author-links a:hover {opacity: 0.75; }
.blog-author-links a img { width: 24px; }
#blog-author-side-card { width: 100%; border: none; border-top: 1px solid rgba(0, 0, 0, 0.1);}
#blog-author-side-card .card-body {padding: 0; display: flex;}
#blog-author-side-card .avatar { width: 6.5rem; height: 6.5rem; border-radius: 50%; object-fit: cover;}
#blog-author-side-card .blog-author-info { margin-left: 20px;}
#blog-author-side-card .blog-author-info .card-title {font-size: 18px; }
#blog-author-bottom-card {margin-top: 3rem; }
#blog-author-bottom-card .card-body {display: grid; grid-template-columns: min-content auto; grid-template-rows: auto auto; grid-column-gap: 1rem; grid-row-gap: 1rem; }
#blog-author-bottom-card .blog-author-image {width: 3.3rem; height: 3.3rem; border-radius: 50%; }
#blog-author-bottom-card .blog-author-info .card-title {font-size: 0.8rem; line-height: 1.3rem; margin-bottom: 0; font-weight: 500; }
#blog-author-side-card .blog-author-info h5 { font-size: 13px; opacity: 0.5;}
#blog-author-side-card .blog-author-info .des { font-size: 14px; }
#blog-author-bottom-card .blog-author-extra {margin: 0; }
#blog-author-bottom-card .blog-author-links { display: flex; justify-content: center; }

.tags .list-tags  { margin: -10px -3px; list-style: none; padding-left: unset; margin-bottom: unset; }
.tags .list-tags li { display: inline-block; padding: 3px 1px; }
.tags .list-tags li a { border: 1px solid #818181; border-radius: 5px; padding: 6px 8px; color: #121212; text-align: center; transition: all ease 0.4s; display: inline-block; font-size: 14px; }
.tags .list-tags li a:hover { color: #e52163; border-color: #e52163; }

/*Content*/
.entry-content img{margin:0 0 1.5em;}
.alignleft,img.alignleft{margin-right:1.5em;display:inline;float:left;}
.alignright,img.alignright{margin-left:1.5em;display:inline;float:right}
.aligncenter,img.aligncenter{margin-right:auto;margin-left:auto;display:block;clear:both;}
img.size-full { width: 100%; }
.wp-caption{margin-bottom:1.5em;text-align:center;padding-top:5px;max-width: 100%;}
.wp-caption img{border:0 none;padding:0;margin:0;height: auto;}
.wp-caption .wp-caption-text{line-height:1.5;font-size:13px;margin:0; margin-top: 5px; padding: 5px; background: rgba(0,0,0,0.05); margin-top: 0;}
.wp-smiley{margin:0!important;max-height:1em}
blockquote.left{margin-right:20px;text-align:right;margin-left:0;width:33%;float:left}
blockquote.right{margin-left:20px;text-align:left;margin-right:0;width:33%;float:right}
.centered{float:none;margin-left:auto;margin-right:auto}
blockquote { background: #fed8d4; padding: 15px; border-left: 3px solid #A80002;}
blockquote p:last-child { margin-bottom: unset; }
.wp-block-image figcaption { font-size: 12px; font-style: italic; margin-top: 15px; }
.wp-block-image .aligncenter figcaption { text-align: center; }
.wp-block-image figcaption { font-style: italic; text-align: center; font-size: 14px; }
.wp-block-image img { object-fit: contain; height: auto; }
.content-blog__box .content iframe { width: 100%;}
.content-blog__box .content ul { list-style: inherit; padding-left: 20px; margin-bottom: 20px;}

.breadcrumbs { background: transparent; font-size: 14px;}
.breadcrumbs a { color: #4a90e2; }

.ftwp-in-post#ftwp-container-outer.ftwp-float-none #ftwp-contents { width: 100%; }


/* 1. Thiết lập Grid cho thẻ UL */
ul.product-category {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px; /* Chiều cao cơ sở cho 1 hàng */
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 2. Thiết lập chung cho từng thẻ LI */
.product-category__item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Mặc định là ô nhỏ (1x1) */
    grid-column: span 1;
    grid-row: span 1;
}

/* --- LOGIC QUAN TRỌNG: ĐỊNH VỊ CÁC Ô THEO THỨ TỰ --- */

/* Ô đầu tiên (Số 1): Trở thành ô LỚN (chiếm 2 cột, 2 hàng) */
.product-category__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Ô thứ hai (Số 2): Trở thành ô NGANG (chiếm 2 cột, 1 hàng) */
.product-category__item:nth-child(2) {
    grid-column: span 2;
    grid-row: span 1;
}

/* Các ô từ số 3 trở đi: Giữ nguyên là ô NHỎ (1 cột, 1 hàng) */
.product-category__item:nth-child(n+3) {
    grid-column: span 1;
    grid-row: span 1;
}

/* 3. Style cho thẻ A bên trong */
.item-product-category {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
}

/* 4. Xử lý ảnh (img-container) */
.product-category__item .img-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.product-category__item .img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Hiệu ứng Zoom khi hover */
.product-category__item:hover .img-container img {
    transform: scale(1.1);
}

/* 5. Tạo lớp phủ Gradient (Overlay) bằng giả lập ::before */
.item-product-category::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 2; /* Nằm trên ảnh */
    transition: background 0.3s;
}

.product-category__item:hover .item-product-category::before {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

/* 6. Style cho Tên (Class .name) */
.product-category__item .name {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 3; /* Nằm trên lớp phủ */
    
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    
    transform: translateY(10px);
    transition: transform 0.4s ease-out;
}

/* Tăng kích thước chữ cho ô lớn */
.product-category__item:nth-child(1) .name {
    font-size: 2rem;
}

/* Hiệu ứng trượt lên khi hover */
.product-category__item:hover .name {
    transform: translateY(0);
}

/* 7. Tạo đường gạch đỏ dưới tên (Dùng ::after của .name) */
.product-category__item .name::after {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    background: #e31e24; /* Màu đỏ brand - sửa lại theo màu của bạn */
    margin-top: 15px;
    transition: width 0.4s;
}

.product-category__item:hover .name::after {
    width: 80px;
}

/* 8. Mũi tên (Dùng ::after của thẻ A) */
.product-category__item:hover .item-product-category::after {
    opacity: 1;
    transform: translateX(0);
    color: #e31e24; /* Màu đỏ khi hover */
}

.reviews {
    background-color: #fafafa; 
}

.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.r-card {
    background: #121212; 
    border: 1px solid rgba(255,255,255,0.1);
    padding: 40px; position: relative; transition: 0.4s;
}
.r-card:hover { transform: translateY(-10px); background: rgba(0,0,0,0.8); border-color: var(--brand-red); }

.r-quote { font-size: 4rem; position: absolute; top: 10px; right: 20px; color: rgba(255,255,255,0.1); font-family: serif; }
.r-text { font-style: italic; color: #ccc; margin-bottom: 30px; position: relative; z-index: 1; }
.r-author { display: flex; align-items: center; gap: 15px; }
.r-avatar { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--brand-red); overflow: hidden; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 15px;
}

.g-item {
    position: relative; overflow: hidden; border-radius: 8px; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.g-item:hover img { transform: scale(1.1); }

/* Video Item takes 2x2 grid */
.g-video {
    grid-column: span 2; grid-row: span 2;
    position: relative;
}

.play-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.g-video:hover .play-overlay { background: rgba(0,0,0,0.1); }

.play-btn {
    width: 70px; height: 70px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-red); font-size: 1.5rem;
    box-shadow: 0 0 0 10px rgba(255,255,255,0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    70% { box-shadow: 0 0 0 20px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.story-section { 
    background-color: #121212; 
    color: #f0f0f0;
    position: relative;
    overflow: hidden;
}
/* Họa tiết nền chìm */
.story-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(#1a1a1a 1px, transparent 1px), linear-gradient(90deg, #1a1a1a 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3; pointer-events: none;
}

.story-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center;
    position: relative; z-index: 2;
}

/* Phần Ảnh Collage */
.s-visual { position: relative; height: 600px; }

.img-main {
    width: 85%; height: 85%;
    overflow: hidden; position: absolute; top: 0; left: 0;
    border-radius: 4px;
}
.img-main img { height: 100%; object-fit: cover; filter: grayscale(20%); transition: 0.5s; }
.s-visual:hover .img-main img { filter: grayscale(0%); transform: scale(1.05); }

.img-sub {
    width: 50%; height: 45%;
    position: absolute; bottom: 0; right: 0;
    border: 8px solid #121212; border-radius: 4px;
    overflow: hidden; box-shadow: -20px -20px 60px rgba(0,0,0,0.5);
}
.img-sub img { height: 100%; object-fit: cover; }

.exp-badge {
    position: absolute; top: 10%; right: 5%;
    background: var(--brand-red); color: white;
    width: 120px; height: 120px; border-radius: 50%;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.4);
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0% {transform: translateY(0px);} 50% {transform: translateY(-10px);} 100% {transform: translateY(0px);} }
.exp-badge .num { font-size: 2.5rem; font-weight: 800; line-height: 1; }
.exp-badge .text { font-size: 0.7rem; text-transform: uppercase; font-weight: 600; }

/* Phần Nội Dung */
.s-content { padding-left: 20px; }
.s-subtitle {
    color: var(--brand-red); text-transform: uppercase; letter-spacing: 3px; 
    font-size: 0.9rem; font-weight: 700; margin-bottom: 20px; display: block;
}
.s-content h2 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 30px; }

.drop-cap {
    float: left; font-size: 4.5rem; line-height: 0.8; 
    color: var(--brand-red); font-family: 'Playfair Display', serif;
    margin-right: 15px; margin-top: 5px;
}
.s-desc { color: #aaa; margin-bottom: 40px; font-size: 1.05rem; text-align: justify; }

.s-stats {
    display: flex; gap: 40px; margin-bottom: 40px;
    border-top: 1px solid #333; padding-top: 30px;
}
.stat-item strong { display: block; font-size: 2rem; color: white; line-height: 1; font-family: 'Playfair Display', serif; }
.stat-item span { font-size: 0.85rem; color: #777; text-transform: uppercase; letter-spacing: 1px; }

.s-signature {
    font-family: 'Dancing Script', cursive; font-size: 2.5rem; color: #888;
    margin-top: 20px;
}
.founder-title { display: block; font-family: 'Manrope', sans-serif; font-size: 0.8rem; color: var(--brand-red); text-transform: uppercase; letter-spacing: 2px; margin-top: 5px; }
/* Responsive cho Mobile */

/*GIỚI THIỆU*/
/* --- 5. VISION & MISSION (DARK CARDS) --- */
.vm-sec { 
    padding: 0; 
    display: flex; 
    flex-wrap: wrap; 
    background: #121212;
}

.vm-col {
    flex: 1; 
    min-width: 400px; 
    height: 600px; 
    position: relative;
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,0.1);
}

/* Ảnh nền với hiệu ứng zoom */
.vm-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s;
    filter: brightness(0.35) grayscale(30%);
    z-index: 1;
}

.vm-col:hover .vm-bg {
    transform: scale(1.1);
    filter: brightness(0.5) grayscale(0%);
}

/* Nội dung chính */
.vm-inner {
    position: relative; z-index: 2;
    text-align: center;
    padding: 0 60px;
    max-width: 650px;
    transform: translateY(20px);
    transition: transform 0.5s;
}
.vm-col:hover .vm-inner { transform: translateY(0); }

.vm-icon-large {
    font-size: 4rem; color: transparent;
    -webkit-text-stroke: 2px rgba(255,255,255,0.3);
    margin-bottom: 20px; display: inline-block;
    transition: 0.4s;
}
.vm-col:hover .vm-icon-large { 
    color: var(--brand-red); 
    -webkit-text-stroke: 0px;
    transform: scale(1.1);
}

.vm-title {
    font-size: 3rem; color: white; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: 3px;
    font-weight: 800;
}

.vm-divider {
    width: 60px; height: 3px; background: var(--brand-red);
    margin: 0 auto 25px; transition: 0.4s;
}
.vm-col:hover .vm-divider { width: 120px; }

.vm-text {
    font-size: 1.1rem; color: rgba(255,255,255,0.8);
    line-height: 1.8; font-weight: 300;
}

/* --- 6. OUR ASSETS (ICONS GRID) --- */
.assets-sec { padding: 100px 0; background-color: #f9f9f9; }
.sec-title { text-align: center; margin-bottom: 60px; }
.sec-title h2 { font-size: 2.5rem; color: var(--bg-dark); }
.sec-title p { color: #666; font-style: italic; }

.assets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.asset-item {
    background: white; padding: 40px 30px; text-align: center;
    border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.asset-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.a-icon {
    width: 80px; height: 80px; background: #FFF0F0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px; font-size: 2rem; color: var(--brand-red);
}
.asset-item h4 { font-size: 1.2rem; margin-bottom: 15px; font-weight: 700; }
.asset-item p { font-size: 0.95rem; color: #666; }

/* --- 7. WORKSHOP SYSTEM (CREATIVE REDESIGN) --- */
.workshop-sec { 
    padding: 120px 0; 
    background-color: #1E1E1E; 
    color: #ddd; 
    position: relative; 
    overflow: hidden;
}

/* Họa tiết bản vẽ kỹ thuật nền */
.workshop-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.workshop-grid { 
    display: grid; grid-template-columns: 400px 1fr; gap: 60px; 
    position: relative; z-index: 2; 
}

/* Left Column: Tabs Control */
.ws-controls h2 { 
    font-size: 3rem; color: white; margin-bottom: 10px; line-height: 1.1; 
}
.ws-subtitle { 
    color: var(--brand-red); text-transform: uppercase; letter-spacing: 2px; 
    font-size: 0.9rem; margin-bottom: 40px; display: block;
}

.ws-tab-list { display: flex; flex-direction: column; gap: 20px; }

.ws-tab-item {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 25px; border-radius: 8px; cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; gap: 20px;
}
.ws-tab-item:hover { background: rgba(255,255,255,0.1); }
.ws-tab-item.active { 
    background: var(--brand-red); border-color: var(--brand-red); 
    box-shadow: 0 10px 30px rgba(192, 57, 43, 0.3);
}

.ws-icon { 
    font-size: 1.5rem; width: 50px; height: 50px; background: rgba(255,255,255,0.1); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.ws-tab-item.active .ws-icon { background: white; color: var(--brand-red); }

.ws-info h4 { margin: 0; font-size: 1.1rem; color: white; font-weight: 700; }
.ws-info span { font-size: 0.85rem; color: #aaa; }
.ws-tab-item.active .ws-info span { color: rgba(255,255,255,0.8); }

/* Right Column: Content Display */
.ws-display { position: relative; height: 500px; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

.ws-panel { 
    position: absolute; inset: 0; display: none; 
    animation: slideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ws-panel.active { display: block; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.ws-img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); }

.ws-details-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    padding: 40px;
}

.ws-stats-grid { display: flex; gap: 40px; margin-top: 20px; }
.ws-stat div { font-size: 0.8rem; text-transform: uppercase; color: #aaa; letter-spacing: 1px; }
.ws-stat strong { font-size: 1.1rem; color: white; display: block; margin-top: 5px; }
.ws-stat i { color: var(--brand-red); margin-right: 8px; }

.ws-desc-text { color: #ddd; font-size: 1rem; max-width: 80%; line-height: 1.6; }

/* --- 8. PHILOSOPHY (QUOTE) --- */
.philo-sec {
    padding: 120px 0;
    background: url('https://images.unsplash.com/photo-1590874103328-3b3a3954642b?q=80&w=2000&auto=format&fit=crop') fixed center/cover;
    position: relative; color: white; text-align: center;
}
.philo-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.philo-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }

.quote-mark { font-size: 4rem; color: var(--brand-red); font-family: serif; display: block; margin-bottom: 20px; }
.philo-text { font-size: 2.2rem; font-family: 'Playfair Display', serif; line-height: 1.4; margin-bottom: 30px; }
.philo-sub { font-size: 1.1rem; color: #ddd; letter-spacing: 1px; text-transform: uppercase; }

/* --- 9. COMMITMENT (OPTIMIZED - 4 PILLARS) --- */
.commit-sec { padding: 120px 0; background-color: #fff; }

.commit-header { text-align: center; margin-bottom: 70px; }
.commit-header .sub { 
    color: var(--brand-red); font-weight: 700; letter-spacing: 2px; 
    text-transform: uppercase; display: block; margin-bottom: 15px;
}
.commit-header h2 { 
    font-size: 3rem; color: var(--bg-dark); margin: 0; line-height: 1.2; 
}

.pillar-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; 
}

.pillar-card {
    background: #fff; border: 1px solid #eee; padding: 40px 30px;
    position: relative; overflow: hidden; transition: all 0.4s ease;
    z-index: 1; cursor: default;
}

/* Hover Effect: Slide Up Dark Background */
.pillar-card::before {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0;
    background: var(--bg-dark); z-index: -1; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pillar-card:hover::before { height: 100%; }
.pillar-card:hover { transform: translateY(-10px); border-color: var(--bg-dark); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }

.p-num {
    font-size: 4rem; font-weight: 800; color: #f0f0f0; 
    position: absolute; top: 10px; right: 20px; line-height: 1;
    transition: 0.4s;
}
.pillar-card:hover .p-num { color: rgba(255,255,255,0.1); }

.p-icon-box {
    width: 70px; height: 70px; background: #FFF5F5; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; color: var(--brand-red); margin-bottom: 30px;
    transition: 0.4s;
}
.pillar-card:hover .p-icon-box { background: var(--brand-red); color: white; }

.pillar-card h3 { 
    font-size: 1.3rem; font-weight: 700; margin-bottom: 15px; 
    color: var(--bg-dark); transition: 0.4s;
}
.pillar-card:hover h3 { color: var(--brand-red-hover); }

.pillar-card p { 
    color: #666; font-size: 0.95rem; line-height: 1.6; transition: 0.4s; 
}
.pillar-card:hover p { color: #aaa; }

/* Responsive */
@media (max-width: 992px) {
    .history-grid, .vm-grid, .workshop-grid { grid-template-columns: 1fr; gap: 50px; }
    .assets-grid, .pillar-grid { grid-template-columns: 1fr 1fr; }
    .philo-text { font-size: 1.8rem; }
    .f-grid { grid-template-columns: 1fr; }

    /* Workshop Mobile */
    .ws-display { height: 400px; }
    .ws-stats-grid { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 576px) {
    .pillar-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .story-grid { grid-template-columns: 1fr; gap: 50px; }
    .s-visual { height: 450px; }
    .s-content { padding-left: 0; }

    /* Responsive Gallery */
    .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
    .g-video { grid-column: span 2; height: 300px; }
    .g-item { height: 200px; }
}


@media (max-width: 768px) {
    ul.product-category {
        grid-template-columns: 1fr; /* Về 1 cột */
        grid-auto-rows: 250px;
    }
    
    /* Reset lại các ô đặc biệt về bình thường trên mobile */
    .product-category__item:nth-child(1),
    .product-category__item:nth-child(2) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .s-stats { flex-wrap: wrap; gap: 20px; }
    .s-visual { height: 400px; }
    .exp-badge { width: 90px; height: 90px; }
    .exp-badge .num { font-size: 1.8rem; }
    .r-grid, .f-grid { grid-template-columns: 1fr; }

    /* Gallery Mobile */
    .g-video { height: 250px; }
}


/*Dịch vụ*/
/* --- 3. HERO SECTION --- */
.pk-hero {
    position: relative; height: 70vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; margin-top: var(--header-h);
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 120%;
    background: url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?q=80&w=2071&auto=format&fit=crop') center/cover no-repeat;
    z-index: 1; animation: panZoom 20s infinite alternate;
}
@keyframes panZoom { from { transform: scale(1); } to { transform: scale(1.1); } }
.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2;
    /* Gradient Xám Đậm -> Đỏ */
    background: linear-gradient(135deg, rgba(52, 58, 64, 0.9) 0%, rgba(214, 40, 40, 0.85) 100%);
    mix-blend-mode: multiply;
}
.hero-content {
    position: relative; z-index: 3; text-align: center; color: white;
    max-width: 900px; padding: 0 20px;
}
.hero-title { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; font-weight: 800; }
.hero-title span { color: #fff; text-decoration: underline; text-decoration-color: var(--brand-red); }
.hero-desc { font-size: 1.2rem; opacity: 0.9; margin-bottom: 30px; font-weight: 300; }

/* --- COMMON SECTION STYLES --- */
.sec-header { text-align: center; margin-bottom: 60px; }
.sec-sub { 
    color: var(--brand-red); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; 
    font-size: 0.9rem; display: block; margin-bottom: 10px;
}
.sec-title { font-size: 2.8rem; color: var(--gray-dark); margin: 0; line-height: 1.2; }

/* --- 4. 3 CORE SERVICES --- */
.services-sec { margin-top: -80px; position: relative; z-index: 4; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.s-card {
    background: white; border-radius: 16px; padding: 40px 30px;
    box-shadow: var(--shadow); transition: 0.4s;
    display: flex; flex-direction: column; border-top: 5px solid var(--gray-dark);
}
.s-card:hover { transform: translateY(-10px); }
.s-card.featured { 
    border-top-color: var(--brand-red); transform: scale(1.05); z-index: 5;
    background: linear-gradient(to bottom, #fff, #fff5f5);
}
.s-card.featured:hover { transform: scale(1.05) translateY(-10px); }

.badge-hot { position:absolute; top:0; right:0; color: var(--brand-red) ; padding:5px 15px; font-weight:700; font-size: 1rem; }

.card-icon { 
    font-size: 2.5rem; color: var(--gray-dark); margin-bottom: 20px; 
    width: 70px; height: 70px; background: var(--gray-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.s-card.featured .card-icon { color: var(--brand-red); background: rgba(214, 40, 40, 0.1); }

.card-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; }
.card-desc { color: var(--gray-medium); font-size: 0.95rem; flex-grow: 1; margin-bottom: 20px; }
.adv-list { list-style: none; padding: 0; margin-bottom: 20px; }
.adv-list li { margin-bottom: 8px; font-size: 0.9rem; color: #555; display: flex; gap: 10px; }
.adv-list li i { color: var(--brand-red); margin-top: 4px; }
.btn-card { 
    padding: 12px; text-align: center; border-radius: 8px; font-weight: 700; 
    background: var(--gray-light); color: var(--gray-dark); display: block; 
}
.s-card.featured .btn-card { background: var(--brand-red); color: white; }

/* --- 5. KEY PRODUCTS (OPTIMIZED - SHOWCASE GALLERY) --- */
.products-sec { 
    background-color: #fff;
    background-image: radial-gradient(#f0f0f0 1px, transparent 1px);
    background-size: 20px 20px;
}

.prod-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; 
    margin-top: 40px;
}

.prod-card {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow); transition: all 0.4s ease;
    position: relative; border: 1px solid var(--border-color);
    display: flex; flex-direction: column;
}
.prod-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(214, 40, 40, 0.15);
    border-color: rgba(214, 40, 40, 0.2);
}

.prod-img-box {
    position: relative; height: 250px; overflow: hidden;
    background: var(--gray-light); display: flex; align-items: center; justify-content: center;
}
.prod-img { 
    object-fit: contain; 
    transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.prod-card:hover .prod-img { transform: scale(1.1) rotate(-3deg); }

/* Floating Price Tag */
.prod-price {
    position: absolute; top: 15px; right: 15px;
    background: var(--gray-dark); color: white;
    padding: 5px 12px; border-radius: 30px;
    font-weight: 800; font-size: 0.85rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 2;
}
.prod-price span { color: #fff; font-size: 1.1rem; }

.prod-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; text-align: center; }

.prod-cat { 
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; 
    color: var(--gray-medium); margin-bottom: 5px; font-weight: 700;
}
.prod-name { 
    font-size: 1.3rem; font-weight: 800; color: var(--gray-dark); 
    margin-bottom: 10px; font-family: 'Syne', sans-serif;
}
.prod-desc { font-size: 0.9rem; color: var(--gray-medium); line-height: 1.5; margin-bottom: 20px; flex-grow: 1; }

.prod-btn {
    background: transparent; border: 2px solid var(--brand-red); color: var(--brand-red);
    padding: 10px 0; width: 100%; border-radius: 8px; font-weight: 700;
    transition: 0.3s; text-transform: uppercase; font-size: 0.85rem;
}
.prod-card:hover .prod-btn { background: var(--brand-red); color: white; }

/* Free Logo Ribbon */
.logo-ribbon-container {
    grid-column: 1 / -1; margin-top: 50px; position: relative;
    background: linear-gradient(90deg, #343A40 0%, #212529 100%);
    border-radius: 12px; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between;
    padding: 30px 50px; color: white;
    box-shadow: 0 20px 40px rgba(52, 58, 64, 0.2);
}
.ribbon-content { z-index: 2; display: flex; align-items: center; gap: 20px; }
.ribbon-icon { font-size: 3rem; color: var(--brand-red); animation: stamp 2s infinite; }
.ribbon-text h3 { font-size: 1.8rem; margin: 0; font-weight: 800; line-height: 1.1; }
.ribbon-text p { font-size: 1rem; opacity: 0.8; margin: 0; }
.ribbon-btn {
    background: var(--brand-red); color: white;
    padding: 12px 30px; border-radius: 50px; font-weight: 800;
    text-transform: uppercase; box-shadow: 0 10px 20px rgba(214, 40, 40, 0.3);
    transition: 0.3s; z-index: 2;
}
.ribbon-btn:hover { transform: scale(1.05); background: white; color: var(--brand-red); }

/* Background decor for ribbon */
.ribbon-bg-icon {
    position: absolute; right: -20px; bottom: -30px; font-size: 10rem;
    color: rgba(255,255,255,0.05); transform: rotate(-15deg); pointer-events: none;
}

@keyframes stamp { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* --- 6. WHY CHOOSE US (LÝ DO & ƯU THẾ) --- */
.why-sec { background-color: var(--gray-light); }
.why-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.reasons-list { display: flex; flex-direction: column; gap: 20px; }
.reason-item {
    display: flex; gap: 20px; align-items: flex-start;
    background: white; padding: 25px; border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); transition: 0.3s;
}
.reason-item:hover { transform: translateX(10px); border-left: 5px solid var(--brand-red); }
.r-num { 
    font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; 
    color: rgba(214, 40, 40, 0.2); line-height: 1; 
}
.r-content h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; color: var(--gray-dark); text-transform: uppercase; }
.r-content p { font-size: 0.9rem; color: var(--gray-medium); margin: 0; }

.adv-grid-box { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.adv-item {
    background: var(--gray-dark); color: white; padding: 25px; border-radius: 12px;
    text-align: center;
}
.adv-item i { font-size: 2rem; color: var(--brand-red); margin-bottom: 15px; }
.adv-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.adv-item p { font-size: 0.85rem; opacity: 0.8; }
.adv-item.big { grid-column: span 2; background: var(--brand-red); }
.adv-item.big i { color: white; }

/* --- 7. MACHINERY (MÁY MÓC) - TECH CARDS REDESIGN --- */
.machine-sec { 
    background-color: #1a1a1a; color: white;
    position: relative; overflow: hidden; 
}

.machine-bg-pattern {
    position: absolute; inset: 0;
    background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.sec-title-light { font-size: 2.8rem; color: white; margin: 0; line-height: 1.2; }

.machine-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; 
    position: relative; z-index: 2; margin-top: 50px;
}

.tech-card {
    background: #212529; border: 1px solid #333; border-radius: 8px;
    overflow: hidden; position: relative; transition: 0.4s;
    cursor: default; display: flex; flex-direction: column;
}

.tech-card:hover {
    border-color: var(--brand-red);
    box-shadow: 0 0 20px rgba(214, 40, 40, 0.3);
    transform: translateY(-5px);
}

/* Image Area */
.tech-img-box {
    height: 180px; position: relative; overflow: hidden;
    background: #000;
}
.tech-img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.7;
    transition: 0.5s;
}
.tech-card:hover .tech-img { opacity: 1; transform: scale(1.1); }

/* Scanning Effect */
.tech-scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: var(--brand-red); box-shadow: 0 0 10px var(--brand-red);
    transform: translateY(-100%); transition: none; opacity: 0;
}
.tech-card:hover .tech-scan-line {
    animation: scanDown 1.5s infinite linear; opacity: 1;
}
@keyframes scanDown { 0% {top:0;} 100% {top:100%;} }

/* Content Area */
.tech-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }

.tech-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px;
}
.tech-title { 
    font-family: 'Share Tech Mono', monospace; font-size: 1.1rem; color: var(--brand-red); 
    text-transform: uppercase; margin: 0; 
}
.tech-icon { color: #555; transition: 0.3s; }
.tech-card:hover .tech-icon { color: white; }

.tech-desc { font-size: 0.85rem; color: #aaa; margin-bottom: 15px; line-height: 1.4; flex-grow: 1; }

.tech-specs {
    display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid #333; padding-top: 10px; margin-top: auto;
}
.spec-tag {
    font-size: 0.7rem; background: rgba(255,255,255,0.1); padding: 3px 8px; 
    border-radius: 4px; color: #ccc;
}

/* --- 8. PROCESS (QUY TRÌNH) --- */
.process-sec { background: #fff; }
.process-steps {
    display: flex; justify-content: space-between; position: relative;
}
.process-steps::before {
    content: ''; position: absolute; top: 40px; left: 50px; right: 50px; height: 3px;
    background: #eee; z-index: 0;
}
.step-item { position: relative; z-index: 1; text-align: center; width: 22%; }
.step-num {
    width: 80px; height: 80px; background: white; border: 3px solid var(--brand-red);
    border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 800; color: var(--brand-red);
    box-shadow: 0 0 0 5px white;
}
.step-item:hover .step-num { background: var(--brand-red); color: white; }
.step-content h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--gray-dark); }
.step-content p { font-size: 0.9rem; color: var(--gray-medium); }

/* --- 9. CTA --- */
.cta-box {
    background: var(--gray-dark); border-radius: 20px; padding: 60px;
    color: white; text-align: center;
    background-image: url('https://www.transparenttextures.com/patterns/leather.png');
}
.cta-btn {
    display: inline-block; padding: 15px 40px; background: white; color: var(--brand-red);
    font-weight: 800; text-transform: uppercase; border-radius: 50px; margin-top: 30px;
}
.cta-btn:hover { background: var(--brand-red); color: white; transform: scale(1.05); }



/* Responsive */
@media (max-width: 992px) {
    .services-grid, .prod-grid, .machine-grid, .process-steps { grid-template-columns: 1fr; display: grid; gap: 30px; }
    .process-steps::before { display: none; }
    .step-item { width: 100%; display: flex; align-items: flex-start; gap: 20px; text-align: left; }
    .step-num { margin: 0; width: 60px; height: 60px; font-size: 1.5rem; flex-shrink: 0; }
    .why-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .logo-ribbon-container { flex-direction: column; text-align: center; gap: 20px; padding: 30px; }
    .ribbon-content { flex-direction: column; }
    .machine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .machine-grid { grid-template-columns: 1fr; }
}

/* --- 1. Global Box Style --- */
.checkout-info-box,
.checkout-payment-wrapper {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Header của Box */
.box-header, .payment-heading {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}
.box-header svg, .payment-heading svg {
    margin-right: 10px;
}

/* --- 2. Form Inputs --- */
.woocommerce-billing-fields p.form-row {
    margin-bottom: 15px;
}
.woocommerce-billing-fields label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    display: block;
}
.woocommerce-billing-fields input.input-text,
.woocommerce-billing-fields textarea {
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
    width: 100%;
    font-size: 14px;
    transition: all 0.3s;
    background: #fafafa;
}
.woocommerce-billing-fields textarea {
    height: 100px;
    padding: 15px;
}
.woocommerce-billing-fields input.input-text:focus,
.woocommerce-billing-fields textarea:focus {
    border-color: #D62828;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.1);
    outline: none;
}

/* --- 3. Payment Methods --- */
ul.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
ul.wc_payment_methods li {
    background: #f9f9f9;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.2s;
    position: relative;
}
/* Hiệu ứng khi chọn phương thức */
ul.wc_payment_methods li.input-radio:checked + label, /* Fallback */
ul.wc_payment_methods li:has(input:checked) { 
    background: #fff;
    border-color: #D62828;
    box-shadow: 0 2px 8px rgba(214, 40, 40, 0.1);
}

ul.wc_payment_methods li input {
    position: absolute;
    top: 20px;
    left: 15px;
}
ul.wc_payment_methods li label {
    display: block;
    margin-left: 25px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    margin-bottom: 0;
}
/* Payment Box (Mô tả) */
.payment_box {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    border: 1px dashed #ddd;
}

/* --- 4. Submit Button (Big Red) --- */
.qd-submit-container {
    margin-top: 20px;
}
.btn-place-order {
    width: 100%;
    background: #D62828;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.btn-place-order:hover {
    background: #b51a1a;
}
.btn-place-order .main-text {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}
.btn-place-order .sub-text {
    font-size: 12px;
    font-weight: normal;
    opacity: 0.9;
    margin-top: 3px;
}

/* Ẩn tiêu đề mặc định của Woo nếu trùng */
#order_review_heading { display: none; }

/*LIÊN HỆ*/
.page-header {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070&auto=format&fit=crop') center/cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white;
    margin-top: var(--header-h);
}

.ph-content h1 { font-size: 3.5rem; margin-bottom: 10px; }
.ph-breadcrumb { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: #ddd; }
.ph-breadcrumb span { color: var(--brand-red); font-weight: 700; }

/* --- 4. CONTACT INFO CARDS --- */
.contact-info-sec { padding: 80px 0; background: #fff; transform: translateY(-50px); }

.info-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.info-card {
    background: white; padding: 40px 30px; text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-radius: 8px;
    transition: 0.3s; border-bottom: 3px solid transparent;
}
.info-card:hover { transform: translateY(-10px); border-bottom-color: var(--brand-red); }

.ic-icon {
    width: 70px; height: 70px; background: #FFF5F5; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: var(--brand-red); font-size: 1.8rem;
    transition: 0.3s;
}
.info-card:hover .ic-icon { background: var(--brand-red); color: white; }

.info-card h3 { font-size: 1.3rem; margin-bottom: 15px; font-weight: 700; }
.info-card p { color: #666; margin-bottom: 5px; font-size: 0.95rem; }
.info-card a { color: var(--text-main); font-weight: 600; text-decoration: none; }
.info-card a:hover { color: var(--brand-red); }

/* --- 5. FORM & MAP SPLIT --- */
.contact-form-sec { padding-bottom: 100px; }
.form-map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; box-shadow: 0 20px 60px rgba(0,0,0,0.05); border-radius: 12px; overflow: hidden; }

/* Form Side */
.form-wrapper { padding: 60px; background: white; }
.form-header h2 { font-size: 2.2rem; margin-bottom: 10px; color: var(--bg-dark); }
.form-header p { color: #666; margin-bottom: 30px; }

.form-group { margin-bottom: 20px; }
.form-control {
    width: 100%; padding: 15px; border: 1px solid #eee; background: #f9f9f9;
    font-family: 'Manrope', sans-serif; font-size: 1rem; color: #333;
    transition: 0.3s; outline: none; border-radius: 4px;
}
.form-control:focus { border-color: var(--brand-red); background: white; box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1); }

textarea.form-control { resize: none; height: 120px; }

.submit-btn {
    width: 100%; padding: 15px; background: var(--brand-red); color: white;
    border: none; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    cursor: pointer; transition: 0.3s; border-radius: 4px;
}
.submit-btn:hover { background: var(--brand-red-hover); }

/* Map Side */
.map-wrapper { position: relative; min-height: 500px; }
.map-frame { width: 100%; height: 100%; border: 0; filter: grayscale(20%); }

/* Responsive */
@media (max-width: 992px) {
    .info-grid { grid-template-columns: 1fr; }
    .form-map-grid { grid-template-columns: 1fr; }
    .map-wrapper { height: 400px; min-height: auto; }
    .f-grid { grid-template-columns: 1fr; }
}

