/*
Theme Name: Wine Solutions
Theme URI: https://winesolutions.pe
Author: Cocoa Perú
Author URI: https://cocoa.pe/
Description: Plantilla desarrollada para uso de Wine Solutions
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root{
	--font-family: "Roboto", sans-serif;
	--font-headlines: "Roboto", sans-serif;
	--link: inherit;
	--vino: #211226;
	--uva: #49404C;
	--black: #111111;
	--gris: #857F87;
	--light: #F4F4F4;
	--white: #ffffff;
	--border: #C3C0C4;
	
	--header-height: 96px;
	--col: 123px;
	--container: 1390px;
}
@media only screen and (max-width: 1399px){ :root{ --col: 95px; --container: 1140px; } }
@media only screen and (max-width: 1199px){ :root{ --col: 79.98px; --container: 960px; } }
@media only screen and (max-width: 991px){ :root{ --col: 60px; --container: 710px; } }
@media only screen and (max-width: 767px){ :root{ --col: 45px; --container: 540px; } }
@media only screen and (max-width: 575px){ :root{ --col: calc(100vw/12); --container: 100vw; } }

html{
	font-size: 18px;
}

body, table, td{
	font-family: var(--font-family);
	line-height: 1.25;
	color: var(--vino);
	font-weight: 400;
	font-size: 1rem;
	font-optical-sizing: auto;
	font-style: normal;
	font-variation-settings:
    "wdth" 100;
}
a{
	color: var(--link);
	text-decoration: underline;
}
a:hover{
	color: var(--uva);
	text-decoration: underline;
}

small, .small{ font-size: 88.889%; }

.font-bold,
b, strong{ font-weight: 700; }

.font-semibold{ font-weight: 600; }

h1, .h1{ font-size: 4rem; }
h2, .h2{ font-size: 3rem; }
h3, .h3{ font-size: 2.5rem; }
h4, .h4{ font-size: 2rem; }
h5, .h5{ font-size: 1.5rem; }
h6, .h6{ font-size: 1.2222rem; }
.tiny{ font-size: .77778rem; }
.p{ font-size: 1rem;}

.has-medium-font-size{ font-size: 1.2222rem !important; }
.has-small-font-size{ font-size: 0.88889rem !important; }

h1,h2,h3,h4,h5,h6{ font-family: var(--font-headlines); font-weight: 400; margin-bottom: 1rem; line-height: 1.1;}

ul,ol{
	margin-bottom: 1.5rem;
}

ol:last-child,
ul:last-child,
p:last-child,
h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child{
	margin-bottom: 0 !important;
}

p:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child{
	margin-top: 0 !important;
}

p{
	margin-bottom: 1rem;
}

ul, ol{
	padding-left: 1.5em;
}

.overflow-hidden{
	overflow: hidden;
}

.wp-block-separator,
hr{
	border: 0 solid var(--black);
	border-top-width: 1px;
	opacity: .32;
}

/*------------------------------ btn-trigger -------------------------*/

.btn-trigger{
	position: relative;
	display: block;
	min-width: 3rem;
	height: 3rem;
	border: 0 none;
	background-color: var(--white);
	z-index: 100;
	border-radius: 0;
}

.btn-trigger span{
	display: block;
	position: absolute;
	width: 26px;
	height: 2px;
	background-color: var(--vino);
	left: calc(50% - 13px);
	-webkit-transition: all 0.1s ease;
	-moz-transition: all 0.1s ease;
	-ms-transition: all 0.1s ease;
	-o-transition: all 0.1s ease;
	transition: all 0.1s ease;
	z-index: 9;
	border-radius: 0;
}
.btn-trigger span:nth-child(1){
	top: calc(50% - 9px);
}
.btn-trigger span:nth-child(2){
	bottom: calc(50% - 9px);
}

.btn-trigger span:nth-child(3){
	bottom: calc(50% - 1px);
}

