:root {
  --edv-ink: #181713;
  --edv-wine: #7a1f2b;
  --edv-wine-dark: #54121b;
  --edv-vine: #4f6542;
  --edv-paper: #f7f4ee;
}

#header .header_logo .logo {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.footer-center .header_logo .logo,
.elementor-3 .elementor-widget-image img[src*="edv-logo-white"] {
  width: 300px;
  max-width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .leo-megamenu .menu-wines > .dropdown-menu.level1 {
    width: min(760px, calc(100vw - 32px)) !important;
    min-width: min(760px, calc(100vw - 32px));
    padding: 28px 30px 30px;
  }

  .leo-megamenu .menu-wines > .dropdown-menu.level1 > .dropdown-menu-inner > .row,
  .leo-megamenu .menu-wines > .dropdown-menu.level1 .mega-col > .inner > .row {
    margin-right: 0;
    margin-left: 0;
  }

  .leo-megamenu .menu-wines > .dropdown-menu.level1 .mega-col {
    padding: 0;
  }

  .leo-megamenu .menu-wines > .dropdown-menu.level1 .mega-col > .inner > .row > ul {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding: 0 28px;
  }

  .leo-megamenu .menu-wines > .dropdown-menu.level1 .mega-col > .inner > .row > ul:first-child {
    padding-left: 0;
    border-right: 1px solid #e8e3da;
  }

  .leo-megamenu .menu-wines > .dropdown-menu.level1 .mega-col > .inner > .row > ul:last-child {
    padding-right: 0;
  }

  .leo-megamenu .menu-wines .mega-group > .dropdown-toggle {
    padding: 0 0 13px;
    border-bottom: 2px solid var(--edv-wine);
    color: var(--edv-ink);
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
  }

  .leo-megamenu .menu-wines .mega-group > .dropdown-toggle .menu-title {
    color: inherit;
    font: inherit;
    letter-spacing: 0;
    text-transform: none;
  }

  .leo-megamenu .menu-wines .mega-group > .dropdown-mega.level2 {
    position: static !important;
    left: auto !important;
    float: none;
    width: 100% !important;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .leo-megamenu .menu-wines .dropdown-mega.level2 > .dropdown-menu-inner {
    padding: 13px 0 0;
  }

  .leo-megamenu .menu-wines .dropdown-mega.level2 .row {
    margin-right: 0;
    margin-left: 0;
  }

  .leo-megamenu .menu-wines .dropdown-mega.level2 .mega-col {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }

  .leo-megamenu .menu-wines .dropdown-mega.level2 ul,
  .leo-megamenu .menu-wines .dropdown-mega.level2 li {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .leo-megamenu .menu-wines .dropdown-mega.level2 li > a {
    display: block;
    padding: 7px 0;
    color: #514e48;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
  }

  .leo-megamenu .menu-wines .dropdown-mega.level2 li > a:hover {
    padding-left: 8px;
    color: var(--edv-wine);
  }

  .leo-megamenu .menu-liqueurs > .dropdown-menu.level1 {
    width: 340px !important;
    min-width: 340px;
    padding: 20px 24px;
  }

  .leo-megamenu .menu-liqueurs > .dropdown-menu.level1 li > a {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    line-height: 1.35;
  }
}

.edv-category-hero.block-category {
  position: relative;
  display: flex;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  min-height: 300px;
  align-items: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  margin-right: -50vw;
  margin-left: -50vw;
  background: var(--edv-ink);
  box-shadow: none;
}

.edv-category-hero .category-cover {
  position: absolute;
  inset: 0;
  margin: 0;
}

.edv-category-hero .category-cover::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 16, 13, 0.9) 0%, rgba(18, 16, 13, 0.72) 42%, rgba(18, 16, 13, 0.1) 74%);
  content: "";
}

.edv-category-hero .category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edv-category-hero .edv-category-copy {
  position: relative;
  z-index: 1;
  width: min(62%, 820px);
  padding: 52px 64px 56px max(32px, calc((100vw - 1410px) / 2 + 64px));
}

.edv-category-hero .h1 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: none;
}

.edv-category-hero #category-description {
  max-width: 620px;
  margin: 0;
  color: #e7e2d9 !important;
  font-size: 17px;
  line-height: 1.7;
}

