/*
* Template Name: UntreeStore
* Template Author: Untree.co
* Author URI: https://untree.co/
* License: https://creativecommons.org/licenses/by/3.0/
*/
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body {
  overflow-x: hidden;
  position: relative;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 28px;
  color: #6a6a6a;
  font-size: 14px;
  background-color: #eff2f1; 
  width: 100% auto;
}

a {
  text-decoration: none;
  transition: .3s all ease;
  color: #2f2f2f;
  text-decoration: underline; 
}

a:hover {
  color: #2f2f2f;
  text-decoration: none; 
}

a.more {
  font-weight: 600; 
}

/* --- Navigation --- */
.custom-navbar {
  background: #3b5d50 !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 {
  box-shadow: none;
  outline: none; 
}

.custom-navbar .custom-navbar-nav li a {
  font-weight: 500;
  color: #ffffff !important;
  opacity: .5;
  transition: .3s all ease;
  position: relative; 
}

.custom-navbar .custom-navbar-nav li a:hover {
  opacity: 1; 
}

.custom-navbar .custom-navbar-nav li.active a {
  opacity: 1; 
}

.custom-navbar .custom-navbar-cta {
  margin-left: 0 !important;
  flex-direction: row; 
}

.custom-navbar .custom-navbar-cta li {
  margin-left: 0px;
  margin-right: 0px; 
}

.custom-navbar .custom-navbar-cta li:first-child {
  margin-right: 20px; 
}

/* --- Hero Section --- */
.hero {
  background: #3b5d50;
  padding: calc(4rem - 30px) 0 0rem 0; 
}

.hero .intro-excerpt {
  position: relative;
  z-index: 4; 
}

.hero h1 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 30px; 
}

.hero p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 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; 
}

.hero .hero-img-wrap:after {
  content: "";
  position: absolute;
  width: 255px auto;
  height: 217px;
  background-image: url("../images/dots-light.svg");
  background-size: contain;
  background-repeat: no-repeat;
  right: -100px;
  top: -0px; 
}

/* --- Buttons --- */
.btn {
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  color: #ffffff;
  background: #2f2f2f;
  border-color: #2f2f2f; 
}

.btn:hover {
  color: #ffffff;
  background: #222222;
  border-color: #222222; 
}

.btn:active, .btn:focus {
  outline: none !important;
  box-shadow: none; 
}

.btn.btn-primary {
  background: #3b5d50;
  border-color: #3b5d50; 
}

.btn.btn-primary:hover {
  background: #314d43;
  border-color: #314d43; 
}

.btn.btn-secondary {
  color: #2f2f2f;
  background: #f9bf29;
  border-color: #f9bf29; 
}

.btn.btn-secondary:hover {
  background: #f8b810;
  border-color: #f8b810; 
}

.btn.btn-white-outline {
  background: transparent;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.3); 
}

.btn.btn-white-outline:hover {
  border-color: white;
  color: #ffffff; 
}

/* --- Products --- */
.section-title {
  color: #2f2f2f; 
}

.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;
  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; 
}

.product-section .product-item h3, .product-section .product-item strong {
  color: #2f2f2f;
  text-decoration: none; 
}

.product-section .product-item .icon-cross {
  position: absolute;
  width: 35px;
  height: 35px;
  display: inline-block;
  background: #2f2f2f;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: -17.5px;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: .3s all ease; 
}

.product-section .product-item .icon-cross img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); 
}

.product-section .product-item:before {
  bottom: 0;
  left: 0;
  right: 0;
  position: absolute;
  content: "";
  background: #dce5e4;
  height: 0%;
  z-index: -1;
  border-radius: 10px;
  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%; 
}

/* --- Features & Choosing --- */
.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;
  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(59, 93, 80, 0.2);
  border-radius: 50%;
  right: -8px;
  bottom: 0; 
}

.feature h3 {
  font-size: 14px;
  color: #2f2f2f; 
}

