/*
Theme Name: Decant Drops
Author: Alejandro Bores
Version: 1.0
*/


:root{
	--color-gray: #6d717a;
  --color-gray-light: #d3d3dd;
  --color-gray-dark: #2e3031;
	--color-white: #eeeeee;
  --color-white-sky: #e9ebf3;
  --color-black: #090909;
  --color-black-coal: #212020;

  --color-accent: #cc9f33;
 
  --color-orange-main: #F18900;
  --color-orange-clear: #fdebdd;

  --color-pink-dark: #e0dce4;

  --color-blue-dark: #04002c;

  --color-purple-bright: #5a3ac9;


	--content-long-width: 1400px;
	--content-small-width: 1040px;
  --content-width: 1300px;

  --footer-height: 140px;
  --header-height: 120px;


  
	--font-size-text: 18px;
  --font-size-text-small: 14px;
  
  --font-size-title: 50px;
  --font-size-subtitle: 30px;
  --font-size-subtitle-small: 25px;
}


@media screen and (max-width: 767px){
    :root{
      --font-size-text: 16px;
      --font-size-text-small: 14px;
      --font-size-title: 30px;
      --font-size-subtitle: 22px;
      --font-size-subtitle-small: 18px;
    }
}
@media all and (max-width: 500px){
  :root{
     --content-sides: 40px;
  }
}

body,
html{
  background-color: var(--color-white-sky);
  overflow: unset;
}