.btn-trigger.show span:nth-child(1){
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	top: calc(50% - 1px);
}
.btn-trigger.show span:nth-child(2){
	-moz-transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	bottom: calc(50% - 1px);
}
.btn-trigger.show span:nth-child(3){
	width: 0;
	opacity: 0;
}

/*------------------------------ Forms -----------------------------*/

.label,
label{
	font-size: 1rem;
	margin-bottom: .25rem;
	font-weight: 600;
}

.form-select,
.form-control{
	height: 3.5rem;
	display: block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	width: 100%;
	font-size: 1rem;
	color: var(--black);
	border-radius: .375rem;
	border: 1px solid var(--border);
	padding: .25rem .75rem;
}

.form-select:not(:disabled):hover,
.form-control:not(:disabled):hover{
	border-color: var(--black);
}

textarea.form-control{
	height: auto;
	padding-top: .75rem;
}

input::-webkit-input-placeholder{color: var(--gris);}
input::-moz-placeholder{color: var(--gris);}
input:-ms-input-placeholder{color: var(--gris);}
input::-ms-input-placeholder{color: var(--gris);}
input::placeholder{color: var(--gris);}

.form-select{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999999' viewBox='0 0 16 16'%3E%3Cpath d='M0,4.9l1.8-1.8,6.2,6.2,6.2-6.2,1.8,1.8-8,8L0,4.9Z'/%3E%3C/svg%3E");
	background-position: right 1rem center;
	background-repeat: no-repeat;
	background-size: .8889rem auto;
}

.form-select:not(:disabled):focus,
.form-select:not(:disabled):active{
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 16 16'%3E%3Cpath d='M16,11.1l-1.8,1.8-6.2-6.2L1.8,12.9l-1.8-1.8L8,3.1l8,8Z'/%3E%3C/svg%3E");
}

.form-floating {
	position: relative;
}
.form-floating .form-control,
.form-floating .form-control-plaintext,
.form-floating .form-select {
	height: 3.25rem;
	min-height: 3.25rem;
	line-height: 1.25;
}
.form-floating label {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	max-width: 100%;
	height: 100%;
	padding: 1rem 0.75rem;
	margin-bottom: 0;
	overflow: hidden;
	color: var(--uva);
	text-align: start;
	text-overflow: ellipsis;
	font-weight: 400;
	white-space: nowrap;
	pointer-events: none;
	border: 1px solid transparent;
	transform-origin: 0 0;
	transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
.form-floating label {
	transition: none;
}
}
.form-floating .form-control,
.form-floating .form-control-plaintext {
	padding: 1rem 0.75rem;
}
.form-floating .form-control::placeholder,
.form-floating .form-control-plaintext::placeholder {
	color: transparent;
}
.form-floating .form-control:focus, .form-floating .form-control:not(:placeholder-shown),
.form-floating .form-control-plaintext:focus,
.form-floating .form-control-plaintext:not(:placeholder-shown) {
	padding-top: 1.5rem;
	padding-bottom: 0.625rem;
}
.form-floating .form-control:-webkit-autofill,
.form-floating .form-control-plaintext:-webkit-autofill {
	padding-top: 1.5rem;
	padding-bottom: 0.625rem;
}
.form-floating .form-select {
	padding-top: 1.5rem;
	padding-bottom: 0.625rem;
	padding-left: 0.75rem;
}
.form-floating .form-control:focus ~ label,
.form-floating .form-control:not(:placeholder-shown) ~ label,
.form-floating .form-control-plaintext ~ label,
.form-floating .form-select ~ label {
	transform: scale(0.8) translateY(-0.6rem) translateX(0.15rem);
}
.form-floating .form-control:-webkit-autofill ~ label {
	transform: scale(0.8) translateY(-0.6rem) translateX(0.15rem);
}
.form-floating textarea:focus ~ label::after,
.form-floating textarea:not(:placeholder-shown) ~ label::after {
	position: absolute;
	inset: 1rem 0.375rem;
	z-index: -1;
	height: 1.5em;
	content: "";
	background-color: var(--white);
	border-radius: 6px;
}
.form-floating textarea:disabled ~ label::after {
	background-color: var(--bs-secondary-bg);
}
.form-floating .form-control-plaintext ~ label {
	border-width: 1px 0;
}
.form-floating :disabled ~ label,
.form-floating .form-control:disabled ~ label {
	color: var(--gris);
}

