/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}

/* CONTENTS 

utility classes 
fonts
skip link
short pages
fallbacks
color, font, and size variables 
color sections
basic font and text spacing styles
hidden h1 for SEO
Set width-related headline sizes for narrowest browser widths
general page layouts

header
header social links
general nav link styles
nav mobile / hamburger
nav desktop - see dynamic css file
header buy link
footer
social links 
social share
breadcrumbs
keyboard tabbing
responsive video wrapper
cta button styles

fancy buttons and links
  cta fancy button white
  cta fancy button dark
  cta fancy button product
  cta buy button
  nav fancy links

basic content

page section template
 page section intro title text
 page section template hero
 page section template cards
 card widths
 page-section-image-text
 page section picker
 page section big image
 page section slideshow

tfe agegate
tfe legal styles

product pages
single product

special page styles
 add space to bottom element
 home page featured logos
 our recipes intro 
 recipes filter
 any section intro
 metalocator
 mik mak
 other shopping 
 404 page 
 contact page and form
 sitemap
 instagram feed
 sweepstakes page

extras
 reduced motion preference
 additional no-js styles

CONTENTS */

/* utility classes */
.nowrap{white-space:nowrap;}
.hidden{display:none;}
.screen-reader-only{clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden;position:absolute !important;}
.clearfix::after{content:'';display:table;clear:both;}
.stop-transitions * {transition:none !important;}

/* fonts */
@font-face {
  font-family: 'Odense';
  src: url('/wp-content/themes/tresagaves/assets/fonts/odense_regular-webfont.woff2') format('woff2'),
       url('/wp-content/themes/tresagaves/assets/fonts/odense_regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham-Book';
  src: url('/wp-content/themes/tresagaves/assets/fonts/gotham-book-webfont.woff2') format('woff2'),
       url('/wp-content/themes/tresagaves/assets/fonts/gotham-book-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}


/* skip link  */
.skip-to-main {
  text-align: center;
}
.skip-to-main a:focus {
  margin-top: 1em;
  -webkit-transition: margin .2s ease-in;
  transition: margin .2s ease-in;
}
.skip-to-main a {
  position: absolute;
  left: 1em;
  z-index: 9999;
  text-align: center;
  color: var(--dark-brown);
  display: inline-block;
  padding: 1em;
  margin-top: -4em;
  cursor: pointer;
  background: #fff;
  -webkit-transition: margin .2s ease-in-out;
  transition: margin .2s ease-in-out;
}

/* forces short pages to fill full browser height */
@supports (top:0) { /* for non-ie browsers only */
  .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
  }
}

/* fallbacks for browsers that don't support css variables */
body {
  font-family: 'EB Garamond', serif;
}
body div, 
header, main, footer {
  box-sizing: border-box;
}
.page-wrapper {
  overflow: hidden;
}

/* color, font and size variables */
:root {
  --tan: #F7F4EA;
  --tan-dark: #5B503D;
  --dark-brown: #443A2E;
  --white: #fff;
  --light-gray: #ddd;
  --highlight: #D9D9D9;
  --outline: #e6bb2c;
  --light-brown: #d8ad68;
  --special-background-color: #f4f3ef;
  /*--special-background-color: #efeeea;*/

  --body-font: 'gotham', sans-serif;
  --body-font-medium: 'gotham', sans-serif;
  --body-font-bold: 'gotham', sans-serif;
  --display-font: 'Odense', sans-serif;
  --info-font: 'Trade-Gothic', sans-serif;

  --half-space: .5rem;
  --single-space: 1rem;
  --mid-space: 1.5rem;
  --double-space: 2rem;
  --max-width: 80rem;
  --narrow-max-width: 56.25rem;
}

/* color sections */
/* change color class names to describe actual color choices */
/* then copy to themes settings color section */
header {
  background-color: var(--tan);
  color: var(--dark-brown);
  border-bottom: 2px solid var(--dark-brown);
}
body, footer, .light {
  /*background-color: var(--white);*/
}
header, body, footer, .light, .light a {
  color: var(--dark-brown);
}
.light-variant {
  background-color: var(--tan);
}
.light-variant, .light-variant a {
  color: var(--dark-gray);
}
.dark {
  background-color: var(--dark-gray);
}
.dark, .dark a {
  color: var(--white);
  background-color: var(--dark-gray);
}
.dark-variant {
  color: var(--white);
  background-color: var(--dark-gray-v2);
}
.highlight {
  color: var(--white);
  background-color: var(--highlight);
}
.light .text-link, 
.light-variant .text-link {
  color: var(--highlight);
}
.light .text-link:active, 
.light .text-link:focus, 
.light .text-link:hover, 
.light-variant .text-link:active,
.light-variant .text-link:focus,
.light-variant .text-link:hover {
  color: var(--mid-gray);
}
.dark .text-link, 
.dark-variant .text-link,
.highlight .text-link {
  color: var(--dark-gray);
}
.dark .text-link:active, 
.dark .text-link:focus, 
.dark .text-link:hover, 
.dark-variant .text-link:active,
.dark-variant .text-link:focus,
.dark-variant .text-link:hover {
  color: var(--highlight-bright);
}
.highlight .text-link:active, 
.highlight .text-link:focus, 
.highlight .text-link:hover {
  color: var(--mid-gray);
}
.light .cta, 
.light-variant .cta {
  color: var(--white);
  /* background-color: var(--dark-gray);
  border-color: var(--dark-gray); */
}
.light .cta:active, 
.light .cta:focus, 
.light .cta:hover, 
.light-variant .cta:active,
.light-variant .cta:focus,
.light-variant .cta:hover {
  color: var(--white);
  background-color: var(--highlight);
}
.dark .cta, 
.dark-variant .cta {
  color: var(--dark-gray);
  background-color: var(--white);
  border-color: var(--white);
}
.dark .cta:active, 
.dark .cta:focus, 
.dark .cta:hover, 
.dark-variant .cta:active,
.dark-variant .cta:focus,
.dark-variant .cta:hover {
  color: var(--white);
  background-color: var(--dark-gray);
  border-color: var(--dark-gray);
}
.section.light + .section:not(.light),
.section.light-variant + .section:not(.light-variant),
.section.dark + .section:not(.dark),
.section.dark-variant + .section:not(.dark),
.section.highlight + .section:not(.highlight) {
  padding-bottom: var(--single-space);
}
@media only screen and ( min-width: 56.25em ) {
  .section.light + .section:not(.light),
  .section.light-variant + .section:not(.light-variant),
  .section.dark + .section:not(.dark),
  .section.dark-variant + .section:not(.dark),
  .section.highlight + .section:not(.highlight) {
    padding-bottom: var(--double-space);
  }
}

/* basic font and text spacing styles */
h1, h2, h3, h4 {
  font-family: sans-serif;
  font-family: var(--display-font);
  font-weight: 400;
  letter-spacing: .02em;
}
h1, .primary-head {
  font-size: 40px;
  font-size: 2.5rem;
}
h2, .secondary-head {
  font-size: 32px;
  font-size: 1.2rem;
  font-family: var(--body-font-medium);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}
h3, .tertiary-head,
.tfelegal ol li::marker {
  font-family: var(--display-font);
  font-size: 24px;
  font-size: 1.5rem;
}
p, ul, ol, dl, h5, h6 {
  font-family: sans-serif;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 18px;
  font-size: 1.125rem;
}

/* hidden h1 for SEO */
.hidden-h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Set width-related headline sizes for narrowest browser widths */
@media only screen and (max-width:24em) {
  h1, .primary-head { font-size: 9vw; }
  h2, .secondary-head { font-size: 7vw; }
  h3, .tertiary-head, .tfelegal ol li::marker { font-size: 5vw; }
  p, ul, ol, dl { font-size: 1rem; }
}
h1, h2, h3, h4, p, ul, ol, dl {
  margin-bottom: 16px;
  margin-bottom: var(--single-space);
  line-height: 1.4;
  font-family: var(--body-font);
  font-weight: 400;
}
.head-secondary {
  font-family: var(--body-font-medium);
  font-weight: 500;
}
li {
  margin-bottom: 8px;
  margin-bottom: var(--half-space);
}
li:last-of-type {
  margin-bottom: 0;
}
img {
  max-width: 100%;
  height: auto;
}
ul.bullet li,
ol.number li,
ol.lowercase li,
ol.uppercase li {
  padding-left: 8px;
  padding-left: var(--half-space);
  margin-left: 16px;
  margin-left: var(--single-space);
}
ul.bullet li {
  list-style: disc;
}
ol.number {
  list-style: decimal;
}
ol.lowercase {
  list-style: lower-alpha;
}
ol.uppercase {
  list-style: upper-alpha;
}
/*a,
a:active,
a:focus,
a:visited,
a:hover {

}*/

/* general page layouts */
main {
  /* for background darkening when nav open */
  position: relative;
}
.content {
  margin: 0 auto;
  padding: var(--single-space);
  max-width: 100em;
}
@media only screen and (min-width: 56.25em){
  .content {
    padding: var(--double-space);
  }
}
.full-width .content,
.wide .content {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.full-width .content {
  max-width: 100%;
}
.wide .content {
  max-width: 96em;
}
.narrow-width .content {
  max-width: 56.25em;
}


/* header */
.header {
  position: fixed;
  width: 100%;
  z-index: 999;
  height: 7em;
}
.header-content {
  position: relative;
  padding: var(--half-space);
  width: 100%;
  /* max-width: var(--max-width); */
  margin: 0 auto;
}
.header-logo-link {
  display: inline-block;
  width: 10em;
  max-width: 50%;
  transition: all .3s ease-in-out;
}
.header-logo-link:focus,
.header-logo-link:hover{
  scale: 1.05;
  transition: all .3s ease-in-out;
}
.home .header-logo-link:focus,
.home .header-logo-link:hover {
    scale: 1; /* or whatever scale value you want when not hovered */
    transition: none; /* remove transition effect */
}
.header a:active, .header a:focus, .header a:hover {
  text-decoration: none;
}
.main {
  padding-top: 7em;
}


/* header social links */
.header-social-links-container {
  margin: 1em 0 1em 0;
  position: relative;
  width: 100%;
  bottom: 0;
}
.header-social-links {
  width:100%; 
  margin: 0 auto;
  text-align: center;
}
@media only screen and (min-width: 87em) {
  .header-social-links-container {
    margin: 30em 0 2em 0;
    /*margin: 30em 0 2em 0;*/
    position: relative;
    width: 100%;
    bottom: 0;
  }
}


/* general nav link styles */
.menu a {
  text-decoration: none;
}
.header .menu a,
.header .menu a:focus {
  color: var(--dark-brown);
  white-space: nowrap;
}
#nav-chk {
  display: none;
}
.menu-header-menu-container {
  max-width: 100em;
  margin: 0 auto;
}
#menu-header-buy-menu {
  font-family: var(--body-font);
  font-weight: 400;
  margin-top: 1em;
}
#menu-header-menu {
  font-family: var(--display-font);
}
#menu-header-menu .sub-menu li:hover::before {
  left: -20px;
  opacity: 1;
}
#menu-header-menu .sub-menu li:hover::after {
  background-image: none;
}
.sub-menu {
  display: none;
}
.sub-menu.visible {
  display: block;
}
@media (max-width: 87em) {
  .menu-item-has-children > .sub-menu {
    display: none; 
  }
  .sub-menu {
    display: none; /* Hide submenu by default */
}
  .menu-item-has-children.open > .sub-menu {
    display: block; /* Show submenu when its parent has the "open" class */
}
  .menu-item-has-children:focus > .sub-menu,
  .menu-item-has-children:hover > .sub-menu {
    display: block; 
  }
  .menu-item-has-children > a::after {
    content: "\f067"; /* Use your preferred icon for closed sub-menu */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    font-size: .7em;
    line-height: 2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    right: 0;
    margin-left: 0.5em;
    transform: rotate(90deg);
    transition: transform 200ms linear;
  }
  .menu-item-has-children:focus > a::after,
  .menu-item-has-children:hover > a::after {
    content: "\f067"; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-style: normal;
    font-size: .7em;
    line-height: 2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;
    right: 0;
    margin-left: 0.5em;
    margin-right: 0.1em;
    transform: rotate(45deg);
    transition: transform 200ms linear;
  }
}


