/*
 * Theme Name: Distcavi
 * Theme URI: http://www.marccots.com
 * Theme Description: Blank Bootstrap Wordpress Theme by Marc Cots
 * Author: Marc Cots
 * Author URI: http://www.marccots.com/
 * Version: 0.3
 * Tags: bootstrap, white, blank
 * License: license.txt
 * License URI:
*/



/* ----------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------- */
/* ----------------------------------------------------------------------------------------------------------- */



/* GENERAL */
html { overflow-x: hidden; }
html.actiu { overflow: hidden; }
html.admin { margin-top: 0 !important; } 

body { 
    background: #141414; 
    color: white; 
    font-family: body; 
    font-size: 15px; 
    line-height: 21px;     
    top: 0;
    position: relative; 
}

@font-face { font-family: celler; src: url("/res/fonts/celler.otf") format("opentype"); }
@font-face { font-family: tipus; src: url("/res/fonts/tipus.otf") format("opentype"); }
@font-face { font-family: vi; src: url("/res/fonts/vi.otf") format("opentype"); }
@font-face { font-family: body; src: url("/res/fonts/body.otf") format("opentype"); }
@font-face { font-family: bodyb; src: url("/res/fonts/bodyb.otf") format("opentype"); }
@font-face { font-family: bodyr; src: url("/res/fonts/bodyr.otf") format("opentype"); }
@font-face { font-family: preu; src: url("/res/fonts/preu.ttf") format("truetype"); }
@font-face { font-family: slider; src: url("/res/fonts/slider.ttf") format("truetype"); }

a { color: inherit; text-decoration: none; cursor: pointer; }
a:hover { color: inherit; text-decoration: none; }

img { max-width: 100%; }
.bg { background-size: cover; background-position:  center center; }
.overlay { position: absolute; top: 0; height: 100%; width: 100%; background: #141414; opacity: .6; }

.aspect {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative; /* If you want text inside of it */
}

.aspect img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

* { outline: none; }

.full-device { min-height: 100vh; max-height: 100vh; }

.marge-top { height: 100px; }

/* Web Wrap */

.web-wrap{ 
    width: 100%; 
    z-index: 0; 
    margin-left: 0;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}

.web-wrap.actiu {
    margin-left: 300px;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}

/* GENERAL END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* HEADER */

#header {
    position: fixed;
    background: rgba(20,20,20,0); 
    width: 100%;
    max-width: 100vw;
    height: 100px;
    z-index: 3;
}
#header.actiu { background: rgba(20,20,20,1); }

#logo { z-index: 3; }
#logo img { width: auto; height: 30px; }

#menu {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #141414;
    max-height: 100vh;
    z-index: 2;
    line-height: 110px;
    opacity: 0;
    pointer-events: none;
    font-family: slider;
    font-size: 80px;
    
}
#menu.actiu {
    opacity: 1;
    pointer-events: inherit;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

#menu #header-menu {
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    opacity: 0;
    margin-top: -20px;
}
#menu.actiu #header-menu {
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    opacity: 1;
    margin-top: 0;
}

#header-menu { margin: 0; padding: 0; list-style: none; }

#header-menu li { margin: 5px 0; }
#header-menu li a:hover { border-bottom: 2px solid; }

.lang-switch {
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 18px;
    font-size: 13px;
    letter-spacing: 0.08em;
    font-family: body, sans-serif;
}
.lang-switch a {
    opacity: 0.55;
    border-bottom: 1px solid transparent;
}
.lang-switch a.is-active,
.lang-switch a[aria-current="true"] {
    opacity: 1;
    border-bottom-color: #fff;
}
.page-legal .lang-switch--legal {
    margin-right: 0;
}

#menu-btn img { width: 36px; cursor: pointer; }
#menu-btn {
    z-index: 3;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
#menu-btn.actiu {
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    -o-transform: rotate(135deg);
}


/* HEADER END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* SLIDER */
.home h1 { 
    font-family: slider;
    font-size: 52px;
    width: 680px;
    max-width: 100%;
    margin: -50px auto 0;
}