@font-face {
    font-family: 'Newake';
    src: url('./vendor/fonts/Newake.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


.title{
  font-family: "Newake", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: black;
  font-size: var(--font-size-title);
  line-height: 1.1;
  letter-spacing: 1.5px;
}
.subtitle-1{
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  color: var(--color-black-coal);
  font-size: var(--font-size-subtitle);
  line-height: 1.4;
}
.subtitle-small{
  font-size: var(--font-size-subtitle-small);
}

.text-1{
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "slnt" 0;
  color: var(--color-black);
  font-size: var(--font-size-text);
  line-height: 1.4;
  margin-bottom: 20px;
}
.text-small{
  font-size: var(--font-size-text-small);
}
.text-1 b,
.text-bold{
   font-weight: 600px;
}



.link{
  position: relative;
}
.link::before{
  /*content: "";*/
  position: absolute;
  bottom: -32%;
  margin: auto;
  right: 0;
  left: 0;
  width: 100%;
  max-width: 0;
  height: 1.7px;
  transition: all 0.1s;
  background-color: var(--color-white);
}
.link.invert::before{
  background-color: var(--color-white);
}
.link:hover::before{
  max-width: 100%;
}



/*buttons*/

.button,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt,
.wc-block-components-button{
  background-color: var(--color-black);
  /*border: solid 1.7px var(--color-black);*/
  border-radius: 1000px;
  color: white;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  transition-timing-function: cubic-bezier(0, 0.73, 1, 1);
  transition: all 0.3s;
  height: 40px;
  padding: 0px 20px;
  font-size: 15px;
  line-height: 1.4;
  gap: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}


.button.button-primary,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt,
.wc-block-components-button{
  background-size: 200% auto;
  box-shadow: 0 0 5px #0003;
  background-image: linear-gradient(to right, #3b4152 0%, #0f1112 51%, #2f3547 100%);
}
.button.button-primary:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover,
.wc-block-components-button:hover{
  background-position: right center;
}
.button.button-secondary{
  
}
.button.button-secondary:hover{

}

.button.button-black{
  background-color: var(--color-black);
  border: solid 1.7px var(--color-black);
  color: white;
}
.button.button-black:hover,
.button.button-black.selected{
  background-color: var(--color-white-sky);
  border: solid 1.7px var(--color-black);
  color: black;
}
.button.button-white{
  background-color: var(--color-white-sky);
  border: solid 1.7px var(--color-black);
  color: var(--color-black);
}
.button.button-white:hover,
.button.button-white.selected{
  background-color: var(--color-black);
  border: solid 1.7px var(--color-black);
  color: white;
}

.button:has(.icon-wrapper){
  padding-right: 5px;
  gap: 20px;
}
.button .icon-wrapper {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.1s;
    background: rgb(255 255 255 / 90%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.7px);
    -webkit-backdrop-filter: blur(8.7px)
}
.button .icon-wrapper svg{
  width: 50%;
  height: 50%;
}
.button:hover .icon-wrapper{
  background: rgb(255 255 255 / 100%);
}



.button-small{
   height: 35px;
   font-weight: 400;
}
.button-gray{
  color: black;
  background-color: var(--color-gray-light);
  padding: 0px 20px;
  border: 1.7px solid var(--color-gray-light);
}
.button-gray:hover{
  /*border: 1.7px solid rgba(0,0,0,0);*/
  background-size: 200% auto;
  background-image: linear-gradient(to right, #3b4152 0%, #0f1112 51%, #2f3547 100%);
  color: white;
}

/*forms*/
input,
select,
textarea,
.input{
  width: 100%;
  color: black;

  --placeholder-font-size: 14px;
  height: 35px;
  border-radius: 1000px;
  border: 1px solid rgb(158 158 158 / 34%);
  background-color: var(--color-gray-light);
}
textarea{
  border-radius: 16px;
}
input{
  padding-left: 10px;
}
input,
select{
  height: 40px;
}
select option{
  color: var(--black);
}
.input{
  
}
.form{
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: start;
  --gap: 20px;
  gap: var(--gap);
}
.form .button{
/*  margin-top: 10px;*/
}
.form .error-message{
  font-size: 16px;
  font-weight: bold;
  color: var(--color-error);
  width: 100%;
  text-align: center;
}
.input-holder{
  position: relative;
  width: 100%;
}
.input-holder.half{
  flex: 1 0 calc(50% - var(--gap));
}
.input-holder.third{
  flex: 1 0 calc(33.33% - var(--gap));
}
.input-holder[conditional]{
  display: none;
}
.input-holder[conditional].show{
  display: block;
}

.input-holder label{
  font-size: 16px;
  transition: all 0.5s;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  margin-bottom: 5px;
}


.input-holder:has(.input[type="checkbox"]){
  position: relative;
}
.input-holder:has(.input[type="checkbox"]) label{
  padding-left: 23px;
}
.input-holder .input[type="checkbox"]{
  position: absolute;
  top: 4px;
}
.input-holder.invalid .input,
.input-holder.invalid .input-fake{
  border: var(--color-error) 1.7px solid;
}
.input-holder .error-tip{
  font-size: 12px;
/*  min-height: 18px;*/
  font-weight: bold;
  padding-left: 15px;
  color: rgba(0,0,0,0);
}
.input-holder.invalid .error-tip{
  color: var(--color-error);
}
.input-holder.valid .input,
.input-holder.valid .input-fake{
  border: var(--color-ok) 1.7px solid;
}


.input-holder:has(.icon-holder) .input{
  padding-left: 40px;
}
.input-holder .icon-holder{
  position: absolute;
  top: 9px;
  left: 9px;
  margin: auto;
  z-index: 1;
  cursor: pointer;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.input-holder .icon-holder svg{
  width: 100%;
  height: 100%;
}
.input-holder .icon-holder svg *{
  fill: var(--color-black);
}
.input-holder.valid .icon-holder svg *{
  fill: var(--color-ok);
}
.input-holder.invalid .icon-holder svg *{
  fill: var(--color-error);
}


.input-holder:has(.input[password]) .icon-holder svg{
  display: none;
}
.input-holder:has(.input[password][type="password"]) .icon-holder .close-eye{
  display: block;
}
.input-holder:has(.input[password][type="text"]) .icon-holder .open-eye{
  display: block;
}


.input-holder:has(.input[type="file"]) .icon-holder svg {
  width: 70%;
  height: 70%;
}
.input-holder:has(.input[type="file"]) input.input{
  opacity: 0;
  position: relative;
  z-index: 0;
  cursor: pointer;
}
.input-holder .input-fake{
  cursor: pointer;
  margin-bottom: -40px;
  position: relative;
  z-index: 0;
  padding: 8px;
}
.input-holder .input-fake p{
  white-space: nowrap;
  text-overflow: ellipsis;
  width: calc(100% - 50px);
  position: absolute;
  overflow: hidden;
  opacity: 1;
}
.input-holder.valid .input-fake p,
.input-holder.invalid .input-fake p{
  opacity: 1;
}


.wpcf7-form{
  display: flex;
  --gap: 24px;
  gap: var(--gap);
  flex-wrap: wrap;
  background-color: var(--color-white-sky);
  border-radius: 32px;
  padding: 40px;
  max-width: 630px;
  margin-left: auto;
}
.wpcf7-form label,
.wpcf7-form *{
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}
.wpcf7-form label:has(input){
  flex: 1 1 calc(50% - 20px);
}
.wpcf7-form .form-title{
  font-weight: 600;
  margin-bottom: 20px;
}
.wpcf7-form *{
  font-weight: 400;
}
.wpcf7-form .wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

.wpcf7-form label{
  margin-bottom: 10px;
  width: 100%;
  color: var(--color-black-coal);
}
.wpcf7-form label span{
  margin-top: 10px;
}
.wpcf7-form [type="submit"]{
  max-width: 200px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  padding: 8px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;

  background-color: black;
  border: solid 1.7px black;
  border-radius: 23px;
  color: white;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  transition-timing-function: cubic-bezier(0, 0.73, 1, 1);
  transition: all 0.2s;
  height: 40px;
  padding: 0px 20px;
  font-size: 18px;
  line-height: 1;
}
.wpcf7-form [type="submit"]:hover{
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 15px;
  background-color: transparent;
  color: black;
}
.wpcf7-form .wpcf7-spinner {
    margin: 18px 24px 0 0;
}
.wpcf7-form textarea{
  min-height: 80px;
  height: 80px;
  padding-left: 10px;
  padding-top: 10px;
}
.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output {
    border-color: #ffb900;
    border-radius: 5px;
    color: white;
}
.wpcf7 form.sent .wpcf7-response-output{
  color: white;
}
@media screen and (max-width: 767px){
  .wpcf7-form{
    padding: 40px 20px;
  }
  .wpcf7-form label:has(input){
    flex: 1 1 calc(100%);
  }
}


table{
  border-spacing: 0 0px;
}
table th{
  border-bottom: 1.7px solid var(--color-primary);
  padding-bottom: 20px;
}
table .text-right{
  text-align: right;
}
table tbody{
  padding-top: 20px;
}
table td{
  border-bottom: 1.7px solid var(--color-third);
  padding-top: 15px;
  padding-bottom: 15px;
}
table td,
table th{
  width: auto; 
}
table .small-cell{
  width: 70px; 
  padding-right: 20px;
}




/*animations*/
@keyframes fadeOut {
      0% {
          opacity: 1;
      }
      100% {
          opacity: 0;
      }
}
@keyframes fadeIn {
      0% {
          opacity: 0;
      }
      100% {
          opacity: 1;
      }
}
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes line-move {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(100%);
    }
}
@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}





/*products list*/
.products{
  padding-top: 0px;
  padding-bottom: 60px;
}
.products .content{
    --gap: 40px;
    flex-direction: row;
    gap: var(--gap);
    align-items: stretch;
    justify-content: start;

    margin-right: calc(var(--gap) * -1);
    max-width: calc(var(--content-width) + var(--gap));
    width: calc(100% - var(--content-sides) + var(--gap));
}
.products .product-card{
   flex: 0 0 calc(25% - 40px);
}

/*product card*/
.product-card{
  border-radius: 32px;
  padding: 20px 20px 10px 20px;
  background-color: black;
  box-shadow: 0px 1px 6px #00000085;
  position: relative;
}
.product-card a{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.product-card .img-holder{
  aspect-ratio: 1;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
}
.product-card .main-img{
  height: 100%;
  width: 100%;
  transition: all 0.3s;
  object-fit: cover;
}
.product-card:hover .main-img{
  transform: scale(1.1);
}
.product-card .text-holder{
  width: 100%;
  margin-top: 15px;
}
.product-card .tags{
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  width: 100%;
}
.product-card .tags .tag{
  font-size: var(--font-size-text-small);
  color: var(--color-gray);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
}
.product-card .product-title{
  font-size: var(--font-size-text);
  color: white;
  line-height: 1.1;
  letter-spacing: 0.8px;
}
.product-card .price-text{
  font-size: var(--font-size-text);
  color: white;
  margin-top: 10px;
}
.product-card .buttons{
  width: 100%;
}

@media screen and (max-width: 700px){
  .products .content{
    --gap: 20px;
  }
  .products{
    padding-bottom: 40px;
  }
  .products .product-card{
    flex: 0 0 calc(50% - 20px);
    border-radius: 16px;
  }
  .product-card .img-holder{
    border-radius: 8px;
  }
  .product-card .product-title{
    font-size: var(--font-size-text);
  }
  .product-card{
    padding: 10px;
  }
}




/*section title*/
.section-title .content{
  padding-top: 40px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
}
.section-title .title{

}

@media screen and (max-width: 500px){
  .section-title .content{
    flex-direction: column;
    gap: 15px;
    padding-bottom: 40px;
  }
}