@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300&display=swap');

/* Variables
---------------------------------------- */
:root {
  --primary: #cc9f53;
  --secondary: #606062;
  --dark: #000000;
  --light: #f4f4f4;
  --border: #dddddd;

  --color-text: #444444;
  --color-heading: #111111;
}

/* HTML and Body
---------------------------------------- */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  width: 100%;
  height: auto;
  min-height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.15rem;
  line-height: 1.7em;
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
/* Regions
---------------------------------------- */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}
summary {
  display: list-item;
  cursor: pointer;
}
details {
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
template,
[hidden] {
  display: none;
}

/* Typography
---------------------------------------- */
h1, h2, h3 {
	/*font-family: 'EB Garamond', serif;*/
    font-weight: 400;
}
h4,
h5,
h6 {
  color: var(--color-heading);
  font-weight: 600;
  font-style: normal;
  line-height: 1.7;
  text-transform: uppercase;
  margin: 0;
}

h1 {
	font-size: calc(28px + (36 - 28)*(100vw - 300px)/(1000 - 300));
	line-height: 1.4em;
	text-align: center;
}

/* Línea debajo */
h1::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #EB0000;
    display: flex;
	margin: 0 auto;
}

h2 {
  font-size: calc(36px + (48 - 36)*(100vw - 300px)/(1000 - 300));
}
h3 {
  font-size: 1.8rem;
}
h4 {
  font-size: 1.2rem;
}
h5 {
  font-size: 1.1rem;
}
h6 {
  font-size: 1.1rem;
}

/* Subrayado animado */
h2 a, h3 a, h4 a, .sidebar li a, a.linea {
    background: linear-gradient(to right, rgba(250, 250, 250, 0), rgba(250, 250, 250, 0)), linear-gradient(to right, rgba(255, 102, 0, 1), rgba(255, 102, 0, 1));
    background-size: 100% 2px, 0 2px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 800ms;
}
h2 a:hover, h3 a:hover, h4 a:hover, .sidebar li a:hover, a.linea:hover,
h2 a:focus, h3 a:focus, h4 a:focus, .sidebar li a:focus, a.linea:focus {
	background-size: 0 2px, 100% 2px;
	color: blue;
}

p { margin: 0 0 1.2rem 0; }
b, strong { font-weight: bolder; }
dfn, cite { font-style: italic; }
del { text-decoration: line-through; }
small { font-size: 80%; }
big { font-size: 125%; }
em { font-style: normal; }
a { background-color: transparent; text-decoration: none; color: var(--primary); }
a:active, a:focus { text-decoration: none; border: 0; outline: 0; }
a:hover { color: var(--dark); }

/* Typography-> code tags */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1rem;
}
kbd,
samp {
  display: inline-block;
  margin: 0;
  padding: 0 5px;
}
pre {
  overflow: auto;
  margin: 1rem 0;
  padding: 1rem;
  tab-size: 2;
}
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
tt,
var {
  font-family: monospace, monospace;
  font-style: italic;
}
mark {
  background: var(--primary);
}
acronym[title], abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}
abbr,
acronym {
  cursor: help;
}

