/*
Theme Name: Mattress Shop Pro
Theme URI: 
Author: BuyWpTemplates
Author URI: https://www.buywptemplates.com/
Description:
Version: 0.0.1
License: GNU General Public License
License URI:license.txt
Text Domain: mattress-shop-pro
Tags: one-column, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments
Mattress Shop Pro WordPress Theme has been created by BuyWpTemplates(buywptemplates.com), 2025.
Mattress Shop Pro WordPress Theme is released under the terms of GNU GPL
*/
/* Basic Style */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
  --dark-green:#2C3E50;
  --blue:#0052B4;
  --light-green: #3B5B62;
  --black:#000;
  --white:#fff;
  --off-white:#F4FFE6;
}
:root {
  --font-one:"Inter", sans-serif;
  --font-two:"Playfair Display", serif;
}
*{
  margin:0;
  padding:0;
  outline:none;
}
html body{
  margin:0;
  padding:0;
  -ms-word-wrap:break-word;
  word-wrap:break-word;
  color:#2C3E50;
  position:relative;
  font-size: 14px;
  background: #f3f0eb;
  font-family:"Inter", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}
body a {
  text-decoration: none;
  color: #242424;
}
a:hover{
  color: #000;
}
.plan-button a:hover{
  color: #000;
}
.serve-cat li button a{
  color: unset;
  background: unset !important;
}
.wp-block-search__inside-wrapper{
  display: block;
}
section {
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 20px 0;
  overflow-x: hidden;
}
h1,h2,h3,h4,h5{
  margin: 0;
}
h1{
 
}
h2{
 font-weight: 700;
  font-size: 50px;
    line-height: 70px;
  font-family: var(--font-two);
}
h3{
      font-family: Inter;
    font-weight: 600;
    font-size: 38px;
    line-height: 45px;
}
h4,h4 a{
  font: 500 23px / 34px var(--font-one)
}
h5,h5 a{
    font: 700 20px / 29px var(--font-one);
}
h6,h6 a{
  font: 400 16px / 20px var(--font-one);
  margin: 0;
}
p{
  font: 400 16px / 26px var(--font-one);
  margin: 0;
}
a:hover{
  color: var(--light-green);
}
.nav-tabs,.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active, .nav-tabs .nav-link{
  border: none;
}
ul li{
  text-decoration: none;
  list-style: none;
}
ol, ul{
  padding-left: 0;
}
textarea {
    padding: 5px;
}
.wpcf7-spinner{
    margin: 0px 0px;
}
.footer-col-one .wpcf7-spinner{
      width: 20px;
    height: 20px;
    top: 10px;
    right: -12px;
}

.btn:focus{
  outline: none;
  box-shadow: none !important;
}
.modal-backdrop{
  background: unset!important;
  top: unset!important;
  opacity: 1!important;
  left: unset!important;
}
.scroll{
  background-attachment: scroll !important;
}
.fixed{
  background-attachment: fixed !important;
}
[type=search]{
    width: 100%;
}
 section{
     background-size: cover !important;
     background-repeat: no-repeat !important;
     padding: 60px 0;
     background-attachment: scroll;
     overflow-x: hidden;
}
/*--------------Owl Carousel-----------------*/


.woocommerce .loader::before{
  display: none;
}

/*--------------- Comments ---------------------*/
.comments-rating {
  border: none;
  padding: 0;
  margin-left: 0;
}
.comments-rating label {
  display: inline-block;
}
.rating-container {
  font-size: 0;
  unicode-bidi: bidi-override;
  direction: rtl;
}
.rating-container * {
  font-size: 1.4rem;
}
.rating-container > input {
  display: none;
}
.rating-container > input + label {
  font-family: 'dashicons';
  display: inline-block;
  overflow: hidden;
  text-indent: 9999px;
  width: 1em;
  white-space: nowrap;
  cursor: pointer;
  margin: 0;
}
.rating-container > input + label:before {
  display: inline-block;
  text-indent: -9999px;
  content: "\f154";
  color: #888;
}
.rating-container > input:checked ~ label:before,
.rating-container > input + label:hover ~ label:before,
.rating-container > input + label:hover:before {
  content: "\f155";
  color: var(--color-sky-blue);
  text-shadow: 0 0 1px #333;
}
.rating-container > .star-cb-clear + label {
  text-indent: -9999px;
  width: .5em;
  margin-left: -.5em;
}
.rating-container > .star-cb-clear + label:before {
  width: .5em;
}
.rating-container:hover > input + label:before {
  content: "\f154";
  color: var(--color-sky-blue);
  text-shadow: none;
}
.rating-container:hover > input + label:hover ~ label:before,
.rating-container:hover > input + label:hover:before {
  content: "\f155";
  color: var(--color-sky-blue);
  text-shadow: 0 0 1px #333;
}
.comment-respond .rating-container > .star-cb-clear + label, .comment-respond .rating-container > input + label:before {
  text-indent: 9999px;
}
.comment-respond .rating-container > input + label {
  text-indent: -9999px;
}
.dashicons-star-filled:before{
  color: var(--color-sky-blue);
}
.dashicons, .dashicons-before:before{
  font-size: 16px;
}
/*-------- Loader ------------*/
.bwt-travel-loading-box{
  position: fixed;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 99999999;
  background-color: var(--dark-green);
  width: 100%;
}
.loader-main{
  display: flex;
  justify-content: center;
  width: max-content;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: max-content;
}