.home {
    position: relative;
    overflow: hidden;
    background-image: none !important;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.home .row {
    margin-left: 0;
    margin-right: 0;
}

.home .overlay { z-index: 1; }
.home h1 { position: relative; z-index: 2; }
.home .arrow { z-index: 2; }

.arrow {
    z-index: 1;
    position: absolute;
    width: 42px;
    height: auto;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.arrow:hover {
    bottom: 25px;
    transform: translateX(-50%);
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

/* SLIDER END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* FILTRE */

.filtre { max-width: 1500px; }
.filtre-btn { cursor: pointer; margin: 50px 0 30px; font-size: 20px; }
.filtre-btn img { 
    width: 15px; 
    vertical-align: initial;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.filtre-btn.actiu img  { 
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
}
.filtre-btn.actiu .menys, .filtre-btn .mes { display: inline-block; }

#filter input[type=checkbox] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 20px;
}

#filter label { cursor: pointer; }
#filter label span {
    display: inline-flex;
    border: 1px solid #fff;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    margin-right: 10px;
    vertical-align: text-bottom;
}
#filter label span::before {
    height: 20px;
    width: 20px;
    background: rgba(255,255,255,0);
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: 100%;
    top: 0px;
    left: 0;
    transform: scale(0.6);
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -o-transform: scale(0.6);   
}
#filter input[type=checkbox]:checked + label span::before { background: rgba(255,255,255,1); }

/* FILTRE END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

.container-fluid.formulari { max-width: 1500px; margin: 0 auto; }
.formulari { display: none; margin: 20px 0 50px; }

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* CELLERS */
.wrap-total { 
    padding-bottom: 40px; 
    max-width: 1500px;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.wrap-total.actiu { 
    padding-bottom: 0; 
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.celler-wrap { border-top: 1px solid #fff; padding-top: 20px; }
.celler-wrap h1, .celler-wrap h2 { font-family: celler; margin: 0; font-weight: normal; }
.celler-wrap h1, .celler-wrap h2, .celler-info { font-size: 23pt; line-height: 29pt; }

.celler-info { font-family: tipus; }
.celler-info > span:not(:last-child):after { content: " /"; }

.celler-btn {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0;
    top: 15px;
    transform: translate(-50%, -50%) rotate(0deg);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: 0.4s cubic-bezier(0.2, 0.6, 0.3, 1.1);
}

.celler-btn:after, .celler-btn:before  {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
}
.celler-btn:after, .celler-btn:before  { height: 2px; width: 100%; }
.celler-btn:before { height: 100%; width: 2px; background: white; }
.celler-btn.clicked { 
    transform: translate(-50%, -50%) rotate(360deg); 
    -webkit-transform: translate(-50%, -50%) rotate(360deg); 
    -moz-transform: translate(-50%, -50%) rotate(360deg); 
    -o-transform: translate(-50%, -50%) rotate(360deg); 
}
.celler-btn.clicked:before { width: 0; }

/* CELLERS END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* VINS */

.wrap-vins { 
    display: none;
}


.wrap-vins b { font-family: bodyb; }


.vi-wrap { 
    margin: 80px 0; 
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.vi-wrap.actiu { 
    margin: 180px 0 50px; 
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}

.vi-wrap .title-wrap { 
    margin-top: 50px; 
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.vi-wrap.actiu .title-wrap { 
    margin-top: 170px; 
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}
.title-wrap .celler-btn { right: -15px; top: 30px; }

.tipus { font-family: tipus; font-size: 15pt; }

.vi-wrap h2,
.vi-wrap h3 {
    border-top: 1px solid #fff;
    font-size: 15pt;
    font-family: celler;
    margin: 0;
    padding-top: 15px;
    padding-right: 50px;
}

.vi-wrap .img-wrap{
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: center;
    cursor: pointer;
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}


.vi-wrap.actiu .img-wrap {
    margin-top: 0;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transition: all 200ms ease-out;
    -moz-transition: all 200ms ease-out;
    -o-transition: all 200ms ease-out;
    transition: all 200ms ease-out;
}


.info-vins { 
    display: none;
    border-bottom: 1px solid #fff;
    padding-bottom: 30px;
}
.info-vins b { display: block; }

.icono-valor {
    margin-top: 20px;
    max-height: 50px;
    clear: both;
    width: 100%;
    object-position: left;
    object-fit: contain;
}

/* VINS END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* VALORACIONS */

.stars{ width: 150px; display: inline-block }
.stars img { width: 20px; display: none; vertical-align: text-top; }

.stars.one img:nth-child(-n+1), .stars.one img:nth-child(+n+7) { display: inline-block; }
.stars.two img:nth-child(-n+2), .stars.two img:nth-child(+n+8) { display: inline-block; }
.stars.three img:nth-child(-n+3), .stars.three img:nth-child(+n+9) { display: inline-block; }
.stars.four img:nth-child(-n+4), .stars.four img:nth-child(+n+10) { display: inline-block; }
.stars.five img:nth-child(-n+5) { display: inline-block; }

.preu { font-family: preu; display: inline-block; letter-spacing: 3px; }

/* VALORACIONS END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* SINGLE VINS */

.vi-single { min-height: 60vh; }

.vi-title {
    font-size: 15pt;
    font-family: celler;
    margin: 0;
    padding: 0;
}

.rot90 {
    -webkit-transform: translateY(80%) rotate(-90deg); /* Safari */
    -moz-transform: translateY(80%) rotate(-90deg); /* Firefox 3.6 Firefox 4 */
    /*-moz-transform-origin: right top; */
    -ms-transform: translateY(80%) rotate(-90deg); /* IE9 */
    -o-transform: translateY(80%) rotate(-90deg); /* Opera */
    transform: translateY(80%) rotate(-90deg); /* W3C */  
    -webkit-transform-origin: bottom center;
    -moz-transform-origin: bottom center;
    -ms-transform-origin: bottom center;
    -o-transform-origin: bottom center;
    transform-origin: bottom center;
}

/* SINGLE VINS END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* NOSALTRES */

.nosotros { font-size: 18px; line-height: 24px; }
.wp-block-quote {
    font-family: celler;
    font-size: 30px;
    line-height: 36px;
    width: 80%;
}
.nosotros .wp-block-quote p { margin-bottom: 36px; }
.nosotros p { margin-bottom: 20px; }

.wp-block-image { margin: 40px 0; min-width: 100%; }
.wp-block-image img { width: 100%; }

/* NOSALTRES END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */

/* FOOTER */

footer { border-top: 1px solid; }
footer b { font-family: bodyb; }
footer p { margin-bottom: 0; }
footer a, footer a:hover { text-decoration: underline; } 

/* FOOTER END */

/* ---------------------------------------------------- */
/* ---------------------------------------------------- */
/* ---------------------------------------------------- */


/* MEDIA QUERIES */

/* Smartphones */
@media (max-width: 575px) {
    
    #header { height: 70px; }
    #logo img { height: 25px; }

    #menu-btn img { width: 25px; }

    #menu { font-size: 50px; line-height: 90px; }
    
    .home h1 {
        font-family: slider;
        font-size: 36px;
        margin-top: -120px;
        padding: 0 5%;
        width: 300px;
    }
    .arrow { bottom: 70px; width: 50px; }

    .celler-wrap h1, .celler-wrap h2, .celler-info { font-size: 18pt; line-height: 24pt; }
}

/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) and (max-width: 767px) {

}

/* Small devices */
@media (max-width: 767px) {
    .container-fluid { padding-left: 20px; padding-right: 20px; }
    
    .wrap-vins > .row > div:first-child .vi-wrap { margin: 80px 0 40px 0; }
    .wrap-vins > .row > div:first-child .vi-wrap.actiu { margin: 180px 0 50px; }
    .vi-wrap { margin: 40px 0; }

    .rot90 {
    -webkit-transform: none; /* Safari */
    -moz-transform: none; /* Firefox 3.6 Firefox 4 */
    /*-moz-transform-origin: right top; */
    -ms-transform: none; /* IE9 */
    -o-transform: none; /* Opera */
    transform: none; /* W3C */  
    -webkit-transform-origin: none;
    -moz-transform-origin: none;
    -ms-transform-origin: none;
    -o-transform-origin: none;
    transform-origin: none; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    #wpadminbar { top: -28px; }
    #wpadminbar:hover { top: 0; }

    .container-fluid { padding-left: 30px; padding-right: 30px; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {

}

/* Medium devices */
@media (max-width: 991px) {
    
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1600px) {
    .home h1 { font-size: 78px; width: 980px; }
    .nosotros .wp-block-quote p { font-size: 41px; line-height: 47px; }
}

/* CONTENEDOR FORMULARIO */
.wpcf7 {
    max-width: 900px;
    margin: 0 auto;
}

.wpcf7 form {
    display: grid;
	text-align:center;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

/* CAMPOS */
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    transition: all .2s ease;
}

/* TEXTAREA ocupa ancho completo */
.wpcf7 textarea {
    grid-column: 1 / 3;
    min-height: 120px;
}

/* BOTÓN */
.wpcf7 input[type="submit"] {
    grid-column: 1 / 3;
    background: #484848;
    color: #fff;
    border: none;
    padding: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all .25s ease;
}

/* HOVER BOTÓN */
.wpcf7 input[type="submit"]:hover {
    background: #8a6a3f; /* tono vino/dorado elegante */
}

/* FOCUS CAMPOS */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: #8a6a3f;
    outline: none;
}

/* MENSAJES ERROR */
.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #c0392b;
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .wpcf7 form {
        grid-template-columns: 1fr;
    }

    .wpcf7 textarea,
    .wpcf7 input[type="submit"] {
        grid-column: auto;
    }
}

/* --- Distcavi landing extras (CMS boilerplate) --- */
:root {
  --dc-bg: #141414;
  --dc-gold: #8a6a3f;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 10000;
  background: #fff;
  color: #141414;
  padding: 8px 12px;
}
.skip-link:focus { left: 8px; }
.page-legal {
  background: #141414;
  color: #fff;
  min-height: 100vh;
}
.page-legal .legal-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20,20,20,.96);
  border-bottom: 1px solid #ffffff22;
}
.page-legal .legal-topbar-inner,
.page-legal .legal-main { max-width: 1100px; margin: 0 auto; padding: 20px; }
.page-legal .legal-topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.page-legal .legal-logo img { height: 28px; width: auto; }
.page-legal .legal-back { color: #fff; text-decoration: underline; }
.page-legal .legal-shell { border: 1px solid #ffffff22; }
.page-legal .legal-nav ul { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 16px 20px; border-bottom: 1px solid #ffffff22; }
.page-legal .legal-nav a { color: #fff; }
.page-legal .legal-nav a[aria-current="page"] { border-bottom: 2px solid #fff; }
.page-legal .legal-prose { padding: 28px 24px 40px; }
.page-legal .legal-prose h1 { font-family: celler, serif; margin-bottom: 12px; }
.page-legal .legal-prose h2 { font-family: celler, serif; font-size: 22px; margin-top: 28px; }
.page-legal .legal-prose a { text-decoration: underline; }
.page-legal footer { margin-top: 0; }
.contact-form {
  max-width: 900px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: center;
}
.contact-form label { display: block; text-align: left; }
.contact-form .full { grid-column: 1 / 3; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  background: #fff;
  color: #141414;
  font-size: 14px;
}
.contact-form textarea { min-height: 120px; }
.contact-form button[type="submit"] {
  grid-column: 1 / 3;
  background: #484848;
  color: #fff;
  border: none;
  padding: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
}
.contact-form button[type="submit"]:hover { background: #8a6a3f; }
.contact-form .form-privacy { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 13px; }
.contact-form .form-privacy input { width: auto; }
.contact-form .form-recaptcha-note {
  grid-column: 1 / 3;
  text-align: left;
  font-size: 12px;
  line-height: 1.4;
  opacity: .75;
  margin: 0;
}
.contact-form .form-recaptcha-note a { text-decoration: underline; }
.grecaptcha-badge {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-alert-ok { color: #b8e0b8; }
.form-alert-error { color: #f0a0a0; }
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  background: #1c1c1c;
  border: 1px solid #ffffff33;
  padding: 16px 18px;
}
.cookie-banner-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cookie-banner-actions { display: flex; gap: 8px; }
.cookie-banner-btn { background: #fff; color: #141414; border: 0; padding: 8px 12px; cursor: pointer; }
.cookie-banner-reject { background: transparent; color: #fff; border: 1px solid #fff; }
.chocola-signature {
  min-height: 82px;
  padding: 18px 30px;
  border-top: 1px solid #ffffff12;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #0c0c0c;
  color: #737373;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 8px;
  text-decoration: none;
}
.chocola-signature img {
  width: 115px;
  height: auto;
}
.chocola-signature small { font-size: 8px; }
.chocola-signature:hover {
  color: #fff;
  text-decoration: none;
}
.chocola-signature:hover img { opacity: .9; }
@media (max-width: 767px) {
  .chocola-signature { gap: 10px; padding-inline: 18px; }
  .chocola-signature img { width: 100px; }
}
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
#nosaltres img { width: 100%; height: auto; }
#nosaltres blockquote,
.nosotros .wp-block-quote { font-family: celler, serif; font-size: 30px; line-height: 36px; width: 80%; }
footer .legal-links a { margin-right: 12px; }
body.page-404 { display: block; }
body.page-404 #header { background: #141414; }
body.page-404 footer.mt-5 { margin-top: 0 !important; }
main.page-404 {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}
main.page-404::before {
  content: "404";
  position: absolute;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  font-family: slider, sans-serif;
  font-size: clamp(180px, 32vw, 420px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: #fff;
  opacity: 0.035;
  pointer-events: none;
  user-select: none;
}
.page-404-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  animation: page-404-in 0.65s ease-out;
}
@keyframes page-404-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.page-404-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
}
.page-404-code {
  font-family: slider, sans-serif;
  font-size: clamp(72px, 16vw, 140px);
  line-height: 0.85;
  letter-spacing: 0.06em;
  margin: 0 0 18px;
}
.page-404 h1 {
  font-family: celler, serif;
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: normal;
  line-height: 1.2;
  margin: 0 0 10px;
}
.page-404-lead {
  font-family: celler, serif;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.4;
  color: #8a6a3f;
  margin: 0 0 22px;
}
.page-404-rule {
  width: 48px;
  height: 1px;
  margin: 0 auto 22px;
  background: #8a6a3f;
}
.page-404-text {
  max-width: 480px;
  margin: 0 auto 34px;
  opacity: 0.82;
  line-height: 1.65;
}
.page-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.page-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 176px;
  padding: 13px 22px;
  border: 1px solid #fff;
  letter-spacing: 0.1em;
  font-size: 12px;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.page-404-btn--primary {
  background: #fff;
  color: #141414;
}
.page-404-btn--primary:hover {
  background: #8a6a3f;
  border-color: #8a6a3f;
  color: #fff;
}
.page-404-btn--ghost {
  background: transparent;
  color: #fff;
}
.page-404-btn--ghost:hover {
  border-color: #8a6a3f;
  color: #c4a36a;
}
@media (max-width: 575px) {
  .page-404 { padding: 120px 20px 56px; }
  .page-404-btn {
    min-width: 0;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-404-inner { animation: none; }
}
.celler-page .wrap-vins { display: block; }
.instagram-grid-wrap { max-width: 1100px; }
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}
.instagram-cell {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1c1c1c;
}
.instagram-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease;
}
.instagram-cell:hover img { transform: scale(1.04); }
.instagram-cell.is-video::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 10px;
  width: 0;
  height: 0;
  border-left: 10px solid #fff;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
@media (max-width: 991px) {
  .instagram-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .instagram-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .full, .contact-form button[type="submit"], .contact-form .form-recaptcha-note { grid-column: auto; }
}