/* Media
---------------------------------------- */
audio,
canvas,
progress,
video {
  vertical-align: baseline;
  max-width:100%;
}
audio:not([controls]) {
  display: none;
  height: 0;
}
img,
a img {
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-style: none;
  vertical-align: middle;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border: 0;
}
.align-left {
  margin: 0 1rem 0 0;
}
.align-right {
  margin: 0 0 0 1rem;
}
.align-center {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
figcaption {
  padding: 4px;
  font-size: 0.8rem;
  text-align: center;
}
.image-field {
  margin: 0 0 1rem 0;
}

/* BUTTON */
.button {
  margin: 10px;
  padding: 12px 18px;
  text-align: center;
  text-transform: uppercase;
  transition: 0.5s;
  background-size: 200% auto;
  color: #606062;
  border-radius: 30px;
  display: block;
  border: 1px solid #606062;
  font-weight: 700;
  box-shadow: 0px 0px 14px -7px #f09819;
  /*background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);*/
  background: transparent;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.button:hover {
  background-position: right center;
  /* change the direction of the change here */
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  border: 0;
}
.button:active {
  transform: scale(0.95);
}

/* Form
---------------------------------------- */
form {
  margin-bottom: 1rem;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.7;
  margin: 0;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
.button {
  display:inline-block;
}
.button,
button,
[type="button"],
[type="reset"],
[type="submit"] {
  position: relative;
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 0;
}
button[disabled],
html input[disabled] {
  cursor: not-allowed;
  opacity: 0.7;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
input {
  line-height: normal;
}
input,
textarea {
  max-width: 100%;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
  padding: 10px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
  outline: 0;
}
textarea {
  width: 100%;
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  padding: 0;
  cursor: pointer;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
[type="file"] {
  cursor: pointer;
}
fieldset {
  margin: 0 0 20px 0;
  padding: 1rem;
}
fieldset > :last-child {
  margin-bottom: 0;
}
legend {
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
optgroup {
  font-weight: bold;
}
select {
  padding: 6px;
  cursor: pointer;
}
label[for] {
  cursor: pointer;
}
/* Form */
.form-item {
  margin-bottom: 1rem;
}
.form-required:after {
  content: "*";
  display: inline-block;
  padding-left: 4px;
  color: red;
}
.form-item label {
  display: block;
}
label.option {
  display: inline;
  font-weight: normal;
}
::-webkit-input-placeholder {
  color: var(--border);
}
:-moz-placeholder {
  color: var(--border);
}
::-moz-placeholder {
  color: var(--border);
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--border);
}
.field--name-body input[type="text"],
.field--name-body input[type="email"],
.field--name-body input[type="url"],
.field--name-body input[type="password"],
.field--name-body input[type="search"],
.field--name-body textarea {
  display: block;
  margin-bottom: 0.8rem;
}
/* Common HTML Elements
---------------------------------------- */
hr {
  background-color: var(--border);
  clear: both;
  width: 100%;
  max-width: 100%;
  height: 2px;
  border: 0;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  overflow: visible;
}
address {
  margin: 0 0 1rem 0;
  font-style: italic;
}
/* Definition Lists */
dt {
  font-weight: 700;
}
dd {
  margin: 0 0 1.2rem 0;
}
blockquote {
  position: relative;
  background-color: var(--light);
  margin: 1rem 0;
  padding: 1rem;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/* List
---------------------------------------- */
 ul,
 ol {
   margin: 0;
   padding: 0 0 0.25rem 1rem;
 }
 [dir="rtl"] ul,
 [dir="rtl"] ol {
   padding: 0 1rem 0.25rem 0;
 }
 ol ol,
 ul ul {
   margin: 0;
   padding: 0 0 0.25rem 1rem;
 }
 [dir="rtl"] ol ol,
 [dir="rtl"] ul ul {
   padding: 0 1rem 0.25rem 0;
 }
 ul { list-style: disc; }
 li > ul,
 li > ol {
   margin-bottom: 0;
 }
 [dir="rtl"] ul,
 [dir="rtl"] ol {
   padding: 0 1rem 0.25rem 0;
 }
 li { padding: 4px 0; }

/* Table
---------------------------------------- */
table {
  width: 100%;
  margin-bottom: 1.2rem;
  border-spacing: 0;
  border-collapse: collapse;
}
th, tr, td { vertical-align: middle; }
th {
  margin: 0;
  padding: 5px;
  text-align: left;
}
td { padding: 5px; }

/* Default box sizing.
---------------------------------------- */
*,
:after,
:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
*:after,
*::after,
*:before,
*::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Sin sidebar */
.sinsidebar .main-wrapper .container{ max-width: 90%; }

.flexcontent-3 {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: 12px;
	background-color: #fff;
}
.itemcontent {
	padding: 16px;
	border: 1px solid #ccc;
	border-radius: 12px;
}
.itemcontent-1 { flex-basis: 100%; }
.itemcontent-2 { flex-basis: 100%; }
.itemcontent-3 { flex-basis: 100%; }

/* PAGINA SERVICIOS */
.main-tabs { margin: auto; }
.main-tabs *:focus, input:focus + label {
  outline: none;
  box-shadow: inset 0 0 0 5px #FFF;
}
.main-tabs h2 {
  text-align: center;
  margin-top: 0;
}
.main-tabs h3 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: bold;
}
.main-tabs p {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.5;
}
.main-tabs .tabs {
  max-width: 801px;
  display: flex;
  flex-wrap: wrap;
  margin: 45px auto;
  border-radius: 10px 10px 0 0;
}
.main-tabs .radiotab {
  position: absolute;
  opacity: 0;
}
.main-tabs .label {
  width: 100%;
  padding: 22px 20px;
  background: #e5e5e5;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: #7f7f7f;
  transition: background .3s, color .3s;
  border: none;
  border-radius: 0;
  text-align: center;
}
.main-tabs .label:hover { background: #d8d8d8; }
.main-tabs .label:active { background: #ccc; }
.main-tabs .radiotab:checked + .label {
  background: #FFCC29;
  color: #000;
  border-top: solid 2px #000;
  border-left: solid 2px #000;
  border-right: solid 2px #000;
  border-bottom: none;
}
.main-tabs .panel {
  display: none;
  padding: 20px 30px 30px;
  background: #fff;
  width: 100%;
  border-left: solid 2px #000;
  border-bottom: solid 2px #000;
  border-right: solid 2px #000;
}
.main-tabs .radiotab:checked + .label + .panel { display: block; }

.main-tabs .panel .items {
  display: flex;
  flex-flow: row nowrap;
}
.main-tabs .panel .item {
  flex-grow: 1;
  flex-basis: 50%;
}

@media (min-width: 600px) {
  .main-tabs .panel { order: 99; }
  .main-tabs .label {
    width: 25%;
    border-radius: 10px 10px 0 0;
    border-bottom: solid 2px #000;
  }
}

/* PINFLEX */
#pinflex {
  max-width: calc(5 * 16rem);
  min-width: 10em;
  margin: 0 auto;
}
.pinwrapper {
  padding: 0;
  border: 0;
  overflow: hidden;
  background-color: white;
  margin: .5em;
}
.pinwrapper h3 {
  font-size: 1.1em;
  font-weight: bold;
  text-transform: uppercase;
}
.pinwrapper p { font-size: 1em; }
.pin { padding: 0 1em; }
.pinimage img { width: 100%; }

/* FLEXBOX */
#pinflex {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.pinwrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 calc(50% - 1em);
}

/* ICONX */
ion-icon {
  font-size: 30px;
  color: #666;
  --ionicon-stroke-width: 16px; /* Solo outlines */
  margin-right: 8px;
}
ion-icon:hover {
  color: #fff;
}
.iconx:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-image: linear-gradient(120deg, #eaee44, #33d0ff); */
  background-color: rgba(78, 61, 69, 0.2);
  opacity: 1;
}
.iconx > * { z-index: 100; }
.iconx {
  position: relative;
  height:90px;
  width:90px;
  clip-path: circle(50% at 50% 50%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
* { transition: all 0.4s ease-out; }
.iconx:hover {
	height:94px;
	width:94px;
	background-color: rgba(78, 61, 69, 0.7);
}
.iconx:hover ion-icon { color: #fff !important; }

/* PAGINAS PRODUCTOS */
.layout__region--first, .layout__region--second {
    min-height: 100px;
    background: #fff !important;
    padding: 8px;
}
body.displayprods h1 {
	font-size: 36px;
	line-height: 1.2em;
	text-align: left;
}
/* Línea debajo */
body.displayprods h1::after {
    content: "";
    width: 60px;
    height: 5px;
    background: #FF6600;
    display: flex;
	margin: 12px auto 0 0;
}
body.displayprods #flexslider-1.flexslider { margin: 0; }
body.displayprods .field--name-sku { font-size: .9em; margin-bottom: 0; }
body.displayprods .node-taxonomy-container, .node-links-container { font-size: .9em; padding: 0; }
body.displayprods .field--name-field-descripcion { font-size: .9em; line-height: 1.5em; }
body.displayprods .field--name-price .original-price {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 10px;
}
body.displayprods .field--name-price .final-price {
	font-size: 42px;
	font-weight: bold;
	color: #FF6600;
	margin-bottom: 20px;
}
body.displayprods .form-actions .button {
	margin-left: 0;
}
body.displayprods .field--name-body {
	font-size: 1.0em;
    line-height: 1.4em;
}

/* TABLES en displayprods  */
body.displayprods table {
  font-size: .9em;
  border-collapse: collapse;
  width: 100%;
}
body.displayprods table td, body.displayprods table th {
  border: 1px solid #ddd;
  padding: 8px;
}
body.displayprods table tr:nth-child(even){background-color: #f2f2f2;}
body.displayprods table tr:hover {background-color: #ddd;}
body.displayprods table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: #04AA6D;
  color: white;
}


/* CATALOGO PRODUCTOS ----------------*/
.catalogo-prods {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
}
.catalogo-item {
	margin: 8px .8em;
	padding: 0;
	font-size: .9em;
	line-height: 1.2em;
}
.catalogo-item img { width: 100%; }
.catalogo-item .views-field-title { font-weight: bold; }
.catalogo-item .original-price { display: inline; }
.catalogo-item .final-price { font-weight: bold; display: inline; margin-left: 12px; }

#block-exposedformproductospage-1 label { display: none; }
#block-exposedformproductos-por-presupuestopage-1 label { display: none; }

@media (min-width: 490px) {
.catalogo-prods {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}
.catalogo-item { margin: 8px .8em; width: 43%; }
}
@media (min-width: 768px) {
	.catalogo-item { width: 26%; }
}
@media (max-width: 780px) {
	.site-page .node-content { margin: 0 auto; }

	#sidebar-left { display: block; }
	.main-container { flex-direction: column-reverse !important; }
	
	/*Exposed Filter - Productos*/
	#block-exposedformproductospage-1 .categ { display: block; }
	#block-exposedformproductospage-1 .categ {
	background-color: #FFCC29;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	}
	#block-exposedformproductospage-1 .categ a { color: #000; }
	#block-exposedformproductospage-1 .categ ion-icon {font-size: 20px; color: #000; --ionicon-stroke-width: 16px; vertical-align: sub;}

	/*Reset*/
	#block-exposedformproductospage-1 .form-select ul,
	#block-exposedformproductospage-1 .form-select ul li,
	#block-exposedformproductospage-1 .form-select ul ul li {
	margin:0;
	padding: 0;
	text-indent: 0;
	list-style-type: none;
	}

	#block-exposedformproductospage-1 .form-select ul {
	display: none;
    position: absolute;
    left: 0;
	width: 100%;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	}
	#block-exposedformproductospage-1 .form-select ul a {
	color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	}
	#block-exposedformproductospage-1 .form-select ul a:hover {
	background-color: #f1f1f1;
	}
	#block-exposedformproductospage-1 .form-select:hover ul {
    display: block;
	}
	#block-exposedformproductospage-1 .form-select:hover #block-exposedformproductospage-1 label {
    background-color: #3e8e41;
	}
	
	/*Exposed Filter - Productos por presupuesto*/
	#block-exposedformproductos-por-presupuestopage-1 .categ { display: block; }
	#block-exposedformproductos-por-presupuestopage-1 .categ {
	background-color: #FFCC29;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
	}
	#block-exposedformproductos-por-presupuestopage-1 .categ a { color: #000; }
	#block-exposedformproductos-por-presupuestopage-1 .categ ion-icon {font-size: 20px; color: #000; --ionicon-stroke-width: 16px; vertical-align: sub;}

	/*Reset*/
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul,
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul li,
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul ul li {
	margin:0;
	padding: 0;
	text-indent: 0;
	list-style-type: none;
	}

	#block-exposedformproductos-por-presupuestopage-1 .form-select ul {
	display: none;
    position: absolute;
    left: 0;
	width: 100%;
    background-color: #f9f9f9;
    min-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
	}
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul a {
	color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
	}
	#block-exposedformproductos-por-presupuestopage-1 .form-select ul a:hover {
	background-color: #f1f1f1;
	}
	#block-exposedformproductos-por-presupuestopage-1 .form-select:hover ul {
    display: block;
	}
	#block-exposedformproductos-por-presupuestopage-1 .form-select:hover, 
	#block-exposedformproductos-por-presupuestopage-1 label {
    background-color: #3e8e41;
	}
}