/* nav mobile / animated hamburger */
.header .menu a,
.header .menu a:focus {
  white-space: wrap;
}
#nav-toggle,
.no-js .nav-chk-label {
  position: absolute;
  top: 1.5em;
  left: 1.5em;
  z-index: 5;
  color: var(--dark-brown);
  font-size: 1.75em;
  background: 0 0;
  border: none;
  padding: 0;
  /* */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: end;
  height: .8em;
  width: 1.1em;
  transition: all 500ms ease;
}
.nav-toggle .bar,
.no-js .nav-chk-label .bar {
  height: .14em;
  width: 100%;
  border-radius: 99px;
  background-color: var(--dark-brown);
  transition: all 300ms ease;
}
.dark .nav-toggle .bar,
.no-js .dark .nav-chk-label .bar {
  background-color: var(--white);
}
.nav-toggle:hover {
  cursor: pointer;
  transform: scale(1.1)
}
.menu-open .nav-toggle .bar:nth-of-type(1),
.no-js .nav-chk:checked ~ .nav-chk-label .bar:nth-of-type(1) {
  transition: all 500ms ease;
  transform: rotate(45deg);
  transform-origin: top left;
  width: 1em;
}
.menu-open .nav-toggle .bar:nth-of-type(2),
.no-js .nav-chk:checked ~ .nav-chk-label .bar:nth-of-type(2) {
  transition: all 100ms ease;
  transform-origin: center;
  width: 0;
}
.menu-open .nav-toggle .bar:nth-of-type(3),
.no-js .nav-chk:checked ~ .nav-chk-label .bar:nth-of-type(3) {
  transition: all 100ms ease;
  transform: rotate(-45deg);
  transform-origin: bottom left;
  width: 1em;
}
.menu-open .nav-toggle:hover,
.no-js .nav-chk:checked ~ .nav-chk-label:hover {
  transform: scale(1.1)
}
.site-navigation {
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 .5em .5em;
  z-index: 8;
}
.site-navigation .menu-main-menu-wrapper {
  position: absolute;
  top: 2em;
  text-align: left;
  z-index: 2;
  width: 100%;
  padding: 2em 0 .75em 0;
  background-color: var(--tan);
  max-height: 0;
  overflow-y: auto; /* Enable vertical scrolling */
  -webkit-transition: top .3s ease-in-out, max-height 0.5s ease-in-out;
  transition: top .3s ease-in-out, max-height 0.5s ease-in-out;
}
.site-navigation.menu-open .menu-main-menu-wrapper,
.no-js #nav-chk:checked ~ .menu-main-menu-wrapper {
  top: 7em;
  right: 0;
  /*height: 53em;*/
  /*max-height: 53em;*/
  /*max-height: none;*/
  max-height: 80vh; /* Set a maximum height for the menu */
}
#menu-header-menu {
  font-size: 2.5em;
  padding-left: .8em;
  padding-right: .5em;
}
.menu-header-menu-container {
  margin: 0 auto 5em auto;
}
#menu-header-menu li {
  border-bottom: 2px solid var(--highlight);
  padding-bottom: .5em;
}
.social-icons {
  margin-bottom: .5em;
}
.menu li + li {
  margin-top: .5em;
}
.menu .menu-item-has-children {
  position: relative;
}
.menu .menu-item-has-children:focus .sub-menu {
  display: block; 
}
.menu .open .sub-menu,
.menu .openClick .sub-menu,
.menu .menu-item-has-children:hover .sub-menu,
.menu .menu-item-has-children a:focus + .sub-menu,
.menu .sub-menu:focus-within {
  height: auto;
  display: block;
  transition: all .3s ease-in-out;
}
.menu .sub-menu {
  display: none;
  /*margin-top: 1em;*/
  font-weight: 100;
  font-family: var(--body-font);
  font-weight: 400;
  text-transform: uppercase;
}
#menu-header-menu .sub-menu li {
  border-bottom: none;
}
.no-js #nav-toggle {
  display: none; 
}
.no-js .nav-chk-label {
  display: flex;
}
.menu .sub-menu {
  display: none;
}
.menu .sub-menu.open {
  display: block;
}
.sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease; /* Adjust the duration and timing function as needed */
}
.sub-menu.open {
  margin-top: 1em;
  max-height: 500px; /* Adjust the maximum height of the sub-menu */
}
#menu-header-menu .menu-item-has-children > a {
  pointer-events: none; 
}
#menu-header-menu > .menu-item:not(.menu-item-has-children) > a {
  pointer-events: auto; 
}
/* Keep the menu open when social links container or its children are focused */
.menu-main-menu-wrapper:focus,
.menu-main-menu-wrapper:focus-within {
  right: 0;
  height: 44em;
  max-height: 80vh;
}
/* Ensure the social links container is always visible */
.menu-main-menu-wrapper:focus .header-social-links-container,
.menu-main-menu-wrapper:focus-within .header-social-links-container {
  display: block;
}
/* Add the background color for the page */
.site-navigation.menu-open:after {
  content: "";
  position: fixed;
  top: 10em;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Change the color as needed */
  z-index: -1; /* Ensure it's behind other elements */
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

/* nav desktop - see dynamic css file */
/* Styles for desktop view */
@media only screen and (min-width: 87em) {
  .nav-toggle,
  .no-js .nav-chk-label   {
    top: 2em;
    right: 1.75em;
  }
  .site-navigation {
    text-align: right;
    padding: 0;
  }
  .site-navigation .menu-main-menu-wrapper {
    position: relative;
    text-align: center;
    top: 2em;
    -webkit-transition: top .3s ease-in-out, max-height 0.5s ease-in-out;
    transition: top .3s ease-in-out, max-height 0.5s ease-in-out;
    background-color: var(--tan);
    max-height: 0;
    overflow: hidden;
  }
  .site-navigation.menu-open .menu-main-menu-wrapper,
  .no-js #nav-chk:checked ~ .menu-main-menu-wrapper {
    right: 0;
    height: 46em;
    /*height: 50em;*/
    max-height: 80vh;
  }
  /* Keep the menu open when social links container or its children are focused */
  .menu-main-menu-wrapper:focus,
  .menu-main-menu-wrapper:focus-within {
    right: 0;
    height: 44em;
    max-height: 80vh;
  }
  /* Ensure the social links container is always visible */
  .menu-main-menu-wrapper:focus .header-social-links-container,
  .menu-main-menu-wrapper:focus-within .header-social-links-container {
    display: block;
  }
  #menu-header-menu {
    font-size: 3em;
    padding: 0;
  }
  .menu-header-menu-container {
    margin: 0 auto;
  }
  #menu-header-menu a:active, 
  #menu-header-menu a:focus, 
  #menu-header-menu a:hover {
    background-image: url('/wp-content/themes/tresagaves/assets/icons/button-decor.svg');
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: 3em auto;
    background-position: center;
    padding-bottom: 2em;
  }
  #menu-header-menu a {
    /*padding-top: 1em;
    padding-bottom: 1em;*/
  }
  #menu-header-menu li {
    border-bottom: none;
  }
  .menu li {
    display: inline-block;
    margin-left: .5em;
    margin-right: .5em;
  }
  .menu li + li {
    margin-top: .5em;
  }
  .menu .menu-item-has-children {
    position: relative;
  }
  .menu .open .sub-menu,
  .menu .openClick .sub-menu,
  .menu .menu-item-has-children:hover .sub-menu,
  .menu .menu-item-has-children a:focus + .sub-menu,
  .menu .sub-menu:focus-within {
    height: auto;
    opacity: 1;
    display: flex;
    transition: all .3s ease-in-out;
    left: -3em;
  }
  .menu .sub-menu {
    height: 0;
    position: absolute;
    top: 4em;
    width: max-content;
    overflow: hidden;
    background: linear-gradient( rgba(0, 0, 0, 0) 2.25em, var(--black-semi-bg) 2.25em );
    transition: all .3s ease-in-out;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2em;
    margin-left: 1em;
    left: -3em;
  }
  .menu .sub-menu li {
    padding: 1em 1em .25em 2em;
    font-family: var(--body-font-medium);
    font-weight: 500;
    background-image: none;
  }
  .menu .sub-menu li:first-child {
    padding-top: 1em;
  }
  .menu .sub-menu li:last-child {
    padding-bottom: 1em;
  }
  #menu-header-menu .sub-menu li::before {
    content: '';
    position: absolute;
    left: -50px;
    width: 3.125em;
    height: 1.25em;
    background-image: url(/wp-content/themes/tresagaves/assets/icons/arrow-dark.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transition: all .3s;
    opacity: 0;
  }
  /* Apply background image for top-level menu item hover */
  #menu-header-menu > li > a:hover,
  #menu-header-menu > li:hover > a {
    background-image: url('/wp-content/themes/tresagaves/assets/icons/button-decor.svg');
    background-repeat: no-repeat;
    background-color: transparent;
    background-size: 3em auto;
    background-position: center;
    padding-bottom: 2em;
  }
  /* menus highlighting */
  #menu-header-menu .sub-menu li a {
    background-image: none;
    text-align: left;
  }
  #menu-header-menu .menu-item > a {
    pointer-events: auto;
  }
  /* Set all menu items and sub-menu items to opacity 1 initially */
  #menu-header-menu li,
  #menu-header-menu li .sub-menu li {
    opacity: 1;
    transition: all .3s ease-in-out;
  }
  /* Dim all menu items except for the hovered one and its children */
  #menu-header-menu:hover li:not(:hover) {
    opacity: 0.5;
    transition: all .3s ease-in-out;
  }
  /* Reset opacity for the hovered menu item and its children */
  #menu-header-menu li:hover,
  #menu-header-menu li:hover > .sub-menu {
    opacity: 1;
    transition: all .3s ease-in-out;
  }
  /* Ensure sub-menu items maintain opacity 1 */
  #menu-header-menu li:hover .sub-menu li {
    opacity: 1;
    transition: all .3s ease-in-out;
  }
}


