/*
Theme Name: EBRO Theme
Author: Perbis
Author URI: https://perbis.pl/
Description: Custom EBRO Theme
Version: 1.0
Text Domain: ebro-theme
*/
/* globals */
:root {
  --blue: #0085AD;
  --lightblue: #59B0CA;
  --red: #DF002D;
  --darkred: #B40024;
  --lightred: #F32A52;
  --gray: #F5F5F5;
  --black: #343434;
  --lightblack: #616161;
  --white: #FFFFFF;
  --bordergray: #E1E1E1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arimo', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  color: var(--lightblack);
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  color: var(--lightblack);
}

h1 {
  color: var(--red);
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

/* navbar------------------------------------------------------------------------------------------------------------------------------------------------------------ */
.nav {
  white-space: nowrap;
  position: relative;
  padding: 1.5rem 0 1rem 0;
  z-index: 2;
}

.nav-first-row,
.nav-second-row {
  display: flex;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-inline: auto;
}

/* first row ----------------------- */
.nav-first-row {
  gap: 8vw;
  width: min(80rem, 90%);
}

.logo {
  width: 118px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav-contact-tiles {
  display: flex;
  gap: 2.25rem;
}

.nav-contact-tile {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav-contact-tile-content-intro {
  color: var(--lightblack);
}

.nav-contact-tile-content-main {
  color: var(--red);
}

.nav-contact-tiles-alt {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: .5rem;
}

.nav-contact-tile-alt {
  align-items: center;
  display: flex;
  gap: .5rem;
}

.nav-contact-tile-alt img {
  width: 16px;
  height: 16px;
}

/* second row --------------------------- */
.nav-second-row-wrapper {
  background-color: var(--blue);
  position: relative;
  transition: all .3s;
  max-height: 65px;
  height: 65px;
}

.nav-second-row {
  height: 65px;
  width: min(80rem, 90%);
  margin-inline: auto;
}

.nav-second-row-wrapper.active {
  height: calc(100vh - 1rem - 100px);
  /* max-height: calc(100vh - 1rem - 100px); */
  /* min-height: 250px; */
  position: fixed;
  z-index: 999999;
  top: 0;
  height: 100dvh;
  min-height: 100dvh;
  width: 100vw;
}

.nav-links {
  display: flex;
  gap: 5vw;
}

.nav-links li {
  list-style-type: none;
}

.nav-link {
  list-style-type: none;
  font-size: 24px;
  color: var(--white);
  border-bottom: 3px solid transparent;
  transition: border-bottom .3s;
}

.nav-link a {
  list-style-type: none;
}

.nav-link:hover {
  border-bottom: 3px solid var(--white);
}

.menu-item-has-children {
  position: relative;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: -2rem;
  list-style-type: none;
  opacity: 0;
  -webkit-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
  width: fit-content;
  padding-left: 2rem;
  padding-top: 1rem;
  padding-bottom: .5rem;
  padding-right: 2rem;
}

.sub-menu:hover {
  display: block;
  opacity: 1;
}

.sub-menu li {
  margin-bottom: .5rem;
}

.sub-menu li a {
  display: inline-block;
  white-space: nowrap;
  transition: border .3s;
  font-size: 18px;
}

.sub-menu.active {
  display: block;
  opacity: 0;
}

.sub-menu.active.transition {
  opacity: 1;
  background-color: var(--blue);
}

/* aside */
/* aside----------------------------------------------------------------------------------------------------- */
.aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 324px;
  min-width: 324px;
  position: sticky;
  top: 0;
  height: fit-content;
}

.side-menu {
  background-color: var(--red);
  color: var(--white);
  border-radius: 10px;
}

.side-menu li {
  font-size: 24px;
  position: relative;
  list-style-type: none;
  transition: border-bottom .3s;
}

.nav-link {
  cursor: pointer;
}

.side-menu-item li:hover {
  border-bottom: .5px solid #fff;
}

.side-menu-item:last-of-type li {
  margin-bottom: 0;
}

.support {
  border-radius: 10px;
  background-color: var(--gray);
}

.support-img {
  background: url("./assets/img/AdobeStock_122376403.png");
  height: 188px;
  display: block;
}

.support p {
  padding: 1.5rem .80rem;
  text-align: center;
}

.support-phone-span {
  font-weight: bold;
  display: inline-block;
}

.side-menu li {
  padding-bottom: 1.5rem;
  padding-top: 0;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.side-menu li:first-of-type {
  padding-top: 1.5rem;
}

.sub-menu-aside li {
  padding: 0;
}

.sub-menu-aside li:first-of-type {
  padding-top: 0;
}

.sub-menu-aside {
  display: none;
  position: relative;
  list-style-type: none;
  width: 100%;
  width: calc(100% + 5rem);
  margin-left: -2.5rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin-top: .5rem;
}

.sub-menu-aside li {
  margin-bottom: .75rem;
  margin-top: 0;
  border: none;
}
.nav-links.menu-item-has-children::after{
    content: "\25b6";
    display: inline-block;
    transform: rotate(90deg);
    margin-left: 5px;
}
.nav-links.menu-item-has-children.show:after {
  transform: rotate(-90deg);
}
.sub-menu-aside li:last-of-type {
  margin-bottom: 0;
}

.sub-menu-aside li a {
  display: inline;
  white-space: pre-wrap;
  transition: border .3s;
  font-size: 16px;
}

.sub-menu-aside li .nav-link {
  /* border-bottom: none; */
}

.sub-menu-aside.active {
  display: block;
  opacity: 0;
}

.sub-menu-aside.active.transition {
  opacity: 1;
  background-color: var(--darkred);
}

/* nav disclaimer */
.nav-disclaimer {
  white-space: nowrap;
  display: flex;
  font-size: 14px;
  align-items: center;
  position: relative;
  margin-inline: auto;
  width: fit-content;
  gap: .5rem;
}

.nav-contact-tiles-alt.mini {
  display: none;
}

/* hamburger menu */
.nav-hamburger {
  width: 2rem;
  height: 2rem;
  display: none;
}

.nav-hamburger {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  width: 2.5rem;
  height: 3rem;
  position: relative;
}

.nav-hamburger:hover .nav-hamburger-line {
  width: 100%;
}

.nav-hamburger-line {
  height: .5rem;
  background-color: var(--red);
  -webkit-transition: all .4s;
  -o-transition: all .4s;
  transition: all .4s;
  position: absolute;
}

.nav-hamburger-line:nth-of-type(1) {
  width: 50%;
  top: 10%;
}

.nav-hamburger-line:nth-of-type(2) {
  width: 80%;
  top: 42.5%;
}

.nav-hamburger-line:nth-of-type(3) {
  width: 65%;
  bottom: 10%;
}

.nav-hamburger-line.active:nth-of-type(1) {
  top: 50%;
  width: 100%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: var(--red);
}

.nav-hamburger-line.active:nth-of-type(2) {
  -webkit-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  transform: translateX(-100%);
  opacity: 0;
  background-color: var(--red);
}

.nav-hamburger-line.active:nth-of-type(3) {
  top: 50%;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 100%;
  background-color: var(--red);
}

.nav-links.active {
  display: flex;
  opacity: 1;
  max-height: 100%;
  width: 100%;
  padding: 2rem 1.5rem 2rem 1.5rem;
  overflow-y:scroll;
}

/* search bar -------------------*/
.search-bar-container {
  position: absolute;
  width: 32.5vw;
  height: 57px;
  background-color: var(--red);
  transform: translateY(-100%);
  top: 0;
  right: 0;
  border-top-left-radius: 100px;
  display: flex;
  align-items: center;
}

.search-bar {
  display: flex;
  gap: 1rem;
  background-color: var(--lightred);
  width: 190px;
  height: fit-content;
  padding: .35rem 1rem;
  border-radius: 10px;
  margin-left: 7.5vw;
  justify-content: space-between;
  align-items: center;
}

.search-bar-placeholder {
  color: var(--white);
  margin: 0;
  background: transparent;
  border: 0 !important;
  padding: .35rem 1rem;
}

.search-bar-placeholder::placeholder {
  color: var(--white);
}
button.search-bar-icon{
  background: transparent;
  border: none;
}

/* content wrapper--------------- */
.content-wrapper {
  width: min(80rem, 90%);
  margin-inline: auto;
  padding: 2.5rem 0;
  display: flex;
  gap: 2.5vw;
}

/* main */
.main {
  width: 100%;
}

.main p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.main-list-heading {
  margin-bottom: 0 !important;
}

.intro-section ul li {
  list-style-type: none;
  background: url(./assets/img/Ellipse\ 4.svg) no-repeat left center;
  /* <-- change `left` & `top` too for extra control */
  padding: 3px 0px 3px 16px;
  /* reset styles (optional): */
  list-style: none;
  display: flex;
  align-items: center;
  color: var(--lightblack);
  line-height: 1.75;
}
.btn-blue,
.btn-red {
  color: var(--white);
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 10px;
  gap: 1rem;
  position: relative;
  transition: background .3s;
  display: inline-block;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
}

.btn-red {
  background-color: var(--red);
}

.btn-red:hover {
  background-color: var(--blue);
}

.btn-blue {
  background-color: var(--blue);
}

.btn-blue:hover {
  background-color: var(--red);
}

.section-divider {
  background-image: url("./assets/img/Image\ 2.png");
  width: 100%;
  height: 25px;
  margin: 2rem 0;
  background-size: cover;
  background-position: center;
}

/* categories section */
.category-wrapper {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.category-type {
  width: calc((100% / 3) - 1rem * 2);
  min-width: 240px;
  height: fit-content;
  display: block;
  padding: .8rem 1rem;
  transition: box-shadow .3s;
  border-radius: 10px;
}

.category-type img {
  width: 100%;
}

.category-type:hover {
  -webkit-box-shadow: 0px 0px 11px 7px rgba(204, 204, 204, 1);
  -moz-box-shadow: 0px 0px 11px 7px rgba(204, 204, 204, 1);
  box-shadow: 0px 0px 11px 7px rgba(204, 204, 204, 1);
}

.category-title {
  color: var(--red);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 32px;
}

.category-type-title {
  color: var(--blue);
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  margin-top: .80rem;
}

/* category feed ------------------------------------------------*/
.category-feed {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  /* justify-content: space-between; */
}

.category-feed-item {
  width: calc((100% / 3) - 1rem);
  text-align: center;
  display: grid;
  min-width: 220px;
  grid-template-rows: 168px auto auto;
  border: 1px solid rgba(128, 128, 128, 0.511);
  padding: 1rem;
  border-radius: 10px;
  transition: box-shadow .3s;
}

.category-feed-item:hover {
  -webkit-box-shadow: 0px 0px 11px 7px rgba(204, 204, 204, 1);
  -moz-box-shadow: 0px 0px 11px 7px rgba(204, 204, 204, 1);
  box-shadow: 0px 0px 11px 7px rgba(204, 204, 204, 1);
}

.category-feed-img {
  grid-row: 1/2;
  grid-column: 1;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-feed-img img {
  /* max-width: 168px; */
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  padding: .75rem;
  height: auto;
}

.category-feed-title {
  color: var(--red);
  font-size: 18px;
  font-weight: bold;
  grid-column: 1;
  grid-row: 2/3;
  margin-bottom: .5rem;


}

.category-feed-description {
  color: var(--lightblack);
  grid-column: 1;
  grid-row: 3/4;
}

.category-feed-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap-reverse;
  gap: 1vw;
  margin-bottom: 2rem;
}

.feed-desc-string{
  color: var(--blue)!important;
  font-style: italic!important;
}

.wp-pagenavi {
  display: flex;
  list-style-type: none;
  margin-right: auto;
  width: fit-content;
}

.wp-pagenavi a, .wp-pagenavi span {
  width: 45px;
  height: 45px;
  border-right: 1px solid var(--bordergray);
  border-top: 1px solid var(--bordergray);
  border-bottom: 1px solid var(--bordergray);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color .3s;
}

.wp-pagenavi:first-child {
  border-left: 1px solid var(--bordergray);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.wp-pagenavi a.disabled, .wp-pagenavi span.disabled {
  background-color: rgba(128, 128, 128, 0.54);
}

.wp-pagenavi a.active, .wp-pagenavi span {
  background-color: var(--blue);
  color: var(--white);
}

.wp-pagenavi a:hover, .wp-pagenavi span:hover {
  background-color: var(--blue);
  color: var(--white);
}

.wp-pagenavi a:first-child, .wp-pagenavi span:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.wp-pagenavi a:last-child, .wp-pagenavi span:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.wp-pagenavi .to-turn {
  transform: rotate(180deg);
}

.category-feed-sort {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  height: 45px;
  width: 280px;
  align-items: center;
  border: 1px solid var(--bordergray);
  border-radius: 10px;
}

.category-feed-sort p {
  margin: 0;
}

.category-feed-bottom {
  margin: 1.5rem 0;
  display: flex;
}

/* about------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
.subtitle {
  color: var(--blue);
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.banner-img {
  width: 780px;
  margin-bottom: 1.5rem;
}

.about-split {
  display: flex;
  gap: 1rem;
}

.about-split-img {
  background: url("./assets/img/ebro-about-bg.png");
  width: 450px;
  height: 425px;
}

.subtitle-2 {
  font-weight: bold;
  color: var(--blue);
}

.about-page-part {
  margin-top: 1.5rem;
}

/* contact page------------------------------------------------------------------------------------------------------------------------*/
.subtitle-contact {
  color: var(--red);
  font-size: 24px;
  text-align: center;
}

.subtitle-contact:nth-of-type(2) {
  margin-bottom: 0 !important;
}

.subtitle-contact.to-left {
  text-align: left;
}

.subtitle-contact-description {
  text-align: center;
  margin-inline: auto;
}

.contact-img-wrapper {
  background: url("./assets/img/contact-img.jpg");
  background-size: cover;
  background-position: center;
  height: 380px;
  margin-bottom: 1.5rem;
}

/* contact form */
.contact-form {
  margin-inline: auto;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

form {
  outline: none;
}

input,
textarea {
  outline: none;
  border: none;
  resize: none;
  color: inherit;
  font-family: inherit;
  font-size: .9rem;
}
input::placeholder,
textarea::placeholder{
  font-size: .9rem;
}



.form-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3vw;
}

.form-row-item {
  width: 50%;
}

input,
textarea {
  border: 1px solid var(--bordergray);
  border-radius: 10px;
  transition: border .3s;
  padding: .75rem 1rem;
  width: 100%;
}

input {
  /* max-width: 315px; */
  margin-bottom: 1rem;
}

textarea {
  width: 100%;
  margin-bottom: 1rem
}

input:focus,
textarea:focus {
  border: .01px solid var(--red);
}

.accept {
  margin: 1rem 0;
  width: fit-content;
  margin-right: auto;
}

#agree {
  width: fit-content;
}

label {
  color: var(--black);
}

.btn-contact p {
  margin: 0;
  color: var(--white);
  margin-inline: auto;
  
}
#wpcf7-f816-o1 > form > div.submit-btn-wrapper > p > input{
  cursor: pointer;
}
/* addresses */
.addresses-wrapper {
  display: flex;
  gap: 2rem;
}

.addresses-wrapper p {
  margin-bottom: 0rem;
  line-height: 1.5;
}
.addresses-wrapper a:hover {
  border-bottom: 1px solid var(--black);
}
.address-tile {
  width: 30%;
}

.address-tile .subtitle-contact {
  margin-bottom: 1rem;
}
/* tips under inputs */
.wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: .75rem;
  font-weight: normal;
  display: block;
  margin-top: -1rem;
  margin-left: .1rem;
}
/* mail sent */
.wpcf7 form.sent .wpcf7-response-output {
  background-color: var(--blue);
  color: var(--white);
  padding: .5rem 2rem;
  width: 100%;
  font-size: .75rem;
}
.wpcf7 form .wpcf7-response-output {
  border-radius: 10px;
}
/* invalid */
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  background-color: var(--red);
  color: var(--white);
  padding: .5rem 2rem;
  width: 100%;
  font-size: .75rem;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: transparent;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  border: none;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  background-color: var(--red);
  color: var(--white);
  padding: .5rem 2rem;
  width: 100%;
  font-size: .75rem;
  border: none;
}
/* product page--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */

/* .description strong,
.description b{
  margin: 1rem 0 0rem 0;
  display:block;
} */
.description{
  line-height: 1.5;
}
.description ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-top: .5rem;
  margin-bottom: .5rem;
}
.description li{
  text-indent: -1em;
    margin-left: 2em;
}
.description li:before {
  content: "\2022"; /* Add a bullet symbol */
  color: blue; /* Change the bullet color to blue */
  display: inline-block; /* Make the bullet inline with the text */
  width: .5em; /* Set the width of the bullet */
  margin-left: .5em; /* Move the bullet to the left to align with the text */
}
.product-split {
  display: flex;
  margin-top: 2rem;
  gap: 3vw;
  padding-right: 2rem;
}
.product-img{
  max-width: 450px;
  max-height: 525px;
  min-width: 450px;
  min-height: 525px;
  border: 1px solid var(--bordergray);
  /* margin-inline: auto; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img img {
  border-radius: 10px;
  max-height: 525px;
  max-width: 450px;
  padding: 1rem;
  resize: both;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-description {
  width: 50%;
}

.product-manual {
  display: flex;
  padding: .5rem 1rem;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  border: .01px solid transparent;
  width: fit-content;
  border-radius: 10px;
  transition: border .3s;
  margin-right: 1.5rem;
}

.product-manual:hover {
  border: 1px solid var(--bordergray);
}

.product-manual p {
  margin-bottom: 0;
  white-space: nowrap;
}

.product-description .pre-table {
  margin-bottom: .5rem;
}

.product-features-list {
  margin-bottom: 1rem;
}

.product-description-bottom-row {
  color: var(--lightblack);
  display: flex;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.contact-now {
  border: .01px solid transparent;
  padding: .5rem 1rem;
  width: fit-content;
  white-space: nowrap;
  height: 45.6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border .3s;
  border-radius: 10px;
}

.contact-now:hover {
  border: 1px solid var(--bordergray);
}

/* details */
.detail {
  height: fit-content;
  margin-bottom: 1rem;
}

.details {
  margin: 2rem 0;
}

.detail-short {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  align-items: center;
  border: 1px solid var(--bordergray);
  border-radius: 10px;
  background-color: var(--gray);
  cursor: pointer;
  transition: border .15s, color .15s;
}

.detail-short:hover,
.detail-short:focus {
  border: 1px solid var(--red);
  color: var(--red);
}

.detail-icon {
  transition: transform .5s;
}

.detail-short.active .detail-icon {
  transform: rotate(90deg);
  filter: invert(15%) sepia(80%) saturate(6513%) hue-rotate(342deg) brightness(84%) contrast(110%);
}

.detail-short:hover .detail-icon,
.detail-short:focus .detail-icon {
  filter: invert(15%) sepia(80%) saturate(6513%) hue-rotate(342deg) brightness(84%) contrast(110%);
}

.detail-long {
  height: 0;
  opacity: 0;
  display: none;
  transition: opacity .3s;
  /* margin-top: -1rem; */
}

.detail-long.active {
  opacity: 1;
  height: fit-content;
  display: block;
  margin-top: 0;
}

/* detail table */
.detail-table {
  background-color: var(--gray);
  border-collapse: collapse;
  color: var(--lightblack);
  width: 90%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-inline: auto;
}

.detail-table tr,
.detail-table td {
  border: 1px solid var(--bordergray);
  padding: .75rem 1.25rem;
  width: 50%;
}

.detail-table-item-title {
  font-weight: bold;
}

.detail-split {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding-bottom: 1.75rem;
  padding-top: 1.75rem;
  border-bottom: 1px solid var(--bordergray);
}

.detail-split:last-of-type {
  border: none;
}

.detail-split-title {
  color: var(--blue);
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 1rem;
  width: fit-content;
  border-bottom: 2px solid transparent;
  transition: border .25s;
}
.detail-split-title:hover{
  border-bottom: 2px solid var(--blue);
}
.detail-split-img img{
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.detail-split-img{
  width:168px;
  min-width: 168px;
  height: 168px;
  min-height: 168px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* footer ------------------------------------------------------------------------------------------------------------------------------*/
.footer-wrapper {
  background-color: var(--lightblue);
  position: relative;
  margin-top: auto;
  bottom: 0;
  width: 100%;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5vw;
  width: min(80rem, 90%);
  margin-inline: auto;
  min-height: 120px;
  padding: 1rem 0;
}

.footer-left-side {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-right-side {
  display: flex;
  align-items: center;
  gap: 5vw;
}

.footer-text {
  color: var(--white);
  font-size: 10px;
}

.footer-text p {
  color: var(--white);
  margin-bottom: .25rem;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.footer-link a{
  transition: all .5s;
}
.footer-link:hover{
  border-bottom: 1px solid white;
}

.footer-social-item img {
  transition: filter .3s;
}

.footer-social-item:hover img {
  filter: invert(1);
}

.footer-arrow-up {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  background-color: var(--blue);
  border: 2px solid transparent;
  transition: border .3s;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

.footer-arrow-up:hover {
  border: 2px solid var(--black);
}

/* media---------------------------------------------------------------------------------------------------- */
@media (max-width: 1550px) {
  .nav-first-row {
    gap: 5vw;
  }

  /* .product-img img {
    width: 330px;
  } */
}

@media (max-width: 1200px) {
  .nav-link {
    font-size: 22px;
  }

  .banner-img {
    width: 580px;
  }

  .about-split-img {
    width: 300px;
    height: 320px;
  }

  .addresses-wrapper {
    flex-wrap: wrap;
  }

  .product-split {
    flex-direction: column;
  }

  .product-description {
    width: 100%;
  }

  .product-img {
    /* justify-content: center; */
    /* width: 100%; */
    /* display: flex; */
  }
}

@media (max-width: 992px) {
  .nav-contact-tiles-alt {
    display: flex;
  }

  .nav-contact-tiles {
    display: none;
  }

  .search-bar-container {
    width: 42.5vw;
  }

  .banner-img {
    display: none;
  }

  .about-split-img {
    display: none;
  }

  .detail-split {
    margin-top: 2rem
  }

  .detail-split-img img {
    width: 160px;
  }


  /* product page */
  /* .product-img{
    max-width: 380px;
    max-height: 443px;
    min-width: 380px;
    min-height: 443px;
  } */
  .content-wrapper {
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 1rem 0;
  }
}

@media (max-width: 768px) {
  .nav-first-row {
    gap: 1.5vw;
  }

  .main h1 {
    text-align: center;
  }

  /* .content-wrapper {
    flex-direction: column-reverse;
    gap: 2rem;
    padding: 1rem 0;
  } */

  .aside {
    margin-inline: auto;
    width: 270px;
    min-width: 270px;
  }

  .category-wrapper {
    justify-content: center;
  }

  .category-feed {
    justify-content: center;
  }

  .btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .addresses-wrapper {
    flex-direction: column;
  }

  .address-tile {
    margin-inline: auto;
    width: 100%;
    text-align: center;
  }

  .address-tile .subtitle-contact {
    text-align: center;
  }

  .submit-btn-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .product-img {
    /* width: 100%; */
    text-align: center;
    margin-inline: auto;
  }

  .product-description {
    text-align: center;
  }

  .product-description ul li {
    width: fit-content;
    margin-inline: auto;
  }

  .product-split .subtitle-contact.to-left {
    text-align: center;
  }

  .product-split {
    padding-right: 0;
  }

  .main .product-title {
    text-align: center;
  }

  .product-description-bottom-row {
    justify-content: center;
  }

  .product-btn {
    margin-inline: auto;
    max-width: 211px;
  }

  .footer {
    flex-wrap: wrap;
  }

  .footer-right-side {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .nav-disclaimer {
    font-size: 13px;
    /* top: 7.5%; */
  }

  /* nav contact tiles */
  .nav-contact-tiles-alt {
    display: none;
  }

  .nav-contact-tiles-alt.mini {
    display: flex;
    flex-direction: column;
    margin-left: .80rem;
  }

  .nav-contact-tile-alt.mini {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }

  /* hamburger menu */
  .nav-links {
    flex-direction: column;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 2s;
    max-height: 0;
  }
  .nav-links .menu-item-has-children {
    display: flex;
    flex-direction: column;
  }
.nav-link{
  width: fit-content;
  margin-inline: auto;
}
  .sub-menu {
    position: relative;
    margin-inline: auto;
    text-align: center;
    left: 0;
    padding-left: 0;
    padding-right: 0;
    white-space: wrap;
    z-index: 1;
    display: inline-block;
    opacity: 1;
  }

  .sub-menu .menu-item {
    padding-bottom: 1rem;
    white-space: pre-wrap;
  }

  .sub-menu li a {
    white-space: inherit;
  }

  .menu-item-has-children .sub-menu a li:hover {
    background-color: transparent;
    border-color: transparent;
  }

  .sub-menu.active.transition {
    padding-bottom: .5rem;
  }

  .sub-menu.active.transition li a:hover {
    border-color: transparent;
  }

  .sub-menu li {
    margin-bottom: 0;
  }

  .sub-menu.nav-navbar-link::after {
    background-color: transparent;
  }

  .sub-menu.nav-navbar-link.transition::after {
    background-color: transparent;
  }

  .nav-hamburger {
    display: block;
    margin-left: auto;
  }

  /* search bar */
  
  .search-bar {
    justify-content: flex-end;
    /* width: 120px; */
    margin-left: 10vw;
    margin-right: 1rem;
    gap: 0;
    padding-left: 0;
  }

  .search-bar-container {
    width: 52.5vw;
  }
  .search-bar-icon img{
    width: 15px;
    height: 15px;
  }
  /* category feed */
  .category-feed-top {
    justify-content: center;
    gap: 1rem;
  }

  .category-feed-pagination {
    margin-right: 0;
  }

  .category-feed-bottom {
    justify-content: center;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-row-item {
    width: 100%;
  }

  input {
    width: 100%;
    max-width: 1111px;
    margin-bottom: 0;
  }

  .product-img{
    max-width: 380px;
    max-height: 443px;
    min-width: 0;
    min-height: 0;
  } 
  .product-img img{
    max-width: 380px;
    max-height: 443px;

  }
  .detail-split {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

.yt-aspect {
  margin-top: 1rem;
  aspect-ratio: 16/9;
  display: flex;
  gap: 1rem;
  align-items: center;
  border: 1px solid var(--bordergray);
  border-radius: 10px;
  background-color: var(--gray);
  cursor: pointer;
  transition: border .15s, color .15s;
}

main {
  width: -webkit-fill-available
}

.regulations-box {
  padding: 1.25rem 1.25rem;
}

.regulations-box ul {
  padding: 0rem 1.25rem;
}

section.intro-category-page p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.sub-menu-aside li ul {
  display: block !important;
  opacity: 0.9;
}

.side-menu>li>ul.sub-menu-aside>li {
  font-weight: bold;
}

.side-menu>li>ul.sub-menu-aside>li>*:not(a) {
  font-weight: normal;
}

.side-menu li {
  position: relative;
}

.side-menu>li>a::after {
  pointer-events: none;
  content: " ";
  width: 30px;
  height: 30px;
  background: url(/wp-content/themes/ebrotheme/assets/img/angle-left-small-white.svg);
  display: inline-block;
  background-size: 10px;
  transform: rotate(-90deg);
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  right: 1.5rem;
  transition-duration: 0.3s;
}

.menu-expanded > a::after{
  transform: rotate(90deg) !important;
  transition-duration: 0.3s;
}