.edv-category-hero #category-description p,
.edv-category-hero #category-description strong {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.edv-category-hero .readmore {
  display: inline-block;
  margin-top: 14px;
  color: #fff;
  font-weight: 700;
}

.edv-subcategories {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  padding: 32px 0 34px;
  margin: 0 -50vw 42px;
  background: #fff;
  border-bottom: 1px solid #eeeae3;
}

.edv-subcategories-inner {
  position: relative;
  width: min(100% - 64px, 1410px);
  margin: 0 auto;
}

.edv-subcategories-track {
  display: grid;
  width: 100%;
  grid-auto-columns: 144px;
  grid-auto-flow: column;
  justify-content: center;
  gap: 28px;
  direction: ltr;
  overflow-x: auto;
  padding: 2px 10px 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.edv-subcategories-track::-webkit-scrollbar {
  display: none;
}

.edv-subcategories.is-scrollable .edv-subcategories-track {
  justify-content: start;
}

.edv-subcategory-card {
  min-width: 0;
  text-align: center;
  scroll-snap-align: start;
}

.edv-subcategory-link {
  display: flex;
  align-items: center;
  color: var(--edv-ink);
  flex-direction: column;
  gap: 13px;
}

.edv-subcategory-thumb {
  display: block;
  width: 116px;
  height: 116px;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--edv-paper);
  box-shadow: 0 0 0 2px #e4dfd6, 0 7px 18px rgba(24, 23, 19, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.edv-subcategory-thumb img,
.edv-subcategory-thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

.edv-subcategory-thumb img {
  object-fit: cover;
}

.edv-subcategory-title {
  max-width: 144px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.edv-subcategory-link:hover {
  color: var(--edv-wine);
}

.edv-subcategory-link:hover .edv-subcategory-thumb,
.edv-subcategory-link:focus-visible .edv-subcategory-thumb {
  border-color: #f8f5ef;
  box-shadow: 0 0 0 3px var(--edv-wine), 0 10px 22px rgba(24, 23, 19, 0.16);
  transform: translateY(-3px);
}

.edv-subcategories-control {
  position: absolute;
  top: 48px;
  z-index: 2;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #eeeae3;
  border-radius: 50%;
  background: #fff;
  color: var(--edv-ink);
  box-shadow: 0 5px 16px rgba(24, 23, 19, 0.12);
  font-size: 28px;
  line-height: 1;
}

.edv-subcategories-control[hidden] {
  display: none;
}

.edv-subcategories-control:disabled {
  cursor: default;
  opacity: 0.35;
}

.edv-subcategories-prev {
  left: -12px;
}

.edv-subcategories-next {
  right: -12px;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .edv-category-hero .edv-category-copy {
    width: 68%;
    padding-right: 44px;
    padding-left: max(36px, calc((100vw - 960px) / 2 + 48px));
  }

  .edv-category-hero .h1 {
    font-size: 42px;
  }
}

.edv-home-slider {
  background: var(--edv-ink);
}

.edv-home-slider .iview {
  min-height: 360px;
}

.edv-home-slider .iviewSlider::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(12, 10, 8, 0.78) 0%, rgba(12, 10, 8, 0.42) 43%, rgba(12, 10, 8, 0.05) 72%);
  content: "";
  pointer-events: none;
}

.edv-home-slider .tp-caption {
  z-index: 2;
  max-width: 760px;
  color: #fff;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
}

.edv-home-slider .edv-slide-kicker {
  font-family: "Trebuchet MS", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.edv-home-slider .edv-slide-title {
  font-size: 62px;
  line-height: 1.06;
}

.edv-home-slider .edv-slide-copy {
  max-width: 620px;
  font-size: 23px;
  line-height: 1.45;
}

.edv-home-slider .edv-slide-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: var(--edv-wine);
  color: #fff;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
  text-transform: uppercase;
}

.edv-home-slider .edv-slide-cta:hover {
  background: var(--edv-wine-dark);
}

.edv-home-slider .iview-controlNav div.iview-items ul li a.active,
.edv-home-slider .iview-controlNav div.iview-items ul li a:hover {
  background-color: var(--edv-wine);
}

.elementor-element-e5e4f4b {
  background-color: rgba(12, 10, 8, 0.7) !important;
  background-blend-mode: multiply;
}