/* header buy link */
.header-buy-link {
  display: none;
}
@media only screen and (min-width: 56em) {
  .header-buy-link {
    top: 1.2em;
    right: 1em;
    display: block;
    position: absolute;
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 1.5em;
    text-transform: uppercase;
    color: var(--dark-brown);
    z-index: 999;
  }
  .menu-header-buy-menu-container{
    font-family: var(--body-font);
    font-weight: 400;
  }
  .menu-header-buy-menu {
    font-family: var(--body-font);
    font-weight: 400;
  }
  .header .menu a {
    pointer-events: auto;
  }
}


/* footer  */
.footer {
  border-top: 2px solid var(--dark-brown);
}
.footer-content {
  padding: var(--mid-space) var(--single-space);
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
.footer-upper-section {
  order: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-lower-section {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: column;
  margin: 0 auto;
}
.footer-nav-wrapper {
  align-content: center;
  margin: 1em auto;
}
.footer-legal-wrapper {
  order: 4;
  align-content: center;
}
.footer-content div + div {
  align-content: center;
  justify-content: space-evenly;
  margin: .5em 0;
}
#menu-footer-nav-menu {
  font-family: var(--display-font);
  font-size: 2.5em;
  text-transform: none;
}
#menu-footer-legal-menu {
  text-transform: uppercase;
  font-family: var(--info-font);
  font-size: .9em;
  margin-bottom: .5em;
}
.footer-copyright {
  order: 3;
  text-transform: uppercase;
  font-family: var(--info-font);
  font-size: .9em;
  padding: 1em 0;
  line-height: 1.3;
}
.footer a:hover {
  text-decoration: none;
  color: var(--dark-brown);
}
#menu-footer-nav-menu a {
  padding-bottom: 2em;
}
#menu-footer-nav-menu a:hover {
  background-image: url('/wp-content/themes/tresagaves/assets/icons/button-decor.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: 3em auto;
  background-position: center;
}
#menu-footer-legal-menu a:active, 
#menu-footer-legal-menu a:focus, 
#menu-footer-legal-menu a:hover {
  border-bottom: 1px solid var(--highlight);;
  padding-bottom: 1px;
  transition: all 0.3s ease-in-out;
  color: var(--highlight);
}
.footer-logo-link{
  order:1;
  margin: 0 1em;
}
.footer-logo-link .logo-link {
  max-width: 10em; 
  min-width: 10em;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.footer-logo-link .logo-link:hover {
  scale: 1.05;
  transition: all 0.3s ease-in-out;
}
.footer .menu {
  margin-bottom: 0;
}
.footer .menu li {
  margin-bottom: .5em;
}
.footer .menu li + li {
  margin-top: var(--single-space);
  margin-left: .5em;
  margin-right: .5em;
}
.social-icon-wrapper {
  order: 2;
}
@media only screen and ( min-width: 75em ) {
  .footer-content {
    padding: var(--double-space) 0;
  }
  .footer-lower-section {
    flex-direction: row;
  }
  .footer-nav-wrapper {
    align-content: center;
    margin: 3em auto;
  }
  .footer-content div + div {
    align-content: flex-end;
    justify-content: space-evenly;
  }
  .footer-legal-wrapper {
    order: 1;
    align-content: flex-end;
    padding: 1em 0;
  }
  .footer-logo-link {
    order: 2;
  }
  .footer-logo-link .logo-link {
    min-width: 10em; 
    margin: 0 2em;
  }
  .footer-copyright {
    padding: 1em 0 1.5em;
    order: 3;
  }
  .social-icon-wrapper {
    order: 4;
    max-width: 11em;
    padding: 1em 0 2em 0;
  }
  .social-icon-wrapper ul {
    font-size: 1rem;
    padding-left: 0;
  }
}

/* social links */
.social-links,
.social-links li {
  margin-bottom: 0;
}
.social-icon-wrapper {
  padding: 1em 0;
  margin: 0 auto;
}
.social-icon-wrapper ul {
  font-size: 1rem;
}
.social-icon-wrapper li {
  display: inline-block;
}
.social-icon-wrapper li + li {
  margin-left: var(--double-space);
}
a.social-icon {
  display: inline-block;
  text-decoration: none;
  transition: all .4s ease-in-out;
}
.social-icon::before {
  display: inline-block;
  font-family: "Font Awesome 6 Brands";
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: 400;
  font-size: 1.75em;
  line-height: 1;
  padding-top: .2em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: .5em;
}
.social-contact::before {
  font-family: "Font Awesome 6 Free";
  content: "\f0e0";
}
.social-facebook::before {
  content: "\f09a";
}
.social-instagram::before {
  content: "\f16d";
}
.social-twitter::before {
  content: "\f099";
}
.social-youtube::before {
  content: "\f167";
}
.social-vimeo::before {
  content: "\f27d";
}
.social-tiktok::before {
  content: "\e07b";
}
.social-icon:hover,
.social-icon:visited {
  transform: scale(1.2);
  transition: all .3s ease-in-out;
  background-image: none;
}

/* social share */
.social-share-icons {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: baseline;
  margin-top: 2em;
}
.social-icon,
.social-share-icon {
  color: var(--dark-brown);
}
.social-share-icons ul {
  display: flex;
  justify-content: center;
  column-gap: 1em;
  margin-left: 3em;
}
.social-share-icons li {
  display: inline-block;
  align-items: center;  
}
.social-share-text {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--dark-brown);
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 16px;
  cursor: default;
  background: transparent;
  border: none;
}
.social-share-text::before {
  content: '';
  position: absolute;
  left: -140%;
  width: 3.125em;
  height: 1.25em;
  background-image: url(/wp-content/themes/tresagaves/assets/icons/arrow-dark.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s;
  opacity: 0;
}
.social-share-text:hover::before {
  left: -60px;
  opacity: 1;
}
.social-share-icons:hover .social-share-text::before {
  left: -60px;
  opacity: 1;
}
.visuallyhidden {
  overflow: hidden;
  clip: rect(0 0 0 0);
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

/* breadcrumbs */
.breadcrumbs-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-left: 1em
}
.breadcrumbs {
  text-transform: uppercase;
  font-family: var(--info-font);
  color: var(--dark-brown);
  font-size: .8em;
  margin: 0;
  padding: 10px 0 5px;
}
.breadcrumbs a {
  color: var(--dark-brown);
  text-decoration: none;
  border-bottom: 1px solid var(--dark-brown);
  padding-bottom: 1px;
  line-height: 1.5;
  transition: all 0.3s ease-in-out;
}
.breadcrumbs a:focus,
.breadcrumbs a:hover {
  text-decoration: none;
  color: var(--highlight);
  text-decoration: none;
  border-bottom: none;
  transition: all 0.3s ease-in-out;
}
#breadcrumbs {
  font-family: var(--info-font);
  color: var(--dark-brown);
  font-size: 1em;
  margin: 0;
  padding: 5px 0;
}
#breadcrumbs a {
  color: var(--dark-brown);
  text-decoration: none;
  border-bottom: 1px solid var(--dark-brown);
  padding-bottom: 1px;
  transition: all 0.3s ease-in-out;
}
#breadcrumbs a:focus,
#breadcrumbs a:hover {
  text-decoration: none;
  color: var(--highlight);
  text-decoration: none;
  border-bottom: none;
  transition: all 0.3s ease-in-out;
}

/* keyboard tabbing */
*:focus {
  outline: 2px solid var(--outline);
}
.header-logo-link:focus,
.site-navigation a:focus {
  outline: 2px solid var(--outline); 
  padding: .5em;
}
.logo-center .header-logo-link:active,
.logo-center .header-logo-link:focus {
  outline: 2px solid var(--outline);
}
.footer-logo-link .logo-link:active,
.footer-logo-link .logo-link:focus {
  outline: 2px solid var(--outline);
  padding: 5px;
}
#menu-footer-legal-menu a:focus {
  outline: 2px solid var(--outline);
  padding: .3em;
}
#menu-header-menu .menu-item > a:active,
#menu-header-menu .menu-item > a:focus {
  outline: 2px solid var(--outline);
  padding-bottom: 0;
  background-image: none;
  padding: .3em;
}
.header .menu a:active,
.header .menu a:focus {
  outline: 2px solid var(--outline);
  padding: .3em;
}
/*.menu li:active,
.menu li:focus {
  outline: 2px solid var(--outline); 
  background-image: none;
}*/
.menu .sub-menu.visible {
  display: block !important; 
}
.menu .sub-menu {
  transition: none;
  text-align: left;
}
.menu-item-has-children:focus .sub-menu,
.menu-item-has-children:focus-within .sub-menu {
  display: block; 
}
.menu-item-has-children:focus.sub-menu {
  display: block;
}
.menu-item-has-children:focus-within.sub-menu {
  display: block;
}
.menu-item-has-children:focus li {
  display: block;
}
.menu-item-has-children:focus-within li {
  display: block;
}
.site-navigation a:focus {
  outline: 2px solid var(--outline);
}
/*.footer a:active,
.footer a:focus {
  outline: 2px solid var(--outline);
  background-image: none;
}*/
#menu-footer-nav-menu a:active, 
#menu-footer-nav-menu a:focus {
  outline: 2px solid var(--outline);
  padding-bottom: 0;
  background-image: none;
  padding: .5em;
}
.footer .menu li:active,
.footer .menu li:focus {
  background-image: none;
}
/*.site-navigation.menu-open .header-social-links a {
  tabindex: 0;
}
.header-social-links a {
  tabindex: -1;
}*/
.header-social-links a:active,
.header-social-links a:focus {
  outline: 2px solid var(--outline);
  padding: .2em .1em;
}
.social-icon:active,
.social-icon:focus {
  outline: 2px solid var(--outline);
  padding-right: 3px;
  transform: none;
}
.category-button:active,
.category-button:focus {
  outline: 2px solid var(--outline);
}
.cta-fancy-dark a:focus {
  outline: 2px solid var(--outline);
  padding: .5em;
}