.feature p {
  font-size: 14px;
  line-height: 22px;
  color: #6a6a6a; 
}

/* --- We Help Section (Grid) --- */
.we-help-section {
  padding: 7rem 0; 
}

.we-help-section .imgs-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-green.svg");
  background-size: contain;
  background-repeat: no-repeat;
  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 {
  grid-column: 1 / span 18;
  grid-row: 1 / span 27; 
}

.we-help-section .imgs-grid .grid.grid-2 {
  grid-column: 19 / span 27;
  grid-row: 1 / span 5;
  padding-left: 20px; 
}

.we-help-section .imgs-grid .grid.grid-3 {
  grid-column: 14 / span 16;
  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 #3b5d50;
  position: absolute;
  left: 0;
  top: 8px; 
}

/* --- Popular Product --- */
.popular-product {
  padding: 0 0 7rem 0; 
}

.popular-product .product-item-sm h3 {
  font-size: 14px;
  font-weight: 700;
  color: #2f2f2f; 
}

.popular-product .product-item-sm a {
  text-decoration: none;
  color: #2f2f2f;
  transition: .3s all ease; 
}

.popular-product .product-item-sm a:hover {
  color: rgba(47, 47, 47, 0.5); 
}

.popular-product .product-item-sm p {
  line-height: 1.4;
  margin-bottom: 10px;
  font-size: 14px; 
}

.popular-product .product-item-sm .thumbnail {
  margin-right: 10px;
  flex: 0 0 120px;
  position: relative; 
}

.popular-product .product-item-sm .thumbnail:before {
  content: "";
  position: absolute;
  border-radius: 20px;
  background: #dce5e4;
  width: 98px;
  height: 98px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1; 
}

/* --- Testimonials --- */
.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; 
}

.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: #2f2f2f;
  margin-bottom: 0; 
}

.testimonial-slider-wrap #testimonial-nav {
  position: absolute;
  top: 50%;
  z-index: 99;
  width: 100%;
  display: none; 
}

.testimonial-slider-wrap #testimonial-nav > span {
  cursor: pointer;
  position: absolute;
  width: 58px;
  height: 58px;
  line-height: 58px;
  border-radius: 50%;
  background: rgba(59, 93, 80, 0.1);
  color: #2f2f2f;
  transition: .3s all ease; 
}

.testimonial-slider-wrap #testimonial-nav > span:hover {
  background: #3b5d50;
  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%;
  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;
  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%;
  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: #3b5d50; 
}

/* --- Blog --- */
.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;
  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: 14px; 
}

.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 --- */
.footer-section {
  padding: 80px 0;
  background: #ffffff; 
}

.footer-section .relative {
  position: relative; 
}

.footer-section a {
  text-decoration: none;
  color: #2f2f2f;
  transition: .3s all ease; 
}

.footer-section a:hover {
  color: rgba(47, 47, 47, 0.5); 
}

.footer-section .subscription-form {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  margin-top: 100px; 
}

.footer-section .subscription-form h3 {
  font-size: 18px;
  font-weight: 500;
  color: #3b5d50; 
}

.footer-section .subscription-form .form-control {
  height: 50px;
  border-radius: 10px;
  font-family: "Inter", sans-serif; 
}

.footer-section .subscription-form .form-control:active, .footer-section .subscription-form .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #3b5d50;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); 
}

.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; 
}

.footer-section .links-wrap ul li {
  margin-bottom: 10px; 
}

.footer-section .footer-logo-wrap .footer-logo {
  font-size: 32px;
  font-weight: 500;
  text-decoration: none;
  color: #3b5d50; 
}

.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: #dce5e4;
  color: #3b5d50;
  border-radius: 50%; 
}

.footer-section .custom-social li a:hover {
  background: #3b5d50;
  color: #ffffff; 
}

.footer-section .border-top {
  border-color: #dce5e4; 
}

.footer-section .border-top.copyright {
  font-size: 14px !important; 
}