.elementor-element-e5e4f4b .elementor-heading-title,
.elementor-element-e5e4f4b .elementor-image-box-title,
.elementor-element-e5e4f4b .elementor-image-box-description {
  color: #fff !important;
}

.elementor-element-e5e4f4b .elementor-button,
.elementor-element-44d6896 .elementor-button {
  background: var(--edv-wine) !important;
}

.elementor-element-44d6896 .elementor-heading-title {
  color: var(--edv-ink) !important;
  text-shadow: none;
}

.elementor-element-1fef546 .elementor-image-box-title,
.elementor-element-1fef546 .elementor-image-box-description {
  color: #fff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.42);
}

.elementor-element-ba5c77e .elementor-heading-title,
.elementor-element-ba5c77e .elementor-testimonial-content,
.elementor-element-ba5c77e .elementor-testimonial-name {
  color: var(--edv-ink) !important;
}

.elementor-element-ba5c77e .elementor-testimonial-job {
  color: var(--edv-wine) !important;
}

.box1-h1 .elementor-image-box-description {
  color: var(--edv-vine) !important;
  font-weight: 700;
}

.box1-h1 .elementor-image-box-img a {
  display: flex !important;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.box1-h1 .elementor-image-box-img img {
  width: 64px !important;
  height: 104px !important;
  max-width: 64px;
  object-fit: contain !important;
  filter: drop-shadow(0 5px 5px rgba(24, 23, 19, 0.2));
}

.elementor-element-44d6896 .elementor-widget-image {
  max-width: 460px;
  margin-right: auto;
  margin-left: auto;
}

.elementor-element-44d6896 .elementor-widget-heading .elementor-heading-title {
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
}

.elementor-element-1fef546 > .elementor-container > .elementor-row > .elementor-column:first-child .elementor-widget-image-box {
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
}

.box1-h1 .elementor-image-box-img {
  width: 108px !important;
  height: 108px !important;
  overflow: hidden;
  padding: 0 !important;
}

.content1-h1 .elementor-image img {
  width: 100%;
  min-height: 210px;
  object-fit: cover;
}

.content1-h1 .elementor-heading-title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.product-price-and-shipping .price,
.current-price .price,
.leo-price-new {
  color: var(--edv-wine) !important;
}

.widget-tab-title.active,
.widget-tab-title:hover {
  color: var(--edv-wine) !important;
}

.edv-home-hero,
.edv-home-hero .elementor-column-wrap,
.edv-home-hero .elementor-widget-wrap {
  padding: 0;
}

.edv-story-section,
.edv-section-heading,
.edv-category-grid,
.edv-products-section,
.edv-visit-section {
  padding-right: max(24px, calc((100vw - 1320px) / 2));
  padding-left: max(24px, calc((100vw - 1320px) / 2));
}

.edv-story-section {
  padding-top: 96px;
  padding-bottom: 96px;
  background: var(--edv-paper);
}

.edv-story-section .elementor-column:first-child .elementor-widget-wrap {
  padding-right: 44px;
}

.edv-story-section .elementor-column:last-child .elementor-widget-wrap {
  padding: 40px 0 40px 44px;
}

.edv-story-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.edv-kicker .elementor-heading-title {
  margin-bottom: 12px;
  color: var(--edv-vine);
  font-family: "Trebuchet MS", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.edv-section-title .elementor-heading-title {
  margin-bottom: 20px;
  color: var(--edv-ink);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.17;
  letter-spacing: 0;
}

.edv-body-copy .elementor-heading-title {
  max-width: 680px;
  margin-bottom: 8px;
  color: #54504a;
  font-family: "Trebuchet MS", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0;
}

.edv-section-heading {
  padding-top: 92px;
  text-align: center;
}

.edv-section-heading .edv-section-title .elementor-heading-title {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.edv-category-grid {
  padding-top: 24px;
  padding-bottom: 96px;
}

.edv-category-grid .elementor-column-wrap {
  height: 100%;
  padding: 0 12px;
}

.edv-category-grid .elementor-image-box-wrapper {
  height: 100%;
  border-bottom: 3px solid var(--edv-wine);
  background: #fff;
  box-shadow: 0 16px 40px rgba(24, 23, 19, 0.09);
}

.edv-category-grid .elementor-image-box-img,
.edv-category-grid .elementor-image-box-img a {
  display: block;
  width: 100%;
}

.edv-category-grid .elementor-image-box-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.edv-category-grid .elementor-image-box-content {
  padding: 25px 28px 30px;
}

.edv-category-grid .elementor-image-box-title {
  margin-bottom: 10px;
  color: var(--edv-ink);
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: 0;
}

.edv-category-grid .elementor-image-box-description {
  color: #625e57;
  font-size: 15px;
  line-height: 1.6;
}

.edv-products-section {
  padding-top: 92px;
  padding-bottom: 100px;
  background: var(--edv-paper);
  text-align: center;
}

.edv-products-section .elementor-widget-LeoProductCarousel {
  margin-top: 28px;
  text-align: left;
}

.edv-visit-section {
  padding-top: 84px;
  padding-bottom: 84px;
  background: var(--edv-ink);
  text-align: center;
}

.edv-visit-section .edv-section-title .elementor-heading-title,
.edv-visit-section .edv-body-copy .elementor-heading-title {
  margin-right: auto;
  margin-left: auto;
  color: #fff;
}

.edv-visit-section .edv-body-copy .elementor-heading-title {
  color: #d8d3ca;
}

.edv-visit-section .elementor-button {
  margin-top: 18px;
}

@media (max-width: 767px) {
  #header .header_logo .logo {
    width: 240px;
  }

  .edv-category-hero.block-category {
    min-height: 360px;
    align-items: flex-end;
  }

  .edv-category-hero .category-cover::after {
    background: linear-gradient(0deg, rgba(18, 16, 13, 0.94) 0%, rgba(18, 16, 13, 0.7) 52%, rgba(18, 16, 13, 0.12) 100%);
  }

  .edv-category-hero .category-cover img {
    object-position: 67% center;
  }

  .edv-category-hero .edv-category-copy {
    width: 100%;
    padding: 110px 24px 34px;
  }

  .edv-category-hero .h1 {
    margin-bottom: 12px;
    font-size: 36px;
  }

  .edv-category-hero #category-description {
    font-size: 15px;
    line-height: 1.55;
  }

  .edv-subcategories {
    padding: 24px 0 26px;
    margin-bottom: 28px;
  }

  .edv-subcategories-inner {
    width: calc(100% - 24px);
  }

  .edv-subcategories-track {
    grid-auto-columns: 126px;
    gap: 16px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .edv-subcategory-thumb {
    width: 104px;
    height: 104px;
  }

  .edv-subcategory-title {
    max-width: 126px;
    font-size: 13px;
  }

  .edv-subcategories-control {
    display: none;
  }

  .edv-home-slider .iview,
  .edv-home-slider .iviewSlider {
    min-height: 440px;
  }

  .edv-home-slider .iviewSlider::after {
    background: linear-gradient(90deg, rgba(12, 10, 8, 0.82), rgba(12, 10, 8, 0.3));
  }

  .edv-home-slider .edv-slide-kicker {
    font-size: 13px;
  }

  .edv-home-slider .edv-slide-title {
    max-width: 310px;
    font-size: 34px;
  }

  .edv-home-slider .edv-slide-copy {
    max-width: 300px;
    font-size: 17px;
  }

  .edv-home-slider .edv-slide-cta {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .edv-story-section,
  .edv-section-heading,
  .edv-category-grid,
  .edv-products-section,
  .edv-visit-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .edv-story-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .edv-story-section .elementor-column:first-child .elementor-widget-wrap,
  .edv-story-section .elementor-column:last-child .elementor-widget-wrap {
    padding: 0;
  }

  .edv-story-section .elementor-column:last-child .elementor-widget-wrap {
    padding-top: 34px;
  }

  .edv-section-title .elementor-heading-title {
    font-size: 31px;
  }

  .edv-body-copy .elementor-heading-title {
    font-size: 15px;
  }

  .edv-section-heading,
  .edv-products-section {
    padding-top: 56px;
  }

  .edv-category-grid {
    padding-bottom: 56px;
  }

  .edv-category-grid .elementor-column-wrap {
    padding: 0 0 22px;
  }

  .edv-products-section {
    padding-bottom: 64px;
  }

  .edv-visit-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }
}