/* responsive video wrapper */
.video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.5%; /* Aspect ratio of the video */
  display: none; /* Hide the video-wrapper by default */
}
.video-wrapper.has-video {
  display: block; /* Display the video-wrapper only when video is present */
}
.video-wrapper > iframe,
.video-wrapper > div {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.no-video {
  display: block; /* Show the no-video message */
}

/* cta button styles */
/* cta button-style link */
.cta {
  display: inline-block;
  padding: var(--half-space) var(--single-space);
  font-family: var(--display-font);
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .4s ease-in-out;
}
.cta,
.cta.reverse:active,
.cta.reverse:focus,
.cta.reverse:hover {
  color: var(--light);
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1.2em;
  /*background-color: var(--highlight); */
  /* border: 1px solid var(--highlight); */
}
.cta.reverse,
.cta:active,
.cta:focus,
.cta:hover {
  background-color: var(--light);
  color: var(--highlight);
}
.cta.highlight,
.cta.highlight-reverse:active,
.cta.highlight-reverse:focus,
.cta.highlight-reverse:hover {
  background-color: var(--highlight);
  color: var(--light);
  border: 1px solid var(--highlight);
}
.cta.highlight-reverse,
.cta.highlight:active,
.cta.highlight:focus,
.cta.highlight:hover {
  background-color: var(--light);
  color: var(--highlight);
}

/* fancy buttons and links */

/* cta fancy button white */
.cta-fancy-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}
.cta-fancy {
  display: flex;
  align-items: flex-end; 
  position: relative;
  padding-bottom: .8em;
  text-decoration: none;
  color: var(--white);
  font-family: var(--body-font-medium);
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: all .4s ease-in-out;
}
.cta-fancy a {
  color: var(--white);
  text-decoration: none;
}
.cta-fancy::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; 
  width: 0; 
  height: 2px;
  background-color: var(--white);
  transition: left 0.3s, width 0.3s;
}
.cta-fancy::before {
  content: '';
  position: absolute;
  top: 60%;
  right: -90px; 
  transform: translateY(-100%);
  width: 3.75em; 
  height: 1.25em; 
  background-image: url('/wp-content/themes/tresagaves/assets/icons/arrow-white.svg'); 
  background-size: contain; 
  background-repeat: no-repeat;
  transition: all .3s;
}
.cta-fancy:hover::after {
  width: 0%;
  left: 170%; 
}
.cta-fancy:not(:hover)::after {
  width: 160%; 
  left: 0; 
}
.cta-fancy:hover::before {
  right: -110px; 
}

/* cta fancy button dark */
.cta-fancy-box-right {
  display: flex;
  align-items: center;
  margin-top: 3em;
  padding-right: 2em;
}
.cta-fancy-dark {
  display: flex;
  align-items: flex-end; 
  position: relative;
  padding-bottom: .8em;
  text-decoration: none;
  color: var(--dark-brown);
  font-family: var(--body-font-medium);
  font-weight: 500;
  font-size: 1.1em;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: all .4s ease-in-out;
}
.cta-fancy-dark a {
  color: var(--dark-brown);
  text-decoration: none;
}
.cta-fancy-dark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; 
  width: 0; 
  height: 2px;
  background-color: var(--dark-brown);
  transition: left 0.3s, width 0.3s;
}
.cta-fancy-dark::before {
  content: '';
  position: absolute;
  top: 60%;
  right: -90px; 
  transform: translateY(-100%);
  width: 3.125em; 
  height: 1.25em; 
  background-image: url('/wp-content/themes/tresagaves/assets/icons/arrow-dark.svg'); 
  background-size: contain; 
  background-repeat: no-repeat;
  transition: all .3s;
}
.cta-fancy-dark:hover::after {
  width: 0%;
  left: 160%; 
}
.cta-fancy-dark:not(:hover)::after {
  width: 160%; 
  left: 0; 
}
.cta-fancy-dark:hover::before {
  right: -110px; 
}
@media screen and (min-width: 56em) {
  .cta-fancy-box-right {
    justify-content: flex-start;
    margin-right: 10em;
  }
}
@media screen and (max-width: 375px) {
  .cta-fancy-dark {
    width: 9em;
  }
}

/* cta fancy button product */
.cta-fancy-box-product {
  display: flex;
  align-items: center;
  margin-top: 1em;
  padding-right: 2em;
}
.cta-fancy-product {
  display: flex;
  align-items: flex-end; 
  position: relative;
  padding-bottom: .8em;
  text-decoration: none;
  text-align: left;
  color: var(--dark-brown);
  font-family: var(--body-font-medium);
  font-weight: 500;
  font-size: .8em;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: all .4s ease-in-out;
  margin-left: .3em;
}
.cta-fancy-product a {
  color: var(--dark-brown);
  text-decoration: none;
}
.cta-fancy-product::before {
  content: '';
  position: absolute;
  top: 60%;
  right: -90px; 
  transform: translateY(-100%);
  width: 3.125em; 
  height: 1.25em; 
  background-image: url('/wp-content/themes/tresagaves/assets/icons/arrow-dark.svg'); 
  background-size: contain; 
  background-repeat: no-repeat;
  transition: all .3s;
}
.cta-fancy-product:hover::before {
  right: -110px; 
}
/* Style product-card-bottle when cta-fancy-product is hovered */
.product-card:hover .product-card-bottle,
.cta-fancy-product:hover + .product-card-bottle {
  transform: scale(1.02); /* Adjust as needed */
  transition: all .3s ease-in-out;
  transform-origin: center;
}
/* Style cta-fancy-product when product-card-bottle is hovered */
.product-card-bottle:hover + .product-card-text .cta-fancy-product::before {
  right: -110px;
}
@media screen and (min-width: 56em) {
  .cta-fancy-box-product {
    /*margin-top: 2em;*/
  }
}
@media screen and (min-width: 60em) {
  .cta-fancy-box-product {
    max-width: 22em;
    margin-left: .3em;
  }
}
@media screen and (min-width: 75em) {
  .cta-fancy-box-product {
    max-width: 19em;
    margin-left: .3em;
  }
}

/* cta buy button */
.cta-buy-button {
  text-align: left;
  font-family: var(--body-font-medium);
  font-weight: 500;
  font-size: 1em;
  padding: .825em 7em .7em 1.0625em;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  margin-top: 1em;
  background-color: var(--dark-brown);
  color: var(--white);
  white-space: nowrap;
  position: relative; /* Add this line to make the ::before pseudo-element position relative to this button */
}
.cta-buy-button::before {
  content: '';
  position: absolute;
  top: 50%; 
  right: 2em;
  transform: translateY(-50%);
  width: 3.125em;
  height: 1.25em;
  background-image: url(/wp-content/themes/tresagaves/assets/icons/arrow-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s;
  opacity: 1;
}
.cta-buy-button:hover::before {
  right: 1em; /* Adjust the new position of the arrow for the hover state */
}


/* nav fancy links */
#menu-header-buy-menu {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
  text-decoration: none;
  color: var(--dark-brown);
  font-size: 16px;
  font-family: var(--body-font-medium);
  font-weight: 500;
}
#menu-header-buy-menu::before {
  content: '';
  position: absolute;
  left: -50%;
  width: 3.125em; 
  height: 1.25em; /* Height of the SVG arrow */
  background-image: url('/wp-content/themes/tresagaves/assets/icons/arrow-dark.svg'); 
  background-size: contain; /* Ensure the SVG arrow fits within the specified dimensions */
  background-repeat: no-repeat;
  transition: all .3s;
  opacity: 0;
}
#menu-header-buy-menu:hover::before {
  left: -60px; /* Moves the arrow to the right on hover */
  opacity: 1;
}
/*#menu-header-buy-menu::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--dark-brown);
  transition: width 0.3s;
}
#menu-header-buy-menu:hover::after {
  width: 100%;
  left: 0;
}*/

/* basic content */
.basic-content {
  padding: 0 var(--single-space);
  max-width: var(--max-width);
  margin: 0 auto;
}
@media only screen and (min-width: 56em) {
  .basic-content {
    padding: 0 var(--double-space);
  }
}


/* page section template */
.page-section-wrapper section {
  padding: var(--single-space);
  max-width: var(--max-width);
  margin: 0 auto;
}
.page-section-wrapper section.full-width {
  padding: 0;
}
@media only screen and (min-width: 56em) {
  .page-section-wrapper section {
    padding: var(--double-space);
  }
}
.section-background-color {
  background-color: var(--tan);
}

/* page section intro title text */
.intro-container-box {
  display: flex;
  flex-direction: column;
  margin: 1em auto;
}
.intro-heading-box {
  width: 100%;
}
.intro-heading {
  font-family: var(--display-font);
  font-size: 4em;
  line-height: 1.2;
  text-align: left;
  margin-bottom: var(--single-space);
}
.intro-text-box {
  width: 100%;
}
.intro-text {
  text-align: left;
  font-family: var(--body-font);
  font-weight: 400;
}
.intro-text-box.one-column {
  column-count: 1; 
  column-gap: 0;
}
.intro-text-box.two-columns {
  column-count: 1; 
  column-gap: 0;
}
@media screen and (min-width: 64em) {
  .intro-container-box {
    display: flex;
    flex-direction: row;
    margin: 2em 4em;
  }
  .intro-heading-box {
    width: 40%;
    margin-right: 2em;
  }
  .intro-text-box {
    width: 60%;
    margin-left: 3em;
  }
  .intro-text-box.one-column {
    column-count: 1; 
    column-gap: 0;
  }
  .intro-text-box.two-columns {
    column-count: 2; 
    column-gap: 1.8em;
  }
}

/* page section template hero */
.page-section-wrapper .page-section-hero {
  position: relative;
  display: flex;
  min-height: 22em;
  justify-content: center;
  padding: 3em 0 2em;
}
.flex-wrapper {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}
.page-section-hero.top .flex-wrapper {
  align-items: flex-start;
  padding: var(--single-space);
}
.page-section-hero.bottom .flex-wrapper {
  align-items: flex-end;
}
.page-section-hero.left .flex-wrapper {
  justify-content: flex-start;
}
.page-section-hero.right .flex-wrapper {
  justify-content: flex-end;
}
.page-section-hero .flex-wrapper h1 {
  text-align: center;
  width: 100%;
  max-width: 20em; 
}
.page-section-hero.white h1 {
  color: #fff; 
}
.page-section-hero.left h1 {
  text-align: left;
}
.page-section-hero.right h1 {
  text-align: right;
}
.page-section-hero.light h1 {
  font-weight: 100;
}
.page-section-hero.bold h1 {
  font-weight: 600;
}
.page-section-hero-img {
  object-fit: cover;
  width: 100%;
  height: auto;
}
@media only screen and (min-width: 56em) {
  .page-section-hero.top .flex-wrapper {
    align-items: flex-start;
    padding: var(--double-space);
  }
}

