/*
* Template Name: UntreeStore
* Template Author: Untree.co
* Author URI: https://untree.co/
* License: https://creativecommons.org/licenses/by/3.0/
*/
@import url("fonts.css");

:root {
  --gold: #F2B72B;
  --gold-light: #FFD75A;
  --gold-dark: #D99412;
  --navy: #0070B8;
  --navy-light: #0070B8;
  --red: #E51512;
  --white: #FFFFFF;
  --soft-bg: #F7F9FC;
  --soft-blue: #EEF3F8;
  --text-muted: #6A6A6A;
}

body {
  overflow-x: hidden;
  position: relative; }

body {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 400;
  line-height: 28px;
  color: #6a6a6a;
  font-size:calc(14px + 2px);
  background-color: #FFFFFF; }

a {
  text-decoration: none;
  -webkit-transition: .3s all ease;
  -o-transition: .3s all ease;
  transition: .3s all ease;
  color: #0070B8;
  text-decoration: underline; }
  a:hover {
    color: #0070B8;
    text-decoration: none; }
  a.more {
    font-weight: 600; }

.custom-navbar {
  background: #FFFFFF !important;
  padding-top: 20px;
  padding-bottom: 20px; }
  .custom-navbar .navbar-brand {
    font-size: 32px;
    font-weight: 600; }
    .custom-navbar .navbar-brand > span {
      opacity: .4; }
  .custom-navbar .navbar-toggler {
    border-color: transparent; }
    .custom-navbar .navbar-toggler:active, .custom-navbar .navbar-toggler:focus {
      -webkit-box-shadow: none;
      box-shadow: none;
      outline: none; }
  @media (min-width: 992px) {
    .custom-navbar .custom-navbar-nav li {
      margin-left: 15px;
      margin-right: 15px; } }
  .custom-navbar .custom-navbar-nav li a {
    font-weight: 500;
    color: #0070B8 !important;
    opacity: .5;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease;
    position: relative; }
    @media (min-width: 768px) {
      .custom-navbar .custom-navbar-nav li a:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 8px;
        right: 8px;
        background: #F2B72B;
        height: 5px;
        opacity: 1;
        visibility: visible;
        width: 0;
        -webkit-transition: .15s all ease-out;
        -o-transition: .15s all ease-out;
        transition: .15s all ease-out; } }
    .custom-navbar .custom-navbar-nav li a:hover {
      opacity: 1; }
      .custom-navbar .custom-navbar-nav li a:hover:before {
        width: calc(100% - 16px); }
  .custom-navbar .custom-navbar-nav li.active a {
    opacity: 1; }
    .custom-navbar .custom-navbar-nav li.active a:before {
      width: calc(100% - 16px); }
  .custom-navbar .custom-navbar-cta {
    margin-left: 0 !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row; }
    @media (min-width: 768px) {
      .custom-navbar .custom-navbar-cta {
        margin-left: 40px !important; } }
    .custom-navbar .custom-navbar-cta li {
      margin-left: 0px;
      margin-right: 0px; }
      .custom-navbar .custom-navbar-cta li:first-child {
        margin-right: 20px; }