@media (min-width: 781px) {
#block-exposedformproductospage-1 .categ { display: none; }
#block-exposedformproductos-por-presupuestopage-1 .categ { display: none; }
.catalogo-item { width: 31%; }
}


/* CATALOGO-ITEM CARTA --------------- */
.catalogo-item {
	position: relative;
}
.catalogo-item .views-field-nothing {
    position: absolute;
	width: 100%;
	bottom: 16px;
	/*top: 50%;
	left: 50%;
	transform: translate(-50%, 0);*/
	padding: 8px 8px;
	background: rgba(0,0,0,.7);
	color: #fff;
	visibility: none; 
	opacity: 0;
	transition: opacity 0.5s;
}
.catalogo-item .grupo1 h3 {
	font-size: calc(18px + (24 - 18)*(100vw - 300px)/(1000 - 300));
	line-height: 1px !important;
    /*padding-bottom: 24px;*/
}
.catalogo-item .grupo1 .descrip p {
	font-family: 'Roboto Condensed', sans-serif;
	font-size: calc(12px + (16 - 12)*(100vw - 300px)/(1000 - 300));
	line-height: 1.2em;
	margin: 0 0 0.8em 0;
    color: #fff;
}
.catalogo-item .grupo1 .precio {
	font-size: calc(16px + (18 - 16)*(100vw - 300px)/(1000 - 300));
	font-weight: bold;
    color: #fff;
}
.catalogo-item:hover .views-field-nothing {
    visibility: visible; 
	opacity: 1;
}