/* page section template cards */
.page-section-cards {
  text-align: center;
}
.card {
  margin-bottom: var(--single-space)
}
.card:last-of-type {
  margin-bottom: 0;
}
.card img {
  margin: 0 auto var(--single-space);
  max-width: 90%;
  max-width: calc(100% - 2em);
}
.icon-left .card {
  display: flex;
  gap: var(--single-space);
  align-items: center;
}
.icon-left .card-img {
  flex: 0 0 8em;
}
.icon-left .card-img img {
  margin-bottom: 0;
}
.icon-left .card-text {
  text-align: left;
}
.card .cta {
  margin-top: var(--single-space);
}

/* card widths */
.page-section-cards.third-width .cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--single-space);
  justify-content: space-around;
}
.page-section-cards.third-width .cards .card {
  width: calc(50% - 1em);
  flex: 0 1 25em;
}

/* page-section-image-text */
.page-section-image-text .image-text-rows,
.page-section-image-text .image-text-row,
.page-section-image-text .image-text-img,
.page-section-image-text .image-text-txt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 auto;
  order: 2;
}
.page-section-image-text .image-text-img img {
  min-height: 18.5em;
  object-fit: cover;
  overflow: hidden;
}
.page-section-image-text .image-text-txt {
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em 1em 2.5em;
  order: 1;
}
@media only screen and (min-width: 56.25em) {
  .page-section-image-text .image-text-img img {
    order: 1;
  }
  .page-section-image-text .image-text-txt {
    order: 2;
  }
}
.page-section-image-text .image-text-content {
  max-width: 36em;
  margin: 0 auto;
}
.page-section-image-text .image-text-row + .image-text-row {
  margin-top: 2em;
}
.image-text-row.white-bg {
  background-color: var(--white);
}
.image-text-row.light-gray-bg {
  background-color: var(--light-gray-v1);
}
.image-text-row.black-bg {
  background-color: var(--dark-gray);
}
.image-text-row.green-bg {
  background-color: var(--highlight);
}
.image-text-row.white-bg .image-text-row {
  background-color: var(--white);
}
.image-text-row.white-text .image-text-row {
  color: var(--light-gray-v1);
}
.image-text-row.black-text .image-text-row {
  color: var(--dark-gray);
}
.image-text-row.green-text .image-text-row {
  color: var(--highlight-bright);
}
.page-section-image-text .head-five {
  text-transform: initial;
  font-size: 20px;
  font-size: 1.25rem;
  margin-bottom: .5em;
}
.page-section-image-text .head-two {
  margin-bottom: .25em;
  font-size: 60px;
  font-size: 3.75rem;
  letter-spacing: 0.05em;
  /*-webkit-mask-image: url(/wp-content/uploads/2017/10/texture_15.png);
  mask-image: url(/wp-content/uploads/2017/10/texture_15.png);*/
  -webkit-mask-image: url(/wp-content/uploads/2024/04/texture.png);
  mask-image: url(/wp-content/uploads/2024/04/texture.png);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
}
.page-section-image-text .page-section-custom-content + .page-section-link,
.page-section-image-text .page-section-link + .page-section-custom-content {
  margin-top: 1em;
}
.image-text-row.image-left{
  flex-direction: row;
  background-color: #F3F1ED;
  background-image: url('/wp-content/uploads/2017/10/trees.png');
  background-repeat: no-repeat;
  background-position: right;
  background-position-y: 22em;
  padding: 1em;
}
@media only screen and ( min-width: 28em ) {
  .image-text-row.image-left{
    flex-direction: row;
    background-color: #F3F1ED;
    background-image: url('/wp-content/uploads/2017/10/trees.png');
    background-repeat: no-repeat;
    background-position: right;
    background-position-y: 8em;
    padding: 1em;
  }
}
.image-text-row.image-left.remove-row-background {
  flex-direction: row;
  background-color: var(--white);
  background-repeat: no-repeat;
  background-position: right;
  background-position-y: 22em;
  padding: 1em;
}
@media only screen and ( min-width: 56.25em ) {
  .page-section-image-text .image-text-row {
    flex-wrap: nowrap;
  }
  .page-section-image-text .image-text-row + .image-text-row {
    margin-top: 4em;
  }
  .image-text-row:nth-of-type(odd), 
  .image-text-row.image-right{
    flex-direction: row-reverse;
    padding: 1em;
  }
  .image-text-row.image-left{
    flex-direction: row;
    background-color: #F3F1ED;
    background-image: url('/wp-content/uploads/2017/10/trees.png');
    background-repeat: no-repeat;
    background-position: right;
    background-position-y: 8em;
    padding: 1em;
  }
  .image-text-row.image-left.remove-row-background {
    flex-direction: row;
    background-color: var(--white);
    background-repeat: no-repeat;
    background-position: right;
    background-position-y: 8em;
    padding: 1em;
  }
  .image-text-row .image-text-img,
  .image-text-row .image-text-txt {
    flex: 50%;
  }
  .image-text-row .image-text-txt {
    padding: 2em 2em 2.5em;
  }
}

/* page section picker */
.page-section-picker {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.page-section-picker .image-container {
  display: flex;
  width: 100%;
  margin: 2em 0 3em 0;
  background-color: #000;
}
.page-section-picker .picker-wrapper {
  position: relative; 
  text-align: center; 
  width: 100%;
  overflow: hidden; 
  max-height: 40em;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
}
.page-section-picker .picker-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  z-index: 1;
}
.page-section-picker .picker-wrapper:hover::before {
  /*background-color: transparent;*/
  background-color: rgba(0, 0, 0, 0.2);
}
.page-section-picker .picker-name {
  opacity: 1;
  position: absolute;
  top: 50%; 
  left: 0; 
  right: 0; 
  transform: translateY(-50%); 
  padding: 5px; 
  font-family: var(--display-font);
  font-size: 3em;
  color: var(--white);
  padding-bottom: 2em;
  background-image: url('/wp-content/themes/tresagaves/assets/icons/button-decor-white.svg');
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: 2.5em auto;
  background-position: center;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}
.page-section-picker .cta-fancy {
  opacity: 1;
  position: absolute; 
  top: 80%; 
  left: 40%; 
  transform: translateX(-50%) translateY(-50%);  
  font-family: var(--body-font-medium);
  font-weight: 500;
  font-size: 1.2em;
  color: var(--white);
  z-index: 2;
}
.page-section-picker .picker-image img {
  width: 100%;
}
.page-section-picker .picker-image {
  height: auto;
  transition: all 0.3s ease-in-out;
  z-index: 0;
}
.page-section-picker .picker-link {
  display: block;
  height: 100%;
  width: 100%;
}
.page-section-picker .picker-wrapper:focus .picker-image,
.page-section-picker .picker-wrapper:hover .picker-image {
  transform: scale(102%);
  transition: all 0.3s ease-in-out;
  background-color: transparent;
}
.page-section-picker .picker-wrapper:hover .cta-fancy::before {
  right: -110px;
}
.page-section-picker .picker-wrapper:hover .cta-fancy::after {
  width: 0%;
  left: 170%;
}

@media (max-width: 56em) {
  .page-section-picker {
    flex-direction: column;
    align-items: center;
  }
  .page-section-picker .image-container {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  .page-section-picker .picker-image {
    width: 100%; 
  }
}
@media (max-width: 400px) {
  .page-section-picker .cta-fancy {
    left: 37%; 
  }
  .cta-fancy::before {
    right: -60px;
    width: 3em;
  }
  .cta-fancy:hover::before {
    right: -70px;
  }
  .cta-fancy:not(:hover)::after{
    width: 130%;
    left: 3%;
  }
  .page-section-picker .picker-wrapper:hover .cta-fancy::before {
    right: -60px;
    width: 3em;
  }
  .page-section-picker .picker-wrapper:hover .cta-fancy::after {
    width: 130%;
    left: 3%;
  }
}


/* page section big image */
.big-image {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden; /* Ensure that the image does not overflow the container */
  background-color: #000;
}
.big-image-text-box {
  color: var(--white);
  text-align: left;
  padding: 1em;
  position: relative; /* Ensure text is in front of the image */
  z-index: 1; /* Set z-index to be above the image */
  margin: 6em 0;
}
.big-image-header {
  text-align: left;
  font-size: 3em;
  font-family: var(--display-font);
  text-transform: none;
}
.big-image-paragraph {
  text-align: left;
  font-size: 1em;
  font-family: var(--body-font);
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 1em;
}
.big-image-link {
  margin-top: 3em;
  max-width: 12em;
  background: transparent;
  border: none;
}
.big-image-img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0; /* Set z-index behind the text */
  object-fit: cover;
  min-width: 300em;
}
@media only screen and (min-width: 56em) {
  .big-image-text-box {
    text-align: left;
    max-width: 50%;
    padding: 2em;
    margin: 10em 4em;
  }
  .big-image-header {
    text-align: left;
    font-size: 4em;
  }
  .big-image-paragraph {
    font-size: 1.25em;
  }
}
@media screen and (max-width: 340px) {
  .big-image-link {
    width: 10em;
  }
}

/* page section slideshow */
.slideshow {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  position: relative;
}
.slides-container {
  order: 2;
}
.slideshow h2 {
  text-align: left;
  font-family: var(--display-font);
  font-size: 3em;
  text-transform: none;
  margin-bottom: var(--single-space);
  margin-left: 0;
}
.slideshow h3 {
  text-align: left;
  font-family: var(--body-font-bold);
  font-weight: 700;
  text-transform: none;
  font-size: 1.4em;
  text-transform: none;
  margin-bottom: var(--single-space);
}
.slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  width: 100%;
}
.slide-text {
  text-align: left;
  margin-top: 1em;
  display: flex;
  flex-direction: column;
  order: 1;
}
.slide-image {
  order: 3;
  width: 100%;
}
.slide img {
  width: 100%;
}
.slideshow-controls {
  position: relative;
  width: 15em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
  margin-top: 2em;
  margin-bottom: 2em;
  order: 2;
}
.prev-slide,
.next-slide {
  border: none;
  background: none;
  cursor: pointer;
}
.prev-slide img, .next-slide img {
  width: 4em; 
}
.prev-slide {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0;
}
.slide-number {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--body-font-bold);
  font-weight: 700;
  padding: 5px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
}
.next-slide {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0;
}
.slide-indicators {
  position: absolute;
  bottom: 10px; /* Adjust the distance from the bottom as needed */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}
.slide-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
}
.slide-indicator.active {
  background: #333; /* Change the active indicator color */
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
@media only screen and (min-width: 80em) {
  .slide {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    padding: 1em;
    width: 100%;
  }
  .slide img {
    max-width: 100%;
  }
  .slide-content {
    display: flex;
    flex-direction: row;
    text-align: left;
    order: 1;
  }
  .slide-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    max-width: 30em;
    padding: 1em 3em;
    margin-top: 5em;
  }
  .slideshow-controls {
    position: absolute;
    bottom: 12%;
    left: 6%;
    width: 15em;
    order: 2;
  }
}