input[type=checkbox]{
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
	width: 1.125rem;
	height: 1.125rem;
	border: 2px solid var(--border);
	border-radius: 3px;
	cursor: pointer;
	background-position: center;
	background-size: 1.25rem;
	vertical-align: middle;
}
input[type=checkbox]:hover{
	border-color: var(--gris);
}
input[type=checkbox]:checked{
	background-color: var(--vino);
	border-color: var(--vino);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z'/%3E%3C/svg%3E"); 
}

.form-control[type=file]{
	height: auto;
	cursor: pointer;
	padding: .75rem .75rem;
}
.form-control::-webkit-file-upload-button {
  padding: 0.75rem 0.75rem;
  margin: -0.75rem -0.75rem;
  -webkit-margin-end: 0.75rem;
  margin-inline-end: 0.75rem;
  color: var(--white);
  background-color: var(--gris);
  pointer-events: none;
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  border-inline-end-width: var(--bs-border-width);
  border-radius: 0;
  -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control::file-selector-button {
  padding: 0.75rem 0.75rem;
  margin: -0.75rem -0.75rem;
  -webkit-margin-end: 0.75rem;
  margin-inline-end: 0.75rem;
  color: var(--white);
  background-color: var(--gris);
  pointer-events: none;
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  border-inline-end-width: var(--bs-border-width);
  border-radius: 0;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
  .form-control::-webkit-file-upload-button {
    -webkit-transition: none;
    transition: none;
  }
  .form-control::file-selector-button {
    transition: none;
  }
}
.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
  background-color: var(--vino);
}
.form-control:hover:not(:disabled):not([readonly])::file-selector-button {
  background-color: var(--vino);
}

/*------------------------------ VIDEO RESPONSIVE -----------------------------*/

.ratio {
	position: relative;
	width: 100%;
}
.ratio::before {
	display: block;
	padding-top: var(--bs-aspect-ratio);
	content: "";
}
.ratio > * {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ratio-1x1{--bs-aspect-ratio: 100%;}
.ratio-4x3{--bs-aspect-ratio: 75%;}
.ratio-16x9{--bs-aspect-ratio: 56.25%;}
.ratio-21x9{--bs-aspect-ratio: 42.8571428571%;}

/*------------------------------ MODAL -----------------------------*/

.modal {
  --bs-modal-zindex: 1055;
  --bs-modal-width: 500px;
  --bs-modal-padding: 1rem;
  --bs-modal-margin: 0.5rem;
  --bs-modal-color: ;
  --bs-modal-bg: var(--bs-body-bg);
  --bs-modal-border-color: var(--bs-border-color-translucent);
  --bs-modal-border-width: var(--bs-border-width);
  --bs-modal-border-radius: var(--bs-border-radius-lg);
  --bs-modal-box-shadow: var(--bs-box-shadow-sm);
  --bs-modal-inner-border-radius: calc(var(--bs-border-radius-lg) - (var(--bs-border-width)));
  --bs-modal-header-padding-x: 1rem;
  --bs-modal-header-padding-y: 1rem;
  --bs-modal-header-padding: 1rem 1rem;
  --bs-modal-header-border-color: var(--bs-border-color);
  --bs-modal-header-border-width: var(--bs-border-width);
  --bs-modal-title-line-height: 1.5;
  --bs-modal-footer-gap: 0.5rem;
  --bs-modal-footer-bg: ;
  --bs-modal-footer-border-color: var(--bs-border-color);
  --bs-modal-footer-border-width: var(--bs-border-width);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--bs-modal-zindex);
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: var(--bs-modal-margin);
  pointer-events: none;
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}
.modal.show .modal-dialog {
  transform: none;
}
.modal.modal-static .modal-dialog {
  transform: scale(1.02);
}