@media (min-width: 577px) {
/* MARCAS */
#block-marcas { padding: 60px 0; }
.marcas {
	margin: 20px auto 40px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	gap: 30px 2.4em;
}
.marca {
	flex-grow: 1; flex-basis: 220px; }
}

@media (max-width: 576px) {
  .marcas { display: flex; flex-flow: column; align-items: center; gap: 0; }
  .marca { flex-basis: 150px; }
}

/* FLEXSLIDER CONTENIDO */
.slider-wrapp { 
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	gap: 0;
 }
.slider-item { width: 50%; }
.slider-item h2 {
    font-size: calc(50px + (60 - 50) * (100vw - 780px) / (1000 - 780));
	line-height: inherit;
    font-weight: bold;
	margin: 16px 0;
}
.slider-item h3 {
    font-size: calc(22px + (24 - 22) * (100vw - 780px) / (1000 - 780));
	line-height: 2em;
    font-weight: bold;
	margin: 16px 0;
}
.slider-item.item1 {}
.slider-item.item2 { 
	padding-left: 30px; 
	color: #fff; 
	display: flex;
	/*justify-content: center;*/
	align-items: center; 
}

@media (max-width: 779px) {
	.slider-wrapp { display: flex; flex-flow: column; }
	.slider-item { width: 100%; }
	.slider-item h2 { font-size: calc(40px + (60 - 40) * (100vw - 300px) / (779 - 300)); }
	.slider-item h3 { font-size: calc(16px + (30 - 16) * (100vw - 300px) / (779 - 300)); }
}