/* --- Misc --- */
.untree_co-section {
  padding: 7rem 0; 
}

.form-control {
  height: 50px;
  border-radius: 10px;
  font-family: "Inter", sans-serif; 
}

.form-control:active, .form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #3b5d50;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2); 
}

.service {
  line-height: 1.5; 
}

.service .service-icon {
  border-radius: 10px;
  flex: 0 0 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  background: #3b5d50;
  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: 18px; 
}

.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 #3b5d50 !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: #3b5d50 !important; 
}

.thankyou-icon {
  position: relative;
  color: #3b5d50; 
}

.thankyou-icon:before {
  position: absolute;
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 93, 80, 0.2); 
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* --- X-Large Devices (Desktops, less than 1400px) --- */
@media (max-width: 1400px) {
  .hero h1 {
    font-size: 48px;
  }
}

/* --- Large Devices (Desktops/Laptops, less than 1200px) --- */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 42px;
  }
  
  .hero .hero-img-wrap img {
    left: 0px;
    top: -40px;
    right: -50px;
    max-width: 600px;
  }
  
  .hero .hero-img-wrap:after {
    top: -20px;
  }
}

/* --- Medium Devices (Tablets/Small Laptops, less than 992px) --- */
@media (max-width: 992px) {
  .custom-navbar .custom-navbar-nav li {
    margin-left: 5px;
    margin-right: 5px;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero .intro-excerpt {
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .hero .hero-img-wrap img {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    max-width: 100%;
    margin-bottom: 40px;
  }
  
  .hero .hero-img-wrap:after {
    display: none; /* Hide decorative dots on smaller screens */
  }
  
  .footer-section .subscription-form {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  
  .footer-section .links-wrap {
    margin-top: 30px;
  }
  
  /* Fix Grid for We Help Section */
  .we-help-section .imgs-grid {
    grid-template-columns: 1fr;
    display: block; /* Fallback to block for stacking */
  }
  
  .we-help-section .imgs-grid .grid {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-bottom: 20px;
    padding: 0 !important;
  }
  
  .we-help-section .imgs-grid .grid img {
    width: 100%;
    height: auto;
  }
}

/* --- Small Devices (Tablets/Large Phones, less than 768px) --- */
@media (max-width: 768px) {
  .custom-navbar .custom-navbar-nav li a:before {
    display: none; /* Remove underline animation on mobile menu */
  }
  
  .custom-navbar .custom-navbar-cta {
    margin-left: 0 !important;
    margin-top: 20px;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .product-section, 
  .why-choose-section, 
  .we-help-section, 
  .popular-product, 
  .testimonial-section, 
  .blog-section {
    padding: 4rem 0;
  }
  
  .testimonial-slider-wrap .item .testimonial-block blockquote {
    font-size: 16px;
    line-height: 1.5;
  }
  
  .testimonial-slider-wrap #testimonial-nav {
    display: none; /* Hide arrows on mobile, rely on dots or swipe */
  }
  
  .footer-section .sofa-img {
    display: none; /* Hide big floating sofa on mobile */
  }
  
  .custom-list li {
    width: 100%; /* Stack list items */
  }
}

/* --- Extra Small Devices (Phones, less than 576px) --- */
@media (max-width: 576px) {
  .navbar-brand {
    font-size: 24px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .btn {
    padding: 10px 20px;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .product-section .product-item h3 {
    font-size: 15px;
  }
  
  .footer-section {
    padding: 40px 0;
  }
  
  .site-blocks-table thead {
    display: none; /* Hide table headers on very small screens */
  }
  
  .site-blocks-table tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #eee;
  }
  
  .site-blocks-table td {
    display: block;
    text-align: right;
    padding: 10px;
    border: none;
    position: relative;
  }
  
  .site-blocks-table td:before {
    content: attr(data-label); /* Requires HTML data-label attributes */
    position: absolute;
    left: 10px;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  .site-blocks-table .product-thumbnail {
    width: 100%;
    text-align: center;
  }
}