/* tfe agegate */
.tfe-agegate {
  display: flex;
  align-items: center;
  z-index: 1600;
  background: var(--tan);
  background-image: url('/wp-content/uploads/2024/04/Tres-Agaves_AgeGate-Bkgd.jpg');
  background-repeat: no-repeat;
  background-size: cover
}
.tfe-agegate-dialog {
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  /*box-shadow: 0 0 1.875em 0 rgb(2 2 2);*/
  background: none;
  padding: 0;
}
.tfe-agegate-image {
  width: 75%;
}
.tfe-agegate p {
  font-size: 1.25em;
  line-height: 1.4;
  font-family: var(--body-font);
  font-weight: 400;
  font-weight: 300;
  margin-top: 3em;
  order: 2;
}
.tfe-enter-box {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 3.5em 0 0;
  order: 3;
}
.tfe-enter {
  padding: var(--single-space);
  color: var(--dark-brown);
  background: none;
  max-width: 14em;
  margin-top: 3em;
  cursor: pointer;
}
.tfe-enter:active,
.tfe-enter:focus,
.tfe-enter:hover {
  padding: var(--single-space);
  color: var(--dark-brown);
  outline-offset: 20px; 
  background: none !important;
}
.tfe-enter::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%; 
  width: 0; 
  height: 2px;
  background-color: var(--dark-brown);
  transition: left 0.3s, width 0.3s;
}
.tfe-enter::before {
  content: '';
  position: absolute;
  top: 70%;
  left: 13em; 
  transform: translateY(-100%);
  width: 3.125em; 
  height: 1.25em; 
  background-image: url('/wp-content/themes/tresagaves/assets/icons/arrow-dark.svg'); 
  background-size: contain; 
  background-repeat: no-repeat;
  transition: all .3s;
}
.tfe-enter:hover::after {
  width: 0%;
  left: 160%; 
}
.tfe-enter:not(:hover)::after {
  width: 120%; 
  left: 1em; 
}
.tfe-enter:hover::before {
  left: 14em; 
}
@media screen and (min-width: 40em){
  .tfe-agegate p, .tfe-agegate-image {
      margin-bottom: 1.5em;
  }
  .tfe-agegate-dialog {
    min-width: 20em;
    max-width: 30em;
  }
  .tfe-agegate-dialog {
    padding: 3em;
  }
}
@media only screen and (min-width: 56em) {
  .tfe-agegate-dialog {
    padding: 3em;
  }
  .tfe-agegate p {
    margin-top: 5em;
  }
  .tfe-enter {
    margin-top: 3em;
  }
  .tfe-enter::before {
    content: '';
    position: absolute;
    top: 70%;
    left: 13em; 
    transform: translateY(-100%);
    width: 3.125em; 
    height: 1.25em; 
    background-image: url('/wp-content/themes/tresagaves/assets/icons/arrow-dark.svg'); 
    background-size: contain; 
    background-repeat: no-repeat;
    transition: all .3s;
  }
  .tfe-enter:hover::before {
    left: 15em; 
  }
  .tfe-enter:not(:hover)::after {
    width: 120%; 
    left: 1em; 
  }
  .tfe-enter:hover::after {
    width: 0%;
    left: 160%; 
  }
}
@media only screen and (max-width: 375px) {
  .tfe-enter::before {
    left: 9em; 
  }
  .tfe-enter:hover::before {
    left: 10em;
}
}

/* legal styles */
.tfelegal {
  max-width: 50em;
  margin: 0 auto;
  padding: 1em;
}
.tfelegal h1 {
  font-weight: 500;
  font-size: 2rem;
}
.tfelegal h2 {
  font-weight: 500;
  font-size: 1.5rem;
  text-transform: uppercase;
}
.tfelegal h3 {
  font-weight: 500;
  font-size: 1.3rem;
}

.tfelegal ul.bullet li {
  margin-left: 1.25em;
}
.tfelegal ol.number li,
.tfelegal ol.lowercase li,
.tfelegal ol.uppercase li,
.tfelegal ol[type='a'] li,
.tfelegal ol[type='A'] li {
  margin-left: 1.5em;
}
.tfelegal ul.bullet li {
  list-style: disc;
}
.tfelegal ol.number {
  list-style: decimal;
}
.tfelegal ol.lowercase,
.tfelegal ol[type='a'] {
  list-style: lower-alpha;
}
.tfelegal ol.uppercase,
.tfelegal ol[type='A'] {
  list-style: upper-alpha;
}
.tfelegal ol li::marker {
  font-family: var(--body-font);
  font-weight: 400;
}
.tfelegal a {
  color: var(--dark-brown);
  text-decoration: none;
  font-family: var(--body-font-bold);
  font-weight: 700;
  border-bottom: 1px solid var(--dark-brown);
  transition: all 0.3s ease-in-out;
}
.tfelegal a:focus,
.tfelegal a:hover {
  color: var(--highlight);
  border-bottom: 1px solid var(--highlight);
  transition: all 0.3s ease-in-out;
}


/* product pages */
.products-page {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: var(--max-width);
  padding: 0 var(--single-space);
  margin: 0 auto 5em;
  background-color: var(--white);
}
.products-page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.products-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 auto;
  width: 100%;
}
.page-section-wrapper .products-page-content {
  /*display: flex;
  flex-direction: row;*/
  padding: 0 2em;
}
.single-product-title {
  color: var(--highlight);
  font-size: 24px;
  font-size: 1.5em;
  font-weight: 500;
  letter-spacing: .09em;
}
.single-product-subtitle {
  color: var(--highlight);
  text-transform: uppercase;
  font-size: 18px;
  font-size: 1.125em;
  font-weight: 400;
}
.product-card {
	text-align: center;
  min-width: 100%;
  width: 100%;
  overflow: hidden;
}
.product-card-bottle {
  top: 0;
  transition: all .3s ease-in-out;
  transform-origin: center;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}
.product-card-bottle img {
  width: 100%;
  height: 100%;
  transition: all .3s ease-in-out;
  transform-origin: center;
  overflow: hidden;
}
.product-card-bottle:active,
.product-card-bottle:focus,
.product-card-bottle:hover {
  transform: scale(102%);
  transition: all .3s ease-in-out;
  transform-origin: center;
}
/*.product-card-bottle a:hover img {
  transform: scale(102%);
  box-shadow: none;
  transition: all .3s ease-in-out;
  transform-origin: center;
}*/
.product-card-bottle:focus .product-card-header h2,
.product-card-bottle:hover .product-card-header h2 {
  color: var(--dark-brown);
  transition: all .3s ease-in-out;
  opacity: 1;
}
@media screen and (min-width: 60em) {
  .products-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: space-around;
    margin: 0 auto;
  }
  .product-card-bottle .product-card-header .go-link {
    visibility: hidden;
    opacity: 0;
  }
  .products-page-content {
    flex-direction: column;
  }
  .products-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
  }
  .product-card {
    flex: 1 0 10%;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    margin: .5em;
    min-width: 48%;
    max-width: 48%;
  }
}
@media screen and (min-width: 77em) {
  .product-card {
    flex: 1 0 10%;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    align-items: center;
    margin: .5em;
    min-width: 32%;
    max-width: 32%;
  }
}

/* single product */

.page-section-wrapper {
  display: flex;
  flex-direction: column;
  padding: 0;
  max-height: 70em;
  overflow: visible;
  overflow-wrap: break-word;
  position: relative;
  max-height: 100%;
}
.single-product-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
.product-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap
}
.product-image {
  width: 100%;
}
.product-image img {
  width: 100%;
  height: auto;
}
.product-section-one {
  order: 1;
  width: 100%;
}
.product-section-two {
  order: 2;
  width: 100%;
}
hr.product-separator {
  border: 1px solid;
  background: var(--dark-brown);
  opacity: 0.3;
}
hr.product-separator-inside {
  border: 1px solid;
  background: var(--dark-brown);
  opacity: 0.3;
  margin-top: 2em;
  margin-bottom: 2em;
}
.product-section-ingredients {
  width: 100%;
}
.product-info {
  margin: 0 auto;
}
.product-header-mobile {
  margin: 2em auto;
}
.product-description {
  margin: 2em auto;
}
.product-description {
  text-align: left;
}
.product-description a {
  color: var(--dark-brown);
  text-decoration: none;
  border-bottom: 1px solid var(--dark-brown);
  padding-bottom: 1px;
  transition: all 0.3s ease-in-out;
}
.product-description a:focus,
.product-description a:hover {
  color: var(--highlight);
  text-decoration: none;
  border-bottom: 1px solid var(--highlight);
  padding-bottom: 1px;
  transition: all 0.3s ease-in-out;
}
.product-buy {
  margin: 3em auto;
}
.product-badges {
  margin: 1em auto;
}
.badge {
  padding: .9em;
  max-width: 5.3em;
}
.product-header-mobile h1,
.product-header-desktop h1 {
  text-align: left;
  font-family: var(--display-font);
  font-size: 3em;
  text-transform: none;
  margin-bottom: var(--single-space);
}
.product-header-mobile h2,
.product-header-desktop h2 {
  text-align: left;
  text-transform: none;
}
.product-header-desktop {
  padding-top: 1em;
  display: block;
}
.product-header-mobile {
  display: none;
}
h2.description-header {
  font-family: var(--body-font-bold);
  font-weight: 700;
  font-size: 1em;
  text-transform: none;
  margin-bottom: var(--single-space);
  text-align: left;
}
@media screen and (min-width: 56em) {
  .single-product-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    margin: 2em auto;
  }
  .product-info {
    margin: 0;
  }
  .product-section-one {
    order: 1;
    width: 50%;
    margin-right: 5em;
  }
  .product-section-two {
    order: 2;
    width: 50%;
  }
  .product-header-mobile {
    display: block;
  }
  .product-header-desktop {
    display: none;
  }
  .product-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
  }
}


/* special page styles */

/* add space to bottom element */
.bottom-space {
  padding-bottom: 4em !important;
}
@media (max-width: 56em) {
  .bottom-space {
    padding-bottom: 4em !important;
  }
}

/* add color to section backgrounds */
.special-background-white {
  background-color: var(--white);
  width: calc(100% - 2em);
  /*width: 100%;*/
}
.special-background-top-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 26%;
  background-color: var(--special-background-color); 
  z-index: -1; 
}
.special-background-middle-home::before {
  content: "";
  position: absolute;
  top: 60%;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: var(--special-background-color); 
  z-index: -1; 
}
.special-background-middle-tequilas::before {
  content: "";
  position: absolute;
  top: -5%;
  left: 0;
  width: 100%;
  height: 110%;
  background-color: var(--special-background-color); 
  z-index: -1; 
}
.special-background-bottom-recipes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--special-background-color); 
  z-index: -1; 
}
.special-background-middle-whoweare::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  height: 16%;
  background-color: var(--special-background-color); 
  z-index: -1; 
}
.special-background-bottom-whoweare::before {
  content: "";
  position: absolute;
  top: 54%;
  left: 0;
  width: 100%;
  height: 35%;
  background-color: var(--special-background-color); 
  z-index: -1; 
}
.special-background-bottom-wheretobuy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--special-background-color); 
  z-index: -1; 
}
@media (min-width: 56em) {
  .special-background-bottom-wheretobuy::before {
    top: 45%;
  }
}