/* CART - CHECKOUT */
	.cart-checkout .form-item { margin: 1rem 0; }

@media (max-width: 800px) {
	.cart-checkout .container { width: 96% !important; padding: 0 !important; }
	.cart-checkout form { font-size: .9em; }
	.cart-checkout form .node-taxonomy-container { padding: 0; line-height: 1.1em !important; }
	.cart-checkout form td.views-field.views-field-edit-quantity { max-width: 50px !important; }
	.cart-checkout form li.taxonomy-term { word-break: normal; }
	.cart-checkout form .taxonomy-term a { padding: 0; border: 0; }
	.cart-checkout th.views-field.views-field-remove-button { display: none; }
	.cart-checkout td.views-field.views-field-remove-button { display: none; }
}

/* POPUP */
#block-proximamente-2 { display: none; }
.spb-popup-main-wrapper { font-size: .9em; max-width: 300px; overflow-y: scroll; overflow-x: hidden; }
.spb-popup-main-wrapper::-webkit-scrollbar { width: 1px; }
.spb-popup-main-wrapper .form-item { margin-bottom: .6rem; }
.spb-popup-main-wrapper .form-item-tc { font-size: .8em; }

@media (max-width: 399px) { .spb-popup-main-wrapper { max-width: 300px; }}

/* LISTA PRECIOS */
.lista-precios table form { display: flex; }
.lista-precios table { font-size: .9em; }
.lista-precios table td.views-field-title { font-weight: bold; min-width: 120px; }
.lista-precios table td input[type="text"] { max-width: 75% !important; }
.lista-precios table form .button { 
	width: 80px;
    height: 80px;
	padding: 0;
	margin: 16px;
    border-radius: 50%;
    font-size: .9em;
 }