.loader {
  width: 50px;
  --b: 8px; 
  aspect-ratio: 1;
  border-radius: 50%;
  padding: 1px;
  background: conic-gradient(#0000 10%,#fff) content-box;
  -webkit-mask:
    repeating-conic-gradient(#0000 0deg,#000 1deg 20deg,#0000 21deg 36deg),
    radial-gradient(farthest-side,#0000 calc(100% - var(--b) - 1px),#000 calc(100% - var(--b)));
  -webkit-mask-composite: destination-in;
          mask-composite: intersect;
  animation:l4 1s infinite steps(10);
}
@keyframes l4 {to{transform: rotate(1turn)}}
/*----------------Header menu----------------------*/
.close-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}
.close-icon:after, .close-icon:before {
    display: block;
    position: absolute;
    background-color: var(--wolmart-light-color,#ccc);
    content: "";
}
.close-icon:before {
    height: 2px;
    width: 100%;
    left: 0;
    top: calc(50% - 1px);
}
.close-icon:after {
    height: 100%;
    width: 2px;
    top: 0;
    left: calc(50% - 1px);
}
blockquote {
  font-size: 18px;
  font-style: italic;
  max-width: 100%;
  padding: 1.25em 40px 0.3em;
  line-height: 1.45;
  position: relative;
  color: #0f0f0f;
  border-bottom: 8px solid var(--color-sky-blue);
  background: #EDEDED;
  background:#EDEDED;
    -webkit-box-shadow: 0px 4px 13px -7px var(--color-black)000, 5px 5px 15px 5px rgba(0,0,0,0);
  box-shadow: 0px 4px 13px -7px var(--color-black)000, 5px 5px 15px 5px rgba(0,0,0,0);
}
blockquote::before{
  font-size: 88px;
  font-family: Arial;
  content: "\201C";
  color: var(--color-sky-blue);
  position: absolute;
  left: 7px;
  top: -28px;
}
blockquote cite {
  color: #999999;
  font-size: 14px;
  display: block;
  margin-top: 5px;
}
blockquote cite:before {
  content: "\2014 \2009";
}
#accordion .accordion-button:not(.collapsed)::after {
    background-image: url("assets/images/accordion.png") !important;
    transform: rotate(-180deg);
}
#accordion .accordion-button::after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("assets/images/accordiono.png") !important;
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform .2s ease-in-out;
}
th a{
  color: #03B2FB;
}
#typography-sec .table-striped th:hover a{
  color: #03B2FB;
}
.wpcf7 form .wpcf7-response-output{
  font-family: "Inter", sans-serif;
}
/*----------Return To Top------------*/
#return-to-top {
    position: fixed;
    visibility: hidden;
    bottom: 10px;
    right: 30px;
    width: 50px;
    height: 50px;
    font-size: 20px;
    color: #fff;
    background: rgba(44, 62, 80, 0.4);
    text-decoration: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 99;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 1px 1px 4px 0px #00000040 inset;

}

.customize-partial-edit-shortcut-button{
  padding: 0 !important;
}
/* --common css--- */

.main-head{
  font-family: var(--font-two);
  color: var(--blue);
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
}
.main-para{
font: 400 20px / 32px var(--font-one);
}
.abt-point-para{
  color: #2C3E50;
      font-size: 18px;
}
.theme-btn .btn-text{
  border-radius: 25px;
  padding: 15px 22px;
  background: var(--light-green);
  color: var(--white);
  font: 600 14px / 20px var(--font-one);
  display: block;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: color 0.3s ease;
 }
 .btn-icon{
  background: var(--light-green);
  padding: 10px;
  border-radius: 50%;
 }