.modal-dialog-scrollable {
  height: calc(100% - var(--bs-modal-margin) * 2);
}
.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
  overflow-y: auto;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: var(--bs-modal-bg);
  background-clip: padding-box;
  outline: 0;
}

.modal-backdrop {
  --bs-backdrop-zindex: 1050;
  --bs-backdrop-bg: #000;
  --bs-backdrop-opacity: 0.8;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--bs-backdrop-zindex);
  width: 100vw;
  height: 100vh;
  background-color: var(--bs-backdrop-bg);
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: var(--bs-backdrop-opacity);
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
}

@media (min-width: 576px) {
  .modal {
    --bs-modal-margin: 1.75rem;
    --bs-modal-box-shadow: var(--bs-box-shadow);
  }
  .modal-dialog {
    max-width: var(--bs-modal-width);
    margin-right: auto;
    margin-left: auto;
  }
  .modal-sm {
    --bs-modal-width: 300px;
  }
}
@media (min-width: 992px) {
  .modal-lg,
  .modal-xl {
    --bs-modal-width: 800px;
  }
}
@media (min-width: 1200px) {
  .modal-xl {
    --bs-modal-width: 1140px;
  }
}

.fade {
  transition: opacity 0.15s linear;
}
@media (prefers-reduced-motion: reduce) {
  .fade {
    transition: none;
  }
}
.fade:not(.show) {
  opacity: 0;
}

button.close{
	position: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--black);
	border: 0 none;
	width: 2.75rem;
	height: 2.75rem;
	z-index: 9999;
	color: var(--white);
	top: 1rem;
	right: 1rem;
	padding: 0;
}
button.close svg{
	width: 40%;
	height: auto;
}
button.close:hover{
	transform: scale(1.2);
	background-color: var(--amarillo);
}

.img-fluid{
	max-width: 100%;
	height: auto;	
}

.img-fit{
	object-fit: cover;
	width: 100%;
	height: 100%;
}
.rounded{ border-radius: 1rem; }

.text-uppercase{text-transform: uppercase !important;}
.text-underline{ text-decoration: underline !important; }
.w-100{width: 100%;}
.h-100{height: 100%;}
.position-relative{	position: relative;}

.text-start {text-align: left !important;}
.text-end {text-align: right !important;}
.text-center { text-align: center !important;}

@media (min-width: 576px) {
	.text-sm-start {text-align: left !important;}
	.text-sm-end {text-align: right !important; }
	.text-sm-center {text-align: center !important;}
}
@media (min-width: 768px) {
	.text-md-start {text-align: left !important;}
	.text-md-end {text-align: right !important;}
	.text-md-center {text-align: center !important;}
}
@media (min-width: 992px) {
	.text-lg-start {text-align: left !important;}
	.text-lg-end {text-align: right !important;}
	.text-lg-center {text-align: center !important;}
}
@media (min-width: 1200px) {
	.text-xl-start {text-align: left !important;}
	.text-xl-end {text-align: right !important;}
	.text-xl-center {text-align: center !important;}
}
@media (min-width: 1400px) {
	.text-xxl-start {text-align: left !important;}
	.text-xxl-end {text-align: right !important;}
	.text-xxl-center {text-align: center !important;}
}

.py,.pt{ padding-top: 5rem; }
.py,.pb{ padding-bottom: 5rem; }
.my,.mt{ margin-top: 5rem; }
.my,.mb{ margin-bottom: 5rem; }

.text-vino{color: var(--vino) !important;}
.text-uva{color: var(--uva) !important;}
.text-black{color: var(--black) !important;}
.text-gris{color: var(--gris) !important;}
.text-light{color: var(--light) !important;}
.text-white{color: var(--white) !important;}
.text-border{color: var(--border) !important;}

.bg-vino{background-color: var(--vino) !important;}
.bg-uva{background-color: var(--uva) !important;}
.bg-black{background-color: var(--black) !important;}
.bg-gris{background-color: var(--gris) !important;}
.bg-light{background-color: var(--light) !important;}
.bg-white{background-color: var(--white) !important;}
.bg-border{background-color: var(--border) !important;}