/* SIDEBAR */
@media (max-width: 880px) { #sidebar-right { display: none; }}


.page-type-carta-menu .node-content {
  width: 80%;
  margin: 0 auto;
  padding: 0;
}
.page-type-carta-menu .field-item {
	padding-bottom: 16px;
}
.page-type-carta-menu .carta-grupo {
  clear: both;
  margin: 0 0 .8em;
  padding: 0 0 1.8em 0;
  position: relative;
  border-bottom: dotted 2px #999;
}
.page-type-carta-menu .field--name-field-titulo {
  font-family: 'Kaushan Script', cursive;
  background: #fff;
  padding: 0 10px 0 0;
  font-weight: normal;
  position: absolute;
  bottom: -2.7em;
  left: 0;
}
.page-type-carta-menu .field--name-field-titulo h3 {
	font-size: calc(20px + (26 - 20)*(100vw - 300px)/(1000 - 300));
    margin: 0;
}
.page-type-carta-menu .field--name-field-precio-menu {
  font-weight: bold;
  background: #fff;
  padding: 0 0 0 5px;
  position: absolute;
  bottom: -.8em;
  right: 0;
}

/* CARTA 2COLS */
body.carta-2cols .node-content { width: 90%; }
.page-type-carta-menu .paragraph--type--item-menu-2 .field--name-field-precio-menu {
    display: none !important;
}
.page-type-carta-menu .paragraph--type--item-menu-2 .carta-grupo {
    border-bottom: dotted 0px #999;
}
.carta-2cols.page-type-carta-menu .layout--twocol-section { gap: 24px; }


@media (max-width: 780px) {
	.carta-2cols.page-type-carta-menu .layout--twocol-section { flex-direction: column; }
}
@media (max-width: 960px) {
	.carta-2cols.page-type-carta-menu .node-content { width: 100%; }
}
@media (max-width: 800px) {
	.page-type-carta-menu .node-content { width: 90%; }
}
@media (max-width: 480px) {
	.page-type-carta-menu .node-content { width: 100%; }
}

/* MENU MENUES */
nav#block-menus { padding: 1em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
nav#block-menus ul.menu { list-style: none; padding: 0; margin: 0; /*background: #333;*/ }
nav#block-menus li a { color: black; display: block; text-decoration: none; padding: .4em .7em; }
nav#block-menus li a:hover { background: #660000; color: white; }

@media screen and (min-width: 480px) {
  nav#block-menus ul.menu {
    display: flex;
	flex-wrap: wrap;
  }
  nav#block-menus li{
    flex-grow:1; 
    text-align:center;
	border: 1px solid #660000;
	padding: 0;
    margin: 3px;
  }
}