.theme-btn .btn-text::before{
  content: '';
  position: absolute;
  border: 1px solid #F4FFE6;
  border-radius: 25px;
  inset: 0;
    margin: 7px;

}
.theme-btn .btn-text::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black); 
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.5s ease;
  opacity: 0;
  z-index: -1;
}
.theme-btn:hover .btn-text::after {
  transform: translateX(0) skewX(-20deg);
  opacity: 1;
}
.theme-btn:hover  .btn-icon{
    background: var(--black); 
}
 .btn-icon svg{
     animation: rotate360 2s linear infinite;
}
@keyframes rotate360 {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
@media (min-width: 1800px) {
  .container{
            max-width: 1660px;
  }
}
/* owl nav */
/* owl nav css */
.owl-nav button{
  background: var(--black);
  border: none;
    height: 40px;
    width: 40px;
  line-height: 35px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.owl-nav button:hover{
background: var(--purple);
}
.owl-nav button:hover i{
  color: #fff;
}

/* about */
.hover-image{
     animation-duration: 8s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in;
  animation-name: pulse;
}
.about-point{
  margin-top: 70px;
}
.abt-inner-heading,.banner-point{
   color: #3B5B62;
}
.about-point i{
   color: #5EDD60;
   font-size: 20px;
       -webkit-animation: blink 0.7s infinite alternate;
}

#about-us{
  background: var(--white);
      border-radius: 15px;
}
/* Blog */
#blog-left-sidebar .content_page,#blog-right-sidebar .content_page{
  gap: 20px 0;
}
.blog-desc p{
      display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    
}
.blog-meta{
  font-family: var(--font-two);
  text-transform: capitalize;
  font-weight: 500;
}
.blog-meta i{
      font-size: 6px;
}
.blog-title  a{
  font-family: var(--font-two);
}
.blog-inner-meta{
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Inter;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    text-transform: capitalize;
}
.author-image{
  width: 20px !important;
}
.blog-img-main{
  height: 220px;
}
.blog-img-main{
  position: relative;
  overflow: hidden;
  height: 320px;
      border-radius: 15px;
}
.blog-img-main::after{
  content: "";
  width: 15px;
  height: 100%;
  background: #2C3E50;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: width 0.5s ease-in-out;
}
.blog-detail:hover .blog-img-main::after{
  background: var(--blue);
}
.blog-detail:hover .blog-title a{
  color: var(--blue);
}
.blog-img-main::before{

}
/* .blog-detail:hover .blog-img-main::after{
  width: 100%;
  opacity: 0.5;
} */
.blog-img-main img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  transform-origin: center center;
}
.blog-detail:hover .blog-img-main img{
  transform: scale(1.08) rotateZ(2deg);
}
.post-month-outer{
  font-size: 14px;
  line-height:22px;
  font-weight: 400;
}
.blog-desc{
    font: 400 16px / 25px var(--font-one);
}

/* product */

.wishlist-items-wrapper .product-add-to-cart, .wishlist_table.mobile li .product-add-to-cart{
  right: 0px;
}
.pro-img, .wishlist-items-wrapper  .product-thumbnail,.wishlist_table.mobile li .item-wrapper .product-thumbnail, .related.products li img{
  height: 260px;
  /* width: 490px; */
  margin: 0 auto;
}
.pro-img img,  .wishlist-items-wrapper .product-thumbnail img, .wishlist_table.mobile li .item-wrapper .product-thumbnail img{
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: 10px;
}
 
.product-title a, .product-name a, .related.products li a{
     font: 700 16px / 20px var(--font-one);
  color: #000;
}
 .product-price del bdi{
  display: none;
 }
  .product-price ins{
    text-decoration: unset;
  }
 .product-price bdi{
    font-family: var(--font-two);
    font-weight: 700;
    font-size: 35px;
    line-height: 35px;
    color: var(--light-green);
 }
 .woocommerce-Price-currencySymbol{
      padding-right: 5px;
 }
 .product-button{
    background: #2C3E50;
    padding: 10px;
    display: flex;
    justify-content: center;
    border-radius: 5px;
 }
 .product-button:hover,#our-product .owl-item.active.is-center .product-button:hover{
  background: var(--black);
 }
 .product-button a{
  font-size: 16px;
  font-weight: 500;
  color: #fff;
 }