/* home page featured logos */
.featured-logos-container {
  display: flex;
  flex-wrap: wrap;
  /*margin: 2em;*/
}
.featured-logo {
  /* width: calc(33.33% - 20px); /* Calculate width for each image with margin */
  margin: 1em; /* Add margin around each image */
  max-width: 12.5em;
  height: auto;
  transition: all .3s ease-in-out;
}
.featured-logo:focus,
.featured-logo:hover {
  transform: scale(1.05); 
  transition: all .3s ease-in-out;
}
/* Styling for desktop view */
@media (min-width: 48.0625em) {
  .featured-logos-container {
    flex-direction: row; /* Display images horizontally on desktop */
    justify-content: space-evenly; /* Space images equally */
    margin: 2em;
    align-items: center;
  }
}
/* Styling for mobile view */
@media (max-width: 48.0625em) {
  .featured-logos-container {
    flex-direction: column; /* Display images vertically on mobile */
    align-items: center; /* Center images in mobile view */
  }
}

/* our recipes intro */
.our-recipes-intro {
  text-align: left;
  padding: var(--single-space);
  display: flex;
  flex-direction: column;
  /*width: 100%;*/
  width: calc(100% - 1em);
}
.our-recipes-intro h2 {
  text-align: left;
  font-family: var(--display-font);
  font-size: 3em;
  text-transform: none;
  margin-bottom: var(--single-space);
}
.our-recipes-intro-text {
  text-align: left;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1.25em;
  line-height: 1.4;
}
@media screen and (min-width: 56em) {
  .our-recipes-intro-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .our-recipes-intro h2 {
    text-align: left;
    font-family: var(--display-font);
    font-size: 3em;
    text-transform: none;
    margin-bottom: var(--single-space);
    margin-left: 1em;
  }
  .our-recipes-intro-text {
    text-align: left;
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 1.25em;
    line-height: 1.4;
    max-width: 25em;
    margin-left: 2.6em;
  }
}

/* recipes filter */
.recipes-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}
.recipes-box {
  max-width: var(--max-width);
  margin: 0 1em;
}
.recipes-buttons-box {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
}
.recipe-categories {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: flex-start;
  align-items: baseline;
  margin: 0 2em 0 0;
  width: 100%;
}
.recipes-filter-button {
  text-align: left;
  position: relative;
  display: inline-block;
  transition: all .3s ease-in-out;
  padding-bottom: 1em;
  width: 100%;
}
.dropbtn {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: .8em;
  letter-spacing: .2em;
  color: var(--dark-brown);
  text-transform: uppercase;
  padding: 16px;
  border: none;
  width: 100%;
  cursor: pointer;
  border: 1px solid var(--light-gray);
}
.filter-icon {
  display: inline-block;
  width: 36px; 
  height: 27px; 
  background: url('/wp-content/uploads/2024/04/filter-icon.svg') center/cover no-repeat; 
  margin: 0 1em -.3em 1em; 
}
.category-buttons {
  /*display: flex;*/
  display: none;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background-color: var(--white);
  position: absolute;
  min-width: 160px;
  width: 100%;
  z-index: 1000;
  padding: 1em;
  margin-top: 2px;
  z-index: 1;
}
.category-buttons.active {
  display: block;
  background-color: var(--white);
}
.category-buttons a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
}
.category-buttons a:active,
.category-buttons a:focus,
.category-buttons a:hover {
  background-color: var(--light-gray);
}
.recipes-filter-button:hover .filter-icon {
  background: url('/wp-content/uploads/2024/05/filter-icon-white.svg') center/cover no-repeat; 
  transition: all .3s ease-in-out;
}
/*.recipes-filter-button:hover .category-buttons {
  display: block;
  transition: all .3s ease-in-out;
}*/
.recipes-filter-button:hover .dropbtn {
  color: var(--white);
  background-color: var(--dark-brown);
  transition: all .3s ease-in-out;
}
.category-button {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: .8em;
  padding: .825em 1.0625em .7em 1.0625em; 
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  margin: .5em;
  background-color: var(--highlight);
  color: var(--dark-brown);
  border: none;
}
.recipe-apply-button.mobile-only {
  display: block;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: .8em;
  padding: .825em 1.0625em .7em 1.0625em;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  margin: .5em;
  background-color: var(--light-brown);
  color: var(--dark-brown);
  border: 1px solid var(--dark-brown);
}
.recipe-apply-button:hover {
  background-color: var(--dark-brown);
  color: var(--highlight);
  border: 1px solid var(--dark-brown);
}
/*.recipe-apply-button.mobile-only {
  display: block;
}*/
/*.recipes-filter-button:hover .category-buttons {
  display: block;
  transition: all .3s ease-in-out;
}*/
.non-alcohol-button {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: .8em;
  padding: 1.2em;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  background-color: rgb(239, 239, 239);
  color: var(--dark-brown);
  border: 1px solid var(--light-gray); 
  width: 100%;
  margin: 0 auto;
}
.non-alcohol-button.active .filter-icon {
  display: inline-block;
  width: 36px;
  height: 27px;
  background: url('/wp-content/uploads/2024/05/filter-icon-white.svg') center/cover no-repeat;
  margin: 0 1em -0.3em 1em;
  transition: all 0.3s ease-in-out;
}
.clear-filter-button {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: .8em;
  padding: 1.7em;
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  background-color: var(--light-brown);
  color: var(--dark-brown);
  border: 1px solid var(--dark-brown); 
}
.clear-filter-button:hover,
.category-button:hover {
  background-color: var(--dark-brown);
  color: var(--white);
}
.active {
  background-color: var(--dark-brown);
  color: var(--white);
}
.pagination {
  font-family: var(--body-font);
  font-weight: 400;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
}
.pagination nav {
  display: flex;
}
a.page-numbers {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1em;
  padding: .825em 1.0625em .7em 1.0625em; 
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  margin: .5em;
  background-color: var(--highlight);
  color: var(--dark-brown);
  border: none;
}
a.page-numbers:hover {
  background-color: var(--dark-brown);
  color: var(--highlight);
}
span.page-numbers {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1em;
  padding: .825em 1.0625em .7em 1.0625em; 
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  margin: .5em;
  background-color: var(--highlight);
  color: var(--dark-brown);
  border: none;
}
span.page-numbers.current {
  color: var(--white);
  background-color: var(--dark-brown);
  outline: 2px solid var(--outline);
}
@media screen and (min-width: 60em) {
  .recipes-box {
    max-width: var(--max-width);
    margin: 0 auto;
  }
  .recipe-categories {
    width: auto;
  }
  .recipes-filter-button {
    padding-bottom: 0;
  }
  .category-buttons {
    width: 24em;
  }
  .recipes-buttons-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 0 auto;
    padding: 0 0 1em .5em;
    align-items: center;
  }
  .recipe-apply-button.mobile-only {
    display: none;
  }
  .pagination {
    font-family: var(--body-font);
    font-weight: 400;
    display: flex;
    flex-direction: row;
  }
  a.page-numbers {
    margin: 1em .5em;
  }
  span.page-numbers {
    margin: 1em .5em;
  }
}


/* any section intro */
.any-section-intro {
  text-align: center;
  padding: var(--single-space);
  margin-top: 4em;
}
.any-section-intro h2 {
  text-align: left;
  font-family: var(--display-font);
  font-size: 3em;
  text-transform: none;
  margin-bottom: var(--single-space);
  margin-top: 2em;
}
.any-section-intro-text {
  text-align: left;
  max-width: 30em;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1.25em;
  line-height: 1.4;
}
/*.one-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}*/
@media screen and (min-width: 56em) {
  .any-section-intro h2 {
    text-align: center;
  }
  .any-section-intro-text {
    text-align: center;
    margin: 0 auto;
  }
}

/* metalocator */
.page-section-wrapper .metalocator {
  max-width: var(--max-width);
  margin: 0 0 4em 0;
  background-color: var(--white);
}
@media only screen and (min-width: 56em) {
  .page-section-wrapper .metalocator {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: calc(100% - 2em);
  }
}

/* mik mak */
.mik-mak {
  display: flex;
  max-width: var(--max-width);
  justify-content: center;
  margin: 0 auto;
}
.store-finder {
  width: 80em;
}

/* other shopping */
.other-shopping {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;
  max-width: var(--max-width);
  padding: 0 var(--single-space);
  margin: -3em auto 2em;
}
.other-shop-image-button {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  padding: 0 0 3em;
}
.other-shop-image-button a:hover .cta-buy-button::before {
  right: 1em;
}
@media only screen and (min-width: 56em) {
  .other-shopping {
    flex-direction: row;
    margin: 0 auto 2em;
  }
  .other-shop-image-button {
    padding: 2em;
  }
}

/* 404 page */
.hero-text-error.h1 {
  color: var(--dark-gray);
}
.error-buttons-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  margin: 0 auto;
}
.button-error {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: 1em;
    padding: var(--single-space);
    letter-spacing: .2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all .3s ease-in-out;
    cursor: pointer;
    margin: 1em;
    background-color: var(--white);
    color: var(--dark-brown);
    border-style: solid;
    border-width: 2px;
    border-color: var(--dark-brown);
    margin-top: 2em;
}
.button-error:active,
.button-error:focus,  
.button-error:hover {
  background-color: var(--highlight);
  color: var(--dark-brown);
  border-color: var(--dark-brown);
}
.article-wrapper .error-page {
  /*margin: 3em;
  margin-top: 15em;*/
}
.error-box {  
  font-family: var(--body-font);
  font-weight: 400;
  margin-top: 13em;
  text-align: center;
  padding: 2em;
  border-style: solid;
  border-width: 2px;
  border-color: var(--highlight);
  min-width: 14em;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10em;
  max-width: 40em;
  background-color: rgba(255, 255, 255, 0.7);
}