.hero {
  background-image: url("../images/home-hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  aspect-ratio: 1920 / 640;

  padding: calc(4rem - 30px) 0 0rem 0;
}
  @media (min-width: 768px) {
    .hero {
      padding: calc(4rem - 30px) 0 4rem 0; } }
  @media (min-width: 992px) {
    .hero {
      padding: calc(8rem - 30px) 0 8rem 0; } }
  .hero .intro-excerpt {
    position: relative;
    z-index: 4; }
    @media (min-width: 992px) {
      .hero .intro-excerpt {
        max-width: 450px; } }
  .hero h1 {
    font-weight: 700;
    color: #0070B8;
    margin-bottom: 30px; }
    @media (min-width: 1400px) {
      .hero h1 {
        font-size: 54px; } }
  .hero p {
    color: #6A6A6A;
    margin-botom: 30px; }
  .hero .hero-img-wrap {
    position: relative; }
    .hero .hero-img-wrap img {
      position: relative;
      top: 0px;
      right: 0px;
      z-index: 2;
      max-width: 780px;
      left: -20px; }
      @media (min-width: 768px) {
        .hero .hero-img-wrap img {
          right: 0px;
          left: -100px; } }
      @media (min-width: 992px) {
        .hero .hero-img-wrap img {
          left: 0px;
          top: -80px;
          position: absolute;
          right: -50px; } }
      @media (min-width: 1200px) {
        .hero .hero-img-wrap img {
          left: 0px;
          top: -80px;
          right: -100px; } }
    .hero .hero-img-wrap:after {
      content: "";
      position: absolute;
      width: 255px;
      height: 217px;
      background-image: url("../images/dots-yellow.svg");
      background-size: contain;
      background-repeat: no-repeat;
      right: -100px;
      top: -0px; }
      @media (min-width: 1200px) {
        .hero .hero-img-wrap:after {
          top: -40px; } }

.btn {
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  color: #ffffff;
  background: #0070B8;
  border-color: #0070B8; }
  .btn:hover {
    color: #ffffff;
    background: #0070B8;
    border-color: #0070B8; }
  .btn:active, .btn:focus {
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none; }
  .btn.btn-primary {
    background: #0070B8;
    border-color: #0070B8; }
    .btn.btn-primary:hover {
      background: #0070B8;
      border-color: #0070B8; }
  .btn.btn-secondary {
    color: #0070B8;
    background: #F2B72B;
    border-color: #F2B72B; }
    .btn.btn-secondary:hover {
      background: #D99412;
      border-color: #D99412; }
  .btn.btn-white-outline {
    background: transparent;
    border-width: 2px;
    border-color: #0070B8;
    color: #0070B8; }
    .btn.btn-white-outline:hover {
      border-color: #0070B8;
      background: #0070B8;
      color: #ffffff; }

.section-title {
  color: #0070B8; }

.product-section {
  padding: 7rem 0; }
  .product-section .product-item {
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
    padding-bottom: 50px;
    cursor: pointer; }
    .product-section .product-item .product-thumbnail {
      margin-bottom: 30px;
      position: relative;
      top: 0;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
    .product-section .product-item h3 {
      font-weight: 600;
      font-size: 16px; }
    .product-section .product-item strong {
      font-weight: 800 !important;
      font-size: 18px !important;
      color: #D99412 !important; }
    .product-section .product-item h3, .product-section .product-item strong {
      color: #0070B8;
      text-decoration: none; }
    .product-section .product-item .icon-cross {
      position: absolute;
      width: 35px;
      height: 35px;
      display: inline-block;
      background: #0070B8;
      bottom: 15px;
      left: 50%;
      -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      transform: translateX(-50%);
      margin-bottom: -17.5px;
      border-radius: 50%;
      opacity: 0;
      visibility: hidden;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
      .product-section .product-item .icon-cross img {
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%); }
    .product-section .product-item:before {
      bottom: 0;
      left: 0;
      right: 0;
      position: absolute;
      content: "";
      background: #FFF7E0;
      height: 0%;
      z-index: -1;
      border-radius: 10px;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
    .product-section .product-item:hover .product-thumbnail {
      top: -25px; }
    .product-section .product-item:hover .icon-cross {
      bottom: 0;
      opacity: 1;
      visibility: visible; }
    .product-section .product-item:hover:before {
      height: 70%; }

.why-choose-section {
  padding: 7rem 0; }
  .why-choose-section .img-wrap {
    position: relative; }
    .why-choose-section .img-wrap:before {
      position: absolute;
      content: "";
      width: 255px;
      height: 217px;
      background-image: url("../images/dots-yellow.svg");
      background-repeat: no-repeat;
      background-size: contain;
      -webkit-transform: translate(-40%, -40%);
      -ms-transform: translate(-40%, -40%);
      transform: translate(-40%, -40%);
      z-index: -1; }
    .why-choose-section .img-wrap img {
      border-radius: 20px; }

.feature {
  margin-bottom: 30px; }
  .feature .icon {
    display: inline-block;
    position: relative;
    margin-bottom: 20px; }
    .feature .icon:before {
      content: "";
      width: 33px;
      height: 33px;
      position: absolute;
      background: rgba(242, 183, 43, 0.20);
      border-radius: 50%;
      right: -8px;
      bottom: 0; }
  .feature h3 {
    font-size: 14px;
    color: #0070B8; }
  .feature p {
    font-size:calc(14px + 2px);
    line-height: 22px;
    color: #6a6a6a; }

.we-help-section {
  padding: 7rem 0; }
  .we-help-section .imgs-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(27, 1fr);
    position: relative; }
    .we-help-section .imgs-grid:before {
      position: absolute;
      content: "";
      width: 255px;
      height: 217px;
      background-image: url("../images/dots-yellow.svg");
      background-size: contain;
      background-repeat: no-repeat;
      -webkit-transform: translate(-40%, -40%);
      -ms-transform: translate(-40%, -40%);
      transform: translate(-40%, -40%);
      z-index: -1; }
    .we-help-section .imgs-grid .grid {
      position: relative; }
      .we-help-section .imgs-grid .grid img {
        border-radius: 20px;
        max-width: 100%; }
      .we-help-section .imgs-grid .grid.grid-1 {
        -ms-grid-column: 1;
        -ms-grid-column-span: 18;
        grid-column: 1 / span 18;
        -ms-grid-row: 1;
        -ms-grid-row-span: 27;
        grid-row: 1 / span 27; }
      .we-help-section .imgs-grid .grid.grid-2 {
        -ms-grid-column: 19;
        -ms-grid-column-span: 27;
        grid-column: 19 / span 27;
        -ms-grid-row: 1;
        -ms-grid-row-span: 5;
        grid-row: 1 / span 5;
        padding-left: 20px; }
      .we-help-section .imgs-grid .grid.grid-3 {
        -ms-grid-column: 14;
        -ms-grid-column-span: 16;
        grid-column: 14 / span 16;
        -ms-grid-row: 6;
        -ms-grid-row-span: 27;
        grid-row: 6 / span 27;
        padding-top: 20px; }

.custom-list {
  width: 100%; }
  .custom-list li {
    display: inline-block;
    width: calc(50% - 20px);
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 20px; }
    .custom-list li:before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      border: 2px solid #F2B72B;
      position: absolute;
      left: 0;
      top: 8px; }

.popular-product {
  padding: 0 0 7rem 0; }
  .popular-product .product-item-sm h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0070B8; }
  .popular-product .product-item-sm a {
    text-decoration: none;
    color: #0070B8;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    .popular-product .product-item-sm a:hover {
      color: rgba(9, 41, 87, 0.55); }
  .popular-product .product-item-sm p {
    line-height: 1.4;
    margin-bottom: 10px;
    font-size:calc(14px + 2px); }
  .popular-product .product-item-sm .thumbnail {
    margin-right: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    position: relative; }
    .popular-product .product-item-sm .thumbnail:before {
      content: "";
      position: absolute;
      border-radius: 20px;
      background: #EEF3F8;
      width: 98px;
      height: 98px;
      top: 50%;
      left: 50%;
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      transform: translate(-50%, -50%);
      z-index: -1; }

.testimonial-section {
  padding: 3rem 0 7rem 0; }

.testimonial-slider-wrap {
  position: relative; }
  .testimonial-slider-wrap .tns-inner {
    padding-top: 30px; }
  .testimonial-slider-wrap .item .testimonial-block blockquote {
    font-size: 16px; }
    @media (min-width: 768px) {
      .testimonial-slider-wrap .item .testimonial-block blockquote {
        line-height: 32px;
        font-size: 18px; } }
  .testimonial-slider-wrap .item .testimonial-block .author-info .author-pic {
    margin-bottom: 20px; }
    .testimonial-slider-wrap .item .testimonial-block .author-info .author-pic img {
      max-width: 80px;
      border-radius: 50%; }
  .testimonial-slider-wrap .item .testimonial-block .author-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0070B8;
    margin-bottom: 0; }
  .testimonial-slider-wrap #testimonial-nav {
    position: absolute;
    top: 50%;
    z-index: 99;
    width: 100%;
    display: none; }
    @media (min-width: 768px) {
      .testimonial-slider-wrap #testimonial-nav {
        display: block; } }
    .testimonial-slider-wrap #testimonial-nav > span {
      cursor: pointer;
      position: absolute;
      width: 58px;
      height: 58px;
      line-height: 58px;
      border-radius: 50%;
      background: rgba(9, 41, 87, 0.08);
      color: #0070B8;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
      .testimonial-slider-wrap #testimonial-nav > span:hover {
        background: #0070B8;
        color: #ffffff; }
    .testimonial-slider-wrap #testimonial-nav .prev {
      left: -10px; }
    .testimonial-slider-wrap #testimonial-nav .next {
      right: 0; }
  .testimonial-slider-wrap .tns-nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%); }
    .testimonial-slider-wrap .tns-nav button {
      background: none;
      border: none;
      display: inline-block;
      position: relative;
      width: 0 !important;
      height: 7px !important;
      margin: 2px; }
      .testimonial-slider-wrap .tns-nav button:active, .testimonial-slider-wrap .tns-nav button:focus, .testimonial-slider-wrap .tns-nav button:hover {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        background: none; }
      .testimonial-slider-wrap .tns-nav button:before {
        display: block;
        width: 7px;
        height: 7px;
        left: 0;
        top: 0;
        position: absolute;
        content: "";
        border-radius: 50%;
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease;
        background-color: #d6d6d6; }
      .testimonial-slider-wrap .tns-nav button:hover:before, .testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
        background-color: #F2B72B; }

.before-footer-section {
  padding: 7rem 0 12rem 0 !important; }

.blog-section {
  padding: 7rem 0 12rem 0; }
  .blog-section .post-entry a {
    text-decoration: none; }
  .blog-section .post-entry .post-thumbnail {
    display: block;
    margin-bottom: 20px; }
    .blog-section .post-entry .post-thumbnail img {
      border-radius: 20px;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
  .blog-section .post-entry .post-content-entry {
    padding-left: 15px;
    padding-right: 15px; }
    .blog-section .post-entry .post-content-entry h3 {
      font-size: 16px;
      margin-bottom: 0;
      font-weight: 600;
      margin-bottom: 7px; }
    .blog-section .post-entry .post-content-entry .meta {
      font-size:calc(14px + 2px); }
      .blog-section .post-entry .post-content-entry .meta a {
        font-weight: 600; }
  .blog-section .post-entry:hover .post-thumbnail img, .blog-section .post-entry:focus .post-thumbnail img {
    opacity: .7; }

.footer-section {
  padding: 80px 0;
  background: #F7F9FC; }
  .footer-section .relative {
    position: relative; }
  .footer-section a {
    text-decoration: none;
    color: #0070B8;
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    .footer-section a:hover {
      color: rgba(9, 41, 87, 0.55); }
  .footer-section .subscription-form {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    margin-top: 100px; }
    @media (min-width: 992px) {
      .footer-section .subscription-form {
        margin-top: 0px;
        margin-bottom: 80px; } }
    .footer-section .subscription-form h3 {
      font-size: 18px;
      font-weight: 500;
      color: #0070B8; }
    .footer-section .subscription-form .form-control {
      height: 50px;
      border-radius: 10px;
      font-family: "Bricolage Grotesque", sans-serif; }
      .footer-section .subscription-form .form-control:active, .footer-section .subscription-form .form-control:focus {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        border-color: #F2B72B;
        -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
        box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }
      .footer-section .subscription-form .form-control::-webkit-input-placeholder {
        font-size: 14px; }
      .footer-section .subscription-form .form-control::-moz-placeholder {
        font-size: 14px; }
      .footer-section .subscription-form .form-control:-ms-input-placeholder {
        font-size: 14px; }
      .footer-section .subscription-form .form-control:-moz-placeholder {
        font-size: 14px; }
    .footer-section .subscription-form .btn {
      border-radius: 10px !important; }
  .footer-section .sofa-img {
    position: absolute;
    top: -200px;
    z-index: 1;
    right: 0; }
    .footer-section .sofa-img img {
      max-width: 380px; }
  .footer-section .links-wrap {
    margin-top: 0px; }
    @media (min-width: 992px) {
      .footer-section .links-wrap {
        margin-top: 54px; } }
    .footer-section .links-wrap ul li {
      margin-bottom: 10px; }
  .footer-section .footer-logo-wrap .footer-logo {
    font-size: 150px;
    font-weight: 800;
    text-decoration: none;
    color: #0070B8; }
  .footer-section .custom-social li {
    margin: 2px;
    display: inline-block; }
    .footer-section .custom-social li a {
      width: 40px;
      height: 40px;
      text-align: center;
      line-height: 40px;
      display: inline-block;
      background: #FFF3CF;
      color: #0070B8;
      border-radius: 50%; }
      .footer-section .custom-social li a:hover {
        background: #0070B8;
        color: #ffffff; }
  .footer-section .border-top {
    border-color: #E5EAF0; }
    .footer-section .border-top.copyright {
      font-size: 14px !important; }

.untree_co-section {
  padding: 7rem 0; }

.form-control {
  height: 50px;
  border-radius: 10px;
  font-family: "Bricolage Grotesque", sans-serif; }
  .form-control:active, .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #F2B72B;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); }
  .form-control::-webkit-input-placeholder {
    font-size: 14px; }
  .form-control::-moz-placeholder {
    font-size: 14px; }
  .form-control:-ms-input-placeholder {
    font-size: 14px; }
  .form-control:-moz-placeholder {
    font-size: 14px; }

.service {
  line-height: 1.5; }
  .service .service-icon {
    border-radius: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #0070B8;
    margin-right: 20px;
    color: #ffffff; }

textarea {
  height: auto !important; }

.site-blocks-table {
  overflow: auto; }
  .site-blocks-table .product-thumbnail {
    width: 200px; }
  .site-blocks-table .btn {
    padding: 2px 10px; }
  .site-blocks-table thead th {
    padding: 30px;
    text-align: center;
    border-width: 0px !important;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8);
    font-size:calc(18px + 2px); }
  .site-blocks-table td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8); }
  .site-blocks-table tbody tr:first-child td {
    border-top: 1px solid #F2B72B !important; }
  .site-blocks-table .btn {
    background: none !important;
    color: #000000;
    border: none;
    height: auto !important; }

.site-block-order-table th {
  border-top: none !important;
  border-bottom-width: 1px !important; }

.site-block-order-table td, .site-block-order-table th {
  color: #000000; }

.couponcode-wrap input {
  border-radius: 10px !important; }

.text-primary {
  color: #0070B8 !important; }

.thankyou-icon {
  position: relative;
  color: #F2B72B; }
  .thankyou-icon:before {
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(242, 183, 43, 0.20); }


/* =========================================================
   ABRAHAM — SAFE BRAND FINISH
   Chỉ tinh chỉnh màu sắc / shadow, không thay đổi layout.
========================================================= */

/* Navbar trắng: đổi icon SVG trắng cũ sang navy để không bị chìm */
.custom-navbar .custom-navbar-cta img,
.custom-navbar .navbar-toggler-icon {
  filter: brightness(0) saturate(100%) invert(14%) sepia(35%) saturate(2564%) hue-rotate(182deg) brightness(88%) contrast(103%);
}

/* Navbar có chiều sâu nhẹ, không ảnh hưởng kích thước */
.custom-navbar {
  box-shadow: 0 4px 18px rgba(9, 41, 87, 0.06);
}

/* Các section luân phiên trắng / xám xanh rất nhạt */
.product-section,
.we-help-section,
.popular-product {
  background: #FFFFFF;
}

.why-choose-section,
.testimonial-section,
.blog-section {
  background: #F7F9FC;
}

/* Product: giữ nguyên hover/layout, chỉ đổi hệ màu */
.product-section .product-item h3 {
  color: #0070B8;
}

.product-section .product-item strong,
.product-section .product-item .product-price {
  color: #D99412 !important;
}

.product-section .product-item .icon-cross {
  background: #0070B8;
}

/* Heading / link nhất quán */
.section-title,
.feature h3,
.popular-product .product-item-sm h3,
.testimonial-slider-wrap .item .testimonial-block .author-info h3 {
  color: #0070B8;
}

a.more,
.blog-section .post-entry .post-content-entry h3 a {
  color: #0070B8;
}

a.more:hover,
.blog-section .post-entry .post-content-entry h3 a:hover {
  color: #D99412;
}

/* Footer */
.footer-section .footer-logo-wrap .footer-logo {
  color: #0070B8;
}

.footer-section .footer-logo-wrap .footer-logo span {
  color: #E51512;
}

.footer-section .subscription-form h3 {
  color: #0070B8;
}

.footer-section .custom-social li a {
  background: #FFF3CF;
  color: #0070B8;
}

.footer-section .custom-social li a:hover {
  background: #0070B8;
  color: #FFFFFF;
}

/* Tiny slider */
.testimonial-slider-wrap .tns-nav button:hover:before,
.testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
  background-color: #F2B72B;
}

/* Focus */
.form-control:active,
.form-control:focus,
.footer-section .subscription-form .form-control:active,
.footer-section .subscription-form .form-control:focus {
  border-color: #F2B72B;
}

/* Utility */
.text-primary {
  color: #0070B8 !important;
}

/* Tắt dots cũ của template */
.hero .hero-img-wrap::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

/* ================================
   PARTNER SECTION
================================ */

.partner-section {
  padding: 80px 0;
  background: #f5f5f5;
}

.partner-title {
  text-align: center;
  color: #0070B8;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 45px;
}

.partner-item {
  height: 195px;
  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
  overflow: hidden;

  transition: all 0.3s ease;
}

.partner-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(9, 41, 87, 0.12);
}

@media (max-width: 767px) {

  .partner-section {
    padding: 60px 0;
  }

  .partner-title {
    font-size: 25px;
    margin-bottom: 30px;
  }

  .partner-item {
    height: 170px;
  }
}

/* Ảnh nền hero riêng cho trang Shop */
.hero.hero--shop {
  background-image: url("../images/shop-hero-bg.png");
}
/* Giảm chiều cao hero riêng cho trang chủ, không ảnh hưởng Shop */
.hero.hero--home {
  aspect-ratio: 1920 / 480;   /* thấp hơn tỉ lệ mặc định 1920/640 */
  background-position: center bottom;   /* neo theo đáy để giữ dải sóng vàng */
  padding: calc(2rem - 30px) 0 0rem 0;
}

@media (min-width: 768px) {
  .hero.hero--home {
    padding: calc(2rem - 30px) 0 2rem 0;
  }
}

@media (min-width: 992px) {
  .hero.hero--home {
    padding: calc(4rem - 30px) 0 4rem 0;
  }
}
/* Ảnh nền hero riêng cho trang About Us */
.hero.hero--about {
  background-image: url("../images/about-hero-bg.png");
}
.hero.hero--services {
    background-image: none;
    background-color: #ffffff;
    border-top: 60px solid #FFF3D6;   /* dải vàng nhạt phía trên */
    border-bottom: 60px solid #FFF3D6; /* dải vàng nhạt phía dưới */
    min-height: 620px;
    padding: 40px 0;   /* giảm padding vì đã có border chiếm chỗ */
}
/* ===== SERVICE PAGE - WHITE & BRIGHTER LOOK ===== */
.services-page {
    background: #ffffff;
}

.services-page .product-section,
.services-page .why-choose-section,
.services-page .before-footer-section {
    background: #ffffff;
}

.services-page .why-choose-section {
    padding: 90px 0;
}

.services-page .section-title,
.services-page h2,
.services-page h3 {
    color: #0070B8;
}

.services-page p {
    color: #6a768c;
}

.services-page .feature {
    background: #ffffff;
}

.services-page .feature h3 {
    color: #0070B8;
    font-weight: 700;
}

.services-page .feature .icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff6df;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.services-page .feature .icon img {
    max-width: 26px;
    opacity: 0.95;
}

.services-page .btn,
.services-page .btn.btn-secondary,
.services-page .btn.btn-primary {
    background: #0070B8;
    border-color: #0070B8;
    color: #ffffff;
}

.services-page .btn:hover,
.services-page .btn.btn-secondary:hover,
.services-page .btn.btn-primary:hover {
    background: #0070B8;
    border-color: #0070B8;
    color: #ffffff;
}

.services-page .product-item h3,
.services-page .product-item .product-title,
.services-page .product-item strong {
    color: #0070B8;
}

.services-page .img-wrap img,
.services-page .why-choose-section img {
    border-radius: 16px;
}

.services-page .product-section .section-title,
.services-page .why-choose-section .section-title {
    margin-bottom: 16px;
}
/* ===== Testimonial grid — 3 card layout ===== */
.testimonial-section {
    background: #FFFFFF;
    padding: 7rem 0;
}

.testimonial-section .eyebrow-label {
    display: inline-block;
    font-size:calc(12px + 2px);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #D99412;
    margin-bottom: 10px;
}

.testimonial-grid-wrap {
    position: relative;
    padding: 0 60px;
    margin-top: 20px;
}

.testimonial-card {
    background: #FFFFFF;
    border: 1px solid #EEF3F8;
    border-radius: 16px;
    padding: 32px 30px;
    height: 100%;
    text-align: left;
    box-shadow: 0 10px 30px -20px rgba(9, 41, 87, 0.15);
    transition: .3s all ease;
}

.testimonial-card.featured {
    border: 1.5px solid #F2B72B;
    box-shadow: 0 20px 40px -20px rgba(242, 183, 43, 0.35);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-card .quote-mark {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 42px;
    line-height: 1;
    color: #F2B72B;
    margin-bottom: 12px;
}

.testimonial-card .t-text {
    color: #0070B8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #EEF3F8;
}

.t-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.t-avatar-letter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0070B8;
    color: #F2B72B;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
}

.t-author h3 {
    font-size: 14px;
    font-weight: 700;
    color: #0070B8;
    margin: 0;
}

.t-author .position {
    font-size:14px;
    color: #6a6a6a;
}

.t-stars {
    color: #F2B72B;
    font-size:14px;
    letter-spacing: 2px;
    margin-top: 3px;
}

.t-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid #F2B72B;
    color: #0070B8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s all ease;
    background: #FFFFFF;
}

.t-arrow:hover {
    background: #F2B72B;
}

.t-arrow-prev { left: 0; }
.t-arrow-next { right: 0; }

.t-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.t-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d6d6d6;
}

.t-dots .dot.active {
    background: #F2B72B;
}

@media (max-width: 767px) {
    .testimonial-grid-wrap { padding: 0 15px; }
    .t-arrow { display: none; }
}
.t-slide { display: none; }
.t-slide.active { display: block; }
#authLabel {
	color: #0070B8; /* hoặc màu chữ navbar bạn đang dùng cho Home/Shop... */
	font-weight: 500;
}
/* Ép khối 3 ảnh gộp thành hình vuông hoàn chỉnh */
.we-help-section .imgs-grid {
	aspect-ratio: 1 / 1;
	max-width: 560px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
}

.we-help-section .imgs-grid .grid.grid-1 {
	grid-column: 1;
	grid-row: 1 / 3;
}

.we-help-section .imgs-grid .grid.grid-2 {
	grid-column: 2;
	grid-row: 1;
	padding-left: 0;
}

.we-help-section .imgs-grid .grid.grid-3 {
	grid-column: 2;
	grid-row: 2;
	padding-top: 0;
}

.we-help-section .imgs-grid .grid {
	height: 100%;
	overflow: hidden;
	border-radius: 16px;
}

.we-help-section .imgs-grid .grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
}
/* ===== Fix: Product grid bị lệch do ảnh khác tỉ lệ ===== */

.product-item{
  position: relative;      /* để icon-cross neo theo item, không trôi tự do */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-thumbnail{
  width: 100%;
  height: 260px;            /* chiều cao cố định cho MỌI ảnh sản phẩm */
  object-fit: contain;      /* dùng "contain" để không cắt mất bánh xe/ghi-đông;
                                đổi thành "cover" nếu bạn muốn ảnh lấp đầy khung, chấp nhận crop */
  background: #f6f6f6;      /* nền nhẹ cho ảnh nền trong suốt/không đều màu */
  border-radius: 6px;
}

.product-title{
  margin-top: 1rem;
  text-align: center;
}

.icon-cross{
  position: absolute;       /* neo cố định ở góc, không đẩy các phần tử khác xuống */
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  opacity: 0;                /* ẩn mặc định, chỉ hiện khi hover cho gọn */
  transition: opacity .2s;
}

.product-item:hover .icon-cross{
  opacity: 1;
}

/* Đảm bảo 3 cột trong 1 hàng luôn cao bằng nhau */
.product-section .row{
  align-items: stretch;
}
#adminNavItem .nav-link {
    background-color: #f2a63b;
    color: #152238 !important;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    transition: background-color .2s ease;
}

#adminNavItem .nav-link:hover {
    background-color: #e08e17;
    color: #152238 !important;
}
.custom-navbar .container {
  height: 140px !important; 
  display: flex;
  align-items: center;
}
.custom-navbar .navbar-brand img {
  height: 140px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}
/* Password visibility control in the shared login modal */
.auth-password-field {
	position: relative;
}

.auth-password-field .form-control {
	padding-right: 3rem;
}

.auth-password-toggle {
	position: absolute;
	top: 50%;
	right: .75rem;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: .375rem;
	background: transparent;
	color: #667085;
	cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
	color: #0070B8;
	background: #eef2f7;
}
.shop-product-variants {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	margin-bottom: .35rem;
	color: #667085;
	font-size:14px;
	font-weight: 600;
}

.abx-variants { margin: 1.25rem 0; }
.abx-variants h2 { margin: 0 0 .7rem; color: var(--abx-navy, #0070B8); font-size: 1rem; font-weight: 800; }
.abx-variant-options { display: flex; flex-wrap: wrap; gap: .65rem; }
.abx-variant-option {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	min-width: 135px;
	padding: .45rem .65rem;
	border: 1px solid #d9e1ec;
	border-radius: .65rem;
	background: #fff;
	color: #334155;
	text-decoration: none;
}
.abx-variant-option:hover { border-color: #0070B8; color: #0070B8; }
.abx-variant-option.is-selected { border: 2px solid #0070B8; background: #eff6ff; }
.abx-variant-option.is-out { opacity: .58; }
.abx-variant-option img { width: 42px; height: 42px; border-radius: .4rem; object-fit: contain; background: #f8fafc; }
.abx-variant-option span { display: grid; line-height: 1.2; }
.abx-variant-option strong { font-size:14px; }
.abx-variant-option small { margin-top: .2rem; color: #64748b; font-size:14px; }