/* TABLEFIELD EN LA CARTA */
.paragraph .tablefield th, tr, td {
    border-bottom: 1px solid #D2AE6D;
}

/* ESPECIAL */
.footer .xcolumn.especial h2 { color:var(--primary); } 
.footer .xcolumn.especial .escribenos { /*border-bottom:1px solid #CC9F53;border-top:1px solid #CC9F53;*/margin-left:5%;margin-right:10%;padding:8px; } 
.footer .xcolumn.especial .telf { color:var(--primary);font-size:1.8em; }

/* LINK RESERVA */
.reserva a { color: #ddc9a2; }
.reserva a:hover { 
color: #fff;
text-shadow: 0px 0px 5px rgba(200, 0, 0, 1),
	0px 0px 10px rgba(200, 0, 0, 1),
	0px 0px 15px rgba(200, 0, 0, 1),
	0px 0px 20px rgba(200, 0, 0, 1),
	0px 0px 25px rgba(200, 0, 0, 1),
	0px 0px 30px rgba(200, 0, 0, 1),
	0px 0px 35px rgba(200, 0, 0, 1);
 }
 @media (max-width: 480px) {
 header .reserva { display: none; }
}

/* ITEM MENU RESERVA */
.menu-reserva:hover {
	text-shadow: 0px 0px 5px rgba(200, 0, 0, 1),
	0px 0px 10px rgba(200, 0, 0, 1),
	0px 0px 15px rgba(200, 0, 0, 1),
	0px 0px 20px rgba(200, 0, 0, 1),
	0px 0px 25px rgba(200, 0, 0, 1),
	0px 0px 30px rgba(200, 0, 0, 1),
	0px 0px 35px rgba(200, 0, 0, 1);
}


.region-cover {
    height: 100vh;
}

.homepage .page-header,
.carta-menu-fotos .page-header,
.page-type-carta-menu .page-header {
    position: absolute !important;
    z-index: 5;
    height: 100vh;
	background: rgba(0,0,0,.5);
    color: #fff;
	display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp {
    position: fixed !important;
    z-index: 5000;
    left: 10px;
    bottom: 10px;
    max-width: 50px;
    min-width: 50px;
}


/* BLOQUES X */
.bquex { text-align: center; }
.bquex h2 { font-family: 'Kaushan Script', cursive; line-height:44px; }
.bquex .xrow { display: flex; flex-flow: row wrap; }
.bquex .xcolumn { flex: 1; margin: 10px; min-width: 45%; }

@media (max-width: 960px) {
	.bquex .xcolumn { /*min-width: 50%;*/ }
	.bquex .xrow img { width: 100%; }
}
@media (max-width: 900px) {
  .bquex .xrow { flex-flow: column; }
  .bquex .xrow img { width: 100%; }
}

/* CUADRICULA EN HOMEPAGE */
.cuadricula {
	display: flex;
	flex-flow: row wrap;
	gap: 16px;
}
.cuad {
	flex-basis: 40%;
	gap: 16px;
}
.cuad.item1 {
	display: flex;
	flex-flow: column;
	flex-grow: 1;
}
.cuad.item2 {
	flex-grow: 1;
}

@media (max-width: 900px) {
  .cuadricula { flex-flow: column; padding-bottom: 16px; }
  .cuad { width: 100%; }
  .especial { padding-bottom: 30px; }
}