/* contact page and form */
.contact-page {
  max-width: var(--narrow-max-width);
  text-align: center;
  font-size: 1em;
  line-height: 2;
  margin: 3em auto 5em auto;
}
.contact-page-title {
  margin-top: 0;
  margin-right: 2em;
  font-family: var(--display-font);
  font-size: 3em;
  padding-bottom: 1em;
  text-align: left;
}
.contact-box {  
  display: flex;
  flex-direction: column;
  font-family: var(--body-font);
  font-weight: 400;
  text-align: left;
  padding: 1em;
  min-width: 14em;
  max-width: 70em;
  margin-left: auto;
  margin-right: auto;
}
.contact-box a {
  color: var(--dark-brown);
  text-decoration: none;
  font-family: var(--body-font-bold);
  font-weight: 700;
  border-bottom: 1px solid var(--dark-brown);
  transition: all 0.3s ease-in-out;
}
.contact-box a:active,
.contact-box a:focus,
.contact-box a:hover {
  color: var(--highlight);
  text-decoration: none;
  border-bottom: 1px solid var(--highlight);
  transition: all 0.3s ease-in-out;
}
.contact-info {
  text-align: left;
  text-transform: uppercase;
}
label {
  font-family: var(--body-font);
  font-weight: 400;
  text-transform: uppercase;
  text-align: left;
  /*color: #978B78;*/
  color: #7d7566;
}
input[type="text"],
input[type="email"],
textarea {
  font-family: var(--body-font);
  font-weight: 400;
  /*color: #978B78;*/
  color: #7d7566;
  width: 96%;
  border: 1px solid var(--white);
  line-height: 2em;
  padding: 10px;
  font-size: 1em;
  background-color: var(--white);
  border-bottom: 1px solid gray;
}
/* original submit button */
/*input[type="submit"] {
  position: relative;
  text-align: left;
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1em;
  padding: .825em 3em .7em 1.0625em; /* Adjust right padding to make space for the icon 
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  margin-top: 0.7em;
  background-color: var(--dark-brown);
  color: var(--white);
  width: 100%;
}*/
/*input[type="submit"]::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em; 
  transform: translateY(-50%);
  width: 1.25em;
  height: 1.25em;
  background-image: url(/wp-content/themes/tresagaves/assets/icons/arrow-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s;
  opacity: 1;
}*/
/*input[type="submit"]:hover {
  background-color: #fff;
  color: var(--dark-gray);
  border-style: solid;
  border-width: 2px;
  border-color: var(--highlight-light);
}*/
.wpcf7 input[type=”submit”],
.wpcf7 input[type=”button”] {
  background-color:#725f4c;
  width:100%;
  text-align:center;
  text-transform:uppercase;
}
/* custom submit button */
.wpcf7-submit {
  text-align: left;
  font-family: var(--body-font-medium);
  font-weight: 500;
  font-size: 1em;
  padding: .825em 3em .7em 1.0625em; /* Adjust right padding to make space for the icon */
  letter-spacing: .2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .3s ease-in-out;
  cursor: pointer;
  background-color: var(--dark-brown);
  color: var(--white);
  width: 68%;
  position: relative;
}
.wpcf7-submit:hover {
  color: #725f4c;
  background-color: var(--highlight);
}
.wpcf7-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 2em;
  transform: translateY(-50%);
  width: 3.125em;
  height: 1.25em;
  background-image: url(/wp-content/themes/tresagaves/assets/icons/arrow-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s;
  opacity: 1;
}
.wpcf7-submit-wrapper {
  display: inline-block;
  position: relative;
}
.wpcf7-submit-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 2em;
  /*transform: translateY(-50%);*/
  width: 3.125em;
  height: 1.25em;
  background-image: url(/wp-content/themes/tresagaves/assets/icons/arrow-white.svg);
  background-size: contain;
  background-repeat: no-repeat;
  transition: all .3s;
  opacity: 1;
  z-index: 999;
}
.wpcf7-submit-wrapper input[type="submit"] {
  width: 17em;
}
.wpcf7-submit:hover::before {
  right: 1em;
}
.wpcf7-submit-wrapper:hover::before {
  right: 1em;
}
@media screen and (min-width: 56em) {
  .contact-box { 
    flex-direction: row;
    justify-content: space-around;
  }
  .contact-page-title {
    white-space: nowrap;
  }
}

/* site map */
.sitemap-page {
  max-width: var(--narrow-max-width);
  text-align: center;
  font-size: 1.2em;
  line-height: 2;
  margin: 3em auto 5em auto;
}
.sitemap-page-title {
  margin-top: 0;
  margin-right: 2em;
  font-family: var(--display-font);
  font-size: 3em;
  padding-bottom: 1em;
  text-align: left;
}
.sitemap-box {  
  display: flex;
  flex-direction: column;
  font-family: var(--body-font);
  font-weight: 400;
  text-align: left;
  padding: 1em;
  min-width: 14em;
  max-width: 70em;
  margin-left: auto;
  margin-right: auto;
}
.sitemap-box a {
  color: var(--dark-brown);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--dark-brown);
  padding-bottom: 3px;
  transition: all 0.3s ease-in-out;
}
.sitemap-box a:hover {
  color: var(--highlight);
  border-bottom: 1px solid var(--highlight);
  padding-bottom: 3px;
  transition: all 0.3s ease-in-out;
}
.sitemap-box li {
  padding-top: 1em;
}
@media screen and (min-width: 56em) {
  .sitemap-box { 
    flex-direction: row;
    justify-content: space-around;
  }
  .sitemap-page-title {
    white-space: nowrap;
  }
}

/* instagram feed */
.page-section-wrapper .instagram-content {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  margin-bottom: 5em;
  position: relative;
  z-index: 3;
}
.instagram-container {
  margin-bottom: 3em;
}
.instagram-box {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--single-space);
  margin-bottom: 1em;
}
.instagram-box-1, .instagram-box-2 {
  flex: 1;
}
.instagram-box-1 {
  margin-bottom: 0;
}
.instagram-box-1 h2 {
  font-family: var(--display-font);
  font-size: 2em;
  text-transform: none;
  margin-bottom: var(--single-space);
}
.instagram-container .instagram-box-1 h2 a {
  color: var(--dark-brown);
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  transition: all 0.3s ease-in-out;
}
.instagram-container .instagram-box-1 h2 a:hover {
  color: var(--highlight);
  border-bottom: 2px solid var(--highlight);
  padding-bottom: 2px;
  transition: all 0.3s ease-in-out;
}
.instagram-box-2 {
  font-family: var(--body-font);
  font-weight: 400;
  font-size: 1.25em;
  line-height: 1.4;
  text-align: center;
  max-width: 30em;
  margin: 0 auto;
}
@media screen and (min-width: 56.25em) {
  .instagram-box {
    flex-direction: column;
  }
  .instagram-box-2 {
    text-align: center;
    max-width: 30em;
  }
  .page-section-wrapper .instagram-content .page-section-header .icon-above-headline {
    /*margin: 0;*/
  }
  .page-section-wrapper .instagram-content {
    padding: var(--double-space);
  }
}
.sb_instagram_header {
  display: none;
}
#sbi_load {
  display: none;
}

/* sweepstakes page */
.bold-text {
  font-family: var(--body-font-bold);
  font-weight: 700;
}


/* extras */

/* reduced motion preference */
@media screen and (prefers-reduced-motion: reduce) { 
  .page-section-picker .picker-wrapper {
    transition: none;
  }
  .page-section-picker .picker-wrapper:hover .picker-image {
    transform: none;
  }
  .featured-logo:hover {
    transform: none;
  }
  .cta-fancy,
  .cta-fancy-dark,
  .cta-fancy-product,
  .cta-buy-button {
    transition: none;
  }
  .cta-fancy::after,
  .cta-fancy:hover::after {
    transition: none;
    left: 50%;
    width: 0;
  }
  .cta-fancy::before,
  .cta-fancy:hover::before {
    transition: none;
    right: -90px;
  }
  .cta-fancy-dark::before,
  .cta-fancy-dark:hover::before {
    transition: none;
    right: -90px;
  }
  .cta-fancy-dark::after,
  .cta-fancy-dark:hover::after {
    transition: none;
    left: 50%;
  }
  .cta-fancy-product::before,
  .cta-fancy-product:hover::before {
    transition: none;
    right: -90px;
  }
  .cta-buy-button::before,
  .cta-buy-button:hover::before {
    transition: none;
    left: 13em;
  }
  .logo-center .header-logo-link,
  .footer-logo-link .logo-link {
    transition: none;
  }
  .header-logo-link:hover,
  .footer-logo-link .logo-link:hover {
    scale: none;
  }
  .social-icon:active, 
  .social-icon:focus, 
  .social-icon:hover, 
  .social-icon:visited {
    transform: none;
  }
  #menu-header-menu .sub-menu li::before,
  #menu-header-menu .sub-menu li:hover::before  {
    transform: none;
    left: -20px;
  }
  #menu-header-buy-menu {
    transition: none;
  }
  #menu-header-buy-menu::before,
  #menu-header-buy-menu:hover::before {
    left: -50px;
  }
  .product-card-bottle,
  .product-card-bottle:hover {
    transform: none;
  }
}
@media screen and (prefers-reduced-motion) { 
  .page-section-picker .picker-wrapper {
    transition: none;
  }
  .page-section-picker .picker-wrapper:hover .picker-image {
    transform: none;
  }
  .featured-logo:hover {
    transform: none;
  }
  .cta-fancy,
  .cta-fancy-dark,
  .cta-fancy-product,
  .cta-buy-button {
    transition: none;
  }
  .cta-fancy::after,
  .cta-fancy:hover::after {
    transition: none;
    left: 50%;
    width: 0;
  }
  .cta-fancy::before,
  .cta-fancy:hover::before {
    transition: none;
    right: -90px;
  }
  .cta-fancy-dark::before,
  .cta-fancy-dark:hover::before {
    transition: none;
    right: -90px;
  }
  .cta-fancy-dark::after,
  .cta-fancy-dark:hover::after {
    transition: none;
    left: 50%;
  }
  .cta-fancy-product::before,
  .cta-fancy-product:hover::before {
    transition: none;
    right: -90px;
  }
  .cta-buy-button::before,
  .cta-buy-button:hover::before {
    transition: none;
    left: 13em;
  }
  .logo-center .header-logo-link,
  .footer-logo-link .logo-link {
    transition: none;
  }
  .header-logo-link:hover,
  .footer-logo-link .logo-link:hover {
    scale: none;
  }
  .social-icon:active, 
  .social-icon:focus, 
  .social-icon:hover, 
  .social-icon:visited {
    transform: none;
  }
  #menu-header-menu .sub-menu li::before,
  #menu-header-menu .sub-menu li:hover::before  {
    transform: none;
    left: -20px;
  }
  #menu-header-buy-menu {
    transition: none;
  }
  #menu-header-buy-menu::before,
  #menu-header-buy-menu:hover::before {
    left: -50px;
  }
  .product-card-bottle,
  .product-card-bottle:hover {
    transform: none;
  }
}


/* additional no-js styles */


@media only screen and (min-width: 28em) {
 
}
@media only screen and (min-width: 56em) {

}
@media only screen and (min-width: 75em) {
  
}
@media only screen and (min-width: 94em) {
  
}