a.text-gris:hover{color: var(--uva) !important;}

.text-truncate{overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.stretched-link::after{ position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 1;content: "";}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl{
	padding-right: 15px;
    padding-left: 15px;
}
.row:not([class*=gx]){
	--bs-gutter-x: 30px;
}
@media (min-width: 1400px) {
	.container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
		max-width: 1390px;
	}
}

.cta a,
.wp-block-button__link,
.btn{
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
	line-height: 1;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	background-color: transparent;
	padding: 0.35rem 2.5rem;
	font-size: 1rem;
	min-height: 3.25rem;
	font-weight: normal;
	z-index: 1;
	gap: 0 0.5em;
	border-radius: 50em;
	color: inherit;
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;
}

.wp-block-button__link:hover,
.btn:hover{
	text-decoration: none;
	color: inherit;
}

@media (prefers-reduced-motion: reduce) {
	.btn {
		transition: none;
	}
}

.btn:hover{
	text-decoration: none;
	color: inherit;
}

@media (prefers-reduced-motion: reduce) {
	.btn {
		transition: none;
	}
}

.btn-sm{
	border-radius: 4px;
	min-height: 2.25rem;
}

.btn-circle{
	width: 2.25rem;
	min-height: 2.25rem;
	padding: 0;
}
.cta a,
.btn-uva:hover,
.btn-vino{
	border-color: var(--vino);
	background-color: var(--vino);
	color: var(--white);
}

.cta a:hover,
.btn-vino:hover{
	border-color: var(--uva);
	background-color: var(--uva);
	color: var(--white);
}

.btn-uva{
	border-color: var(--uva);
	background-color: var(--uva);
	color: var(--white);
}

.btn-light{
	border-color: var(--light);
	background-color: var(--light);
	color: var(--vino);
}
.btn-light:hover{
	border-color: var(--border);
	background-color: var(--border);
	color: var(--vino);
}

.btn-outline{
	border-color: var(--gris);
	background-color: transparent;
	color: var(--gris);
}
.btn-outline:hover{
	border-color: var(--uva);
	background-color: transparent;
	color: var(--uva);
}

.btn-white{
	border-color: var(--white);
	background-color: var(--white);
	color: var(--uva);
}
.btn-white:hover{
	border-color: var(--light);
	background-color: var(--light);
	color: var(--uva);
}

/*------------------------------ Responsive -----------------------------*/

@media only screen and (max-width: 1539px){
	
	h1, .h1{ font-size: 3.5rem; }

}
@media only screen and (max-width: 1399px){
	html{
		font-size: 16px;
	}
}
@media only screen and (max-width: 1199px){
	html{
		font-size: 18px;
	}

}
@media only screen and (max-width: 991px){
	html{
		font-size: 16px;
	}
	small, .small{
		font-size: 100%;
	}
	.has-small-font-size{
		font-size: 1rem !important;
	}
	h1, .h1{ font-size: 3rem; }
	h2, .h2{ font-size: 2.75rem; }

}
@media only screen and (max-width: 767px){
	
	.py,.pt{ padding-top: 4rem; }
	.py,.pb{ padding-bottom: 4rem; }
	.my,.mt{ margin-top: 4rem; }
	.my,.mb{ margin-bottom: 4rem; }
	
}
@media only screen and (max-width: 575px){
	
	h1, .h1{ font-size: 2.5rem; }
	h2, .h2{ font-size: 2rem; }
	h3, .h3{ font-size: 1.75rem; }
	h4, .h4{ font-size: 1.5rem; }
	h5, .h5{ font-size: 1.2222rem; }
	h6, .h6{ font-size: 1.1111rem; }
	
	.py,.pt{ padding-top: 3.42rem; }
	.py,.pb{ padding-bottom: 3.42rem; }
	.my,.mt{ margin-top: 3.42rem; }
	.my,.mb{ margin-bottom: 3.42rem; }
	
}