.cart-btn, .wishlist_text{
     height: 35px;
    isolation: isolate;
    width: 35px;
    background: var(--dark-green);
    border-radius: 50%;
        justify-content: center;
}
.woocommerce-message{
  border-top-color:var(--dark-gree)
}
.woocommerce-message::before{
  color: var(--dark-gree);
}
.woocommerce-message{
        font: 400 14px / 20px var(--font-one);
    color: #000;
}
.yith-wcwl-wishlistaddedbrowse{
  position: relative;
}
 .summary.entry-summary .yith-wcwl-add-to-wishlist{
  display: none;
 }
 .summary.entry-summary form.variations_form.cart .yith-wcwl-add-to-wishlist,.product-type-simple .cart .yith-wcwl-add-to-wishlist{
  display: block;
 }
.wishlist_text{
 display: flex;
  align-items: center;
  justify-content: center;
}
.yith-wcwl-wishlistaddedbrowse .feedback {
    gap: 0px;
}
.yith-wcwl-icon-svg{
    margin-right: 0 !important;
    color: #fff !important;
    width: 20px !important;
}
.cart-btn a, .wishlist-items-wrapper .product-add-to-cart a,  .wishlist_table.mobile li .product-add-to-cart a{
  font-size: 0 !important;
  position: relative !important;
  display: block !important;
  background: transparent !important;
  padding: 0 !important;
}

.cart-btn a:before ,  .wishlist-items-wrapper .product-add-to-cart a:before, .wishlist_table.mobile li .product-add-to-cart a:before{
    content: "\f07a";
}
.cart-btn a:before,  .wishlist-items-wrapper .product-add-to-cart a:before, .wishlist_table.mobile li .product-add-to-cart a:before {
  text-align: center;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
  position: absolute;
  top: 0;
  line-height: 33px;
  height: 35px;
  width: 35px;
  color: #fff;
}
.wishlist-items-wrapper .product-add-to-cart a:before, .wishlist_table.mobile li .product-add-to-cart a:before{
  background: #FCB900 !important;
  border-radius: 6px;
}
.cart-btn:hover{
background:#000;
color:#fff;
}
.cart-btn:hover a:before{
  color: #fff;
}
.yith-wcwl-add-to-wishlist{
  margin-top: unset;
}
 .wishlist_text i{
   margin-right: unset !important;
   line-height: 33px;
  font-size: 14px;
  height: 32px;
  width: 33px;
  background: #FCB900;
  text-align: center;
  border-radius: 6px;
  color: #000;
   position: relative;
 }
 .yith-wcwl-add-to-wishlist.exists .yith-wcwl-icon{
   font-weight: 800;
 }
.yith-wcwl-wishlistaddedbrowse a{
  position: absolute;
  top: left;
  font-size: 8px;
  left: 3px;
  top: 5px;
  opacity: 0;
 }
 .feedback{
   font-size: 0;
 }
 .product-icon , .wishlist-items-wrapper .product-add-to-cart,.wishlist_table.mobile li .product-add-to-cart {
    position: absolute;
     top: 10px;
    left: 10px;
    right: 0;
    opacity: 0;
    width: max-content;
 }
  section.related.products .product-icon{
    left: 20px;
  }
 .wishlist-items-wrapper .product-add-to-cart ,.wishlist_table.mobile li .product-add-to-cart{
       top: 32%;
       right: 31px;
 }
 
 .product-box-main:hover  .product-icon, table.wishlist_table tr:hover .product-add-to-cart {
      opacity: 1;
 }
 .product-box-main:hover  .cart-btn, table.wishlist_table tr:hover  .product-add-to-cart a{
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translatey(-10px);
}
100% {
    opacity: 1;
    transform: translatey(0);
  }
}
 .product-box-main:hover  .wishlist_text{
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}
@keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.yith-add-to-wishlist-button-block{
  margin: 5px auto;
}
.yith-wcwl-add-to-wishlist-button__label{
  display: none;
}
.product-wrap .product-box,.shop.shop-product .product-box,.related.products .product-box{
    border-radius: 10px;
    padding: 10px 40px 20px;
    background: var(--white);
}

.product-box-main{
  position: relative;
}

.yith-wcwl-add-to-wishlist-button svg{
  width: 21px !important;
  height: 27px !important;
  color: #fff !important;
}
.product-desc,.product-feature{
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  width: 90%;
  margin: 15px auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
  -webkit-line-clamp: 2;
}
/* Testimonial */

.trust-box-main{
  height: 170px;
  width: 82%;
  position: relative;
  margin-bottom: 30px;
}

.trusted-box{
  background-image: url(assets/images/trust/shape.png);
  -webkit-mask-image:  url(assets/images/trust/mask.png); 
  mask-image:  url(assets/images/trust/mask.png);        
  -webkit-mask-size: cover;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-size: 100% 100%;
} 